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
1340 enable_documentation
1348 enable_aspnet_regiis
1381 enable_presentationfontcache
1394 enable_servicemodelreg
1415 enable_winemenubuilder
1417 enable_winemsibuilder
1431 ac_precious_vars
='build_alias
1480 # Initialize some variables set by options.
1482 ac_init_version
=false
1483 ac_unrecognized_opts
=
1484 ac_unrecognized_sep
=
1485 # The variables have the same names as the options, with
1486 # dashes changed to underlines.
1487 cache_file
=/dev
/null
1494 program_transform_name
=s
,x
,x
,
1502 # Installation directory options.
1503 # These are left unexpanded so users can "make install exec_prefix=/foo"
1504 # and all the variables that are supposed to be based on exec_prefix
1505 # by default will actually change.
1506 # Use braces instead of parens because sh, perl, etc. also accept them.
1507 # (The list follows the same order as the GNU Coding Standards.)
1508 bindir
='${exec_prefix}/bin'
1509 sbindir
='${exec_prefix}/sbin'
1510 libexecdir
='${exec_prefix}/libexec'
1511 datarootdir
='${prefix}/share'
1512 datadir
='${datarootdir}'
1513 sysconfdir
='${prefix}/etc'
1514 sharedstatedir
='${prefix}/com'
1515 localstatedir
='${prefix}/var'
1516 includedir
='${prefix}/include'
1517 oldincludedir
='/usr/include'
1518 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1519 infodir
='${datarootdir}/info'
1524 libdir
='${exec_prefix}/lib'
1525 localedir
='${datarootdir}/locale'
1526 mandir
='${datarootdir}/man'
1532 # If the previous option needs an argument, assign it.
1533 if test -n "$ac_prev"; then
1534 eval $ac_prev=\
$ac_option
1540 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1545 # Accept the important Cygnus configure options, so we can diagnose typos.
1547 case $ac_dashdash$ac_option in
1551 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1553 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1554 bindir
=$ac_optarg ;;
1556 -build |
--build |
--buil |
--bui |
--bu)
1557 ac_prev
=build_alias
;;
1558 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1559 build_alias
=$ac_optarg ;;
1561 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1562 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1563 ac_prev
=cache_file
;;
1564 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1565 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1566 cache_file
=$ac_optarg ;;
1568 --config-cache |
-C)
1569 cache_file
=config.cache
;;
1571 -datadir |
--datadir |
--datadi |
--datad)
1573 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1574 datadir
=$ac_optarg ;;
1576 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1577 |
--dataroo |
--dataro |
--datar)
1578 ac_prev
=datarootdir
;;
1579 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1580 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1581 datarootdir
=$ac_optarg ;;
1583 -disable-* |
--disable-*)
1584 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1585 # Reject names that are not valid shell variable names.
1586 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1587 as_fn_error $?
"invalid feature name: $ac_useropt"
1588 ac_useropt_orig
=$ac_useropt
1589 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1590 case $ac_user_opts in
1592 "enable_
$ac_useropt"
1594 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1595 ac_unrecognized_sep
=', ';;
1597 eval enable_
$ac_useropt=no
;;
1599 -docdir |
--docdir |
--docdi |
--doc |
--do)
1601 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1602 docdir
=$ac_optarg ;;
1604 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1606 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1607 dvidir
=$ac_optarg ;;
1609 -enable-* |
--enable-*)
1610 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1611 # Reject names that are not valid shell variable names.
1612 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1613 as_fn_error $?
"invalid feature name: $ac_useropt"
1614 ac_useropt_orig
=$ac_useropt
1615 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1616 case $ac_user_opts in
1618 "enable_
$ac_useropt"
1620 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1621 ac_unrecognized_sep
=', ';;
1623 eval enable_
$ac_useropt=\
$ac_optarg ;;
1625 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1626 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1627 |
--exec |
--exe |
--ex)
1628 ac_prev
=exec_prefix
;;
1629 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1630 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1631 |
--exec=* |
--exe=* |
--ex=*)
1632 exec_prefix
=$ac_optarg ;;
1634 -gas |
--gas |
--ga |
--g)
1635 # Obsolete; use --with-gas.
1638 -help |
--help |
--hel |
--he |
-h)
1639 ac_init_help
=long
;;
1640 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1641 ac_init_help
=recursive
;;
1642 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1643 ac_init_help
=short
;;
1645 -host |
--host |
--hos |
--ho)
1646 ac_prev
=host_alias
;;
1647 -host=* |
--host=* |
--hos=* |
--ho=*)
1648 host_alias
=$ac_optarg ;;
1650 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1652 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1654 htmldir
=$ac_optarg ;;
1656 -includedir |
--includedir |
--includedi |
--included |
--include \
1657 |
--includ |
--inclu |
--incl |
--inc)
1658 ac_prev
=includedir
;;
1659 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1660 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1661 includedir
=$ac_optarg ;;
1663 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1665 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1666 infodir
=$ac_optarg ;;
1668 -libdir |
--libdir |
--libdi |
--libd)
1670 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1671 libdir
=$ac_optarg ;;
1673 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1674 |
--libexe |
--libex |
--libe)
1675 ac_prev
=libexecdir
;;
1676 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1677 |
--libexe=* |
--libex=* |
--libe=*)
1678 libexecdir
=$ac_optarg ;;
1680 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1681 ac_prev
=localedir
;;
1682 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1683 localedir
=$ac_optarg ;;
1685 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1686 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1687 ac_prev
=localstatedir
;;
1688 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1689 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1690 localstatedir
=$ac_optarg ;;
1692 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1694 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1695 mandir
=$ac_optarg ;;
1697 -nfp |
--nfp |
--nf)
1698 # Obsolete; use --without-fp.
1701 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1702 |
--no-cr |
--no-c |
-n)
1705 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1706 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1709 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1710 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1711 |
--oldin |
--oldi |
--old |
--ol |
--o)
1712 ac_prev
=oldincludedir
;;
1713 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1714 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1715 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1716 oldincludedir
=$ac_optarg ;;
1718 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1720 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1721 prefix
=$ac_optarg ;;
1723 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1724 |
--program-pre |
--program-pr |
--program-p)
1725 ac_prev
=program_prefix
;;
1726 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1727 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1728 program_prefix
=$ac_optarg ;;
1730 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1731 |
--program-suf |
--program-su |
--program-s)
1732 ac_prev
=program_suffix
;;
1733 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1734 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1735 program_suffix
=$ac_optarg ;;
1737 -program-transform-name |
--program-transform-name \
1738 |
--program-transform-nam |
--program-transform-na \
1739 |
--program-transform-n |
--program-transform- \
1740 |
--program-transform |
--program-transfor \
1741 |
--program-transfo |
--program-transf \
1742 |
--program-trans |
--program-tran \
1743 |
--progr-tra |
--program-tr |
--program-t)
1744 ac_prev
=program_transform_name
;;
1745 -program-transform-name=* |
--program-transform-name=* \
1746 |
--program-transform-nam=* |
--program-transform-na=* \
1747 |
--program-transform-n=* |
--program-transform-=* \
1748 |
--program-transform=* |
--program-transfor=* \
1749 |
--program-transfo=* |
--program-transf=* \
1750 |
--program-trans=* |
--program-tran=* \
1751 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1752 program_transform_name
=$ac_optarg ;;
1754 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1756 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1757 pdfdir
=$ac_optarg ;;
1759 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1761 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1764 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1765 |
-silent |
--silent |
--silen |
--sile |
--sil)
1768 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1770 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1772 sbindir
=$ac_optarg ;;
1774 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1775 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1776 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1778 ac_prev
=sharedstatedir
;;
1779 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1780 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1781 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1783 sharedstatedir
=$ac_optarg ;;
1785 -site |
--site |
--sit)
1787 -site=* |
--site=* |
--sit=*)
1790 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1792 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1793 srcdir
=$ac_optarg ;;
1795 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1796 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1797 ac_prev
=sysconfdir
;;
1798 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1799 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1800 sysconfdir
=$ac_optarg ;;
1802 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1803 ac_prev
=target_alias
;;
1804 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1805 target_alias
=$ac_optarg ;;
1807 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1810 -version |
--version |
--versio |
--versi |
--vers |
-V)
1811 ac_init_version
=: ;;
1814 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1815 # Reject names that are not valid shell variable names.
1816 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1817 as_fn_error $?
"invalid package name: $ac_useropt"
1818 ac_useropt_orig
=$ac_useropt
1819 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1820 case $ac_user_opts in
1824 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1825 ac_unrecognized_sep
=', ';;
1827 eval with_
$ac_useropt=\
$ac_optarg ;;
1829 -without-* |
--without-*)
1830 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1831 # Reject names that are not valid shell variable names.
1832 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1833 as_fn_error $?
"invalid package name: $ac_useropt"
1834 ac_useropt_orig
=$ac_useropt
1835 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1836 case $ac_user_opts in
1840 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1841 ac_unrecognized_sep
=', ';;
1843 eval with_
$ac_useropt=no
;;
1846 # Obsolete; use --with-x.
1849 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1850 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1851 ac_prev
=x_includes
;;
1852 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1853 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1854 x_includes
=$ac_optarg ;;
1856 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1857 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1858 ac_prev
=x_libraries
;;
1859 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1860 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1861 x_libraries
=$ac_optarg ;;
1863 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1864 Try \`$0 --help' for more information"
1868 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1869 # Reject names that are not valid shell variable names.
1870 case $ac_envvar in #(
1871 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1872 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1874 eval $ac_envvar=\
$ac_optarg
1875 export $ac_envvar ;;
1878 # FIXME: should be removed in autoconf 3.0.
1879 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1880 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1881 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1882 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1888 if test -n "$ac_prev"; then
1889 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1890 as_fn_error $?
"missing argument to $ac_option"
1893 if test -n "$ac_unrecognized_opts"; then
1894 case $enable_option_checking in
1896 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1897 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1901 # Check all directory arguments for consistency.
1902 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1903 datadir sysconfdir sharedstatedir localstatedir includedir \
1904 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1905 libdir localedir mandir
1907 eval ac_val
=\$
$ac_var
1908 # Remove trailing slashes.
1911 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1912 eval $ac_var=\
$ac_val;;
1914 # Be sure to have absolute directory names.
1916 [\\/$
]* | ?
:[\\/]* ) continue;;
1917 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1919 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1922 # There might be people who depend on the old broken behavior: `$host'
1923 # used to hold the argument of --host etc.
1924 # FIXME: To remove some day.
1927 target
=$target_alias
1929 # FIXME: To remove some day.
1930 if test "x$host_alias" != x
; then
1931 if test "x$build_alias" = x
; then
1932 cross_compiling
=maybe
1933 elif test "x$build_alias" != "x$host_alias"; then
1939 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1941 test "$silent" = yes && exec 6>/dev
/null
1944 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1945 ac_ls_di
=`ls -di .` &&
1946 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1947 as_fn_error $?
"working directory cannot be determined"
1948 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1949 as_fn_error $?
"pwd does not report name of working directory"
1952 # Find the source files, if location was not specified.
1953 if test -z "$srcdir"; then
1954 ac_srcdir_defaulted
=yes
1955 # Try the directory containing this script, then the parent directory.
1956 ac_confdir
=`$as_dirname -- "$as_myself" ||
1957 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1958 X"$as_myself" : 'X\(//\)[^/]' \| \
1959 X"$as_myself" : 'X\(//\)$' \| \
1960 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1961 $as_echo X"$as_myself" |
1962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1980 if test ! -r "$srcdir/$ac_unique_file"; then
1984 ac_srcdir_defaulted
=no
1986 if test ! -r "$srcdir/$ac_unique_file"; then
1987 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1988 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1990 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1992 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1994 # When building in place, set srcdir=.
1995 if test "$ac_abs_confdir" = "$ac_pwd"; then
1998 # Remove unnecessary trailing slashes from srcdir.
1999 # Double slashes in file names in object file debugging info
2000 # mess up M-x gdb in Emacs.
2002 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2004 for ac_var
in $ac_precious_vars; do
2005 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2006 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2007 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2008 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2012 # Report the --help message.
2014 if test "$ac_init_help" = "long"; then
2015 # Omit some internal or obsolete options to make the list less imposing.
2016 # This message is too long to be a string in the A/UX 3.1 sh.
2018 \`configure' configures Wine 1.7.36 to adapt to many kinds of systems.
2020 Usage: $0 [OPTION]... [VAR=VALUE]...
2022 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2023 VAR=VALUE. See below for descriptions of some of the useful variables.
2025 Defaults for the options are specified in brackets.
2028 -h, --help display this help and exit
2029 --help=short display options specific to this package
2030 --help=recursive display the short help of all the included packages
2031 -V, --version display version information and exit
2032 -q, --quiet, --silent do not print \`checking ...' messages
2033 --cache-file=FILE cache test results in FILE [disabled]
2034 -C, --config-cache alias for \`--cache-file=config.cache'
2035 -n, --no-create do not create output files
2036 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2038 Installation directories:
2039 --prefix=PREFIX install architecture-independent files in PREFIX
2040 [$ac_default_prefix]
2041 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2044 By default, \`make install' will install all the files in
2045 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2046 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2047 for instance \`--prefix=\$HOME'.
2049 For better control, use the options below.
2051 Fine tuning of the installation directories:
2052 --bindir=DIR user executables [EPREFIX/bin]
2053 --sbindir=DIR system admin executables [EPREFIX/sbin]
2054 --libexecdir=DIR program executables [EPREFIX/libexec]
2055 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2056 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2057 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2058 --libdir=DIR object code libraries [EPREFIX/lib]
2059 --includedir=DIR C header files [PREFIX/include]
2060 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2061 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2062 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2063 --infodir=DIR info documentation [DATAROOTDIR/info]
2064 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2065 --mandir=DIR man documentation [DATAROOTDIR/man]
2066 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2067 --htmldir=DIR html documentation [DOCDIR]
2068 --dvidir=DIR dvi documentation [DOCDIR]
2069 --pdfdir=DIR pdf documentation [DOCDIR]
2070 --psdir=DIR ps documentation [DOCDIR]
2076 --x-includes=DIR X include files are
in DIR
2077 --x-libraries=DIR X library files are
in DIR
2080 --build=BUILD configure
for building on BUILD
[guessed
]
2081 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2085 if test -n "$ac_init_help"; then
2086 case $ac_init_help in
2087 short | recursive
) echo "Configuration of Wine 1.7.36:";;
2092 --disable-option-checking ignore unrecognized
--enable/--with options
2093 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2094 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2095 --disable-win16 do not include Win16 support
2096 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2098 --disable-tests do not build the regression tests
2099 --enable-maintainer-mode
2100 enable maintainer-specific build rules
2101 --disable-largefile omit support for large files
2104 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2105 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2106 --without-alsa do not use the Alsa sound support
2107 --without-capi do not use CAPI (ISDN support)
2108 --without-cms do not use CMS (color management support)
2109 --without-coreaudio do not use the CoreAudio sound support
2110 --without-cups do not use CUPS
2111 --without-curses do not use (n)curses
2112 --without-dbus do not use DBus (dynamic device support)
2113 --without-fontconfig do not use fontconfig
2114 --without-freetype do not use the FreeType library
2115 --without-gettext do not use gettext
2116 --with-gettextpo use the GetTextPO library to rebuild po files
2117 --without-gphoto do not use gphoto (Digital Camera support)
2118 --without-glu do not use the GLU library
2119 --without-gnutls do not use GnuTLS (schannel support)
2120 --without-gsm do not use libgsm (GSM 06.10 codec support)
2121 --without-gstreamer do not use GStreamer (codecs support)
2122 --without-hal do not use HAL (dynamic device support)
2123 --without-jpeg do not use JPEG
2124 --without-ldap do not use LDAP
2125 --without-mpg123 do not use the mpg123 library
2126 --without-netapi do not use the Samba NetAPI library
2127 --without-openal do not use OpenAL
2128 --without-opencl do not use OpenCL
2129 --without-opengl do not use OpenGL
2130 --without-osmesa do not use the OSMesa library
2131 --without-oss do not use the OSS sound support
2132 --without-pcap do not use the Packet Capture library
2133 --without-png do not use PNG
2134 --without-pthread do not use the pthread library
2135 --without-sane do not use SANE (scanner support)
2136 --without-tiff do not use TIFF
2137 --without-v4l do not use v4l1 (v4l support)
2138 --without-xcomposite do not use the Xcomposite extension
2139 --without-xcursor do not use the Xcursor extension
2140 --without-xinerama do not use Xinerama (multi-monitor support)
2141 --without-xinput do not use the Xinput extension
2142 --without-xinput2 do not use the Xinput 2 extension
2143 --without-xml do not use XML
2144 --without-xrandr do not use Xrandr (resolution changes)
2145 --without-xrender do not use the Xrender extension
2146 --without-xshape do not use the Xshape extension
2147 --without-xshm do not use XShm (shared memory extension)
2148 --without-xslt do not use XSLT
2149 --without-xxf86vm do not use XFree video mode extension
2150 --without-zlib do not use Zlib (data compression)
2151 --with-wine-tools=DIR use Wine tools from directory DIR
2152 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2153 --with-x use the X Window System
2155 Some influential environment variables:
2156 CC C compiler command
2157 CFLAGS C compiler flags
2158 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2159 nonstandard directory <lib dir>
2160 LIBS libraries to pass to the linker, e.g. -l<library>
2161 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2162 you have headers in a nonstandard directory <include dir>
2163 CXX C++ compiler command
2164 CXXFLAGS C++ compiler flags
2166 XMKMF Path to xmkmf, Makefile generator for X Window System
2167 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2168 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2169 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2170 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2171 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2172 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2173 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2174 HAL_LIBS Linker flags for hal, overriding pkg-config
2176 C compiler flags for gnutls, overriding pkg-config
2177 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2178 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2179 SANE_LIBS Linker flags for libsane, overriding pkg-config
2181 C compiler flags for libgphoto2, overriding pkg-config
2183 Linker flags for libgphoto2, overriding pkg-config
2185 C compiler flags for libgphoto2_port, overriding pkg-config
2187 Linker flags for libgphoto2_port, overriding pkg-config
2189 C compiler flags for lcms2, overriding pkg-config
2190 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2192 C compiler flags for freetype2, overriding pkg-config
2194 Linker flags for freetype2, overriding pkg-config
2196 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2198 Linker flags for gstreamer-app-0.10, overriding pkg-config
2200 C compiler flags for capi20, overriding pkg-config
2201 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2203 C compiler flags for fontconfig, overriding pkg-config
2205 Linker flags for fontconfig, overriding pkg-config
2206 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2207 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2208 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2209 PNG_LIBS Linker flags for libpng, overriding pkg-config
2210 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2211 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2213 C compiler flags for libmpg123, overriding pkg-config
2214 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2216 Use these variables to override the choices made by `configure' or to
help
2217 it to
find libraries and programs with nonstandard names
/locations.
2219 Report bugs to
<wine-devel@winehq.org
>.
2220 Wine home page
: <http
://www.winehq.org
>.
2225 if test "$ac_init_help" = "recursive"; then
2226 # If there are subdirs, report their specific --help.
2227 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2228 test -d "$ac_dir" ||
2229 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2234 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2236 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2237 # A ".." for each directory in $ac_dir_suffix.
2238 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2239 case $ac_top_builddir_sub in
2240 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2241 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2244 ac_abs_top_builddir
=$ac_pwd
2245 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2246 # for backward compatibility:
2247 ac_top_builddir
=$ac_top_build_prefix
2250 .
) # We are building in place.
2252 ac_top_srcdir
=$ac_top_builddir_sub
2253 ac_abs_top_srcdir
=$ac_pwd ;;
2254 [\\/]* | ?
:[\\/]* ) # Absolute name.
2255 ac_srcdir
=$srcdir$ac_dir_suffix;
2256 ac_top_srcdir
=$srcdir
2257 ac_abs_top_srcdir
=$srcdir ;;
2259 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2260 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2261 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2263 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2265 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2266 # Check for guested configure.
2267 if test -f "$ac_srcdir/configure.gnu"; then
2269 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2270 elif test -f "$ac_srcdir/configure"; then
2272 $SHELL "$ac_srcdir/configure" --help=recursive
2274 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2276 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2280 test -n "$ac_init_help" && exit $ac_status
2281 if $ac_init_version; then
2283 Wine configure
1.7.36
2284 generated by GNU Autoconf
2.69
2286 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2287 This configure
script is free software
; the Free Software Foundation
2288 gives unlimited permission to copy
, distribute and modify it.
2293 ## ------------------------ ##
2294 ## Autoconf initialization. ##
2295 ## ------------------------ ##
2297 # ac_fn_c_try_compile LINENO
2298 # --------------------------
2299 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2300 ac_fn_c_try_compile
()
2302 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2303 rm -f conftest.
$ac_objext
2304 if { { ac_try
="$ac_compile"
2306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2307 *) ac_try_echo=$ac_try;;
2309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2310 $as_echo "$ac_try_echo"; } >&5
2311 (eval "$ac_compile") 2>conftest.err
2313 if test -s conftest.err; then
2314 grep -v '^ *+' conftest.err >conftest.er1
2315 cat conftest.er1 >&5
2316 mv -f conftest.er1 conftest.err
2318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2319 test $ac_status = 0; } && {
2320 test -z "$ac_c_werror_flag" ||
2321 test ! -s conftest.err
2322 } && test -s conftest.$ac_objext; then :
2325 $as_echo "$as_me: failed program was:" >&5
2326 sed 's/^/| /' conftest.$ac_ext >&5
2330 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2331 as_fn_set_status $ac_retval
2333 } # ac_fn_c_try_compile
2335 # ac_fn_cxx_try_compile LINENO
2336 # ----------------------------
2337 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2338 ac_fn_cxx_try_compile ()
2340 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2341 rm -f conftest.$ac_objext
2342 if { { ac_try="$ac_compile"
2344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2345 *) ac_try_echo
=$ac_try;;
2347 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2348 $as_echo "$ac_try_echo"; } >&5
2349 (eval "$ac_compile") 2>conftest.err
2351 if test -s conftest.err
; then
2352 grep -v '^ *+' conftest.err
>conftest.er1
2353 cat conftest.er1
>&5
2354 mv -f conftest.er1 conftest.err
2356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2357 test $ac_status = 0; } && {
2358 test -z "$ac_cxx_werror_flag" ||
2359 test ! -s conftest.err
2360 } && test -s conftest.
$ac_objext; then :
2363 $as_echo "$as_me: failed program was:" >&5
2364 sed 's/^/| /' conftest.
$ac_ext >&5
2368 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2369 as_fn_set_status
$ac_retval
2371 } # ac_fn_cxx_try_compile
2373 # ac_fn_c_try_link LINENO
2374 # -----------------------
2375 # Try to link conftest.$ac_ext, and return whether this succeeded.
2378 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2379 rm -f conftest.
$ac_objext conftest
$ac_exeext
2380 if { { ac_try
="$ac_link"
2382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2383 *) ac_try_echo=$ac_try;;
2385 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2386 $as_echo "$ac_try_echo"; } >&5
2387 (eval "$ac_link") 2>conftest.err
2389 if test -s conftest.err; then
2390 grep -v '^ *+' conftest.err >conftest.er1
2391 cat conftest.er1 >&5
2392 mv -f conftest.er1 conftest.err
2394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2395 test $ac_status = 0; } && {
2396 test -z "$ac_c_werror_flag" ||
2397 test ! -s conftest.err
2398 } && test -s conftest$ac_exeext && {
2399 test "$cross_compiling" = yes ||
2400 test -x conftest$ac_exeext
2404 $as_echo "$as_me: failed program was:" >&5
2405 sed 's/^/| /' conftest.$ac_ext >&5
2409 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2410 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2411 # interfere with the next link command; also delete a directory that is
2412 # left behind by Apple's compiler. We do this before executing the actions.
2413 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2414 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2415 as_fn_set_status $ac_retval
2417 } # ac_fn_c_try_link
2419 # ac_fn_c_try_cpp LINENO
2420 # ----------------------
2421 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2424 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2425 if { { ac_try="$ac_cpp conftest.$ac_ext"
2427 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2428 *) ac_try_echo
=$ac_try;;
2430 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2431 $as_echo "$ac_try_echo"; } >&5
2432 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2434 if test -s conftest.err
; then
2435 grep -v '^ *+' conftest.err
>conftest.er1
2436 cat conftest.er1
>&5
2437 mv -f conftest.er1 conftest.err
2439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2440 test $ac_status = 0; } > conftest.i
&& {
2441 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2442 test ! -s conftest.err
2446 $as_echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.
$ac_ext >&5
2451 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2452 as_fn_set_status
$ac_retval
2456 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2457 # -------------------------------------------------------
2458 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2459 # the include files in INCLUDES and setting the cache variable VAR
2461 ac_fn_c_check_header_mongrel
()
2463 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2464 if eval \
${$3+:} false
; then :
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2466 $as_echo_n "checking for $2... " >&6; }
2467 if eval \
${$3+:} false
; then :
2468 $as_echo_n "(cached) " >&6
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2472 $as_echo "$ac_res" >&6; }
2474 # Is the header compilable?
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2476 $as_echo_n "checking $2 usability... " >&6; }
2477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2478 /* end confdefs.h. */
2482 if ac_fn_c_try_compile
"$LINENO"; then :
2483 ac_header_compiler
=yes
2485 ac_header_compiler
=no
2487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2489 $as_echo "$ac_header_compiler" >&6; }
2491 # Is the header present?
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2493 $as_echo_n "checking $2 presence... " >&6; }
2494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2495 /* end confdefs.h. */
2498 if ac_fn_c_try_cpp
"$LINENO"; then :
2499 ac_header_preproc
=yes
2501 ac_header_preproc
=no
2503 rm -f conftest.err conftest.i conftest.
$ac_ext
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2505 $as_echo "$ac_header_preproc" >&6; }
2507 # So? What about this header?
2508 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2511 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2513 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2517 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2519 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2521 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2523 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2525 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2526 ( $as_echo "## ------------------------------------ ##
2527 ## Report this to wine-devel@winehq.org ##
2528 ## ------------------------------------ ##"
2529 ) |
sed "s/^/$as_me: WARNING: /" >&2
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2533 $as_echo_n "checking for $2... " >&6; }
2534 if eval \
${$3+:} false
; then :
2535 $as_echo_n "(cached) " >&6
2537 eval "$3=\$ac_header_compiler"
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2541 $as_echo "$ac_res" >&6; }
2543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2545 } # ac_fn_c_check_header_mongrel
2547 # ac_fn_c_try_run LINENO
2548 # ----------------------
2549 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2550 # that executables *can* be run.
2553 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2554 if { { ac_try
="$ac_link"
2556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2557 *) ac_try_echo=$ac_try;;
2559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2560 $as_echo "$ac_try_echo"; } >&5
2561 (eval "$ac_link") 2>&5
2563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2564 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2565 { { case "(($ac_try" in
2566 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2567 *) ac_try_echo
=$ac_try;;
2569 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2570 $as_echo "$ac_try_echo"; } >&5
2571 (eval "$ac_try") 2>&5
2573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2574 test $ac_status = 0; }; }; then :
2577 $as_echo "$as_me: program exited with status $ac_status" >&5
2578 $as_echo "$as_me: failed program was:" >&5
2579 sed 's/^/| /' conftest.
$ac_ext >&5
2581 ac_retval
=$ac_status
2583 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2584 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2585 as_fn_set_status
$ac_retval
2589 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2590 # -------------------------------------------------------
2591 # Tests whether HEADER exists and can be compiled using the include files in
2592 # INCLUDES, setting the cache variable VAR accordingly.
2593 ac_fn_c_check_header_compile
()
2595 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2597 $as_echo_n "checking for $2... " >&6; }
2598 if eval \
${$3+:} false
; then :
2599 $as_echo_n "(cached) " >&6
2601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2602 /* end confdefs.h. */
2606 if ac_fn_c_try_compile
"$LINENO"; then :
2611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2615 $as_echo "$ac_res" >&6; }
2616 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2618 } # ac_fn_c_check_header_compile
2620 # ac_fn_c_check_func LINENO FUNC VAR
2621 # ----------------------------------
2622 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2623 ac_fn_c_check_func
()
2625 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2627 $as_echo_n "checking for $2... " >&6; }
2628 if eval \
${$3+:} false
; then :
2629 $as_echo_n "(cached) " >&6
2631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2632 /* end confdefs.h. */
2633 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2635 #define $2 innocuous_$2
2637 /* System header to define __stub macros and hopefully few prototypes,
2638 which can conflict with char $2 (); below.
2639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2640 <limits.h> exists even on freestanding compilers. */
2643 # include <limits.h>
2645 # include <assert.h>
2650 /* Override any GCC internal prototype to avoid an error.
2651 Use char because int might match the return type of a GCC
2652 builtin and then its argument prototype would still apply. */
2657 /* The GNU C library defines this for functions which it implements
2658 to always fail with ENOSYS. Some functions are actually named
2659 something starting with __ and the normal name is an alias. */
2660 #if defined __stub_$2 || defined __stub___$2
2672 if ac_fn_c_try_link
"$LINENO"; then :
2677 rm -f core conftest.err conftest.
$ac_objext \
2678 conftest
$ac_exeext conftest.
$ac_ext
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2682 $as_echo "$ac_res" >&6; }
2683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2685 } # ac_fn_c_check_func
2687 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2688 # ----------------------------------------------------
2689 # Tries to find if the field MEMBER exists in type AGGR, after including
2690 # INCLUDES, setting cache variable VAR accordingly.
2691 ac_fn_c_check_member
()
2693 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2695 $as_echo_n "checking for $2.$3... " >&6; }
2696 if eval \
${$4+:} false
; then :
2697 $as_echo_n "(cached) " >&6
2699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2700 /* end confdefs.h. */
2712 if ac_fn_c_try_compile
"$LINENO"; then :
2715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2716 /* end confdefs.h. */
2722 if (sizeof ac_aggr.$3)
2728 if ac_fn_c_try_compile
"$LINENO"; then :
2733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2739 $as_echo "$ac_res" >&6; }
2740 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2742 } # ac_fn_c_check_member
2744 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2745 # -------------------------------------------
2746 # Tests whether TYPE exists after having included INCLUDES, setting cache
2747 # variable VAR accordingly.
2748 ac_fn_c_check_type
()
2750 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2752 $as_echo_n "checking for $2... " >&6; }
2753 if eval \
${$3+:} false
; then :
2754 $as_echo_n "(cached) " >&6
2757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2758 /* end confdefs.h. */
2769 if ac_fn_c_try_compile
"$LINENO"; then :
2770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2771 /* end confdefs.h. */
2782 if ac_fn_c_try_compile
"$LINENO"; then :
2787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2793 $as_echo "$ac_res" >&6; }
2794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2796 } # ac_fn_c_check_type
2797 cat >config.log
<<_ACEOF
2798 This file contains any messages produced by compilers while
2799 running configure, to aid debugging if configure makes a mistake.
2801 It was created by Wine $as_me 1.7.36, which was
2802 generated by GNU Autoconf 2.69. Invocation command line was
2814 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2815 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2816 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2817 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2818 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2820 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2821 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2823 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2824 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2825 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2826 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2827 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2828 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2829 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2837 test -z "$as_dir" && as_dir
=.
2838 $as_echo "PATH: $as_dir"
2854 # Keep a trace of the command line.
2855 # Strip out --no-create and --no-recursion so they do not pile up.
2856 # Strip out --silent because we don't want to record it for future runs.
2857 # Also quote any args containing shell meta-characters.
2858 # Make two passes to allow for proper duplicate-argument suppression.
2862 ac_must_keep_next
=false
2868 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2869 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2870 |
-silent |
--silent |
--silen |
--sile |
--sil)
2873 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2876 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2878 as_fn_append ac_configure_args1
" '$ac_arg'"
2879 if test $ac_must_keep_next = true
; then
2880 ac_must_keep_next
=false
# Got value, back to normal.
2883 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2884 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2885 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2886 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2887 case "$ac_configure_args0 " in
2888 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2891 -* ) ac_must_keep_next
=true
;;
2894 as_fn_append ac_configure_args
" '$ac_arg'"
2899 { ac_configure_args0
=; unset ac_configure_args0
;}
2900 { ac_configure_args1
=; unset ac_configure_args1
;}
2902 # When interrupted or exit'd, cleanup temporary files, and complete
2903 # config.log. We remove comments because anyway the quotes in there
2904 # would cause problems or look ugly.
2905 # WARNING: Use '\'' to represent an apostrophe within the trap.
2906 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2907 trap 'exit_status=$?
2908 # Save into config.log some information that might help in debugging.
2912 $as_echo "## ---------------- ##
2913 ## Cache variables. ##
2914 ## ---------------- ##"
2916 # The following way of writing the cache mishandles newlines in values,
2918 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2919 eval ac_val=\$$ac_var
2923 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2924 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2927 _ | IFS | as_nl) ;; #(
2928 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2929 *) { eval $ac_var=; unset $ac_var;} ;;
2934 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2935 *${as_nl}ac_space=\ *)
2937 "s/'\''/'\''\\\\'\'''\''/g;
2938 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2941 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2948 $as_echo "## ----------------- ##
2949 ## Output variables. ##
2950 ## ----------------- ##"
2952 for ac_var in $ac_subst_vars
2954 eval ac_val=\$$ac_var
2956 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2958 $as_echo "$ac_var='\''$ac_val'\''"
2962 if test -n "$ac_subst_files"; then
2963 $as_echo "## ------------------- ##
2964 ## File substitutions. ##
2965 ## ------------------- ##"
2967 for ac_var
in $ac_subst_files
2969 eval ac_val
=\$
$ac_var
2971 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2973 $as_echo "$ac_var='\''$ac_val'\''"
2978 if test -s confdefs.h; then
2979 $as_echo "## ----------- ##
2986 test "$ac_signal" != 0 &&
2987 $as_echo "$as_me: caught signal $ac_signal"
2988 $as_echo "$as_me: exit $exit_status"
2990 rm -f core *.core core.conftest.* &&
2991 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2994 for ac_signal
in 1 2 13 15; do
2995 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2999 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3000 rm -f -r conftest
* confdefs.h
3002 $as_echo "/* confdefs.h */" > confdefs.h
3004 # Predefined preprocessor variables.
3006 cat >>confdefs.h
<<_ACEOF
3007 #define PACKAGE_NAME "$PACKAGE_NAME"
3010 cat >>confdefs.h
<<_ACEOF
3011 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3014 cat >>confdefs.h
<<_ACEOF
3015 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3018 cat >>confdefs.h
<<_ACEOF
3019 #define PACKAGE_STRING "$PACKAGE_STRING"
3022 cat >>confdefs.h
<<_ACEOF
3023 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3026 cat >>confdefs.h
<<_ACEOF
3027 #define PACKAGE_URL "$PACKAGE_URL"
3031 # Let the site file select an alternate cache file if it wants to.
3032 # Prefer an explicitly selected file to automatically selected ones.
3035 if test -n "$CONFIG_SITE"; then
3036 # We do not want a PATH search for config.site.
3037 case $CONFIG_SITE in #((
3038 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3039 */*) ac_site_file1
=$CONFIG_SITE;;
3040 *) ac_site_file1
=.
/$CONFIG_SITE;;
3042 elif test "x$prefix" != xNONE
; then
3043 ac_site_file1
=$prefix/share
/config.site
3044 ac_site_file2
=$prefix/etc
/config.site
3046 ac_site_file1
=$ac_default_prefix/share
/config.site
3047 ac_site_file2
=$ac_default_prefix/etc
/config.site
3049 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3051 test "x$ac_site_file" = xNONE
&& continue
3052 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3054 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3055 sed 's/^/| /' "$ac_site_file" >&5
3057 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3059 as_fn_error $?
"failed to load site script $ac_site_file
3060 See \`config.log' for more details" "$LINENO" 5; }
3064 if test -r "$cache_file"; then
3065 # Some versions of bash will fail to source /dev/null (special files
3066 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3067 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3069 $as_echo "$as_me: loading cache $cache_file" >&6;}
3071 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3072 *) .
"./$cache_file";;
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3077 $as_echo "$as_me: creating cache $cache_file" >&6;}
3081 # Check that the precious variables saved in the cache have kept the same
3083 ac_cache_corrupted
=false
3084 for ac_var
in $ac_precious_vars; do
3085 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3086 eval ac_new_set
=\
$ac_env_${ac_var}_set
3087 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3088 eval ac_new_val
=\
$ac_env_${ac_var}_value
3089 case $ac_old_set,$ac_new_set in
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3092 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3093 ac_cache_corrupted
=: ;;
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3096 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3097 ac_cache_corrupted
=: ;;
3100 if test "x$ac_old_val" != "x$ac_new_val"; then
3101 # differences in whitespace do not lead to failure.
3102 ac_old_val_w
=`echo x $ac_old_val`
3103 ac_new_val_w
=`echo x $ac_new_val`
3104 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3106 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3107 ac_cache_corrupted
=:
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3110 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3111 eval $ac_var=\
$ac_old_val
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3114 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3116 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3119 # Pass precious variables to config.status.
3120 if test "$ac_new_set" = set; then
3122 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3123 *) ac_arg
=$ac_var=$ac_new_val ;;
3125 case " $ac_configure_args " in
3126 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3127 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3131 if $ac_cache_corrupted; then
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3135 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3136 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3138 ## -------------------- ##
3139 ## Main body of script. ##
3140 ## -------------------- ##
3143 ac_cpp
='$CPP $CPPFLAGS'
3144 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3145 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3146 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3150 ac_config_headers
="$ac_config_headers include/config.h"
3153 for ac_dir
in tools
"$srcdir"/tools
; do
3154 if test -f "$ac_dir/install-sh"; then
3156 ac_install_sh
="$ac_aux_dir/install-sh -c"
3158 elif test -f "$ac_dir/install.sh"; then
3160 ac_install_sh
="$ac_aux_dir/install.sh -c"
3162 elif test -f "$ac_dir/shtool"; then
3164 ac_install_sh
="$ac_aux_dir/shtool install -c"
3168 if test -z "$ac_aux_dir"; then
3169 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3172 # These three variables are undocumented and unsupported,
3173 # and are intended to be withdrawn in a future Autoconf release.
3174 # They can cause serious problems if a builder's source tree is in a directory
3175 # whose full name contains unusual characters.
3176 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3177 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3178 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3182 libwine_version
="1.0"
3186 # Check whether --enable-win16 was given.
3187 if test "${enable_win16+set}" = set; then :
3188 enableval
=$enable_win16;
3191 # Check whether --enable-win64 was given.
3192 if test "${enable_win64+set}" = set; then :
3193 enableval
=$enable_win64;
3196 # Check whether --enable-tests was given.
3197 if test "${enable_tests+set}" = set; then :
3198 enableval
=$enable_tests;
3201 # Check whether --enable-maintainer-mode was given.
3202 if test "${enable_maintainer_mode+set}" = set; then :
3203 enableval
=$enable_maintainer_mode;
3208 # Check whether --with-alsa was given.
3209 if test "${with_alsa+set}" = set; then :
3210 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3214 # Check whether --with-capi was given.
3215 if test "${with_capi+set}" = set; then :
3220 # Check whether --with-cms was given.
3221 if test "${with_cms+set}" = set; then :
3226 # Check whether --with-coreaudio was given.
3227 if test "${with_coreaudio+set}" = set; then :
3228 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3232 # Check whether --with-cups was given.
3233 if test "${with_cups+set}" = set; then :
3238 # Check whether --with-curses was given.
3239 if test "${with_curses+set}" = set; then :
3240 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3244 # Check whether --with-dbus was given.
3245 if test "${with_dbus+set}" = set; then :
3250 # Check whether --with-fontconfig was given.
3251 if test "${with_fontconfig+set}" = set; then :
3252 withval
=$with_fontconfig;
3256 # Check whether --with-freetype was given.
3257 if test "${with_freetype+set}" = set; then :
3258 withval
=$with_freetype;
3262 # Check whether --with-gettext was given.
3263 if test "${with_gettext+set}" = set; then :
3264 withval
=$with_gettext;
3268 # Check whether --with-gettextpo was given.
3269 if test "${with_gettextpo+set}" = set; then :
3270 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3274 # Check whether --with-gphoto was given.
3275 if test "${with_gphoto+set}" = set; then :
3276 withval
=$with_gphoto;
3280 # Check whether --with-glu was given.
3281 if test "${with_glu+set}" = set; then :
3286 # Check whether --with-gnutls was given.
3287 if test "${with_gnutls+set}" = set; then :
3288 withval
=$with_gnutls;
3292 # Check whether --with-gsm was given.
3293 if test "${with_gsm+set}" = set; then :
3294 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3298 # Check whether --with-gstreamer was given.
3299 if test "${with_gstreamer+set}" = set; then :
3300 withval
=$with_gstreamer;
3304 # Check whether --with-hal was given.
3305 if test "${with_hal+set}" = set; then :
3310 # Check whether --with-jpeg was given.
3311 if test "${with_jpeg+set}" = set; then :
3316 # Check whether --with-ldap was given.
3317 if test "${with_ldap+set}" = set; then :
3318 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3322 # Check whether --with-mpg123 was given.
3323 if test "${with_mpg123+set}" = set; then :
3324 withval
=$with_mpg123;
3328 # Check whether --with-netapi was given.
3329 if test "${with_netapi+set}" = set; then :
3330 withval
=$with_netapi;
3334 # Check whether --with-openal was given.
3335 if test "${with_openal+set}" = set; then :
3336 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3340 # Check whether --with-opencl was given.
3341 if test "${with_opencl+set}" = set; then :
3342 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3346 # Check whether --with-opengl was given.
3347 if test "${with_opengl+set}" = set; then :
3348 withval
=$with_opengl;
3352 # Check whether --with-osmesa was given.
3353 if test "${with_osmesa+set}" = set; then :
3354 withval
=$with_osmesa;
3358 # Check whether --with-oss was given.
3359 if test "${with_oss+set}" = set; then :
3364 # Check whether --with-pcap was given.
3365 if test "${with_pcap+set}" = set; then :
3366 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3370 # Check whether --with-png was given.
3371 if test "${with_png+set}" = set; then :
3376 # Check whether --with-pthread was given.
3377 if test "${with_pthread+set}" = set; then :
3378 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3382 # Check whether --with-sane was given.
3383 if test "${with_sane+set}" = set; then :
3388 # Check whether --with-tiff was given.
3389 if test "${with_tiff+set}" = set; then :
3394 # Check whether --with-v4l was given.
3395 if test "${with_v4l+set}" = set; then :
3400 # Check whether --with-xcomposite was given.
3401 if test "${with_xcomposite+set}" = set; then :
3402 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3406 # Check whether --with-xcursor was given.
3407 if test "${with_xcursor+set}" = set; then :
3408 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3412 # Check whether --with-xinerama was given.
3413 if test "${with_xinerama+set}" = set; then :
3414 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3418 # Check whether --with-xinput was given.
3419 if test "${with_xinput+set}" = set; then :
3420 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3424 # Check whether --with-xinput2 was given.
3425 if test "${with_xinput2+set}" = set; then :
3426 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3430 # Check whether --with-xml was given.
3431 if test "${with_xml+set}" = set; then :
3436 # Check whether --with-xrandr was given.
3437 if test "${with_xrandr+set}" = set; then :
3438 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3442 # Check whether --with-xrender was given.
3443 if test "${with_xrender+set}" = set; then :
3444 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3448 # Check whether --with-xshape was given.
3449 if test "${with_xshape+set}" = set; then :
3450 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3454 # Check whether --with-xshm was given.
3455 if test "${with_xshm+set}" = set; then :
3456 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3460 # Check whether --with-xslt was given.
3461 if test "${with_xslt+set}" = set; then :
3466 # Check whether --with-xxf86vm was given.
3467 if test "${with_xxf86vm+set}" = set; then :
3468 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
3472 # Check whether --with-zlib was given.
3473 if test "${with_zlib+set}" = set; then :
3474 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3479 # Check whether --with-wine-tools was given.
3480 if test "${with_wine_tools+set}" = set; then :
3481 withval
=$with_wine_tools;
3485 # Check whether --with-wine64 was given.
3486 if test "${with_wine64+set}" = set; then :
3487 withval
=$with_wine64;
3491 # Make sure we can run config.sub.
3492 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3493 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3496 $as_echo_n "checking build system type... " >&6; }
3497 if ${ac_cv_build+:} false
; then :
3498 $as_echo_n "(cached) " >&6
3500 ac_build_alias
=$build_alias
3501 test "x$ac_build_alias" = x
&&
3502 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3503 test "x$ac_build_alias" = x
&&
3504 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3505 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3506 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3510 $as_echo "$ac_cv_build" >&6; }
3511 case $ac_cv_build in
3513 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3516 ac_save_IFS
=$IFS; IFS
='-'
3522 # Remember, the first character of IFS is used to create $*,
3523 # except with old shells:
3526 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3530 $as_echo_n "checking host system type... " >&6; }
3531 if ${ac_cv_host+:} false
; then :
3532 $as_echo_n "(cached) " >&6
3534 if test "x$host_alias" = x
; then
3535 ac_cv_host
=$ac_cv_build
3537 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3538 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3543 $as_echo "$ac_cv_host" >&6; }
3546 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3549 ac_save_IFS
=$IFS; IFS
='-'
3555 # Remember, the first character of IFS is used to create $*,
3556 # except with old shells:
3559 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3565 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3566 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3567 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3573 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3575 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3576 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3577 $as_echo_n "(cached) " >&6
3579 cat >conftest.
make <<\_ACEOF
3582 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3584 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3585 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3587 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3589 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3593 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3595 $as_echo "yes" >&6; }
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3599 $as_echo "no" >&6; }
3600 SET_MAKE
="MAKE=${MAKE-make}"
3604 ac_cpp
='$CPP $CPPFLAGS'
3605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3608 if test -n "$ac_tool_prefix"; then
3609 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3610 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3612 $as_echo_n "checking for $ac_word... " >&6; }
3613 if ${ac_cv_prog_CC+:} false
; then :
3614 $as_echo_n "(cached) " >&6
3616 if test -n "$CC"; then
3617 ac_cv_prog_CC
="$CC" # Let the user override the test.
3619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3623 test -z "$as_dir" && as_dir
=.
3624 for ac_exec_ext
in '' $ac_executable_extensions; do
3625 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3626 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3637 if test -n "$CC"; then
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3639 $as_echo "$CC" >&6; }
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3642 $as_echo "no" >&6; }
3647 if test -z "$ac_cv_prog_CC"; then
3649 # Extract the first word of "gcc", so it can be a program name with args.
3650 set dummy gcc
; ac_word
=$2
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3654 $as_echo_n "(cached) " >&6
3656 if test -n "$ac_ct_CC"; then
3657 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3663 test -z "$as_dir" && as_dir
=.
3664 for ac_exec_ext
in '' $ac_executable_extensions; do
3665 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3666 ac_cv_prog_ac_ct_CC
="gcc"
3667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3677 if test -n "$ac_ct_CC"; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3679 $as_echo "$ac_ct_CC" >&6; }
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3682 $as_echo "no" >&6; }
3685 if test "x$ac_ct_CC" = x
; then
3688 case $cross_compiling:$ac_tool_warned in
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3692 ac_tool_warned
=yes ;;
3700 if test -z "$CC"; then
3701 if test -n "$ac_tool_prefix"; then
3702 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3703 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3705 $as_echo_n "checking for $ac_word... " >&6; }
3706 if ${ac_cv_prog_CC+:} false
; then :
3707 $as_echo_n "(cached) " >&6
3709 if test -n "$CC"; then
3710 ac_cv_prog_CC
="$CC" # Let the user override the test.
3712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3716 test -z "$as_dir" && as_dir
=.
3717 for ac_exec_ext
in '' $ac_executable_extensions; do
3718 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3719 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3730 if test -n "$CC"; then
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3732 $as_echo "$CC" >&6; }
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3735 $as_echo "no" >&6; }
3741 if test -z "$CC"; then
3742 # Extract the first word of "cc", so it can be a program name with args.
3743 set dummy cc
; ac_word
=$2
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if ${ac_cv_prog_CC+:} false
; then :
3747 $as_echo_n "(cached) " >&6
3749 if test -n "$CC"; then
3750 ac_cv_prog_CC
="$CC" # Let the user override the test.
3753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3757 test -z "$as_dir" && as_dir
=.
3758 for ac_exec_ext
in '' $ac_executable_extensions; do
3759 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3760 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3761 ac_prog_rejected
=yes
3765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3772 if test $ac_prog_rejected = yes; then
3773 # We found a bogon in the path, so make sure we never use it.
3774 set dummy
$ac_cv_prog_CC
3776 if test $# != 0; then
3777 # We chose a different compiler from the bogus one.
3778 # However, it has the same basename, so the bogon will be chosen
3779 # first if we set CC to just the basename; use the full file name.
3781 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3787 if test -n "$CC"; then
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3789 $as_echo "$CC" >&6; }
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3792 $as_echo "no" >&6; }
3797 if test -z "$CC"; then
3798 if test -n "$ac_tool_prefix"; then
3799 for ac_prog
in cl.exe
3801 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3802 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3804 $as_echo_n "checking for $ac_word... " >&6; }
3805 if ${ac_cv_prog_CC+:} false
; then :
3806 $as_echo_n "(cached) " >&6
3808 if test -n "$CC"; then
3809 ac_cv_prog_CC
="$CC" # Let the user override the test.
3811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3815 test -z "$as_dir" && as_dir
=.
3816 for ac_exec_ext
in '' $ac_executable_extensions; do
3817 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3818 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3829 if test -n "$CC"; then
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3831 $as_echo "$CC" >&6; }
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3834 $as_echo "no" >&6; }
3838 test -n "$CC" && break
3841 if test -z "$CC"; then
3843 for ac_prog
in cl.exe
3845 # Extract the first word of "$ac_prog", so it can be a program name with args.
3846 set dummy
$ac_prog; ac_word
=$2
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3848 $as_echo_n "checking for $ac_word... " >&6; }
3849 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3850 $as_echo_n "(cached) " >&6
3852 if test -n "$ac_ct_CC"; then
3853 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3859 test -z "$as_dir" && as_dir
=.
3860 for ac_exec_ext
in '' $ac_executable_extensions; do
3861 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3862 ac_cv_prog_ac_ct_CC
="$ac_prog"
3863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3872 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3873 if test -n "$ac_ct_CC"; then
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3875 $as_echo "$ac_ct_CC" >&6; }
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3878 $as_echo "no" >&6; }
3882 test -n "$ac_ct_CC" && break
3885 if test "x$ac_ct_CC" = x
; then
3888 case $cross_compiling:$ac_tool_warned in
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3892 ac_tool_warned
=yes ;;
3901 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3903 as_fn_error $?
"no acceptable C compiler found in \$PATH
3904 See \`config.log' for more details" "$LINENO" 5; }
3906 # Provide some information about the compiler.
3907 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3910 for ac_option
in --version -v -V -qversion; do
3911 { { ac_try
="$ac_compiler $ac_option >&5"
3913 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3914 *) ac_try_echo=$ac_try;;
3916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3917 $as_echo "$ac_try_echo"; } >&5
3918 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3920 if test -s conftest.err; then
3922 ... rest of stderr output deleted ...
3923 10q' conftest.err >conftest.er1
3924 cat conftest.er1 >&5
3926 rm -f conftest.er1 conftest.err
3927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3928 test $ac_status = 0; }
3931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3932 /* end confdefs.h. */
3942 ac_clean_files_save=$ac_clean_files
3943 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3944 # Try to create an executable without -o first, disregard a.out.
3945 # It will help us diagnose broken compilers, and finding out an intuition
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3948 $as_echo_n "checking whether the C compiler works... " >&6; }
3949 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3951 # The possible output files:
3952 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3955 for ac_file in $ac_files
3958 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3959 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3964 if { { ac_try="$ac_link_default"
3966 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3967 *) ac_try_echo
=$ac_try;;
3969 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3970 $as_echo "$ac_try_echo"; } >&5
3971 (eval "$ac_link_default") 2>&5
3973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3974 test $ac_status = 0; }; then :
3975 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3976 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3977 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3978 # so that the user can short-circuit this test for compilers unknown to
3980 for ac_file
in $ac_files ''
3982 test -f "$ac_file" ||
continue
3984 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3987 # We found the default executable, but exeext='' is most
3991 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3993 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3995 # We set ac_cv_exeext here because the later test for it is not
3996 # safe: cross compilers may not add the suffix if given an `-o'
3997 # argument, so we may need to know it at that point already.
3998 # Even if this section looks crufty: it has the advantage of
4005 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4010 if test -z "$ac_file"; then :
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4012 $as_echo "no" >&6; }
4013 $as_echo "$as_me: failed program was:" >&5
4014 sed 's/^/| /' conftest.
$ac_ext >&5
4016 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4018 as_fn_error
77 "C compiler cannot create executables
4019 See \`config.log' for more details" "$LINENO" 5; }
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4022 $as_echo "yes" >&6; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4025 $as_echo_n "checking for C compiler default output file name... " >&6; }
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4027 $as_echo "$ac_file" >&6; }
4028 ac_exeext
=$ac_cv_exeext
4030 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4031 ac_clean_files
=$ac_clean_files_save
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4033 $as_echo_n "checking for suffix of executables... " >&6; }
4034 if { { ac_try
="$ac_link"
4036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4037 *) ac_try_echo=$ac_try;;
4039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4040 $as_echo "$ac_try_echo"; } >&5
4041 (eval "$ac_link") 2>&5
4043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4044 test $ac_status = 0; }; then :
4045 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4046 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4047 # work properly (i.e., refer to `conftest.exe'), while it won't with
4049 for ac_file
in conftest.exe conftest conftest.
*; do
4050 test -f "$ac_file" ||
continue
4052 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4053 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4059 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4061 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4062 See \`config.log' for more details" "$LINENO" 5; }
4064 rm -f conftest conftest
$ac_cv_exeext
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4066 $as_echo "$ac_cv_exeext" >&6; }
4068 rm -f conftest.
$ac_ext
4069 EXEEXT
=$ac_cv_exeext
4071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4072 /* end confdefs.h. */
4077 FILE *f = fopen ("conftest.out", "w");
4078 return ferror (f) || fclose (f) != 0;
4084 ac_clean_files
="$ac_clean_files conftest.out"
4085 # Check that the compiler produces executables we can run. If not, either
4086 # the compiler is broken, or we cross compile.
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4088 $as_echo_n "checking whether we are cross compiling... " >&6; }
4089 if test "$cross_compiling" != yes; then
4090 { { ac_try
="$ac_link"
4092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4096 $as_echo "$ac_try_echo"; } >&5
4097 (eval "$ac_link") 2>&5
4099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4100 test $ac_status = 0; }
4101 if { ac_try='./conftest$ac_cv_exeext'
4102 { { case "(($ac_try" in
4103 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4104 *) ac_try_echo
=$ac_try;;
4106 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4107 $as_echo "$ac_try_echo"; } >&5
4108 (eval "$ac_try") 2>&5
4110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4111 test $ac_status = 0; }; }; then
4114 if test "$cross_compiling" = maybe
; then
4117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4119 as_fn_error $?
"cannot run C compiled programs.
4120 If you meant to cross compile, use \`--host'.
4121 See \`config.log' for more details" "$LINENO" 5; }
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4126 $as_echo "$cross_compiling" >&6; }
4128 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4129 ac_clean_files
=$ac_clean_files_save
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4131 $as_echo_n "checking for suffix of object files... " >&6; }
4132 if ${ac_cv_objext+:} false
; then :
4133 $as_echo_n "(cached) " >&6
4135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h. */
4146 rm -f conftest.o conftest.obj
4147 if { { ac_try
="$ac_compile"
4149 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4150 *) ac_try_echo=$ac_try;;
4152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4153 $as_echo "$ac_try_echo"; } >&5
4154 (eval "$ac_compile") 2>&5
4156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4157 test $ac_status = 0; }; then :
4158 for ac_file in conftest.o conftest.obj conftest.*; do
4159 test -f "$ac_file" || continue;
4161 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4162 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4167 $as_echo "$as_me: failed program was:" >&5
4168 sed 's/^/| /' conftest.$ac_ext >&5
4170 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4172 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4173 See \
`config.log' for more details" "$LINENO" 5; }
4175 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4178 $as_echo "$ac_cv_objext" >&6; }
4179 OBJEXT=$ac_cv_objext
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4182 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4183 if ${ac_cv_c_compiler_gnu+:} false; then :
4184 $as_echo_n "(cached) " >&6
4186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4187 /* end confdefs.h. */
4200 if ac_fn_c_try_compile "$LINENO"; then :
4205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4206 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4210 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4211 if test $ac_compiler_gnu = yes; then
4216 ac_test_CFLAGS=${CFLAGS+set}
4217 ac_save_CFLAGS=$CFLAGS
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4219 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4220 if ${ac_cv_prog_cc_g+:} false; then :
4221 $as_echo_n "(cached) " >&6
4223 ac_save_c_werror_flag=$ac_c_werror_flag
4224 ac_c_werror_flag=yes
4227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4228 /* end confdefs.h. */
4238 if ac_fn_c_try_compile "$LINENO"; then :
4242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4243 /* end confdefs.h. */
4253 if ac_fn_c_try_compile "$LINENO"; then :
4256 ac_c_werror_flag=$ac_save_c_werror_flag
4258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4259 /* end confdefs.h. */
4269 if ac_fn_c_try_compile "$LINENO"; then :
4272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4277 ac_c_werror_flag=$ac_save_c_werror_flag
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4280 $as_echo "$ac_cv_prog_cc_g" >&6; }
4281 if test "$ac_test_CFLAGS" = set; then
4282 CFLAGS=$ac_save_CFLAGS
4283 elif test $ac_cv_prog_cc_g = yes; then
4284 if test "$GCC" = yes; then
4290 if test "$GCC" = yes; then
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4297 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4298 if ${ac_cv_prog_cc_c89+:} false; then :
4299 $as_echo_n "(cached) " >&6
4301 ac_cv_prog_cc_c89=no
4303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4304 /* end confdefs.h. */
4308 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4309 struct buf { int x; };
4310 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4311 static char *e (p, i)
4317 static char *f (char * (*g) (char **, int), char **p, ...)
4322 s = g (p, va_arg (v,int));
4327 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4328 function prototypes and stuff, but not '\xHH' hex character constants.
4329 These don't provoke an error unfortunately, instead are silently treated
4330 as 'x'. The following induces an error, until -std is added to get
4331 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4332 array size at least. It's necessary to write '\x00'==0 to get something
4333 that's true only with -std. */
4334 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4336 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4337 inside strings and character constants. */
4339 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4341 int test (int i, double x);
4342 struct s1 {int (*f) (int a);};
4343 struct s2 {int (*f) (double a);};
4344 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4350 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4355 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4356 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4358 CC="$ac_save_CC $ac_arg"
4359 if ac_fn_c_try_compile "$LINENO"; then :
4360 ac_cv_prog_cc_c89=$ac_arg
4362 rm -f core conftest.err conftest.$ac_objext
4363 test "x$ac_cv_prog_cc_c89" != "xno" && break
4365 rm -f conftest.$ac_ext
4370 case "x$ac_cv_prog_cc_c89" in
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4373 $as_echo "none needed" >&6; } ;;
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4376 $as_echo "unsupported" >&6; } ;;
4378 CC="$CC $ac_cv_prog_cc_c89"
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4380 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4382 if test "x$ac_cv_prog_cc_c89" != xno; then :
4387 ac_cpp='$CPP $CPPFLAGS'
4388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4393 ac_cpp='$CXXCPP $CPPFLAGS'
4394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4397 if test -z "$CXX"; then
4398 if test -n "$CCC"; then
4401 if test -n "$ac_tool_prefix"; then
4402 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4404 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4405 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4407 $as_echo_n "checking for $ac_word... " >&6; }
4408 if ${ac_cv_prog_CXX+:} false; then :
4409 $as_echo_n "(cached) " >&6
4411 if test -n "$CXX"; then
4412 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4418 test -z "$as_dir" && as_dir=.
4419 for ac_exec_ext in '' $ac_executable_extensions; do
4420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4421 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 if test -n "$CXX"; then
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4434 $as_echo "$CXX" >&6; }
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4437 $as_echo "no" >&6; }
4441 test -n "$CXX" && break
4444 if test -z "$CXX"; then
4446 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4448 # Extract the first word of "$ac_prog", so it can be a program name with args.
4449 set dummy $ac_prog; ac_word=$2
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4451 $as_echo_n "checking for $ac_word... " >&6; }
4452 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4453 $as_echo_n "(cached) " >&6
4455 if test -n "$ac_ct_CXX"; then
4456 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4462 test -z "$as_dir" && as_dir=.
4463 for ac_exec_ext in '' $ac_executable_extensions; do
4464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4465 ac_cv_prog_ac_ct_CXX="$ac_prog"
4466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4475 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4476 if test -n "$ac_ct_CXX"; then
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4478 $as_echo "$ac_ct_CXX" >&6; }
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4481 $as_echo "no" >&6; }
4485 test -n "$ac_ct_CXX" && break
4488 if test "x$ac_ct_CXX" = x; then
4491 case $cross_compiling:$ac_tool_warned in
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4495 ac_tool_warned=yes ;;
4503 # Provide some information about the compiler.
4504 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4507 for ac_option in --version -v -V -qversion; do
4508 { { ac_try="$ac_compiler $ac_option >&5"
4510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4511 *) ac_try_echo
=$ac_try;;
4513 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4514 $as_echo "$ac_try_echo"; } >&5
4515 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4517 if test -s conftest.err
; then
4519 ... rest of stderr output deleted ...
4520 10q' conftest.err
>conftest.er1
4521 cat conftest.er1
>&5
4523 rm -f conftest.er1 conftest.err
4524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4525 test $ac_status = 0; }
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4529 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4530 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4531 $as_echo_n "(cached) " >&6
4533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4534 /* end confdefs.h. */
4547 if ac_fn_cxx_try_compile
"$LINENO"; then :
4552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4553 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4557 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4558 if test $ac_compiler_gnu = yes; then
4563 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4564 ac_save_CXXFLAGS
=$CXXFLAGS
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4566 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4567 if ${ac_cv_prog_cxx_g+:} false
; then :
4568 $as_echo_n "(cached) " >&6
4570 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4571 ac_cxx_werror_flag
=yes
4574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4585 if ac_fn_cxx_try_compile
"$LINENO"; then :
4586 ac_cv_prog_cxx_g
=yes
4589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4590 /* end confdefs.h. */
4600 if ac_fn_cxx_try_compile
"$LINENO"; then :
4603 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4616 if ac_fn_cxx_try_compile
"$LINENO"; then :
4617 ac_cv_prog_cxx_g
=yes
4619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4624 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4627 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4628 if test "$ac_test_CXXFLAGS" = set; then
4629 CXXFLAGS
=$ac_save_CXXFLAGS
4630 elif test $ac_cv_prog_cxx_g = yes; then
4631 if test "$GXX" = yes; then
4637 if test "$GXX" = yes; then
4644 ac_cpp
='$CPP $CPPFLAGS'
4645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4649 if test -n "$ac_tool_prefix"; then
4650 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4651 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4653 $as_echo_n "checking for $ac_word... " >&6; }
4654 if ${ac_cv_prog_CPPBIN+:} false
; then :
4655 $as_echo_n "(cached) " >&6
4657 if test -n "$CPPBIN"; then
4658 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4664 test -z "$as_dir" && as_dir
=.
4665 for ac_exec_ext
in '' $ac_executable_extensions; do
4666 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4667 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4677 CPPBIN
=$ac_cv_prog_CPPBIN
4678 if test -n "$CPPBIN"; then
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4680 $as_echo "$CPPBIN" >&6; }
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4683 $as_echo "no" >&6; }
4688 if test -z "$ac_cv_prog_CPPBIN"; then
4689 ac_ct_CPPBIN
=$CPPBIN
4690 # Extract the first word of "cpp", so it can be a program name with args.
4691 set dummy cpp
; ac_word
=$2
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4693 $as_echo_n "checking for $ac_word... " >&6; }
4694 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4695 $as_echo_n "(cached) " >&6
4697 if test -n "$ac_ct_CPPBIN"; then
4698 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4704 test -z "$as_dir" && as_dir
=.
4705 for ac_exec_ext
in '' $ac_executable_extensions; do
4706 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4707 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4717 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4718 if test -n "$ac_ct_CPPBIN"; then
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4720 $as_echo "$ac_ct_CPPBIN" >&6; }
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4723 $as_echo "no" >&6; }
4726 if test "x$ac_ct_CPPBIN" = x
; then
4729 case $cross_compiling:$ac_tool_warned in
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4732 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4733 ac_tool_warned
=yes ;;
4735 CPPBIN
=$ac_ct_CPPBIN
4738 CPPBIN
="$ac_cv_prog_CPPBIN"
4742 cat >>confdefs.h
<<_ACEOF
4743 #define EXEEXT "$ac_exeext"
4746 if test -n "$ac_tool_prefix"; then
4747 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4748 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4750 $as_echo_n "checking for $ac_word... " >&6; }
4751 if ${ac_cv_prog_LD+:} false
; then :
4752 $as_echo_n "(cached) " >&6
4754 if test -n "$LD"; then
4755 ac_cv_prog_LD
="$LD" # Let the user override the test.
4757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4761 test -z "$as_dir" && as_dir
=.
4762 for ac_exec_ext
in '' $ac_executable_extensions; do
4763 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4764 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4775 if test -n "$LD"; then
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4777 $as_echo "$LD" >&6; }
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4780 $as_echo "no" >&6; }
4785 if test -z "$ac_cv_prog_LD"; then
4787 # Extract the first word of "ld", so it can be a program name with args.
4788 set dummy ld
; ac_word
=$2
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4790 $as_echo_n "checking for $ac_word... " >&6; }
4791 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4792 $as_echo_n "(cached) " >&6
4794 if test -n "$ac_ct_LD"; then
4795 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4801 test -z "$as_dir" && as_dir
=.
4802 for ac_exec_ext
in '' $ac_executable_extensions; do
4803 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4804 ac_cv_prog_ac_ct_LD
="ld"
4805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4814 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4815 if test -n "$ac_ct_LD"; then
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4817 $as_echo "$ac_ct_LD" >&6; }
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 $as_echo "no" >&6; }
4823 if test "x$ac_ct_LD" = x
; then
4826 case $cross_compiling:$ac_tool_warned in
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4830 ac_tool_warned
=yes ;;
4841 if test "x$enable_win64" = "xyes"
4846 notice_platform
="64-bit "
4853 notice_platform
="32-bit "
4856 enable_win16
=${enable_win16:-yes}
4858 with_fontconfig
=${with_fontconfig:-no}
4861 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4866 $as_echo_n "checking whether $CC works... " >&6; }
4868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4869 /* end confdefs.h. */
4879 if ac_fn_c_try_link
"$LINENO"; then :
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4881 $as_echo "yes" >&6; }
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884 $as_echo "no" >&6; }
4885 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4887 rm -f core conftest.err conftest.
$ac_objext \
4888 conftest
$ac_exeext conftest.
$ac_ext
4890 notice_platform
="32-bit "
4893 enable_win16
=${enable_win16:-yes}
4895 if test "x${GCC}" = "xyes"
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4898 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4900 /* end confdefs.h. */
4905 void func(__builtin_ms_va_list *args);
4910 if ac_fn_c_try_compile
"$LINENO"; then :
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4912 $as_echo "yes" >&6; }
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4915 $as_echo "no" >&6; }
4916 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4926 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4929 int ac_test(int i) { return i; }
4933 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4938 if ac_fn_c_try_link
"$LINENO"; then :
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4940 $as_echo "yes" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4944 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4946 rm -f core conftest.err conftest.
$ac_objext \
4947 conftest
$ac_exeext conftest.
$ac_ext
4948 CFLAGS
="$CFLAGS -marm"
4952 *-mingw32*|
*-cygwin*)
4953 enable_win16
=${enable_win16:-no}
4954 CFLAGS
="$CFLAGS -D_WIN32"
4957 enable_win16
=${enable_win16:-yes}
4961 enable_win16
=${enable_win16:-no}
4962 enable_win64
=${enable_win64:-no}
4964 enable_winetest
=${enable_winetest:-$enable_tests}
4966 if test -n "$with_wine64"
4968 if test "x$enable_win64" = "xyes"
4970 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4971 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4973 enable_fonts
=${enable_fonts:-no}
4974 enable_server
=${enable_server:-no}
4975 elif test "x$enable_win64" = "xyes"
4977 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4981 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4982 if ${wine_cv_toolsdir+:} false
; then :
4983 $as_echo_n "(cached) " >&6
4985 wine_cv_toolsdir
="$with_wine_tools"
4986 if test -z "$with_wine_tools"; then
4987 if test "$cross_compiling" = "yes"; then
4988 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4989 elif test -n "$with_wine64"; then
4990 wine_cv_toolsdir
="$with_wine64"
4993 if test -z "$wine_cv_toolsdir"; then
4994 wine_makedep
=tools
/makedep
4995 wine_cv_toolsdir
="\$(top_builddir)"
4996 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4997 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4998 case "$wine_cv_toolsdir" in
5000 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5002 enable_tools
=${enable_tools:-no}
5003 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5005 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5009 $as_echo "$wine_cv_toolsdir" >&6; }
5010 TOOLSDIR
=$wine_cv_toolsdir
5012 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5014 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5020 # Extract the first word of "$ac_prog", so it can be a program name with args.
5021 set dummy
$ac_prog; ac_word
=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 $as_echo_n "checking for $ac_word... " >&6; }
5024 if ${ac_cv_prog_FLEX+:} false
; then :
5025 $as_echo_n "(cached) " >&6
5027 if test -n "$FLEX"; then
5028 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5034 test -z "$as_dir" && as_dir
=.
5035 for ac_exec_ext
in '' $ac_executable_extensions; do
5036 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5037 ac_cv_prog_FLEX
="$ac_prog"
5038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 FLEX
=$ac_cv_prog_FLEX
5048 if test -n "$FLEX"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5050 $as_echo "$FLEX" >&6; }
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5057 test -n "$FLEX" && break
5059 test -n "$FLEX" || FLEX
="none"
5061 if test "$FLEX" = "none"
5063 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5066 $as_echo_n "checking whether flex is recent enough... " >&6; }
5067 cat >conftest.l
<<EOF
5069 #include "prediluvian.h"
5073 if $FLEX -t conftest.l
>/dev
/null
2>&5
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5076 $as_echo "yes" >&6; }
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5079 $as_echo "no" >&6; }
5080 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5083 for ac_prog
in bison
5085 # Extract the first word of "$ac_prog", so it can be a program name with args.
5086 set dummy
$ac_prog; ac_word
=$2
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5088 $as_echo_n "checking for $ac_word... " >&6; }
5089 if ${ac_cv_prog_BISON+:} false
; then :
5090 $as_echo_n "(cached) " >&6
5092 if test -n "$BISON"; then
5093 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5099 test -z "$as_dir" && as_dir
=.
5100 for ac_exec_ext
in '' $ac_executable_extensions; do
5101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5102 ac_cv_prog_BISON
="$ac_prog"
5103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5112 BISON
=$ac_cv_prog_BISON
5113 if test -n "$BISON"; then
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5115 $as_echo "$BISON" >&6; }
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5118 $as_echo "no" >&6; }
5122 test -n "$BISON" && break
5124 test -n "$BISON" || BISON
="none"
5126 if test "$BISON" = "none"
5128 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5131 if test -n "$ac_tool_prefix"; then
5132 for ac_prog
in ar gar
5134 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5135 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5137 $as_echo_n "checking for $ac_word... " >&6; }
5138 if ${ac_cv_prog_AR+:} false
; then :
5139 $as_echo_n "(cached) " >&6
5141 if test -n "$AR"; then
5142 ac_cv_prog_AR
="$AR" # Let the user override the test.
5144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5148 test -z "$as_dir" && as_dir
=.
5149 for ac_exec_ext
in '' $ac_executable_extensions; do
5150 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5151 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 if test -n "$AR"; then
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5164 $as_echo "$AR" >&6; }
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5167 $as_echo "no" >&6; }
5171 test -n "$AR" && break
5174 if test -z "$AR"; then
5176 for ac_prog
in ar gar
5178 # Extract the first word of "$ac_prog", so it can be a program name with args.
5179 set dummy
$ac_prog; ac_word
=$2
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5181 $as_echo_n "checking for $ac_word... " >&6; }
5182 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5183 $as_echo_n "(cached) " >&6
5185 if test -n "$ac_ct_AR"; then
5186 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5192 test -z "$as_dir" && as_dir
=.
5193 for ac_exec_ext
in '' $ac_executable_extensions; do
5194 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5195 ac_cv_prog_ac_ct_AR
="$ac_prog"
5196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5205 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5206 if test -n "$ac_ct_AR"; then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5208 $as_echo "$ac_ct_AR" >&6; }
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5215 test -n "$ac_ct_AR" && break
5218 if test "x$ac_ct_AR" = x
; then
5221 case $cross_compiling:$ac_tool_warned in
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5225 ac_tool_warned
=yes ;;
5231 if test -n "$ac_tool_prefix"; then
5232 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5233 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5235 $as_echo_n "checking for $ac_word... " >&6; }
5236 if ${ac_cv_prog_STRIP+:} false
; then :
5237 $as_echo_n "(cached) " >&6
5239 if test -n "$STRIP"; then
5240 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5246 test -z "$as_dir" && as_dir
=.
5247 for ac_exec_ext
in '' $ac_executable_extensions; do
5248 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5249 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5259 STRIP
=$ac_cv_prog_STRIP
5260 if test -n "$STRIP"; then
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5262 $as_echo "$STRIP" >&6; }
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5265 $as_echo "no" >&6; }
5270 if test -z "$ac_cv_prog_STRIP"; then
5272 # Extract the first word of "strip", so it can be a program name with args.
5273 set dummy strip
; ac_word
=$2
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5275 $as_echo_n "checking for $ac_word... " >&6; }
5276 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5277 $as_echo_n "(cached) " >&6
5279 if test -n "$ac_ct_STRIP"; then
5280 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5286 test -z "$as_dir" && as_dir
=.
5287 for ac_exec_ext
in '' $ac_executable_extensions; do
5288 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5289 ac_cv_prog_ac_ct_STRIP
="strip"
5290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5299 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5300 if test -n "$ac_ct_STRIP"; then
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5302 $as_echo "$ac_ct_STRIP" >&6; }
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5305 $as_echo "no" >&6; }
5308 if test "x$ac_ct_STRIP" = x
; then
5311 case $cross_compiling:$ac_tool_warned in
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5315 ac_tool_warned
=yes ;;
5320 STRIP
="$ac_cv_prog_STRIP"
5325 if test -n "$ac_tool_prefix"; then
5326 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5327 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5329 $as_echo_n "checking for $ac_word... " >&6; }
5330 if ${ac_cv_prog_RANLIB+:} false
; then :
5331 $as_echo_n "(cached) " >&6
5333 if test -n "$RANLIB"; then
5334 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5340 test -z "$as_dir" && as_dir
=.
5341 for ac_exec_ext
in '' $ac_executable_extensions; do
5342 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5343 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5353 RANLIB
=$ac_cv_prog_RANLIB
5354 if test -n "$RANLIB"; then
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5356 $as_echo "$RANLIB" >&6; }
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5359 $as_echo "no" >&6; }
5364 if test -z "$ac_cv_prog_RANLIB"; then
5365 ac_ct_RANLIB
=$RANLIB
5366 # Extract the first word of "ranlib", so it can be a program name with args.
5367 set dummy ranlib
; ac_word
=$2
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5369 $as_echo_n "checking for $ac_word... " >&6; }
5370 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5371 $as_echo_n "(cached) " >&6
5373 if test -n "$ac_ct_RANLIB"; then
5374 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5380 test -z "$as_dir" && as_dir
=.
5381 for ac_exec_ext
in '' $ac_executable_extensions; do
5382 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5383 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5394 if test -n "$ac_ct_RANLIB"; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5396 $as_echo "$ac_ct_RANLIB" >&6; }
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5399 $as_echo "no" >&6; }
5402 if test "x$ac_ct_RANLIB" = x
; then
5405 case $cross_compiling:$ac_tool_warned in
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5409 ac_tool_warned
=yes ;;
5411 RANLIB
=$ac_ct_RANLIB
5414 RANLIB
="$ac_cv_prog_RANLIB"
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5418 $as_echo_n "checking whether ln -s works... " >&6; }
5420 if test "$LN_S" = "ln -s"; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5422 $as_echo "yes" >&6; }
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5425 $as_echo "no, using $LN_S" >&6; }
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5429 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5430 if ${ac_cv_path_GREP+:} false
; then :
5431 $as_echo_n "(cached) " >&6
5433 if test -z "$GREP"; then
5434 ac_path_GREP_found
=false
5435 # Loop through the user's path and test for each of PROGNAME-LIST
5436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5437 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5440 test -z "$as_dir" && as_dir
=.
5441 for ac_prog
in grep ggrep
; do
5442 for ac_exec_ext
in '' $ac_executable_extensions; do
5443 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5444 as_fn_executable_p
"$ac_path_GREP" ||
continue
5445 # Check for GNU ac_path_GREP and select it if it is found.
5446 # Check for GNU $ac_path_GREP
5447 case `"$ac_path_GREP" --version 2>&1` in
5449 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5452 $as_echo_n 0123456789 >"conftest.in"
5455 cat "conftest.in" "conftest.in" >"conftest.tmp"
5456 mv "conftest.tmp" "conftest.in"
5457 cp "conftest.in" "conftest.nl"
5458 $as_echo 'GREP' >> "conftest.nl"
5459 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5460 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5461 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5462 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5463 # Best one so far, save it but keep looking for a better one
5464 ac_cv_path_GREP
="$ac_path_GREP"
5465 ac_path_GREP_max
=$ac_count
5467 # 10*(2^10) chars as input seems more than enough
5468 test $ac_count -gt 10 && break
5470 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5473 $ac_path_GREP_found && break 3
5478 if test -z "$ac_cv_path_GREP"; then
5479 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5482 ac_cv_path_GREP
=$GREP
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5487 $as_echo "$ac_cv_path_GREP" >&6; }
5488 GREP
="$ac_cv_path_GREP"
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5492 $as_echo_n "checking for egrep... " >&6; }
5493 if ${ac_cv_path_EGREP+:} false
; then :
5494 $as_echo_n "(cached) " >&6
5496 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5497 then ac_cv_path_EGREP
="$GREP -E"
5499 if test -z "$EGREP"; then
5500 ac_path_EGREP_found
=false
5501 # Loop through the user's path and test for each of PROGNAME-LIST
5502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5503 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5506 test -z "$as_dir" && as_dir
=.
5507 for ac_prog
in egrep; do
5508 for ac_exec_ext
in '' $ac_executable_extensions; do
5509 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5510 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5511 # Check for GNU ac_path_EGREP and select it if it is found.
5512 # Check for GNU $ac_path_EGREP
5513 case `"$ac_path_EGREP" --version 2>&1` in
5515 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5518 $as_echo_n 0123456789 >"conftest.in"
5521 cat "conftest.in" "conftest.in" >"conftest.tmp"
5522 mv "conftest.tmp" "conftest.in"
5523 cp "conftest.in" "conftest.nl"
5524 $as_echo 'EGREP' >> "conftest.nl"
5525 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5526 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5527 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5528 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5529 # Best one so far, save it but keep looking for a better one
5530 ac_cv_path_EGREP
="$ac_path_EGREP"
5531 ac_path_EGREP_max
=$ac_count
5533 # 10*(2^10) chars as input seems more than enough
5534 test $ac_count -gt 10 && break
5536 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5539 $ac_path_EGREP_found && break 3
5544 if test -z "$ac_cv_path_EGREP"; then
5545 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5548 ac_cv_path_EGREP
=$EGREP
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5554 $as_echo "$ac_cv_path_EGREP" >&6; }
5555 EGREP
="$ac_cv_path_EGREP"
5558 # Extract the first word of "ldconfig", so it can be a program name with args.
5559 set dummy ldconfig
; ac_word
=$2
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5561 $as_echo_n "checking for $ac_word... " >&6; }
5562 if ${ac_cv_path_LDCONFIG+:} false
; then :
5563 $as_echo_n "(cached) " >&6
5567 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5571 for as_dir
in /sbin
/usr
/sbin
$PATH
5574 test -z "$as_dir" && as_dir
=.
5575 for ac_exec_ext
in '' $ac_executable_extensions; do
5576 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5577 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5585 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5589 LDCONFIG
=$ac_cv_path_LDCONFIG
5590 if test -n "$LDCONFIG"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5592 $as_echo "$LDCONFIG" >&6; }
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5595 $as_echo "no" >&6; }
5599 for ac_prog
in msgfmt
5601 # Extract the first word of "$ac_prog", so it can be a program name with args.
5602 set dummy
$ac_prog; ac_word
=$2
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 $as_echo_n "checking for $ac_word... " >&6; }
5605 if ${ac_cv_prog_MSGFMT+:} false
; then :
5606 $as_echo_n "(cached) " >&6
5608 if test -n "$MSGFMT"; then
5609 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5615 test -z "$as_dir" && as_dir
=.
5616 for ac_exec_ext
in '' $ac_executable_extensions; do
5617 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5618 ac_cv_prog_MSGFMT
="$ac_prog"
5619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5628 MSGFMT
=$ac_cv_prog_MSGFMT
5629 if test -n "$MSGFMT"; then
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5631 $as_echo "$MSGFMT" >&6; }
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5634 $as_echo "no" >&6; }
5638 test -n "$MSGFMT" && break
5640 test -n "$MSGFMT" || MSGFMT
="false"
5642 if ${ac_tool_prefix+:} false
; then :
5643 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5644 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5646 $as_echo_n "checking for $ac_word... " >&6; }
5647 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5648 $as_echo_n "(cached) " >&6
5650 if test -n "$PKG_CONFIG"; then
5651 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5657 test -z "$as_dir" && as_dir
=.
5658 for ac_exec_ext
in '' $ac_executable_extensions; do
5659 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5660 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5670 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5671 if test -n "$PKG_CONFIG"; then
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5673 $as_echo "$PKG_CONFIG" >&6; }
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5676 $as_echo "no" >&6; }
5681 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5682 if test "x$cross_compiling" = xyes
; then :
5685 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5686 # Extract the first word of "pkg-config", so it can be a program name with args.
5687 set dummy pkg-config
; ac_word
=$2
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5689 $as_echo_n "checking for $ac_word... " >&6; }
5690 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5691 $as_echo_n "(cached) " >&6
5693 if test -n "$PKG_CONFIG"; then
5694 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5700 test -z "$as_dir" && as_dir
=.
5701 for ac_exec_ext
in '' $ac_executable_extensions; do
5702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5703 ac_cv_prog_PKG_CONFIG
="pkg-config"
5704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5713 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5714 if test -n "$PKG_CONFIG"; then
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5716 $as_echo "$PKG_CONFIG" >&6; }
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5719 $as_echo "no" >&6; }
5725 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5728 if test "x$enable_maintainer_mode" != "xyes"
5735 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5736 for ac_prog
in fontforge
5738 # Extract the first word of "$ac_prog", so it can be a program name with args.
5739 set dummy
$ac_prog; ac_word
=$2
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5741 $as_echo_n "checking for $ac_word... " >&6; }
5742 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5743 $as_echo_n "(cached) " >&6
5745 if test -n "$FONTFORGE"; then
5746 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5752 test -z "$as_dir" && as_dir
=.
5753 for ac_exec_ext
in '' $ac_executable_extensions; do
5754 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5755 ac_cv_prog_FONTFORGE
="$ac_prog"
5756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5765 FONTFORGE
=$ac_cv_prog_FONTFORGE
5766 if test -n "$FONTFORGE"; then
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5768 $as_echo "$FONTFORGE" >&6; }
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5771 $as_echo "no" >&6; }
5775 test -n "$FONTFORGE" && break
5777 test -n "$FONTFORGE" || FONTFORGE
="false"
5779 for ac_prog
in rsvg-convert rsvg
5781 # Extract the first word of "$ac_prog", so it can be a program name with args.
5782 set dummy
$ac_prog; ac_word
=$2
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5784 $as_echo_n "checking for $ac_word... " >&6; }
5785 if ${ac_cv_prog_RSVG+:} false
; then :
5786 $as_echo_n "(cached) " >&6
5788 if test -n "$RSVG"; then
5789 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5795 test -z "$as_dir" && as_dir
=.
5796 for ac_exec_ext
in '' $ac_executable_extensions; do
5797 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5798 ac_cv_prog_RSVG
="$ac_prog"
5799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5808 RSVG
=$ac_cv_prog_RSVG
5809 if test -n "$RSVG"; then
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5811 $as_echo "$RSVG" >&6; }
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5814 $as_echo "no" >&6; }
5818 test -n "$RSVG" && break
5820 test -n "$RSVG" || RSVG
="false"
5822 for ac_prog
in convert
5824 # Extract the first word of "$ac_prog", so it can be a program name with args.
5825 set dummy
$ac_prog; ac_word
=$2
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5827 $as_echo_n "checking for $ac_word... " >&6; }
5828 if ${ac_cv_prog_CONVERT+:} false
; then :
5829 $as_echo_n "(cached) " >&6
5831 if test -n "$CONVERT"; then
5832 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5838 test -z "$as_dir" && as_dir
=.
5839 for ac_exec_ext
in '' $ac_executable_extensions; do
5840 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5841 ac_cv_prog_CONVERT
="$ac_prog"
5842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5851 CONVERT
=$ac_cv_prog_CONVERT
5852 if test -n "$CONVERT"; then
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5854 $as_echo "$CONVERT" >&6; }
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5857 $as_echo "no" >&6; }
5861 test -n "$CONVERT" && break
5863 test -n "$CONVERT" || CONVERT
="false"
5865 for ac_prog
in icotool
5867 # Extract the first word of "$ac_prog", so it can be a program name with args.
5868 set dummy
$ac_prog; ac_word
=$2
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5870 $as_echo_n "checking for $ac_word... " >&6; }
5871 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5872 $as_echo_n "(cached) " >&6
5874 if test -n "$ICOTOOL"; then
5875 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5881 test -z "$as_dir" && as_dir
=.
5882 for ac_exec_ext
in '' $ac_executable_extensions; do
5883 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5884 ac_cv_prog_ICOTOOL
="$ac_prog"
5885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5894 ICOTOOL
=$ac_cv_prog_ICOTOOL
5895 if test -n "$ICOTOOL"; then
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5897 $as_echo "$ICOTOOL" >&6; }
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5900 $as_echo "no" >&6; }
5904 test -n "$ICOTOOL" && break
5906 test -n "$ICOTOOL" || ICOTOOL
="false"
5908 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5909 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5911 if test "$CONVERT" = false
5913 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5916 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5917 convert_version
=`convert --version | head -n1`
5918 if test "x$convert_version" != "x"
5920 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5921 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5922 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5927 if test "$CONVERT" = false
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5930 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5931 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5934 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5938 if test "$ICOTOOL" = false
5940 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5943 $as_echo_n "checking for recent enough icotool... " >&6; }
5944 icotool_version
=`icotool --version | head -n1`
5945 if test "x$icotool_version" != "x"
5947 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5948 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5949 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5952 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5955 if test "$ICOTOOL" = false
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5958 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5959 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5962 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5968 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5971 test "x$with_gettext" != xno || MSGFMT
=false
5972 if test "$MSGFMT" != "false"
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5975 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5976 cat >conftest.po
<<EOF
5982 if $MSGFMT -o /dev
/null conftest.po
2>&5
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5985 $as_echo "yes" >&6; }
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988 $as_echo "no" >&6; }
5992 if test "$MSGFMT" = false
; then :
5993 case "x$with_gettext" in
5994 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5996 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5997 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6003 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6004 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6005 $as_echo_n "(cached) " >&6
6007 ac_check_lib_save_LIBS
=$LIBS
6009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6010 /* end confdefs.h. */
6012 /* Override any GCC internal prototype to avoid an error.
6013 Use char because int might match the return type of a GCC
6014 builtin and then its argument prototype would still apply. */
6018 char i386_set_ldt ();
6022 return i386_set_ldt ();
6027 if ac_fn_c_try_link
"$LINENO"; then :
6028 ac_cv_lib_i386_i386_set_ldt
=yes
6030 ac_cv_lib_i386_i386_set_ldt
=no
6032 rm -f core conftest.err conftest.
$ac_objext \
6033 conftest
$ac_exeext conftest.
$ac_ext
6034 LIBS
=$ac_check_lib_save_LIBS
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6037 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6038 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6039 cat >>confdefs.h
<<_ACEOF
6040 #define HAVE_LIBI386 1
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6048 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6049 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6050 $as_echo_n "(cached) " >&6
6052 ac_check_lib_save_LIBS
=$LIBS
6053 LIBS
="-lossaudio $LIBS"
6054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6055 /* end confdefs.h. */
6057 /* Override any GCC internal prototype to avoid an error.
6058 Use char because int might match the return type of a GCC
6059 builtin and then its argument prototype would still apply. */
6067 return _oss_ioctl ();
6072 if ac_fn_c_try_link
"$LINENO"; then :
6073 ac_cv_lib_ossaudio__oss_ioctl
=yes
6075 ac_cv_lib_ossaudio__oss_ioctl
=no
6077 rm -f core conftest.err conftest.
$ac_objext \
6078 conftest
$ac_exeext conftest.
$ac_ext
6079 LIBS
=$ac_check_lib_save_LIBS
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6082 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6083 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6084 cat >>confdefs.h
<<_ACEOF
6085 #define HAVE_LIBOSSAUDIO 1
6088 LIBS
="-lossaudio $LIBS"
6097 # Check whether --enable-largefile was given.
6098 if test "${enable_largefile+set}" = set; then :
6099 enableval
=$enable_largefile;
6102 if test "$enable_largefile" != no
; then
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6105 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6106 if ${ac_cv_sys_largefile_CC+:} false
; then :
6107 $as_echo_n "(cached) " >&6
6109 ac_cv_sys_largefile_CC
=no
6110 if test "$GCC" != yes; then
6113 # IRIX 6.2 and later do not support large files by default,
6114 # so use the C compiler's -n32 option if that helps.
6115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6116 /* end confdefs.h. */
6117 #include <sys/types.h>
6118 /* Check that off_t can represent 2**63 - 1 correctly.
6119 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6120 since some C++ compilers masquerading as C compilers
6121 incorrectly reject 9223372036854775807. */
6122 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6123 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6124 && LARGE_OFF_T % 2147483647 == 1)
6134 if ac_fn_c_try_compile
"$LINENO"; then :
6137 rm -f core conftest.err conftest.
$ac_objext
6139 if ac_fn_c_try_compile
"$LINENO"; then :
6140 ac_cv_sys_largefile_CC
=' -n32'; break
6142 rm -f core conftest.err conftest.
$ac_objext
6146 rm -f conftest.
$ac_ext
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6150 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6151 if test "$ac_cv_sys_largefile_CC" != no
; then
6152 CC
=$CC$ac_cv_sys_largefile_CC
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6156 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6157 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6158 $as_echo_n "(cached) " >&6
6161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6162 /* end confdefs.h. */
6163 #include <sys/types.h>
6164 /* Check that off_t can represent 2**63 - 1 correctly.
6165 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6166 since some C++ compilers masquerading as C compilers
6167 incorrectly reject 9223372036854775807. */
6168 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6169 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6170 && LARGE_OFF_T % 2147483647 == 1)
6180 if ac_fn_c_try_compile
"$LINENO"; then :
6181 ac_cv_sys_file_offset_bits
=no
; break
6183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6185 /* end confdefs.h. */
6186 #define _FILE_OFFSET_BITS 64
6187 #include <sys/types.h>
6188 /* Check that off_t can represent 2**63 - 1 correctly.
6189 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6190 since some C++ compilers masquerading as C compilers
6191 incorrectly reject 9223372036854775807. */
6192 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6193 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6194 && LARGE_OFF_T % 2147483647 == 1)
6204 if ac_fn_c_try_compile
"$LINENO"; then :
6205 ac_cv_sys_file_offset_bits
=64; break
6207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6208 ac_cv_sys_file_offset_bits
=unknown
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6213 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6214 case $ac_cv_sys_file_offset_bits in #(
6217 cat >>confdefs.h
<<_ACEOF
6218 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6223 if test $ac_cv_sys_file_offset_bits = unknown
; then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6225 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6226 if ${ac_cv_sys_large_files+:} false
; then :
6227 $as_echo_n "(cached) " >&6
6230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6231 /* end confdefs.h. */
6232 #include <sys/types.h>
6233 /* Check that off_t can represent 2**63 - 1 correctly.
6234 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6235 since some C++ compilers masquerading as C compilers
6236 incorrectly reject 9223372036854775807. */
6237 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6238 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6239 && LARGE_OFF_T % 2147483647 == 1)
6249 if ac_fn_c_try_compile
"$LINENO"; then :
6250 ac_cv_sys_large_files
=no
; break
6252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6254 /* end confdefs.h. */
6255 #define _LARGE_FILES 1
6256 #include <sys/types.h>
6257 /* Check that off_t can represent 2**63 - 1 correctly.
6258 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6259 since some C++ compilers masquerading as C compilers
6260 incorrectly reject 9223372036854775807. */
6261 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6262 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6263 && LARGE_OFF_T % 2147483647 == 1)
6273 if ac_fn_c_try_compile
"$LINENO"; then :
6274 ac_cv_sys_large_files
=1; break
6276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6277 ac_cv_sys_large_files
=unknown
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6282 $as_echo "$ac_cv_sys_large_files" >&6; }
6283 case $ac_cv_sys_large_files in #(
6286 cat >>confdefs.h
<<_ACEOF
6287 #define _LARGE_FILES $ac_cv_sys_large_files
6299 ac_cpp
='$CPP $CPPFLAGS'
6300 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6301 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6302 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6304 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6305 # On Suns, sometimes $CPP names a directory.
6306 if test -n "$CPP" && test -d "$CPP"; then
6309 if test -z "$CPP"; then
6310 if ${ac_cv_prog_CPP+:} false
; then :
6311 $as_echo_n "(cached) " >&6
6313 # Double quotes because CPP needs to be expanded
6314 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6317 for ac_c_preproc_warn_flag
in '' yes
6319 # Use a header file that comes with gcc, so configuring glibc
6320 # with a fresh cross-compiler works.
6321 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6322 # <limits.h> exists even on freestanding compilers.
6323 # On the NeXT, cc -E runs the code through the compiler's parser,
6324 # not just through cpp. "Syntax error" is here to catch this case.
6325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6326 /* end confdefs.h. */
6328 # include <limits.h>
6330 # include <assert.h>
6334 if ac_fn_c_try_cpp
"$LINENO"; then :
6337 # Broken: fails on valid input.
6340 rm -f conftest.err conftest.i conftest.
$ac_ext
6342 # OK, works on sane cases. Now check whether nonexistent headers
6343 # can be detected and how.
6344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6345 /* end confdefs.h. */
6346 #include <ac_nonexistent.h>
6348 if ac_fn_c_try_cpp
"$LINENO"; then :
6349 # Broken: success on invalid input.
6352 # Passes both tests.
6356 rm -f conftest.err conftest.i conftest.
$ac_ext
6359 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6360 rm -f conftest.i conftest.err conftest.
$ac_ext
6361 if $ac_preproc_ok; then :
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6374 $as_echo "$CPP" >&6; }
6376 for ac_c_preproc_warn_flag
in '' yes
6378 # Use a header file that comes with gcc, so configuring glibc
6379 # with a fresh cross-compiler works.
6380 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6381 # <limits.h> exists even on freestanding compilers.
6382 # On the NeXT, cc -E runs the code through the compiler's parser,
6383 # not just through cpp. "Syntax error" is here to catch this case.
6384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6385 /* end confdefs.h. */
6387 # include <limits.h>
6389 # include <assert.h>
6393 if ac_fn_c_try_cpp
"$LINENO"; then :
6396 # Broken: fails on valid input.
6399 rm -f conftest.err conftest.i conftest.
$ac_ext
6401 # OK, works on sane cases. Now check whether nonexistent headers
6402 # can be detected and how.
6403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6404 /* end confdefs.h. */
6405 #include <ac_nonexistent.h>
6407 if ac_fn_c_try_cpp
"$LINENO"; then :
6408 # Broken: success on invalid input.
6411 # Passes both tests.
6415 rm -f conftest.err conftest.i conftest.
$ac_ext
6418 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6419 rm -f conftest.i conftest.err conftest.
$ac_ext
6420 if $ac_preproc_ok; then :
6423 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6425 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6426 See \`config.log' for more details" "$LINENO" 5; }
6430 ac_cpp
='$CPP $CPPFLAGS'
6431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6437 $as_echo_n "checking for ANSI C header files... " >&6; }
6438 if ${ac_cv_header_stdc+:} false
; then :
6439 $as_echo_n "(cached) " >&6
6441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6442 /* end confdefs.h. */
6456 if ac_fn_c_try_compile
"$LINENO"; then :
6457 ac_cv_header_stdc
=yes
6459 ac_cv_header_stdc
=no
6461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6463 if test $ac_cv_header_stdc = yes; then
6464 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6466 /* end confdefs.h. */
6470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6471 $EGREP "memchr" >/dev
/null
2>&1; then :
6474 ac_cv_header_stdc
=no
6480 if test $ac_cv_header_stdc = yes; then
6481 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6483 /* end confdefs.h. */
6487 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6488 $EGREP "free" >/dev
/null
2>&1; then :
6491 ac_cv_header_stdc
=no
6497 if test $ac_cv_header_stdc = yes; then
6498 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6499 if test "$cross_compiling" = yes; then :
6502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6503 /* end confdefs.h. */
6506 #if ((' ' & 0x0FF) == 0x020)
6507 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6508 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6510 # define ISLOWER(c) \
6511 (('a' <= (c) && (c) <= 'i') \
6512 || ('j' <= (c) && (c) <= 'r') \
6513 || ('s' <= (c) && (c) <= 'z'))
6514 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6517 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6522 for (i = 0; i < 256; i++)
6523 if (XOR (islower (i), ISLOWER (i))
6524 || toupper (i) != TOUPPER (i))
6529 if ac_fn_c_try_run
"$LINENO"; then :
6532 ac_cv_header_stdc
=no
6534 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6535 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6541 $as_echo "$ac_cv_header_stdc" >&6; }
6542 if test $ac_cv_header_stdc = yes; then
6544 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6548 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6549 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6550 inttypes.h stdint.h unistd.h
6552 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6553 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6555 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6556 cat >>confdefs.h
<<_ACEOF
6557 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6567 ApplicationServices
/ApplicationServices.h \
6568 AudioToolbox
/AudioConverter.h \
6569 AudioUnit
/AudioUnit.h \
6570 AudioUnit
/AudioComponent.h \
6573 CoreAudio
/CoreAudio.h \
6574 CoreServices
/CoreServices.h \
6575 DiskArbitration
/DiskArbitration.h \
6577 IOKit
/hid
/IOHIDLib.h \
6580 QuickTime
/ImageCompression.h \
6581 Security
/Security.h \
6632 netinet
/in_systm.h \
6694 valgrind
/memcheck.h \
6695 valgrind
/valgrind.h \
6699 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6700 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6701 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6702 cat >>confdefs.h
<<_ACEOF
6703 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6711 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6712 if ${ac_cv_header_stat_broken+:} false
; then :
6713 $as_echo_n "(cached) " >&6
6715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6716 /* end confdefs.h. */
6717 #include <sys/types.h>
6718 #include <sys/stat.h>
6720 #if defined S_ISBLK && defined S_IFDIR
6721 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6724 #if defined S_ISBLK && defined S_IFCHR
6725 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6728 #if defined S_ISLNK && defined S_IFREG
6729 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6732 #if defined S_ISSOCK && defined S_IFREG
6733 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6737 if ac_fn_c_try_compile
"$LINENO"; then :
6738 ac_cv_header_stat_broken
=no
6740 ac_cv_header_stat_broken
=yes
6742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6745 $as_echo "$ac_cv_header_stat_broken" >&6; }
6746 if test $ac_cv_header_stat_broken = yes; then
6748 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6754 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6756 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6757 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6758 #ifdef HAVE_SYS_PARAM_H
6759 # include <sys/param.h>
6762 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6763 cat >>confdefs.h
<<_ACEOF
6764 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6779 netinet
/if_ether.h \
6780 netinet
/if_inarp.h \
6789 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6790 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6791 #ifdef HAVE_SYS_SOCKET_H
6792 # include <sys/socket.h>
6794 #ifdef HAVE_SYS_SOCKETVAR_H
6795 # include <sys/socketvar.h>
6797 #ifdef HAVE_NET_ROUTE_H
6798 # include <net/route.h>
6800 #ifdef HAVE_NETINET_IN_H
6801 # include <netinet/in.h>
6803 #ifdef HAVE_NETINET_IN_SYSTM_H
6804 # include <netinet/in_systm.h>
6806 #ifdef HAVE_NET_IF_H
6807 # include <net/if.h>
6809 #ifdef HAVE_NETINET_IP_H
6810 # include <netinet/ip.h>
6813 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6814 cat >>confdefs.h
<<_ACEOF
6815 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6823 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6825 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6826 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6830 #ifdef HAVE_SYS_SOCKET_H
6831 # include <sys/socket.h>
6833 #ifdef HAVE_SYS_SOCKETVAR_H
6834 # include <sys/socketvar.h>
6836 #ifdef HAVE_SYS_TIMEOUT_H
6837 # include <sys/timeout.h>
6839 #ifdef HAVE_NETINET_IN_H
6840 # include <netinet/in.h>
6842 #ifdef HAVE_NETINET_IN_SYSTM_H
6843 # include <netinet/in_systm.h>
6845 #ifdef HAVE_NETINET_IP_H
6846 # include <netinet/ip.h>
6848 #ifdef HAVE_NETINET_IP_VAR_H
6849 # include <netinet/ip_var.h>
6851 #ifdef HAVE_NETINET_IP_ICMP_H
6852 # include <netinet/ip_icmp.h>
6854 #ifdef HAVE_NETINET_UDP_H
6855 # include <netinet/udp.h>
6857 #ifdef HAVE_NETINET_TCP_H
6858 # include <netinet/tcp.h>
6860 #ifdef HAVE_NETINET_TCP_TIMER_H
6861 #include <netinet/tcp_timer.h>
6864 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6865 cat >>confdefs.h
<<_ACEOF
6866 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6874 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6876 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6877 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6878 #ifdef HAVE_ASM_TYPES_H
6879 # include <asm/types.h>
6881 #ifdef HAVE_SYS_SOCKET_H
6882 # include <sys/socket.h>
6884 #ifdef HAVE_LINUX_TYPES_H
6885 # include <linux/types.h>
6888 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6889 cat >>confdefs.h
<<_ACEOF
6890 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6898 for ac_header
in mach-o
/dyld_images.h
6900 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6901 # include <stdbool.h>
6903 #ifdef HAVE_STDINT_H
6904 # include <stdint.h>
6907 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6908 cat >>confdefs.h
<<_ACEOF
6909 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6917 for ac_header
in resolv.h
6919 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6920 #ifdef HAVE_SYS_SOCKET_H
6921 # include <sys/socket.h>
6923 #ifdef HAVE_NETINET_IN_H
6924 # include <netinet/in.h>
6926 #ifdef HAVE_ARPA_NAMESER_H
6927 # include <arpa/nameser.h>
6930 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6931 cat >>confdefs.h
<<_ACEOF
6932 #define HAVE_RESOLV_H 1
6940 for ac_header
in ifaddrs.h
6942 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6944 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6945 cat >>confdefs.h
<<_ACEOF
6946 #define HAVE_IFADDRS_H 1
6954 for ac_header
in sys
/ucontext.h
6956 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6958 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6959 cat >>confdefs.h
<<_ACEOF
6960 #define HAVE_SYS_UCONTEXT_H 1
6968 for ac_header
in sys
/thr.h
6970 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6971 #ifdef HAVE_SYS_UCONTEXT_H
6972 #include <sys/ucontext.h>
6975 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6976 cat >>confdefs.h
<<_ACEOF
6977 #define HAVE_SYS_THR_H 1
6985 for ac_header
in pthread_np.h
6987 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6988 #include <pthread.h>
6991 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6992 cat >>confdefs.h
<<_ACEOF
6993 #define HAVE_PTHREAD_NP_H 1
7001 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7003 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7004 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7005 #include <sys/time.h>
7007 #include <sys/types.h>
7008 #ifdef HAVE_ASM_TYPES_H
7009 #include <asm/types.h>
7012 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7013 cat >>confdefs.h
<<_ACEOF
7014 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7022 for ac_header
in libprocstat.h
7024 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7025 #include <sys/param.h>
7027 #ifdef HAVE_SYS_QUEUE_H
7028 #include <sys/queue.h>
7030 #ifdef HAVE_SYS_SOCKET_H
7031 #include <sys/socket.h>
7034 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7035 cat >>confdefs.h
<<_ACEOF
7036 #define HAVE_LIBPROCSTAT_H 1
7045 dlldir
="\${libdir}/wine"
7049 DLLFLAGS
="-D_REENTRANT"
7058 STATIC_IMPLIBEXT
="def.a"
7059 # Extract the first word of "ldd", so it can be a program name with args.
7060 set dummy ldd
; ac_word
=$2
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7062 $as_echo_n "checking for $ac_word... " >&6; }
7063 if ${ac_cv_path_LDD+:} false
; then :
7064 $as_echo_n "(cached) " >&6
7068 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7072 as_dummy
="/sbin:/usr/sbin:$PATH"
7073 for as_dir
in $as_dummy
7076 test -z "$as_dir" && as_dir
=.
7077 for ac_exec_ext
in '' $ac_executable_extensions; do
7078 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7079 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7087 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7092 if test -n "$LDD"; then
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7094 $as_echo "$LDD" >&6; }
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7097 $as_echo "no" >&6; }
7101 if test -n "$ac_tool_prefix"; then
7102 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7103 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7105 $as_echo_n "checking for $ac_word... " >&6; }
7106 if ${ac_cv_prog_READELF+:} false
; then :
7107 $as_echo_n "(cached) " >&6
7109 if test -n "$READELF"; then
7110 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7116 test -z "$as_dir" && as_dir
=.
7117 for ac_exec_ext
in '' $ac_executable_extensions; do
7118 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7119 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7129 READELF
=$ac_cv_prog_READELF
7130 if test -n "$READELF"; then
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7132 $as_echo "$READELF" >&6; }
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7135 $as_echo "no" >&6; }
7140 if test -z "$ac_cv_prog_READELF"; then
7141 ac_ct_READELF
=$READELF
7142 # Extract the first word of "readelf", so it can be a program name with args.
7143 set dummy readelf
; ac_word
=$2
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7145 $as_echo_n "checking for $ac_word... " >&6; }
7146 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7147 $as_echo_n "(cached) " >&6
7149 if test -n "$ac_ct_READELF"; then
7150 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7156 test -z "$as_dir" && as_dir
=.
7157 for ac_exec_ext
in '' $ac_executable_extensions; do
7158 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7159 ac_cv_prog_ac_ct_READELF
="readelf"
7160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7169 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7170 if test -n "$ac_ct_READELF"; then
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7172 $as_echo "$ac_ct_READELF" >&6; }
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175 $as_echo "no" >&6; }
7178 if test "x$ac_ct_READELF" = x
; then
7181 case $cross_compiling:$ac_tool_warned in
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7185 ac_tool_warned
=yes ;;
7187 READELF
=$ac_ct_READELF
7190 READELF
="$ac_cv_prog_READELF"
7193 wine_rules_file
=conf$
$rules.
make
7194 rm -f $wine_rules_file
7196 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7197 ALL_TEST_RESOURCES
=""
7200 wine_fn_append_file
()
7202 as_fn_append
$1 " \\$as_nl $2"
7205 wine_fn_ignore_file
()
7208 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7209 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7210 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7214 wine_fn_append_rule
()
7216 $as_echo "$1" >>$wine_rules_file
7221 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7224 wine_fn_depend_rules
()
7226 wine_fn_append_rule \
7227 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7228 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7229 depend: $ac_dir/depend
7230 .PHONY: $ac_dir/depend
7231 $ac_dir/depend: \$(MAKEDEP) dummy
7232 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7235 wine_fn_pot_rules
()
7237 test "x$with_gettextpo" = xyes ||
return
7239 if wine_fn_has_flag mc
7241 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7242 wine_fn_append_rule \
7243 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7244 @cd $ac_dir && \$(MAKE) msg.pot
7245 $ac_dir/msg.pot: tools/wmc include"
7247 if wine_fn_has_flag po
7249 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7250 wine_fn_append_rule \
7251 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7252 @cd $ac_dir && \$(MAKE) rsrc.pot
7253 $ac_dir/rsrc.pot: tools/wrc include"
7257 wine_fn_all_rules
()
7259 wine_fn_depend_rules
7260 wine_fn_append_rule \
7263 $ac_dir: $ac_dir/Makefile dummy
7264 @cd $ac_dir && \$(MAKE)"
7267 wine_fn_install_rules
()
7269 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7271 wine_fn_append_rule \
7272 ".PHONY: $ac_dir/install $ac_dir/uninstall
7273 $ac_dir/install:: $ac_dir
7274 @cd $ac_dir && \$(MAKE) install
7275 $ac_dir/uninstall:: $ac_dir/Makefile
7276 @cd $ac_dir && \$(MAKE) uninstall
7277 install:: $ac_dir/install
7278 __uninstall__: $ac_dir/uninstall"
7280 if wine_fn_has_flag install-lib
7282 wine_fn_append_rule \
7283 ".PHONY: $ac_dir/install-lib
7284 $ac_dir/install-lib:: $ac_dir
7285 @cd $ac_dir && \$(MAKE) install-lib
7286 install-lib:: $ac_dir/install-lib"
7289 if wine_fn_has_flag install-dev
7291 wine_fn_append_rule \
7292 ".PHONY: $ac_dir/install-dev
7293 $ac_dir/install-dev:: $ac_dir
7294 @cd $ac_dir && \$(MAKE) install-dev
7295 install-dev:: $ac_dir/install-dev"
7299 wine_fn_clean_rules
()
7302 ac_extraclean
="$ac_dir/Makefile"
7303 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7305 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7308 if wine_fn_has_flag clean
7310 wine_fn_append_rule \
7311 "__clean__: $ac_dir/clean
7312 .PHONY: $ac_dir/clean
7313 $ac_dir/clean: $ac_dir/Makefile
7314 @cd $ac_dir && \$(MAKE) clean
7315 \$(RM) $ac_extraclean"
7317 wine_fn_append_rule \
7318 "__clean__: $ac_dir/clean
7319 .PHONY: $ac_dir/clean
7320 $ac_dir/clean: dummy
7321 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7325 wine_fn_disabled_rules
()
7328 ac_extraclean
="$ac_dir/Makefile"
7329 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7331 wine_fn_append_rule \
7332 "__clean__: $ac_dir/clean
7333 .PHONY: $ac_dir/clean
7334 $ac_dir/clean: dummy
7335 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7338 wine_fn_config_makefile
()
7344 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7345 wine_fn_disabled_rules
; return
7348 wine_fn_install_rules
7352 wine_fn_config_lib
()
7356 ac_dir
=dlls
/$ac_name
7359 if test "x$enable_tools" = xno
; then :
7362 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7367 wine_fn_append_rule \
7368 ".PHONY: $ac_dir/install $ac_dir/uninstall
7369 $ac_dir/install:: $ac_dir
7370 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7372 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7373 install install-dev:: $ac_dir/install
7374 __uninstall__: $ac_dir/uninstall
7375 __builddeps__: $ac_dir
7379 wine_fn_config_dll
()
7382 ac_dir
=dlls
/$ac_name
7385 ac_implib
=${4:-$ac_name}
7386 ac_file
=$ac_dir/lib
$ac_implib
7391 if test "x$enable_tools" = xno
; then :
7394 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7397 *16) ac_implibflags
=" -m16" ;;
7399 *) ac_dll
=$ac_dll.dll
;;
7403 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7404 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7405 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7406 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7408 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7409 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7411 wine_fn_depend_rules
7412 wine_fn_clean_rules
$ac_clean
7414 wine_fn_disabled_rules
$ac_clean
7419 wine_fn_clean_rules
$ac_clean
7420 wine_fn_append_rule \
7421 "$ac_dir: __builddeps__
7422 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7423 @cd $ac_dir && \$(MAKE) \$@
7424 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7425 install install-lib:: $ac_dir/install-lib
7426 __uninstall__: $ac_dir/uninstall"
7427 if test -n "$DLLEXT"
7429 wine_fn_append_rule \
7430 "$ac_dir/install-lib:: $ac_dir
7431 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7432 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7434 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7436 wine_fn_append_rule \
7437 "$ac_dir/install-lib:: $ac_dir
7438 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7440 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7446 if wine_fn_has_flag staticimplib
7448 wine_fn_append_rule \
7449 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7450 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7451 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7452 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7453 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7454 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7455 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7456 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7457 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7459 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7460 install install-dev:: $ac_dir/install-dev
7461 __uninstall__: $ac_dir/uninstall"
7463 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7465 wine_fn_append_rule \
7466 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7467 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7469 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7472 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7474 wine_fn_append_rule \
7475 "__builddeps__: $ac_file.cross.a
7476 $ac_file.cross.a: $ac_dir/Makefile dummy
7477 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7480 elif wine_fn_has_flag implib
7482 wine_fn_append_rule \
7483 "__builddeps__: $ac_file.$IMPLIBEXT
7484 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7485 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7486 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7487 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7488 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7489 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7490 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7492 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7493 install install-dev:: $ac_dir/install-dev
7494 __uninstall__: $ac_dir/uninstall"
7495 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7497 wine_fn_append_rule \
7498 "__builddeps__: $ac_file.cross.a
7499 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7500 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7503 if test "$ac_name" != "$ac_implib"
7505 wine_fn_append_rule \
7506 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7507 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7508 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7510 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7511 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7512 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7514 wine_fn_append_rule \
7515 "__builddeps__: dlls/lib$ac_implib.cross.a
7516 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7517 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7519 \$(RM) dlls/lib$ac_implib.cross.a"
7520 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7526 wine_fn_config_program
()
7529 ac_dir
=programs
/$ac_name
7536 *) ac_program
=$ac_program.exe
;;
7540 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7541 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7542 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7543 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7545 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7546 wine_fn_disabled_rules
$ac_clean; return
7550 wine_fn_clean_rules
$ac_clean
7551 wine_fn_append_rule
"$ac_dir: __builddeps__"
7554 wine_fn_has_flag
install ||
return
7555 wine_fn_append_rule \
7556 ".PHONY: $ac_dir/install $ac_dir/uninstall
7557 install install-lib:: $ac_dir/install
7558 __uninstall__: $ac_dir/uninstall"
7560 if test -n "$DLLEXT"
7562 wine_fn_append_rule \
7563 "$ac_dir/install:: $ac_dir
7564 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7565 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7567 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7569 if test -z "$with_wine64" && wine_fn_has_flag installbin
7571 wine_fn_append_rule \
7572 "$ac_dir/install:: __tooldeps__
7573 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7575 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7578 wine_fn_append_rule \
7579 "$ac_dir/install:: $ac_dir
7580 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7582 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7585 if test -z "$with_wine64" && wine_fn_has_flag manpage
7587 wine_fn_append_rule \
7588 "$ac_dir/install:: $ac_dir
7589 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7591 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7595 wine_fn_config_test
()
7602 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7603 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7605 if test "x$enable_tests" = xno
; then :
7606 wine_fn_disabled_rules
$ac_clean; return
7609 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7611 wine_fn_clean_rules
$ac_clean
7613 wine_fn_append_rule \
7614 "$ac_dir: programs/winetest/Makefile __builddeps__
7615 programs/winetest: $ac_dir
7616 check test: $ac_dir/test
7617 .PHONY: $ac_dir/test
7619 @cd $ac_dir && \$(MAKE) test
7621 \$(RM) $ac_dir/*.ok"
7623 if test -n "$CROSSTARGET"
7625 wine_fn_append_rule \
7626 "crosstest: $ac_dir/crosstest
7627 .PHONY: $ac_dir/crosstest
7628 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7629 @cd $ac_dir && \$(MAKE) crosstest"
7633 wine_fn_config_tool
()
7637 if test "x$enable_tools" = xno
; then :
7642 wine_fn_install_rules
7645 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7646 wine_fn_append_rule
"$ac_dir: libs/port"
7648 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7652 wine_fn_config_symlink
()
7655 if test "x$1" = "x-d"
7661 wine_fn_append_rule \
7663 @./config.status \$@
7666 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7667 test -n "$ac_linkdir" ||
return
7668 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7672 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7673 loader_programs
="$wine_binary wine-installed"
7674 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7679 install install-lib:: wine-installed
7680 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7683 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7689 if test -n "$ac_tool_prefix"; then
7690 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7691 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7693 $as_echo_n "checking for $ac_word... " >&6; }
7694 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7695 $as_echo_n "(cached) " >&6
7697 if test -n "$DLLTOOL"; then
7698 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7704 test -z "$as_dir" && as_dir
=.
7705 for ac_exec_ext
in '' $ac_executable_extensions; do
7706 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7707 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7717 DLLTOOL
=$ac_cv_prog_DLLTOOL
7718 if test -n "$DLLTOOL"; then
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7720 $as_echo "$DLLTOOL" >&6; }
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7723 $as_echo "no" >&6; }
7728 if test -z "$ac_cv_prog_DLLTOOL"; then
7729 ac_ct_DLLTOOL
=$DLLTOOL
7730 # Extract the first word of "dlltool", so it can be a program name with args.
7731 set dummy dlltool
; ac_word
=$2
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7733 $as_echo_n "checking for $ac_word... " >&6; }
7734 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7735 $as_echo_n "(cached) " >&6
7737 if test -n "$ac_ct_DLLTOOL"; then
7738 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7744 test -z "$as_dir" && as_dir
=.
7745 for ac_exec_ext
in '' $ac_executable_extensions; do
7746 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7747 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7757 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7758 if test -n "$ac_ct_DLLTOOL"; then
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7760 $as_echo "$ac_ct_DLLTOOL" >&6; }
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7763 $as_echo "no" >&6; }
7766 if test "x$ac_ct_DLLTOOL" = x
; then
7769 case $cross_compiling:$ac_tool_warned in
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7773 ac_tool_warned
=yes ;;
7775 DLLTOOL
=$ac_ct_DLLTOOL
7778 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7784 STATIC_IMPLIBEXT
="a"
7785 enable_iphlpapi
=${enable_iphlpapi:-no}
7786 enable_kernel32
=${enable_kernel32:-no}
7787 enable_msvcrt
=${enable_msvcrt:-no}
7788 enable_ntdll
=${enable_ntdll:-no}
7789 enable_ws2_32
=${enable_ws2_32:-no}
7790 enable_loader
=${enable_loader:-no}
7791 enable_server
=${enable_server:-no}
7792 with_x
=${with_x:-no}
7793 with_pthread
=${with_pthread:-no}
7799 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7803 libwine_targets
="libwine.dll libwine.a"
7805 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7807 all: libwine.dll libwine.a
7809 libwine.a: \$(srcdir)/wine.def
7810 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7812 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7813 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7815 install install-lib:: libwine.dll
7816 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7818 install install-dev:: libwine.a
7819 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7822 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7829 DLLFLAGS
="$DLLFLAGS -fPIC"
7830 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7831 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7832 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7833 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7835 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7837 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7839 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7841 CORESERVICES_LIBS
="-framework CoreServices"
7843 APPKIT_LIBS
="-framework AppKit"
7845 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7847 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7848 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7849 $as_echo_n "(cached) " >&6
7851 ac_wine_try_cflags_saved
=$CFLAGS
7852 CFLAGS
="$CFLAGS -Wl,-no_pie"
7853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7854 /* end confdefs.h. */
7855 int main(int argc, char **argv) { return 0; }
7857 if ac_fn_c_try_link
"$LINENO"; then :
7858 ac_cv_cflags__Wl__no_pie
=yes
7860 ac_cv_cflags__Wl__no_pie
=no
7862 rm -f core conftest.err conftest.
$ac_objext \
7863 conftest
$ac_exeext conftest.
$ac_ext
7864 CFLAGS
=$ac_wine_try_cflags_saved
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7867 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7868 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7869 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7871 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7873 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7876 if test "$ac_cv_header_Security_Security_h" = "yes"
7878 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7880 ac_save_LIBS
="$LIBS"
7881 LIBS
="$LIBS $SECURITY_LIBS"
7882 for ac_func
in SSLCopyPeerCertificates
7884 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7885 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7886 cat >>confdefs.h
<<_ACEOF
7887 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7893 LIBS
="$ac_save_LIBS"
7894 with_gnutls
=${with_gnutls:-no}
7896 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7898 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7900 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7903 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7906 ac_save_LIBS
="$LIBS"
7907 LIBS
="$LIBS $COREAUDIO_LIBS"
7908 for ac_func
in AUGraphAddNode
7910 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7911 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7912 cat >>confdefs.h
<<_ACEOF
7913 #define HAVE_AUGRAPHADDNODE 1
7919 LIBS
="$ac_save_LIBS"
7921 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7923 OPENAL_LIBS
="-framework OpenAL"
7926 cat >>confdefs.h
<<_ACEOF
7927 #define HAVE_OPENAL 1
7930 ac_cv_lib_openal
=yes
7932 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7934 OPENCL_LIBS
="-framework OpenCL"
7936 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7938 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7940 ac_save_LIBS
="$LIBS"
7941 LIBS
="$LIBS $IOKIT_LIBS"
7942 for ac_func
in IOHIDManagerCreate
7944 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7945 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7946 cat >>confdefs.h
<<_ACEOF
7947 #define HAVE_IOHIDMANAGERCREATE 1
7953 LIBS
="$ac_save_LIBS"
7955 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7957 ac_save_LIBS
="$LIBS"
7958 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7960 $as_echo_n "checking for the QuickTime framework... " >&6; }
7961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7962 /* end confdefs.h. */
7963 #include <QuickTime/ImageCompression.h>
7967 CodecManagerVersion(NULL);
7972 if ac_fn_c_try_link
"$LINENO"; then :
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7974 $as_echo "yes" >&6; }
7975 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7977 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7980 $as_echo "no" >&6; }
7981 ac_cv_header_QuickTime_ImageCompression_h
=no
7983 rm -f core conftest.err conftest.
$ac_objext \
7984 conftest
$ac_exeext conftest.
$ac_ext
7985 LIBS
="$ac_save_LIBS"
7987 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7989 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7991 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7993 CARBON_LIBS
="-framework Carbon"
7997 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7999 ac_save_LIBS
="$LIBS"
8000 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8001 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8002 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8003 enable_winemac_drv
=${enable_winemac_drv:-yes}
8006 LIBS
="$ac_save_LIBS"
8009 if test "x$enable_win16" = "xyes"
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8012 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8013 if test "$cross_compiling" = yes; then :
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8015 $as_echo "cross-compiling, assuming yes" >&6; }
8017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8018 /* end confdefs.h. */
8021 "good:\tnop;nop\n\t"
8022 ".globl _testfunc\n"
8023 "_testfunc:\tcallw good");
8024 extern void testfunc();
8028 unsigned short *p = (unsigned short *)testfunc;
8029 return p[0] != 0xe866 || p[1] != 0xfffa
8034 if ac_fn_c_try_run
"$LINENO"; then :
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8036 $as_echo "yes" >&6; }
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8039 $as_echo "no" >&6; }
8040 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
8042 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8043 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8048 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8050 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8054 libwine.$libwine_version.dylib: \$(OBJS)
8055 \$(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 \$@
8057 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8058 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8060 libwine.dylib: libwine.$libwine_soversion.dylib
8061 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8063 install install-lib:: libwine.$libwine_version.dylib
8064 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8065 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8067 install install-dev::
8068 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8071 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8075 as_fn_append LOADER_RULES
"
8076 $wine_binary: main.o wine_info.plist
8077 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8079 wine-installed: main.o wine_info.plist
8080 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8085 DLLFLAGS
="$DLLFLAGS -fPIC"
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8090 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8091 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8092 $as_echo_n "(cached) " >&6
8094 ac_wine_try_cflags_saved
=$CFLAGS
8095 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8097 /* end confdefs.h. */
8098 int main(int argc, char **argv) { return 0; }
8100 if ac_fn_c_try_link
"$LINENO"; then :
8101 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8103 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8105 rm -f core conftest.err conftest.
$ac_objext \
8106 conftest
$ac_exeext conftest.
$ac_ext
8107 CFLAGS
=$ac_wine_try_cflags_saved
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8110 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8111 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8112 LDEXECFLAGS
="-Wl,--export-dynamic"
8114 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8116 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8117 if eval \
${$as_ac_var+:} false
; then :
8118 $as_echo_n "(cached) " >&6
8120 ac_wine_try_cflags_saved
=$CFLAGS
8121 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8123 /* end confdefs.h. */
8124 int main(int argc, char **argv) { return 0; }
8126 if ac_fn_c_try_link
"$LINENO"; then :
8127 eval "$as_ac_var=yes"
8129 eval "$as_ac_var=no"
8131 rm -f core conftest.err conftest.
$ac_objext \
8132 conftest
$ac_exeext conftest.
$ac_ext
8133 CFLAGS
=$ac_wine_try_cflags_saved
8135 eval ac_res
=\$
$as_ac_var
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8137 $as_echo "$ac_res" >&6; }
8138 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8139 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8140 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8142 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8144 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8145 if eval \
${$as_ac_var+:} false
; then :
8146 $as_echo_n "(cached) " >&6
8148 ac_wine_try_cflags_saved
=$CFLAGS
8149 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8151 /* end confdefs.h. */
8152 int main(int argc, char **argv) { return 0; }
8154 if ac_fn_c_try_link
"$LINENO"; then :
8155 eval "$as_ac_var=yes"
8157 eval "$as_ac_var=no"
8159 rm -f core conftest.err conftest.
$ac_objext \
8160 conftest
$ac_exeext conftest.
$ac_ext
8161 CFLAGS
=$ac_wine_try_cflags_saved
8163 eval ac_res
=\$
$as_ac_var
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8165 $as_echo "$ac_res" >&6; }
8166 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8167 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8168 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8173 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8174 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8175 $as_echo_n "(cached) " >&6
8177 ac_wine_try_cflags_saved
=$CFLAGS
8178 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8180 /* end confdefs.h. */
8181 int main(int argc, char **argv) { return 0; }
8183 if ac_fn_c_try_link
"$LINENO"; then :
8184 ac_cv_cflags__Wl___enable_new_dtags
=yes
8186 ac_cv_cflags__Wl___enable_new_dtags
=no
8188 rm -f core conftest.err conftest.
$ac_objext \
8189 conftest
$ac_exeext conftest.
$ac_ext
8190 CFLAGS
=$ac_wine_try_cflags_saved
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8193 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8194 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8195 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8199 *i
[3456789]86* | x86_64
)
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8201 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8202 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8203 $as_echo_n "(cached) " >&6
8205 ac_wine_try_cflags_saved
=$CFLAGS
8206 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8208 /* end confdefs.h. */
8209 int main(int argc, char **argv) { return 0; }
8211 if ac_fn_c_try_link
"$LINENO"; then :
8212 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8214 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8216 rm -f core conftest.err conftest.
$ac_objext \
8217 conftest
$ac_exeext conftest.
$ac_ext
8218 CFLAGS
=$ac_wine_try_cflags_saved
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8221 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8222 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8223 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8228 libwine_targets
="libwine.so"
8230 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8234 libwine.so: \$(OBJS)
8235 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8237 install install-lib:: libwine.so
8238 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8241 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8245 as_fn_append LOADER_RULES
"
8246 $wine_binary: main.o
8247 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8249 wine-installed: main.o
8250 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8255 DLLFLAGS
="$DLLFLAGS -fPIC"
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8258 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8259 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8260 $as_echo_n "(cached) " >&6
8262 ac_wine_try_cflags_saved
=$CFLAGS
8263 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8265 /* end confdefs.h. */
8268 if ac_fn_c_try_link
"$LINENO"; then :
8269 ac_cv_c_dll_gnuelf
="yes"
8271 ac_cv_c_dll_gnuelf
="no"
8273 rm -f core conftest.err conftest.
$ac_objext \
8274 conftest
$ac_exeext conftest.
$ac_ext
8275 CFLAGS
=$ac_wine_try_cflags_saved
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8278 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8279 if test "$ac_cv_c_dll_gnuelf" = "yes"
8281 LDSHARED
="\$(CC) -shared"
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8283 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8284 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8285 $as_echo_n "(cached) " >&6
8287 ac_wine_try_cflags_saved
=$CFLAGS
8288 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8290 /* end confdefs.h. */
8291 int main(int argc, char **argv) { return 0; }
8293 if ac_fn_c_try_link
"$LINENO"; then :
8294 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8296 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8298 rm -f core conftest.err conftest.
$ac_objext \
8299 conftest
$ac_exeext conftest.
$ac_ext
8300 CFLAGS
=$ac_wine_try_cflags_saved
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8303 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8304 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8305 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8308 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8309 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8310 $as_echo_n "(cached) " >&6
8312 ac_wine_try_cflags_saved
=$CFLAGS
8313 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8315 /* end confdefs.h. */
8316 int main(int argc, char **argv) { return 0; }
8318 if ac_fn_c_try_link
"$LINENO"; then :
8319 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8321 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8323 rm -f core conftest.err conftest.
$ac_objext \
8324 conftest
$ac_exeext conftest.
$ac_ext
8325 CFLAGS
=$ac_wine_try_cflags_saved
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8328 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8329 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8330 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8334 echo '{ global: *; };' >conftest.map
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8336 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8337 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8338 $as_echo_n "(cached) " >&6
8340 ac_wine_try_cflags_saved
=$CFLAGS
8341 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8343 /* end confdefs.h. */
8344 int main(int argc, char **argv) { return 0; }
8346 if ac_fn_c_try_link
"$LINENO"; then :
8347 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8349 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8351 rm -f core conftest.err conftest.
$ac_objext \
8352 conftest
$ac_exeext conftest.
$ac_ext
8353 CFLAGS
=$ac_wine_try_cflags_saved
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8356 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8357 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8358 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8363 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8364 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8365 $as_echo_n "(cached) " >&6
8367 ac_wine_try_cflags_saved
=$CFLAGS
8368 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8370 /* end confdefs.h. */
8371 int main(int argc, char **argv) { return 0; }
8373 if ac_fn_c_try_link
"$LINENO"; then :
8374 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8376 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8378 rm -f core conftest.err conftest.
$ac_objext \
8379 conftest
$ac_exeext conftest.
$ac_ext
8380 CFLAGS
=$ac_wine_try_cflags_saved
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8383 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8384 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8385 LDEXECFLAGS
="-Wl,--export-dynamic"
8388 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8390 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8391 if eval \
${$as_ac_var+:} false
; then :
8392 $as_echo_n "(cached) " >&6
8394 ac_wine_try_cflags_saved
=$CFLAGS
8395 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8397 /* end confdefs.h. */
8398 int main(int argc, char **argv) { return 0; }
8400 if ac_fn_c_try_link
"$LINENO"; then :
8401 eval "$as_ac_var=yes"
8403 eval "$as_ac_var=no"
8405 rm -f core conftest.err conftest.
$ac_objext \
8406 conftest
$ac_exeext conftest.
$ac_ext
8407 CFLAGS
=$ac_wine_try_cflags_saved
8409 eval ac_res
=\$
$as_ac_var
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8411 $as_echo "$ac_res" >&6; }
8412 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8413 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8414 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8416 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8418 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8419 if eval \
${$as_ac_var+:} false
; then :
8420 $as_echo_n "(cached) " >&6
8422 ac_wine_try_cflags_saved
=$CFLAGS
8423 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h. */
8426 int main(int argc, char **argv) { return 0; }
8428 if ac_fn_c_try_link
"$LINENO"; then :
8429 eval "$as_ac_var=yes"
8431 eval "$as_ac_var=no"
8433 rm -f core conftest.err conftest.
$ac_objext \
8434 conftest
$ac_exeext conftest.
$ac_ext
8435 CFLAGS
=$ac_wine_try_cflags_saved
8437 eval ac_res
=\$
$as_ac_var
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8439 $as_echo "$ac_res" >&6; }
8440 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8441 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8442 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8447 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8448 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8449 $as_echo_n "(cached) " >&6
8451 ac_wine_try_cflags_saved
=$CFLAGS
8452 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8454 /* end confdefs.h. */
8455 int main(int argc, char **argv) { return 0; }
8457 if ac_fn_c_try_link
"$LINENO"; then :
8458 ac_cv_cflags__Wl___enable_new_dtags
=yes
8460 ac_cv_cflags__Wl___enable_new_dtags
=no
8462 rm -f core conftest.err conftest.
$ac_objext \
8463 conftest
$ac_exeext conftest.
$ac_ext
8464 CFLAGS
=$ac_wine_try_cflags_saved
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8467 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8468 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8469 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8473 *i
[3456789]86* | x86_64
)
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8475 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8476 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8477 $as_echo_n "(cached) " >&6
8479 ac_wine_try_cflags_saved
=$CFLAGS
8480 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8483 int main(int argc, char **argv) { return 0; }
8485 if ac_fn_c_try_link
"$LINENO"; then :
8486 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8488 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8490 rm -f core conftest.err conftest.
$ac_objext \
8491 conftest
$ac_exeext conftest.
$ac_ext
8492 CFLAGS
=$ac_wine_try_cflags_saved
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8495 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8496 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8498 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8499 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8503 # Extract the first word of "prelink", so it can be a program name with args.
8504 set dummy prelink
; ac_word
=$2
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8506 $as_echo_n "checking for $ac_word... " >&6; }
8507 if ${ac_cv_path_PRELINK+:} false
; then :
8508 $as_echo_n "(cached) " >&6
8512 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8516 for as_dir
in /sbin
/usr
/sbin
$PATH
8519 test -z "$as_dir" && as_dir
=.
8520 for ac_exec_ext
in '' $ac_executable_extensions; do
8521 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8522 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8530 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8534 PRELINK
=$ac_cv_path_PRELINK
8535 if test -n "$PRELINK"; then
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8537 $as_echo "$PRELINK" >&6; }
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8540 $as_echo "no" >&6; }
8544 if test "x$PRELINK" = xfalse
8546 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8553 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8554 if ${ac_cv_c_dll_unixware+:} false
; then :
8555 $as_echo_n "(cached) " >&6
8557 ac_wine_try_cflags_saved
=$CFLAGS
8558 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8563 if ac_fn_c_try_link
"$LINENO"; then :
8564 ac_cv_c_dll_unixware
="yes"
8566 ac_cv_c_dll_unixware
="no"
8568 rm -f core conftest.err conftest.
$ac_objext \
8569 conftest
$ac_exeext conftest.
$ac_ext
8570 CFLAGS
=$ac_wine_try_cflags_saved
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8573 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8574 if test "$ac_cv_c_dll_unixware" = "yes"
8576 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8579 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8581 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8585 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8586 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8588 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8589 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8591 libwine.so: libwine.so.$libwine_soversion
8592 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8594 install install-lib:: libwine.so.$libwine_version
8595 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8596 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8598 install install-dev::
8599 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8602 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8606 as_fn_append LOADER_RULES
"
8607 $wine_binary: main.o
8608 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8610 wine-installed: main.o
8611 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8616 as_fn_append LIBWINE_RULES
"
8617 EXTRA_TARGETS = $libwine_targets
8620 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8621 enable_winemac_drv
=${enable_winemac_drv:-no}
8625 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8629 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
8632 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 " ;;
8634 ac_prefix_list
="" ;;
8636 for ac_prog
in $ac_prefix_list
8638 # Extract the first word of "$ac_prog", so it can be a program name with args.
8639 set dummy
$ac_prog; ac_word
=$2
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8641 $as_echo_n "checking for $ac_word... " >&6; }
8642 if ${ac_cv_prog_CROSSCC+:} false
; then :
8643 $as_echo_n "(cached) " >&6
8645 if test -n "$CROSSCC"; then
8646 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8652 test -z "$as_dir" && as_dir
=.
8653 for ac_exec_ext
in '' $ac_executable_extensions; do
8654 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8655 ac_cv_prog_CROSSCC
="$ac_prog"
8656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8665 CROSSCC
=$ac_cv_prog_CROSSCC
8666 if test -n "$CROSSCC"; then
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8668 $as_echo "$CROSSCC" >&6; }
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8671 $as_echo "no" >&6; }
8675 test -n "$CROSSCC" && break
8677 test -n "$CROSSCC" || CROSSCC
="false"
8679 if test "$CROSSCC" != "false"
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8684 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8686 /* end confdefs.h. */
8696 if ac_fn_c_try_compile
"$LINENO"; then :
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8698 $as_echo "yes" >&6; }
8704 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8710 $as_echo "no" >&6; }
8712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8718 if test "$ac_cv_header_pthread_h" = "yes"
8720 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8721 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8725 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8726 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8727 $as_echo_n "(cached) " >&6
8729 ac_check_lib_save_LIBS
=$LIBS
8730 LIBS
="-lpthread $LIBS"
8731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8734 /* Override any GCC internal prototype to avoid an error.
8735 Use char because int might match the return type of a GCC
8736 builtin and then its argument prototype would still apply. */
8740 char pthread_create ();
8744 return pthread_create ();
8749 if ac_fn_c_try_link
"$LINENO"; then :
8750 ac_cv_lib_pthread_pthread_create
=yes
8752 ac_cv_lib_pthread_pthread_create
=no
8754 rm -f core conftest.err conftest.
$ac_objext \
8755 conftest
$ac_exeext conftest.
$ac_ext
8756 LIBS
=$ac_check_lib_save_LIBS
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8759 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8760 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8761 PTHREAD_LIBS
="-lpthread"
8768 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8769 case "x$with_pthread" in
8771 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8772 Wine cannot support threads without libpthread.
8773 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8779 $as_echo_n "checking for X... " >&6; }
8782 # Check whether --with-x was given.
8783 if test "${with_x+set}" = set; then :
8787 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8788 if test "x$with_x" = xno
; then
8789 # The user explicitly disabled X.
8792 case $x_includes,$x_libraries in #(
8793 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8794 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8795 $as_echo_n "(cached) " >&6
8797 # One or both of the vars are not set, and there is no cached value.
8798 ac_x_includes
=no ac_x_libraries
=no
8799 rm -f -r conftest.dir
8800 if mkdir conftest.dir
; then
8802 cat >Imakefile
<<'_ACEOF'
8804 @echo incroot='${INCROOT}'
8806 @echo usrlibdir='${USRLIBDIR}'
8808 @echo libdir='${LIBDIR}'
8810 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8811 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8812 for ac_var
in incroot usrlibdir libdir
; do
8813 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8815 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8816 for ac_extension
in a so sl dylib la dll
; do
8817 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8818 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8819 ac_im_usrlibdir
=$ac_im_libdir; break
8822 # Screen out bogus values from the imake configuration. They are
8823 # bogus both because they are the default anyway, and because
8824 # using them would break gcc on systems where it needs fixed includes.
8825 case $ac_im_incroot in
8826 /usr
/include
) ac_x_includes
= ;;
8827 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8829 case $ac_im_usrlibdir in
8830 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8831 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8835 rm -f -r conftest.dir
8838 # Standard set of common directories for X headers.
8839 # Check X11 before X11Rn because it is often a symlink to the current release.
8853 /usr/local/X11/include
8854 /usr/local/X11R7/include
8855 /usr/local/X11R6/include
8856 /usr/local/X11R5/include
8857 /usr/local/X11R4/include
8859 /usr/local/include/X11
8860 /usr/local/include/X11R7
8861 /usr/local/include/X11R6
8862 /usr/local/include/X11R5
8863 /usr/local/include/X11R4
8867 /usr/XFree86/include/X11
8871 /usr/unsupported/include
8873 /usr/local/x11r5/include
8874 /usr/lpp/Xamples/include
8876 /usr/openwin/include
8877 /usr/openwin/share/include'
8879 if test "$ac_x_includes" = no
; then
8880 # Guess where to find include files, by looking for Xlib.h.
8881 # First, try using that file with no special directory specified.
8882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8883 /* end confdefs.h. */
8884 #include <X11/Xlib.h>
8886 if ac_fn_c_try_cpp
"$LINENO"; then :
8887 # We can compile using X headers with no special include directory.
8890 for ac_dir
in $ac_x_header_dirs; do
8891 if test -r "$ac_dir/X11/Xlib.h"; then
8892 ac_x_includes
=$ac_dir
8897 rm -f conftest.err conftest.i conftest.
$ac_ext
8898 fi # $ac_x_includes = no
8900 if test "$ac_x_libraries" = no
; then
8901 # Check for the libraries.
8902 # See if we find them without any special options.
8903 # Don't add to $LIBS permanently.
8906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8907 /* end confdefs.h. */
8908 #include <X11/Xlib.h>
8917 if ac_fn_c_try_link
"$LINENO"; then :
8919 # We can link X programs with no special library path.
8923 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8925 # Don't even attempt the hair of trying to link an X program!
8926 for ac_extension
in a so sl dylib la dll
; do
8927 if test -r "$ac_dir/libX11.$ac_extension"; then
8928 ac_x_libraries
=$ac_dir
8934 rm -f core conftest.err conftest.
$ac_objext \
8935 conftest
$ac_exeext conftest.
$ac_ext
8936 fi # $ac_x_libraries = no
8938 case $ac_x_includes,$ac_x_libraries in #(
8940 # Didn't find X, or a directory has "'" in its name.
8941 ac_cv_have_x
="have_x=no";; #(
8943 # Record where we found X for the cache.
8944 ac_cv_have_x
="have_x=yes\
8945 ac_x_includes='$ac_x_includes'\
8946 ac_x_libraries='$ac_x_libraries'"
8952 eval "$ac_cv_have_x"
8955 if test "$have_x" != yes; then
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8957 $as_echo "$have_x" >&6; }
8960 # If each of the values was on the command line, it overrides each guess.
8961 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8962 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8963 # Update the cache value to reflect the command line values.
8964 ac_cv_have_x
="have_x=yes\
8965 ac_x_includes='$x_includes'\
8966 ac_x_libraries='$x_libraries'"
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8968 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8971 if test "$no_x" = yes; then
8972 # Not all programs may use this symbol, but it does not hurt to define it.
8974 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8976 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8978 if test -n "$x_includes"; then
8979 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8982 # It would also be nice to do this for all -L options, not just this one.
8983 if test -n "$x_libraries"; then
8984 X_LIBS
="$X_LIBS -L$x_libraries"
8985 # For Solaris; some versions of Sun CC require a space after -R and
8986 # others require no space. Words are not sufficient . . . .
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8988 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8989 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8990 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8991 ac_c_werror_flag
=yes
8992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8993 /* end confdefs.h. */
9003 if ac_fn_c_try_link
"$LINENO"; then :
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9005 $as_echo "no" >&6; }
9006 X_LIBS
="$X_LIBS -R$x_libraries"
9008 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9010 /* end confdefs.h. */
9020 if ac_fn_c_try_link
"$LINENO"; then :
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9022 $as_echo "yes" >&6; }
9023 X_LIBS
="$X_LIBS -R $x_libraries"
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9026 $as_echo "neither works" >&6; }
9028 rm -f core conftest.err conftest.
$ac_objext \
9029 conftest
$ac_exeext conftest.
$ac_ext
9031 rm -f core conftest.err conftest.
$ac_objext \
9032 conftest
$ac_exeext conftest.
$ac_ext
9033 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9037 # Check for system-dependent libraries X programs must link with.
9038 # Do this before checking for the system-independent R6 libraries
9039 # (-lICE), since we may need -lsocket or whatever for X linking.
9041 if test "$ISC" = yes; then
9042 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9044 # Martyn Johnson says this is needed for Ultrix, if the X
9045 # libraries were built with DECnet support. And Karl Berry says
9046 # the Alpha needs dnet_stub (dnet does not exist).
9047 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9049 /* end confdefs.h. */
9051 /* Override any GCC internal prototype to avoid an error.
9052 Use char because int might match the return type of a GCC
9053 builtin and then its argument prototype would still apply. */
9057 char XOpenDisplay ();
9061 return XOpenDisplay ();
9066 if ac_fn_c_try_link
"$LINENO"; then :
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9070 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9071 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9072 $as_echo_n "(cached) " >&6
9074 ac_check_lib_save_LIBS
=$LIBS
9076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9077 /* end confdefs.h. */
9079 /* Override any GCC internal prototype to avoid an error.
9080 Use char because int might match the return type of a GCC
9081 builtin and then its argument prototype would still apply. */
9089 return dnet_ntoa ();
9094 if ac_fn_c_try_link
"$LINENO"; then :
9095 ac_cv_lib_dnet_dnet_ntoa
=yes
9097 ac_cv_lib_dnet_dnet_ntoa
=no
9099 rm -f core conftest.err conftest.
$ac_objext \
9100 conftest
$ac_exeext conftest.
$ac_ext
9101 LIBS
=$ac_check_lib_save_LIBS
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9104 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9105 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9106 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9109 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9111 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9112 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9113 $as_echo_n "(cached) " >&6
9115 ac_check_lib_save_LIBS
=$LIBS
9116 LIBS
="-ldnet_stub $LIBS"
9117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9118 /* end confdefs.h. */
9120 /* Override any GCC internal prototype to avoid an error.
9121 Use char because int might match the return type of a GCC
9122 builtin and then its argument prototype would still apply. */
9130 return dnet_ntoa ();
9135 if ac_fn_c_try_link
"$LINENO"; then :
9136 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9138 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9140 rm -f core conftest.err conftest.
$ac_objext \
9141 conftest
$ac_exeext conftest.
$ac_ext
9142 LIBS
=$ac_check_lib_save_LIBS
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9145 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9146 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9147 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9152 rm -f core conftest.err conftest.
$ac_objext \
9153 conftest
$ac_exeext conftest.
$ac_ext
9154 LIBS
="$ac_xsave_LIBS"
9156 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9157 # to get the SysV transport functions.
9158 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9160 # The nsl library prevents programs from opening the X display
9161 # on Irix 5.2, according to T.E. Dickey.
9162 # The functions gethostbyname, getservbyname, and inet_addr are
9163 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9164 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9165 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9169 if test $ac_cv_func_gethostbyname = no
; then
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9171 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9172 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9173 $as_echo_n "(cached) " >&6
9175 ac_check_lib_save_LIBS
=$LIBS
9177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9178 /* end confdefs.h. */
9180 /* Override any GCC internal prototype to avoid an error.
9181 Use char because int might match the return type of a GCC
9182 builtin and then its argument prototype would still apply. */
9186 char gethostbyname ();
9190 return gethostbyname ();
9195 if ac_fn_c_try_link
"$LINENO"; then :
9196 ac_cv_lib_nsl_gethostbyname
=yes
9198 ac_cv_lib_nsl_gethostbyname
=no
9200 rm -f core conftest.err conftest.
$ac_objext \
9201 conftest
$ac_exeext conftest.
$ac_ext
9202 LIBS
=$ac_check_lib_save_LIBS
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9205 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9206 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9207 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9210 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9212 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9213 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9214 $as_echo_n "(cached) " >&6
9216 ac_check_lib_save_LIBS
=$LIBS
9218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9219 /* end confdefs.h. */
9221 /* Override any GCC internal prototype to avoid an error.
9222 Use char because int might match the return type of a GCC
9223 builtin and then its argument prototype would still apply. */
9227 char gethostbyname ();
9231 return gethostbyname ();
9236 if ac_fn_c_try_link
"$LINENO"; then :
9237 ac_cv_lib_bsd_gethostbyname
=yes
9239 ac_cv_lib_bsd_gethostbyname
=no
9241 rm -f core conftest.err conftest.
$ac_objext \
9242 conftest
$ac_exeext conftest.
$ac_ext
9243 LIBS
=$ac_check_lib_save_LIBS
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9246 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9247 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9248 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9254 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9255 # socket/setsockopt and other routines are undefined under SCO ODT
9256 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9257 # on later versions), says Simon Leinen: it contains gethostby*
9258 # variants that don't use the name server (or something). -lsocket
9259 # must be given before -lnsl if both are needed. We assume that
9260 # if connect needs -lnsl, so does gethostbyname.
9261 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9262 if test "x$ac_cv_func_connect" = xyes
; then :
9266 if test $ac_cv_func_connect = no
; then
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9268 $as_echo_n "checking for connect in -lsocket... " >&6; }
9269 if ${ac_cv_lib_socket_connect+:} false
; then :
9270 $as_echo_n "(cached) " >&6
9272 ac_check_lib_save_LIBS
=$LIBS
9273 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9275 /* end confdefs.h. */
9277 /* Override any GCC internal prototype to avoid an error.
9278 Use char because int might match the return type of a GCC
9279 builtin and then its argument prototype would still apply. */
9292 if ac_fn_c_try_link
"$LINENO"; then :
9293 ac_cv_lib_socket_connect
=yes
9295 ac_cv_lib_socket_connect
=no
9297 rm -f core conftest.err conftest.
$ac_objext \
9298 conftest
$ac_exeext conftest.
$ac_ext
9299 LIBS
=$ac_check_lib_save_LIBS
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9302 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9303 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9304 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9309 # Guillermo Gomez says -lposix is necessary on A/UX.
9310 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9311 if test "x$ac_cv_func_remove" = xyes
; then :
9315 if test $ac_cv_func_remove = no
; then
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9317 $as_echo_n "checking for remove in -lposix... " >&6; }
9318 if ${ac_cv_lib_posix_remove+:} false
; then :
9319 $as_echo_n "(cached) " >&6
9321 ac_check_lib_save_LIBS
=$LIBS
9322 LIBS
="-lposix $LIBS"
9323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9324 /* end confdefs.h. */
9326 /* Override any GCC internal prototype to avoid an error.
9327 Use char because int might match the return type of a GCC
9328 builtin and then its argument prototype would still apply. */
9341 if ac_fn_c_try_link
"$LINENO"; then :
9342 ac_cv_lib_posix_remove
=yes
9344 ac_cv_lib_posix_remove
=no
9346 rm -f core conftest.err conftest.
$ac_objext \
9347 conftest
$ac_exeext conftest.
$ac_ext
9348 LIBS
=$ac_check_lib_save_LIBS
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9351 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9352 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9353 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9358 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9359 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9360 if test "x$ac_cv_func_shmat" = xyes
; then :
9364 if test $ac_cv_func_shmat = no
; then
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9366 $as_echo_n "checking for shmat in -lipc... " >&6; }
9367 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9368 $as_echo_n "(cached) " >&6
9370 ac_check_lib_save_LIBS
=$LIBS
9372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9373 /* end confdefs.h. */
9375 /* Override any GCC internal prototype to avoid an error.
9376 Use char because int might match the return type of a GCC
9377 builtin and then its argument prototype would still apply. */
9390 if ac_fn_c_try_link
"$LINENO"; then :
9391 ac_cv_lib_ipc_shmat
=yes
9393 ac_cv_lib_ipc_shmat
=no
9395 rm -f core conftest.err conftest.
$ac_objext \
9396 conftest
$ac_exeext conftest.
$ac_ext
9397 LIBS
=$ac_check_lib_save_LIBS
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9400 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9401 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9402 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9408 # Check for libraries that X11R6 Xt/Xaw programs need.
9409 ac_save_LDFLAGS
=$LDFLAGS
9410 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9411 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9412 # check for ICE first), but we must link in the order -lSM -lICE or
9413 # we get undefined symbols. So assume we have SM if we have ICE.
9414 # These have to be linked with before -lX11, unlike the other
9415 # libraries we check for below, so use a different variable.
9416 # John Interrante, Karl Berry
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9418 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9419 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9420 $as_echo_n "(cached) " >&6
9422 ac_check_lib_save_LIBS
=$LIBS
9423 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9425 /* end confdefs.h. */
9427 /* Override any GCC internal prototype to avoid an error.
9428 Use char because int might match the return type of a GCC
9429 builtin and then its argument prototype would still apply. */
9433 char IceConnectionNumber ();
9437 return IceConnectionNumber ();
9442 if ac_fn_c_try_link
"$LINENO"; then :
9443 ac_cv_lib_ICE_IceConnectionNumber
=yes
9445 ac_cv_lib_ICE_IceConnectionNumber
=no
9447 rm -f core conftest.err conftest.
$ac_objext \
9448 conftest
$ac_exeext conftest.
$ac_ext
9449 LIBS
=$ac_check_lib_save_LIBS
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9452 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9453 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9454 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9457 LDFLAGS
=$ac_save_LDFLAGS
9462 if test "$have_x" = "yes"
9464 ac_save_CPPFLAGS
="$CPPFLAGS"
9465 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9468 $as_echo_n "checking for -lX11... " >&6; }
9469 if ${ac_cv_lib_soname_X11+:} false
; then :
9470 $as_echo_n "(cached) " >&6
9472 ac_check_soname_save_LIBS
=$LIBS
9473 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9477 /* Override any GCC internal prototype to avoid an error.
9478 Use char because int might match the return type of a GCC
9479 builtin and then its argument prototype would still apply. */
9483 char XCreateWindow ();
9487 return XCreateWindow ();
9492 if ac_fn_c_try_link
"$LINENO"; then :
9494 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9495 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'` ;;
9496 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9497 if ${ac_cv_lib_soname_X11:+false} :; then :
9498 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9502 rm -f core conftest.err conftest.
$ac_objext \
9503 conftest
$ac_exeext conftest.
$ac_ext
9504 LIBS
=$ac_check_soname_save_LIBS
9506 if ${ac_cv_lib_soname_X11:+false} :; then :
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9508 $as_echo "not found" >&6; }
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9512 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9514 cat >>confdefs.h
<<_ACEOF
9515 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9521 $as_echo_n "checking for -lXext... " >&6; }
9522 if ${ac_cv_lib_soname_Xext+:} false
; then :
9523 $as_echo_n "(cached) " >&6
9525 ac_check_soname_save_LIBS
=$LIBS
9526 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9528 /* end confdefs.h. */
9530 /* Override any GCC internal prototype to avoid an error.
9531 Use char because int might match the return type of a GCC
9532 builtin and then its argument prototype would still apply. */
9536 char XextCreateExtension ();
9540 return XextCreateExtension ();
9545 if ac_fn_c_try_link
"$LINENO"; then :
9547 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9548 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'` ;;
9549 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9550 if ${ac_cv_lib_soname_Xext:+false} :; then :
9551 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9555 rm -f core conftest.err conftest.
$ac_objext \
9556 conftest
$ac_exeext conftest.
$ac_ext
9557 LIBS
=$ac_check_soname_save_LIBS
9559 if ${ac_cv_lib_soname_Xext:+false} :; then :
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9561 $as_echo "not found" >&6; }
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9565 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9567 cat >>confdefs.h
<<_ACEOF
9568 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9571 X_LIBS
="$X_LIBS -lXext"
9573 X_LIBS
="$X_LIBS -lX11"
9575 for ac_header
in X11
/Xlib.h \
9578 X11
/Xcursor
/Xcursor.h \
9579 X11
/extensions
/shape.h \
9580 X11
/extensions
/XInput.h \
9581 X11
/extensions
/XInput2.h \
9582 X11
/extensions
/XShm.h \
9583 X11
/extensions
/Xcomposite.h \
9584 X11
/extensions
/Xinerama.h \
9585 X11
/extensions
/Xrandr.h \
9586 X11
/extensions
/Xrender.h \
9587 X11
/extensions
/xf86vmode.h \
9588 X11
/extensions
/xf86vmproto.h
9590 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9591 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9592 # include <X11/Xlib.h>
9594 #ifdef HAVE_X11_XUTIL_H
9595 # include <X11/Xutil.h>
9598 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9599 cat >>confdefs.h
<<_ACEOF
9600 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9608 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9611 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9612 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9613 $as_echo_n "(cached) " >&6
9615 ac_check_lib_save_LIBS
=$LIBS
9616 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9618 /* end confdefs.h. */
9620 /* Override any GCC internal prototype to avoid an error.
9621 Use char because int might match the return type of a GCC
9622 builtin and then its argument prototype would still apply. */
9626 char XkbQueryExtension ();
9630 return XkbQueryExtension ();
9635 if ac_fn_c_try_link
"$LINENO"; then :
9636 ac_cv_lib_X11_XkbQueryExtension
=yes
9638 ac_cv_lib_X11_XkbQueryExtension
=no
9640 rm -f core conftest.err conftest.
$ac_objext \
9641 conftest
$ac_exeext conftest.
$ac_ext
9642 LIBS
=$ac_check_lib_save_LIBS
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9645 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9646 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9648 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9654 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9657 $as_echo_n "checking for -lXcursor... " >&6; }
9658 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9659 $as_echo_n "(cached) " >&6
9661 ac_check_soname_save_LIBS
=$LIBS
9662 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9664 /* end confdefs.h. */
9666 /* Override any GCC internal prototype to avoid an error.
9667 Use char because int might match the return type of a GCC
9668 builtin and then its argument prototype would still apply. */
9672 char XcursorImageLoadCursor ();
9676 return XcursorImageLoadCursor ();
9681 if ac_fn_c_try_link
"$LINENO"; then :
9683 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9684 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'` ;;
9685 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9686 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9687 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9691 rm -f core conftest.err conftest.
$ac_objext \
9692 conftest
$ac_exeext conftest.
$ac_ext
9693 LIBS
=$ac_check_soname_save_LIBS
9695 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9697 $as_echo "not found" >&6; }
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9701 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9703 cat >>confdefs.h
<<_ACEOF
9704 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9710 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9711 case "x$with_xcursor" in
9712 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9714 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9715 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9719 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9722 $as_echo_n "checking for -lXi... " >&6; }
9723 if ${ac_cv_lib_soname_Xi+:} false
; then :
9724 $as_echo_n "(cached) " >&6
9726 ac_check_soname_save_LIBS
=$LIBS
9727 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9729 /* end confdefs.h. */
9731 /* Override any GCC internal prototype to avoid an error.
9732 Use char because int might match the return type of a GCC
9733 builtin and then its argument prototype would still apply. */
9737 char XOpenDevice ();
9741 return XOpenDevice ();
9746 if ac_fn_c_try_link
"$LINENO"; then :
9748 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9749 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'` ;;
9750 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9751 if ${ac_cv_lib_soname_Xi:+false} :; then :
9752 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9756 rm -f core conftest.err conftest.
$ac_objext \
9757 conftest
$ac_exeext conftest.
$ac_ext
9758 LIBS
=$ac_check_soname_save_LIBS
9760 if ${ac_cv_lib_soname_Xi:+false} :; then :
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9762 $as_echo "not found" >&6; }
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9766 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9768 cat >>confdefs.h
<<_ACEOF
9769 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9775 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9776 case "x$with_xinput" in
9777 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9779 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9780 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9784 if test "x$ac_cv_lib_soname_Xi" != x
9786 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9787 case "x$with_xinput2" in
9788 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9790 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9791 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9796 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9799 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9800 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9801 $as_echo_n "(cached) " >&6
9803 ac_check_lib_save_LIBS
=$LIBS
9804 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9806 /* end confdefs.h. */
9808 /* Override any GCC internal prototype to avoid an error.
9809 Use char because int might match the return type of a GCC
9810 builtin and then its argument prototype would still apply. */
9814 char XShmQueryExtension ();
9818 return XShmQueryExtension ();
9823 if ac_fn_c_try_link
"$LINENO"; then :
9824 ac_cv_lib_Xext_XShmQueryExtension
=yes
9826 ac_cv_lib_Xext_XShmQueryExtension
=no
9828 rm -f core conftest.err conftest.
$ac_objext \
9829 conftest
$ac_exeext conftest.
$ac_ext
9830 LIBS
=$ac_check_lib_save_LIBS
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9833 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9834 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9836 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9841 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9842 case "x$with_xshm" in
9843 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9845 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9846 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9850 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9853 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9854 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9855 $as_echo_n "(cached) " >&6
9857 ac_check_lib_save_LIBS
=$LIBS
9858 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9860 /* end confdefs.h. */
9862 /* Override any GCC internal prototype to avoid an error.
9863 Use char because int might match the return type of a GCC
9864 builtin and then its argument prototype would still apply. */
9868 char XShapeQueryExtension ();
9872 return XShapeQueryExtension ();
9877 if ac_fn_c_try_link
"$LINENO"; then :
9878 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9880 ac_cv_lib_Xext_XShapeQueryExtension
=no
9882 rm -f core conftest.err conftest.
$ac_objext \
9883 conftest
$ac_exeext conftest.
$ac_ext
9884 LIBS
=$ac_check_lib_save_LIBS
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9887 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9888 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9890 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9895 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9896 case "x$with_xshape" in
9897 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9899 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9900 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9904 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9907 $as_echo_n "checking for -lXxf86vm... " >&6; }
9908 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9909 $as_echo_n "(cached) " >&6
9911 ac_check_soname_save_LIBS
=$LIBS
9912 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9914 /* end confdefs.h. */
9916 /* Override any GCC internal prototype to avoid an error.
9917 Use char because int might match the return type of a GCC
9918 builtin and then its argument prototype would still apply. */
9922 char XF86VidModeQueryExtension ();
9926 return XF86VidModeQueryExtension ();
9931 if ac_fn_c_try_link
"$LINENO"; then :
9933 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9934 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'` ;;
9935 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9936 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9937 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9941 rm -f core conftest.err conftest.
$ac_objext \
9942 conftest
$ac_exeext conftest.
$ac_ext
9943 LIBS
=$ac_check_soname_save_LIBS
9945 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9947 $as_echo "not found" >&6; }
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9951 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9953 cat >>confdefs.h
<<_ACEOF
9954 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9960 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9961 case "x$with_xxf86vm" in
9962 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9964 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9965 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9969 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9972 $as_echo_n "checking for -lXrender... " >&6; }
9973 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9974 $as_echo_n "(cached) " >&6
9976 ac_check_soname_save_LIBS
=$LIBS
9977 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9979 /* end confdefs.h. */
9981 /* Override any GCC internal prototype to avoid an error.
9982 Use char because int might match the return type of a GCC
9983 builtin and then its argument prototype would still apply. */
9987 char XRenderQueryExtension ();
9991 return XRenderQueryExtension ();
9996 if ac_fn_c_try_link
"$LINENO"; then :
9998 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9999 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'` ;;
10000 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10001 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10002 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10006 rm -f core conftest.err conftest.
$ac_objext \
10007 conftest
$ac_exeext conftest.
$ac_ext
10008 LIBS
=$ac_check_soname_save_LIBS
10010 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10012 $as_echo "not found" >&6; }
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10016 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10018 cat >>confdefs.h
<<_ACEOF
10019 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10023 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10024 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10025 $as_echo_n "(cached) " >&6
10027 ac_check_lib_save_LIBS
=$LIBS
10028 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10030 /* end confdefs.h. */
10032 /* Override any GCC internal prototype to avoid an error.
10033 Use char because int might match the return type of a GCC
10034 builtin and then its argument prototype would still apply. */
10038 char XRenderSetPictureTransform ();
10042 return XRenderSetPictureTransform ();
10047 if ac_fn_c_try_link
"$LINENO"; then :
10048 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10050 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10052 rm -f core conftest.err conftest.
$ac_objext \
10053 conftest
$ac_exeext conftest.
$ac_ext
10054 LIBS
=$ac_check_lib_save_LIBS
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10057 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10058 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10060 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10065 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10066 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10067 $as_echo_n "(cached) " >&6
10069 ac_check_lib_save_LIBS
=$LIBS
10070 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10072 /* end confdefs.h. */
10074 /* Override any GCC internal prototype to avoid an error.
10075 Use char because int might match the return type of a GCC
10076 builtin and then its argument prototype would still apply. */
10080 char XRenderCreateLinearGradient ();
10084 return XRenderCreateLinearGradient ();
10089 if ac_fn_c_try_link
"$LINENO"; then :
10090 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10092 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10094 rm -f core conftest.err conftest.
$ac_objext \
10095 conftest
$ac_exeext conftest.
$ac_ext
10096 LIBS
=$ac_check_lib_save_LIBS
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10099 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10100 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10102 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10109 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10110 case "x$with_xrender" in
10111 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10113 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10114 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10118 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10121 /* end confdefs.h. */
10122 #include <X11/Xlib.h>
10123 #include <X11/extensions/Xrandr.h>
10127 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10132 if ac_fn_c_try_compile
"$LINENO"; then :
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10134 $as_echo_n "checking for -lXrandr... " >&6; }
10135 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10136 $as_echo_n "(cached) " >&6
10138 ac_check_soname_save_LIBS
=$LIBS
10139 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10143 /* Override any GCC internal prototype to avoid an error.
10144 Use char because int might match the return type of a GCC
10145 builtin and then its argument prototype would still apply. */
10149 char XRRQueryExtension ();
10153 return XRRQueryExtension ();
10158 if ac_fn_c_try_link
"$LINENO"; then :
10160 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10161 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'` ;;
10162 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10163 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10164 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10168 rm -f core conftest.err conftest.
$ac_objext \
10169 conftest
$ac_exeext conftest.
$ac_ext
10170 LIBS
=$ac_check_soname_save_LIBS
10172 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10174 $as_echo "not found" >&6; }
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10178 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10180 cat >>confdefs.h
<<_ACEOF
10181 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10186 #include <X11/Xlib.h>
10187 #include <X11/extensions/Xrandr.h>
10191 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10196 if ac_fn_c_try_compile
"$LINENO"; then :
10198 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10206 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10207 case "x$with_xrandr" in
10208 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10210 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10211 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10215 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10219 #include <X11/Xlib.h>
10220 #include <X11/extensions/Xinerama.h>
10224 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10229 if ac_fn_c_try_compile
"$LINENO"; then :
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10231 $as_echo_n "checking for -lXinerama... " >&6; }
10232 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10233 $as_echo_n "(cached) " >&6
10235 ac_check_soname_save_LIBS
=$LIBS
10236 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h. */
10240 /* Override any GCC internal prototype to avoid an error.
10241 Use char because int might match the return type of a GCC
10242 builtin and then its argument prototype would still apply. */
10246 char XineramaQueryScreens ();
10250 return XineramaQueryScreens ();
10255 if ac_fn_c_try_link
"$LINENO"; then :
10257 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10258 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'` ;;
10259 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10260 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10261 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10265 rm -f core conftest.err conftest.
$ac_objext \
10266 conftest
$ac_exeext conftest.
$ac_ext
10267 LIBS
=$ac_check_soname_save_LIBS
10269 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10271 $as_echo "not found" >&6; }
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10275 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10277 cat >>confdefs.h
<<_ACEOF
10278 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10286 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10287 case "x$with_xinerama" in
10288 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10290 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10291 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10295 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10298 $as_echo_n "checking for -lXcomposite... " >&6; }
10299 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10300 $as_echo_n "(cached) " >&6
10302 ac_check_soname_save_LIBS
=$LIBS
10303 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10305 /* end confdefs.h. */
10307 /* Override any GCC internal prototype to avoid an error.
10308 Use char because int might match the return type of a GCC
10309 builtin and then its argument prototype would still apply. */
10313 char XCompositeRedirectWindow ();
10317 return XCompositeRedirectWindow ();
10322 if ac_fn_c_try_link
"$LINENO"; then :
10324 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10325 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'` ;;
10326 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10327 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10328 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10332 rm -f core conftest.err conftest.
$ac_objext \
10333 conftest
$ac_exeext conftest.
$ac_ext
10334 LIBS
=$ac_check_soname_save_LIBS
10336 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10338 $as_echo "not found" >&6; }
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10342 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10344 cat >>confdefs.h
<<_ACEOF
10345 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10351 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10352 case "x$with_xcomposite" in
10353 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10355 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10356 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10360 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10361 #include <X11/Xlib.h>
10364 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10366 cat >>confdefs.h
<<_ACEOF
10367 #define HAVE_XICCALLBACK_CALLBACK 1
10372 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10373 #include <X11/Xlib.h>
10376 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10378 cat >>confdefs.h
<<_ACEOF
10379 #define HAVE_XEVENT_XCOOKIE 1
10388 if test "x$with_opengl" != "xno"
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10391 $as_echo_n "checking for -lGL... " >&6; }
10392 if ${ac_cv_lib_soname_GL+:} false
; then :
10393 $as_echo_n "(cached) " >&6
10395 ac_check_soname_save_LIBS
=$LIBS
10396 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10398 /* end confdefs.h. */
10400 /* Override any GCC internal prototype to avoid an error.
10401 Use char because int might match the return type of a GCC
10402 builtin and then its argument prototype would still apply. */
10406 char glXCreateContext ();
10410 return glXCreateContext ();
10415 if ac_fn_c_try_link
"$LINENO"; then :
10417 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10418 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'` ;;
10419 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10420 if ${ac_cv_lib_soname_GL:+false} :; then :
10421 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10425 rm -f core conftest.err conftest.
$ac_objext \
10426 conftest
$ac_exeext conftest.
$ac_ext
10427 LIBS
=$ac_check_soname_save_LIBS
10429 if ${ac_cv_lib_soname_GL:+false} :; then :
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10431 $as_echo "not found" >&6; }
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10433 $as_echo_n "checking for -lGL... " >&6; }
10434 if ${ac_cv_lib_soname_GL+:} false
; then :
10435 $as_echo_n "(cached) " >&6
10437 ac_check_soname_save_LIBS
=$LIBS
10438 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"
10439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10440 /* end confdefs.h. */
10442 /* Override any GCC internal prototype to avoid an error.
10443 Use char because int might match the return type of a GCC
10444 builtin and then its argument prototype would still apply. */
10448 char glXCreateContext ();
10452 return glXCreateContext ();
10457 if ac_fn_c_try_link
"$LINENO"; then :
10459 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10460 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'` ;;
10461 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10462 if ${ac_cv_lib_soname_GL:+false} :; then :
10463 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10467 rm -f core conftest.err conftest.
$ac_objext \
10468 conftest
$ac_exeext conftest.
$ac_ext
10469 LIBS
=$ac_check_soname_save_LIBS
10471 if ${ac_cv_lib_soname_GL:+false} :; then :
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10473 $as_echo "not found" >&6; }
10474 if test -f /usr
/X11R
6/lib
/libGL.a
10476 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10477 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10479 opengl_msg
="No OpenGL library found on this system."
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10483 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10485 cat >>confdefs.h
<<_ACEOF
10486 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10489 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"
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10493 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10495 cat >>confdefs.h
<<_ACEOF
10496 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10501 if test "x$with_glu" != "xno"
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10504 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10505 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10506 $as_echo_n "(cached) " >&6
10508 ac_check_lib_save_LIBS
=$LIBS
10509 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10511 /* end confdefs.h. */
10513 /* Override any GCC internal prototype to avoid an error.
10514 Use char because int might match the return type of a GCC
10515 builtin and then its argument prototype would still apply. */
10523 return gluLookAt ();
10528 if ac_fn_c_try_link
"$LINENO"; then :
10529 ac_cv_lib_GLU_gluLookAt
=yes
10531 ac_cv_lib_GLU_gluLookAt
=no
10533 rm -f core conftest.err conftest.
$ac_objext \
10534 conftest
$ac_exeext conftest.
$ac_ext
10535 LIBS
=$ac_check_lib_save_LIBS
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10538 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10539 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10543 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10544 case "x$with_glu" in
10545 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10547 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10548 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10553 if test "x$with_osmesa" != "xno"
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10556 $as_echo_n "checking for -lOSMesa... " >&6; }
10557 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10558 $as_echo_n "(cached) " >&6
10560 ac_check_soname_save_LIBS
=$LIBS
10561 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10563 /* end confdefs.h. */
10565 /* Override any GCC internal prototype to avoid an error.
10566 Use char because int might match the return type of a GCC
10567 builtin and then its argument prototype would still apply. */
10580 if ac_fn_c_try_link
"$LINENO"; then :
10582 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10583 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'` ;;
10584 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10585 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10586 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10590 rm -f core conftest.err conftest.
$ac_objext \
10591 conftest
$ac_exeext conftest.
$ac_ext
10592 LIBS
=$ac_check_soname_save_LIBS
10594 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10596 $as_echo "not found" >&6; }
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10600 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10602 cat >>confdefs.h
<<_ACEOF
10603 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10608 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10609 case "x$with_osmesa" in
10610 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10612 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10613 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10618 if test -n "$opengl_msg"; then :
10619 case "x$with_opengl" in
10620 x
) as_fn_append wine_warnings
"|$opengl_msg
10621 OpenGL and Direct3D won't be supported." ;;
10623 *) as_fn_error $?
"$opengl_msg
10624 OpenGL and Direct3D won't be supported.
10625 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10629 CPPFLAGS
="$ac_save_CPPFLAGS"
10633 enable_winex11_drv
=${enable_winex11_drv:-no}
10635 if test "x$X_LIBS" = "x"; then :
10638 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10639 without X support, which probably isn't what you want. You will need
10640 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10641 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10645 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10647 if test "$ac_cv_header_CL_cl_h" = "yes"
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10650 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10651 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10652 $as_echo_n "(cached) " >&6
10654 ac_check_lib_save_LIBS
=$LIBS
10655 LIBS
="-lOpenCL $LIBS"
10656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h. */
10659 /* Override any GCC internal prototype to avoid an error.
10660 Use char because int might match the return type of a GCC
10661 builtin and then its argument prototype would still apply. */
10665 char clGetPlatformInfo ();
10669 return clGetPlatformInfo ();
10674 if ac_fn_c_try_link
"$LINENO"; then :
10675 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10677 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10679 rm -f core conftest.err conftest.
$ac_objext \
10680 conftest
$ac_exeext conftest.
$ac_ext
10681 LIBS
=$ac_check_lib_save_LIBS
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10684 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10685 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10686 OPENCL_LIBS
="-lOpenCL"
10691 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10692 case "x$with_opencl" in
10693 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10695 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10696 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10699 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10701 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10704 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10705 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10706 $as_echo_n "(cached) " >&6
10708 ac_check_lib_save_LIBS
=$LIBS
10709 LIBS
="-lpcap $LIBS"
10710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10711 /* end confdefs.h. */
10713 /* Override any GCC internal prototype to avoid an error.
10714 Use char because int might match the return type of a GCC
10715 builtin and then its argument prototype would still apply. */
10719 char pcap_create ();
10723 return pcap_create ();
10728 if ac_fn_c_try_link
"$LINENO"; then :
10729 ac_cv_lib_pcap_pcap_create
=yes
10731 ac_cv_lib_pcap_pcap_create
=no
10733 rm -f core conftest.err conftest.
$ac_objext \
10734 conftest
$ac_exeext conftest.
$ac_ext
10735 LIBS
=$ac_check_lib_save_LIBS
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10738 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10739 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10745 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10746 case "x$with_pcap" in
10747 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10749 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10750 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10753 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10756 if test "x$with_xml" != "xno"
10758 if ${XML2_CFLAGS:+false} :; then :
10759 if ${PKG_CONFIG+:} false
; then :
10760 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10763 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10764 if ${XML2_LIBS:+false} :; then :
10765 if ${PKG_CONFIG+:} false
; then :
10766 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10769 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10770 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10771 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10772 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10773 ac_save_CPPFLAGS
=$CPPFLAGS
10774 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10775 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10777 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10778 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10779 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10780 cat >>confdefs.h
<<_ACEOF
10781 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10788 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"
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10791 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10792 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10793 $as_echo_n "(cached) " >&6
10795 ac_check_lib_save_LIBS
=$LIBS
10796 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10798 /* end confdefs.h. */
10800 /* Override any GCC internal prototype to avoid an error.
10801 Use char because int might match the return type of a GCC
10802 builtin and then its argument prototype would still apply. */
10806 char xmlParseMemory ();
10810 return xmlParseMemory ();
10815 if ac_fn_c_try_link
"$LINENO"; then :
10816 ac_cv_lib_xml2_xmlParseMemory
=yes
10818 ac_cv_lib_xml2_xmlParseMemory
=no
10820 rm -f core conftest.err conftest.
$ac_objext \
10821 conftest
$ac_exeext conftest.
$ac_ext
10822 LIBS
=$ac_check_lib_save_LIBS
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10825 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10826 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10828 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10835 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10836 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10837 $as_echo_n "(cached) " >&6
10839 ac_check_lib_save_LIBS
=$LIBS
10840 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10842 /* end confdefs.h. */
10844 /* Override any GCC internal prototype to avoid an error.
10845 Use char because int might match the return type of a GCC
10846 builtin and then its argument prototype would still apply. */
10850 char xmlReadMemory ();
10854 return xmlReadMemory ();
10859 if ac_fn_c_try_link
"$LINENO"; then :
10860 ac_cv_lib_xml2_xmlReadMemory
=yes
10862 ac_cv_lib_xml2_xmlReadMemory
=no
10864 rm -f core conftest.err conftest.
$ac_objext \
10865 conftest
$ac_exeext conftest.
$ac_ext
10866 LIBS
=$ac_check_lib_save_LIBS
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10869 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10870 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10872 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10877 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10878 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10879 $as_echo_n "(cached) " >&6
10881 ac_check_lib_save_LIBS
=$LIBS
10882 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10884 /* end confdefs.h. */
10886 /* Override any GCC internal prototype to avoid an error.
10887 Use char because int might match the return type of a GCC
10888 builtin and then its argument prototype would still apply. */
10892 char xmlNewDocPI ();
10896 return xmlNewDocPI ();
10901 if ac_fn_c_try_link
"$LINENO"; then :
10902 ac_cv_lib_xml2_xmlNewDocPI
=yes
10904 ac_cv_lib_xml2_xmlNewDocPI
=no
10906 rm -f core conftest.err conftest.
$ac_objext \
10907 conftest
$ac_exeext conftest.
$ac_ext
10908 LIBS
=$ac_check_lib_save_LIBS
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10911 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10912 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10914 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10919 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10920 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10921 $as_echo_n "(cached) " >&6
10923 ac_check_lib_save_LIBS
=$LIBS
10924 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10928 /* Override any GCC internal prototype to avoid an error.
10929 Use char because int might match the return type of a GCC
10930 builtin and then its argument prototype would still apply. */
10934 char xmlSchemaSetParserStructuredErrors ();
10938 return xmlSchemaSetParserStructuredErrors ();
10943 if ac_fn_c_try_link
"$LINENO"; then :
10944 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10946 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10948 rm -f core conftest.err conftest.
$ac_objext \
10949 conftest
$ac_exeext conftest.
$ac_ext
10950 LIBS
=$ac_check_lib_save_LIBS
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10953 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10954 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10956 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10961 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10962 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10963 $as_echo_n "(cached) " >&6
10965 ac_check_lib_save_LIBS
=$LIBS
10966 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10970 /* Override any GCC internal prototype to avoid an error.
10971 Use char because int might match the return type of a GCC
10972 builtin and then its argument prototype would still apply. */
10976 char xmlSchemaSetValidStructuredErrors ();
10980 return xmlSchemaSetValidStructuredErrors ();
10985 if ac_fn_c_try_link
"$LINENO"; then :
10986 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10988 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10990 rm -f core conftest.err conftest.
$ac_objext \
10991 conftest
$ac_exeext conftest.
$ac_ext
10992 LIBS
=$ac_check_lib_save_LIBS
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10995 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10996 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10998 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11003 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11004 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11005 $as_echo_n "(cached) " >&6
11007 ac_check_lib_save_LIBS
=$LIBS
11008 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11010 /* end confdefs.h. */
11012 /* Override any GCC internal prototype to avoid an error.
11013 Use char because int might match the return type of a GCC
11014 builtin and then its argument prototype would still apply. */
11018 char xmlFirstElementChild ();
11022 return xmlFirstElementChild ();
11027 if ac_fn_c_try_link
"$LINENO"; then :
11028 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11030 ac_cv_lib_xml2_xmlFirstElementChild
=no
11032 rm -f core conftest.err conftest.
$ac_objext \
11033 conftest
$ac_exeext conftest.
$ac_ext
11034 LIBS
=$ac_check_lib_save_LIBS
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11037 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11038 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11040 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11044 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11046 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11048 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11056 CPPFLAGS
=$ac_save_CPPFLAGS
11057 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11058 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11061 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11062 case "x$with_xml" in
11063 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11065 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11066 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11070 if test "x$with_xslt" != "xno"
11072 if ${XSLT_CFLAGS:+false} :; then :
11073 if ${PKG_CONFIG+:} false
; then :
11074 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11077 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11078 if ${XSLT_LIBS:+false} :; then :
11079 if ${PKG_CONFIG+:} false
; then :
11080 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11083 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11084 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11085 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11086 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11087 ac_save_CPPFLAGS
=$CPPFLAGS
11088 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11089 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11091 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11092 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11093 # include <libxslt/pattern.h>
11096 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11097 cat >>confdefs.h
<<_ACEOF
11098 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11105 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11108 $as_echo_n "checking for -lxslt... " >&6; }
11109 if ${ac_cv_lib_soname_xslt+:} false
; then :
11110 $as_echo_n "(cached) " >&6
11112 ac_check_soname_save_LIBS
=$LIBS
11113 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11115 /* end confdefs.h. */
11117 /* Override any GCC internal prototype to avoid an error.
11118 Use char because int might match the return type of a GCC
11119 builtin and then its argument prototype would still apply. */
11123 char xsltCompilePattern ();
11127 return xsltCompilePattern ();
11132 if ac_fn_c_try_link
"$LINENO"; then :
11134 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11135 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'` ;;
11136 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11137 if ${ac_cv_lib_soname_xslt:+false} :; then :
11138 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11142 rm -f core conftest.err conftest.
$ac_objext \
11143 conftest
$ac_exeext conftest.
$ac_ext
11144 LIBS
=$ac_check_soname_save_LIBS
11146 if ${ac_cv_lib_soname_xslt:+false} :; then :
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11148 $as_echo "not found" >&6; }
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11152 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11154 cat >>confdefs.h
<<_ACEOF
11155 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11163 CPPFLAGS
=$ac_save_CPPFLAGS
11164 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11165 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11168 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11169 case "x$with_xslt" in
11170 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11172 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11173 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11177 if test "x$with_dbus" != "xno"
11179 if ${DBUS_CFLAGS:+false} :; then :
11180 if ${PKG_CONFIG+:} false
; then :
11181 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11185 if ${DBUS_LIBS:+false} :; then :
11186 if ${PKG_CONFIG+:} false
; then :
11187 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11192 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11193 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11194 ac_save_CPPFLAGS
=$CPPFLAGS
11195 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11196 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11197 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11199 $as_echo_n "checking for -ldbus-1... " >&6; }
11200 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11201 $as_echo_n "(cached) " >&6
11203 ac_check_soname_save_LIBS
=$LIBS
11204 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11206 /* end confdefs.h. */
11208 /* Override any GCC internal prototype to avoid an error.
11209 Use char because int might match the return type of a GCC
11210 builtin and then its argument prototype would still apply. */
11214 char dbus_connection_close ();
11218 return dbus_connection_close ();
11223 if ac_fn_c_try_link
"$LINENO"; then :
11225 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11226 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'` ;;
11227 *) 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'`
11228 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11229 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11233 rm -f core conftest.err conftest.
$ac_objext \
11234 conftest
$ac_exeext conftest.
$ac_ext
11235 LIBS
=$ac_check_soname_save_LIBS
11237 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11239 $as_echo "not found" >&6; }
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11243 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11245 cat >>confdefs.h
<<_ACEOF
11246 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11256 CPPFLAGS
=$ac_save_CPPFLAGS
11257 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11258 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11261 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11262 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11263 case "x$with_dbus" in
11264 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11266 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11267 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11271 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11273 if ${HAL_CFLAGS:+false} :; then :
11274 if ${PKG_CONFIG+:} false
; then :
11275 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11279 if ${HAL_LIBS:+false} :; then :
11280 if ${PKG_CONFIG+:} false
; then :
11281 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11285 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11286 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11287 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11288 ac_save_CPPFLAGS
=$CPPFLAGS
11289 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11290 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11291 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11293 $as_echo_n "checking for -lhal... " >&6; }
11294 if ${ac_cv_lib_soname_hal+:} false
; then :
11295 $as_echo_n "(cached) " >&6
11297 ac_check_soname_save_LIBS
=$LIBS
11298 LIBS
="-lhal $HAL_LIBS $LIBS"
11299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11300 /* end confdefs.h. */
11302 /* Override any GCC internal prototype to avoid an error.
11303 Use char because int might match the return type of a GCC
11304 builtin and then its argument prototype would still apply. */
11308 char libhal_ctx_new ();
11312 return libhal_ctx_new ();
11317 if ac_fn_c_try_link
"$LINENO"; then :
11319 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11320 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'` ;;
11321 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11322 if ${ac_cv_lib_soname_hal:+false} :; then :
11323 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11327 rm -f core conftest.err conftest.
$ac_objext \
11328 conftest
$ac_exeext conftest.
$ac_ext
11329 LIBS
=$ac_check_soname_save_LIBS
11331 if ${ac_cv_lib_soname_hal:+false} :; then :
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11333 $as_echo "not found" >&6; }
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11337 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11339 cat >>confdefs.h
<<_ACEOF
11340 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11350 CPPFLAGS
=$ac_save_CPPFLAGS
11351 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11352 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11354 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11355 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11356 case "x$with_hal" in
11357 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11359 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11360 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11365 if test "x$with_gnutls" != "xno"
11367 if ${GNUTLS_CFLAGS:+false} :; then :
11368 if ${PKG_CONFIG+:} false
; then :
11369 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11373 if ${GNUTLS_LIBS:+false} :; then :
11374 if ${PKG_CONFIG+:} false
; then :
11375 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11380 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11381 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11382 ac_save_CPPFLAGS
=$CPPFLAGS
11383 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11384 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11385 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11387 /* end confdefs.h. */
11388 #include <gnutls/gnutls.h>
11389 #include <gnutls/crypto.h>
11393 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11398 if ac_fn_c_try_compile
"$LINENO"; then :
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11400 $as_echo_n "checking for -lgnutls... " >&6; }
11401 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11402 $as_echo_n "(cached) " >&6
11404 ac_check_soname_save_LIBS
=$LIBS
11405 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11407 /* end confdefs.h. */
11409 /* Override any GCC internal prototype to avoid an error.
11410 Use char because int might match the return type of a GCC
11411 builtin and then its argument prototype would still apply. */
11415 char gnutls_global_init ();
11419 return gnutls_global_init ();
11424 if ac_fn_c_try_link
"$LINENO"; then :
11426 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11427 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'` ;;
11428 *) 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'`
11429 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11430 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'`
11434 rm -f core conftest.err conftest.
$ac_objext \
11435 conftest
$ac_exeext conftest.
$ac_ext
11436 LIBS
=$ac_check_soname_save_LIBS
11438 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11440 $as_echo "not found" >&6; }
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11444 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11446 cat >>confdefs.h
<<_ACEOF
11447 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11459 CPPFLAGS
=$ac_save_CPPFLAGS
11460 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11461 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11464 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11465 case "x$with_gnutls" in
11466 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11468 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11469 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11474 if test "$ac_cv_header_ncurses_h" = "yes"
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11477 $as_echo_n "checking for -lncurses... " >&6; }
11478 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11479 $as_echo_n "(cached) " >&6
11481 ac_check_soname_save_LIBS
=$LIBS
11482 LIBS
="-lncurses $LIBS"
11483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11501 if ac_fn_c_try_link
"$LINENO"; then :
11503 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11504 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'` ;;
11505 *) 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'`
11506 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11507 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11511 rm -f core conftest.err conftest.
$ac_objext \
11512 conftest
$ac_exeext conftest.
$ac_ext
11513 LIBS
=$ac_check_soname_save_LIBS
11515 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11517 $as_echo "not found" >&6; }
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11521 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11523 cat >>confdefs.h
<<_ACEOF
11524 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11527 CURSES_LIBS
="-lncurses"
11529 elif test "$ac_cv_header_curses_h" = "yes"
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11532 $as_echo_n "checking for -lcurses... " >&6; }
11533 if ${ac_cv_lib_soname_curses+:} false
; then :
11534 $as_echo_n "(cached) " >&6
11536 ac_check_soname_save_LIBS
=$LIBS
11537 LIBS
="-lcurses $LIBS"
11538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11539 /* end confdefs.h. */
11541 /* Override any GCC internal prototype to avoid an error.
11542 Use char because int might match the return type of a GCC
11543 builtin and then its argument prototype would still apply. */
11556 if ac_fn_c_try_link
"$LINENO"; then :
11558 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11559 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'` ;;
11560 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11561 if ${ac_cv_lib_soname_curses:+false} :; then :
11562 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11566 rm -f core conftest.err conftest.
$ac_objext \
11567 conftest
$ac_exeext conftest.
$ac_ext
11568 LIBS
=$ac_check_soname_save_LIBS
11570 if ${ac_cv_lib_soname_curses:+false} :; then :
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11572 $as_echo "not found" >&6; }
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11576 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11578 cat >>confdefs.h
<<_ACEOF
11579 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11582 CURSES_LIBS
="-lcurses"
11585 ac_save_LIBS
="$LIBS"
11586 LIBS
="$LIBS $CURSES_LIBS"
11587 for ac_func
in mousemask
11589 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11590 if test "x$ac_cv_func_mousemask" = xyes
; then :
11591 cat >>confdefs.h
<<_ACEOF
11592 #define HAVE_MOUSEMASK 1
11598 LIBS
="$ac_save_LIBS"
11599 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11600 case "x$with_curses" in
11601 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11603 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11604 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11608 if test "x$with_sane" != "xno"
11610 if ${SANE_CFLAGS:+false} :; then :
11611 if ${PKG_CONFIG+:} false
; then :
11612 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11615 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11616 if ${SANE_LIBS:+false} :; then :
11617 if ${PKG_CONFIG+:} false
; then :
11618 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11621 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11623 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11624 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11625 ac_save_CPPFLAGS
=$CPPFLAGS
11626 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11627 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11628 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11630 $as_echo_n "checking for -lsane... " >&6; }
11631 if ${ac_cv_lib_soname_sane+:} false
; then :
11632 $as_echo_n "(cached) " >&6
11634 ac_check_soname_save_LIBS
=$LIBS
11635 LIBS
="-lsane $SANE_LIBS $LIBS"
11636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11637 /* end confdefs.h. */
11639 /* Override any GCC internal prototype to avoid an error.
11640 Use char because int might match the return type of a GCC
11641 builtin and then its argument prototype would still apply. */
11649 return sane_init ();
11654 if ac_fn_c_try_link
"$LINENO"; then :
11656 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11657 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'` ;;
11658 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11659 if ${ac_cv_lib_soname_sane:+false} :; then :
11660 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11664 rm -f core conftest.err conftest.
$ac_objext \
11665 conftest
$ac_exeext conftest.
$ac_ext
11666 LIBS
=$ac_check_soname_save_LIBS
11668 if ${ac_cv_lib_soname_sane:+false} :; then :
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11670 $as_echo "not found" >&6; }
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11674 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11676 cat >>confdefs.h
<<_ACEOF
11677 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11687 CPPFLAGS
=$ac_save_CPPFLAGS
11688 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11689 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11692 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11693 case "x$with_sane" in
11694 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11696 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11697 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11701 if test "x$with_v4l" != "xno"
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11704 $as_echo_n "checking for -lv4l1... " >&6; }
11705 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11706 $as_echo_n "(cached) " >&6
11708 ac_check_soname_save_LIBS
=$LIBS
11709 LIBS
="-lv4l1 $LIBS"
11710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11711 /* end confdefs.h. */
11713 /* Override any GCC internal prototype to avoid an error.
11714 Use char because int might match the return type of a GCC
11715 builtin and then its argument prototype would still apply. */
11723 return v4l1_open ();
11728 if ac_fn_c_try_link
"$LINENO"; then :
11730 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11731 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'` ;;
11732 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11733 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11734 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11738 rm -f core conftest.err conftest.
$ac_objext \
11739 conftest
$ac_exeext conftest.
$ac_ext
11740 LIBS
=$ac_check_soname_save_LIBS
11742 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11744 $as_echo "not found" >&6; }
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11748 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11750 cat >>confdefs.h
<<_ACEOF
11751 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11757 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11758 case "x$with_v4l" in
11759 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11761 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11762 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11766 if test "x$with_gphoto" != "xno"
11768 if ${GPHOTO2_CFLAGS:+false} :; then :
11769 if ${PKG_CONFIG+:} false
; then :
11770 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11773 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11774 if ${GPHOTO2_LIBS:+false} :; then :
11775 if ${PKG_CONFIG+:} false
; then :
11776 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11779 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11780 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11781 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11782 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11783 ac_save_CPPFLAGS
=$CPPFLAGS
11784 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11785 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11786 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11788 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11789 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11790 $as_echo_n "(cached) " >&6
11792 ac_check_lib_save_LIBS
=$LIBS
11793 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11795 /* end confdefs.h. */
11797 /* Override any GCC internal prototype to avoid an error.
11798 Use char because int might match the return type of a GCC
11799 builtin and then its argument prototype would still apply. */
11803 char gp_camera_new ();
11807 return gp_camera_new ();
11812 if ac_fn_c_try_link
"$LINENO"; then :
11813 ac_cv_lib_gphoto2_gp_camera_new
=yes
11815 ac_cv_lib_gphoto2_gp_camera_new
=no
11817 rm -f core conftest.err conftest.
$ac_objext \
11818 conftest
$ac_exeext conftest.
$ac_ext
11819 LIBS
=$ac_check_lib_save_LIBS
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11822 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11823 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11825 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11828 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11832 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11836 CPPFLAGS
=$ac_save_CPPFLAGS
11837 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11838 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11840 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11841 if ${PKG_CONFIG+:} false
; then :
11842 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11845 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11846 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11847 if ${PKG_CONFIG+:} false
; then :
11848 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11851 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11852 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11853 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11854 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11855 ac_save_CPPFLAGS
=$CPPFLAGS
11856 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11857 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11858 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11860 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11861 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11862 $as_echo_n "(cached) " >&6
11864 ac_check_lib_save_LIBS
=$LIBS
11865 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11867 /* end confdefs.h. */
11869 /* Override any GCC internal prototype to avoid an error.
11870 Use char because int might match the return type of a GCC
11871 builtin and then its argument prototype would still apply. */
11875 char gp_port_info_list_new ();
11879 return gp_port_info_list_new ();
11884 if ac_fn_c_try_link
"$LINENO"; then :
11885 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11887 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11889 rm -f core conftest.err conftest.
$ac_objext \
11890 conftest
$ac_exeext conftest.
$ac_ext
11891 LIBS
=$ac_check_lib_save_LIBS
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11894 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11895 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11897 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11900 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11904 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11908 CPPFLAGS
=$ac_save_CPPFLAGS
11909 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11910 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11913 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11914 case "x$with_gphoto" in
11915 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11917 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11918 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11921 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11922 case "x$with_gphoto" in
11923 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11925 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11926 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11931 if test "$ac_cv_header_resolv_h" = "yes"
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11934 $as_echo_n "checking for resolver library... " >&6; }
11935 if ${ac_cv_have_resolv+:} false
; then :
11936 $as_echo_n "(cached) " >&6
11938 ac_save_LIBS
="$LIBS"
11939 for lib
in '' -lresolv
11941 LIBS
="$lib $ac_save_LIBS"
11942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11944 #ifdef HAVE_NETINET_IN_H
11945 #include <netinet/in.h>
11947 #include <resolv.h>
11951 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11956 if ac_fn_c_try_link
"$LINENO"; then :
11957 ac_cv_have_resolv
=${lib:-"none required"}
11959 ac_cv_have_resolv
="not found"
11961 rm -f core conftest.err conftest.
$ac_objext \
11962 conftest
$ac_exeext conftest.
$ac_ext
11963 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11965 LIBS
="$ac_save_LIBS"
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11968 $as_echo "$ac_cv_have_resolv" >&6; }
11970 case "$ac_cv_have_resolv" in
11974 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11977 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11979 RESOLV_LIBS
=$ac_cv_have_resolv
11984 if test "x$with_cms" != "xno"
11986 if ${LCMS2_CFLAGS:+false} :; then :
11987 if ${PKG_CONFIG+:} false
; then :
11988 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11992 if ${LCMS2_LIBS:+false} :; then :
11993 if ${PKG_CONFIG+:} false
; then :
11994 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11998 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11999 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12000 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12001 ac_save_CPPFLAGS
=$CPPFLAGS
12002 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12003 for ac_header
in lcms2.h
12005 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12006 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12007 cat >>confdefs.h
<<_ACEOF
12008 #define HAVE_LCMS2_H 1
12015 if test "$ac_cv_header_lcms2_h" = "yes"
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12018 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12019 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12020 $as_echo_n "(cached) " >&6
12022 ac_check_lib_save_LIBS
=$LIBS
12023 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12027 /* Override any GCC internal prototype to avoid an error.
12028 Use char because int might match the return type of a GCC
12029 builtin and then its argument prototype would still apply. */
12033 char cmsOpenProfileFromFile ();
12037 return cmsOpenProfileFromFile ();
12042 if ac_fn_c_try_link
"$LINENO"; then :
12043 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12045 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12047 rm -f core conftest.err conftest.
$ac_objext \
12048 conftest
$ac_exeext conftest.
$ac_ext
12049 LIBS
=$ac_check_lib_save_LIBS
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12052 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12053 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12055 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12065 CPPFLAGS
=$ac_save_CPPFLAGS
12066 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12067 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12070 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12071 case "x$with_cms" in
12072 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12074 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12075 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12079 if test "x$with_freetype" != "xno"
12081 if ${FREETYPE_CFLAGS:+false} :; then :
12082 if ${PKG_CONFIG+:} false
; then :
12083 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12086 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12087 if ${FREETYPE_LIBS:+false} :; then :
12088 if ${PKG_CONFIG+:} false
; then :
12089 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12092 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12093 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12094 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12095 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12096 ac_save_CPPFLAGS
=$CPPFLAGS
12097 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12098 for ac_header
in ft2build.h
12100 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12101 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12102 cat >>confdefs.h
<<_ACEOF
12103 #define HAVE_FT2BUILD_H 1
12110 if test "$ac_cv_header_ft2build_h" = "yes"
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12113 $as_echo_n "checking for -lfreetype... " >&6; }
12114 if ${ac_cv_lib_soname_freetype+:} false
; then :
12115 $as_echo_n "(cached) " >&6
12117 ac_check_soname_save_LIBS
=$LIBS
12118 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12120 /* end confdefs.h. */
12122 /* Override any GCC internal prototype to avoid an error.
12123 Use char because int might match the return type of a GCC
12124 builtin and then its argument prototype would still apply. */
12128 char FT_Init_FreeType ();
12132 return FT_Init_FreeType ();
12137 if ac_fn_c_try_link
"$LINENO"; then :
12139 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12140 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'` ;;
12141 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12142 if ${ac_cv_lib_soname_freetype:+false} :; then :
12143 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12147 rm -f core conftest.err conftest.
$ac_objext \
12148 conftest
$ac_exeext conftest.
$ac_ext
12149 LIBS
=$ac_check_soname_save_LIBS
12151 if ${ac_cv_lib_soname_freetype:+false} :; then :
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12153 $as_echo "not found" >&6; }
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12157 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12159 cat >>confdefs.h
<<_ACEOF
12160 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12164 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12166 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12167 #include FT_MODULE_H
12169 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12171 cat >>confdefs.h
<<_ACEOF
12172 #define HAVE_FT_TRUETYPEENGINETYPE 1
12183 CPPFLAGS
=$ac_save_CPPFLAGS
12184 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12185 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12188 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12189 case "x$with_freetype" in
12191 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12192 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12195 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12198 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12199 if ${ac_cv_c_ppdev+:} false
; then :
12200 $as_echo_n "(cached) " >&6
12202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h. */
12204 #ifdef HAVE_SYS_IOCTL_H
12205 # include <sys/ioctl.h>
12207 #include <linux/ppdev.h>
12211 ioctl (1,PPCLAIM,0)
12216 if ac_fn_c_try_compile
"$LINENO"; then :
12217 ac_cv_c_ppdev
="yes"
12221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12224 $as_echo "$ac_cv_c_ppdev" >&6; }
12225 if test "$ac_cv_c_ppdev" = "yes"
12228 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12232 ac_wine_check_funcs_save_LIBS
="$LIBS"
12233 LIBS
="$LIBS $PTHREAD_LIBS"
12235 pthread_attr_get_np \
12236 pthread_getattr_np \
12237 pthread_getthreadid_np \
12238 pthread_get_stackaddr_np \
12239 pthread_get_stacksize_np
12241 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12242 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12243 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12244 cat >>confdefs.h
<<_ACEOF
12245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12251 LIBS
="$ac_wine_check_funcs_save_LIBS"
12253 if test "$ac_cv_header_zlib_h" = "yes"
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12256 $as_echo_n "checking for inflate in -lz... " >&6; }
12257 if ${ac_cv_lib_z_inflate+:} false
; then :
12258 $as_echo_n "(cached) " >&6
12260 ac_check_lib_save_LIBS
=$LIBS
12262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12263 /* end confdefs.h. */
12265 /* Override any GCC internal prototype to avoid an error.
12266 Use char because int might match the return type of a GCC
12267 builtin and then its argument prototype would still apply. */
12280 if ac_fn_c_try_link
"$LINENO"; then :
12281 ac_cv_lib_z_inflate
=yes
12283 ac_cv_lib_z_inflate
=no
12285 rm -f core conftest.err conftest.
$ac_objext \
12286 conftest
$ac_exeext conftest.
$ac_ext
12287 LIBS
=$ac_check_lib_save_LIBS
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12290 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12291 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12293 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12300 if test "x$Z_LIBS" = "x"; then :
12301 case "x$with_zlib" in
12302 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12304 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12305 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12309 if test "x$enable_tools" != xno
12311 if test "$ac_cv_header_gettext_po_h" = "yes"
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12314 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12315 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12316 $as_echo_n "(cached) " >&6
12318 ac_check_lib_save_LIBS
=$LIBS
12319 LIBS
="-lgettextpo $LIBS"
12320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12321 /* end confdefs.h. */
12323 /* Override any GCC internal prototype to avoid an error.
12324 Use char because int might match the return type of a GCC
12325 builtin and then its argument prototype would still apply. */
12329 char po_message_msgctxt ();
12333 return po_message_msgctxt ();
12338 if ac_fn_c_try_link
"$LINENO"; then :
12339 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12341 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12343 rm -f core conftest.err conftest.
$ac_objext \
12344 conftest
$ac_exeext conftest.
$ac_ext
12345 LIBS
=$ac_check_lib_save_LIBS
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12348 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12349 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12351 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12353 GETTEXTPO_LIBS
="-lgettextpo"
12358 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12359 case "x$with_gettextpo" in
12360 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12362 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12363 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12368 if test "x$with_gstreamer" != "xno"
12370 if ${GSTREAMER_CFLAGS:+false} :; then :
12371 if ${PKG_CONFIG+:} false
; then :
12372 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12376 if ${GSTREAMER_LIBS:+false} :; then :
12377 if ${PKG_CONFIG+:} false
; then :
12378 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12383 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12384 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12385 ac_save_CPPFLAGS
=$CPPFLAGS
12386 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12388 for i
in $GSTREAMER_CFLAGS
12391 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12394 GSTREAMER_CFLAGS
=$ac_gst_incl
12395 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12396 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12397 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12398 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12399 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12401 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12404 #include <gst/app/gstappsink.h>
12408 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12413 if ac_fn_c_try_compile
"$LINENO"; then :
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12415 $as_echo "yes" >&6; }
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12417 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12418 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12419 $as_echo_n "(cached) " >&6
12421 ac_check_lib_save_LIBS
=$LIBS
12422 LIBS
="-lgstreamer-0.10 $LIBS"
12423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12424 /* end confdefs.h. */
12426 /* Override any GCC internal prototype to avoid an error.
12427 Use char because int might match the return type of a GCC
12428 builtin and then its argument prototype would still apply. */
12432 char gst_pad_get_caps_reffed ();
12436 return gst_pad_get_caps_reffed ();
12441 if ac_fn_c_try_link
"$LINENO"; then :
12442 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12444 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12446 rm -f core conftest.err conftest.
$ac_objext \
12447 conftest
$ac_exeext conftest.
$ac_ext
12448 LIBS
=$ac_check_lib_save_LIBS
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12451 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12452 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12454 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12455 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12456 $as_echo_n "(cached) " >&6
12458 ac_check_lib_save_LIBS
=$LIBS
12459 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12461 /* end confdefs.h. */
12463 /* Override any GCC internal prototype to avoid an error.
12464 Use char because int might match the return type of a GCC
12465 builtin and then its argument prototype would still apply. */
12469 char gst_app_buffer_new ();
12473 return gst_app_buffer_new ();
12478 if ac_fn_c_try_link
"$LINENO"; then :
12479 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12481 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12483 rm -f core conftest.err conftest.
$ac_objext \
12484 conftest
$ac_exeext conftest.
$ac_ext
12485 LIBS
=$ac_check_lib_save_LIBS
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12488 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12489 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12497 $as_echo "no" >&6; }
12499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12504 GSTREAMER_CFLAGS
=""
12508 CPPFLAGS
=$ac_save_CPPFLAGS
12509 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12510 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12513 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12514 case "x$with_gstreamer" in
12515 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12517 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12518 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12521 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12525 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12528 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12529 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12530 $as_echo_n "(cached) " >&6
12532 ac_check_lib_save_LIBS
=$LIBS
12533 LIBS
="-lasound $LIBS"
12534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12535 /* end confdefs.h. */
12537 /* Override any GCC internal prototype to avoid an error.
12538 Use char because int might match the return type of a GCC
12539 builtin and then its argument prototype would still apply. */
12543 char snd_pcm_hw_params_get_access_mask ();
12547 return snd_pcm_hw_params_get_access_mask ();
12552 if ac_fn_c_try_link
"$LINENO"; then :
12553 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12555 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12557 rm -f core conftest.err conftest.
$ac_objext \
12558 conftest
$ac_exeext conftest.
$ac_ext
12559 LIBS
=$ac_check_lib_save_LIBS
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12562 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12563 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12565 /* end confdefs.h. */
12566 #ifdef HAVE_ALSA_ASOUNDLIB_H
12567 #include <alsa/asoundlib.h>
12568 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12569 #include <sys/asoundlib.h>
12574 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12579 if ac_fn_c_try_compile
"$LINENO"; then :
12580 ALSA_LIBS
="-lasound"
12582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12587 if test "x$with_oss" != xno
12589 ac_save_CPPFLAGS
="$CPPFLAGS"
12590 if test -f /etc
/oss.conf
12594 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12595 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12596 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12597 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12598 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12600 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12602 cat >>confdefs.h
<<_ACEOF
12603 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12606 OSS4_CFLAGS
="$ac_oss_incl"
12613 CPPFLAGS
="$ac_save_CPPFLAGS"
12614 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12616 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12620 if test "x$with_capi" != "xno"
12622 if ${CAPI20_CFLAGS:+false} :; then :
12623 if ${PKG_CONFIG+:} false
; then :
12624 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12628 if ${CAPI20_LIBS:+false} :; then :
12629 if ${PKG_CONFIG+:} false
; then :
12630 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12635 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12636 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12637 ac_save_CPPFLAGS
=$CPPFLAGS
12638 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12639 for ac_header
in capi20.h linux
/capi.h
12641 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12642 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12644 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12645 cat >>confdefs.h
<<_ACEOF
12646 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12653 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12656 $as_echo_n "checking for -lcapi20... " >&6; }
12657 if ${ac_cv_lib_soname_capi20+:} false
; then :
12658 $as_echo_n "(cached) " >&6
12660 ac_check_soname_save_LIBS
=$LIBS
12661 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12663 /* end confdefs.h. */
12665 /* Override any GCC internal prototype to avoid an error.
12666 Use char because int might match the return type of a GCC
12667 builtin and then its argument prototype would still apply. */
12671 char capi20_register ();
12675 return capi20_register ();
12680 if ac_fn_c_try_link
"$LINENO"; then :
12682 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12683 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'` ;;
12684 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12685 if ${ac_cv_lib_soname_capi20:+false} :; then :
12686 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12690 rm -f core conftest.err conftest.
$ac_objext \
12691 conftest
$ac_exeext conftest.
$ac_ext
12692 LIBS
=$ac_check_soname_save_LIBS
12694 if ${ac_cv_lib_soname_capi20:+false} :; then :
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12696 $as_echo "not found" >&6; }
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12700 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12702 cat >>confdefs.h
<<_ACEOF
12703 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12709 CPPFLAGS
=$ac_save_CPPFLAGS
12710 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12711 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12714 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12715 case "x$with_capi" in
12716 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12718 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12719 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12725 if test "x$with_cups" != "xno"
12727 ac_save_CPPFLAGS
="$CPPFLAGS"
12728 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12729 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12730 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12731 for ac_header
in cups
/cups.h
12733 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12734 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12735 cat >>confdefs.h
<<_ACEOF
12736 #define HAVE_CUPS_CUPS_H 1
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12739 $as_echo_n "checking for -lcups... " >&6; }
12740 if ${ac_cv_lib_soname_cups+:} false
; then :
12741 $as_echo_n "(cached) " >&6
12743 ac_check_soname_save_LIBS
=$LIBS
12744 LIBS
="-lcups $ac_cups_libs $LIBS"
12745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12746 /* end confdefs.h. */
12748 /* Override any GCC internal prototype to avoid an error.
12749 Use char because int might match the return type of a GCC
12750 builtin and then its argument prototype would still apply. */
12754 char cupsGetDefault ();
12758 return cupsGetDefault ();
12763 if ac_fn_c_try_link
"$LINENO"; then :
12765 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12766 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'` ;;
12767 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12768 if ${ac_cv_lib_soname_cups:+false} :; then :
12769 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12773 rm -f core conftest.err conftest.
$ac_objext \
12774 conftest
$ac_exeext conftest.
$ac_ext
12775 LIBS
=$ac_check_soname_save_LIBS
12777 if ${ac_cv_lib_soname_cups:+false} :; then :
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12779 $as_echo "not found" >&6; }
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12783 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12785 cat >>confdefs.h
<<_ACEOF
12786 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12789 CUPS_CFLAGS
="$ac_cups_cflags"
12795 CPPFLAGS
="$ac_save_CPPFLAGS"
12797 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12798 case "x$with_cups" in
12799 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12801 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12802 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12806 if test "x$with_fontconfig" != "xno"
12808 if ${FONTCONFIG_CFLAGS:+false} :; then :
12809 if ${PKG_CONFIG+:} false
; then :
12810 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12813 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12814 if ${FONTCONFIG_LIBS:+false} :; then :
12815 if ${PKG_CONFIG+:} false
; then :
12816 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12819 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12821 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12822 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12823 ac_save_CPPFLAGS
=$CPPFLAGS
12824 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12825 for ac_header
in fontconfig
/fontconfig.h
12827 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12828 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12829 cat >>confdefs.h
<<_ACEOF
12830 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12837 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12840 $as_echo_n "checking for -lfontconfig... " >&6; }
12841 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12842 $as_echo_n "(cached) " >&6
12844 ac_check_soname_save_LIBS
=$LIBS
12845 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12847 /* end confdefs.h. */
12849 /* Override any GCC internal prototype to avoid an error.
12850 Use char because int might match the return type of a GCC
12851 builtin and then its argument prototype would still apply. */
12864 if ac_fn_c_try_link
"$LINENO"; then :
12866 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12867 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'` ;;
12868 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12869 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12870 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12874 rm -f core conftest.err conftest.
$ac_objext \
12875 conftest
$ac_exeext conftest.
$ac_ext
12876 LIBS
=$ac_check_soname_save_LIBS
12878 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12880 $as_echo "not found" >&6; }
12881 FONTCONFIG_CFLAGS
=""
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12884 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12886 cat >>confdefs.h
<<_ACEOF
12887 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12893 FONTCONFIG_CFLAGS
=""
12895 CPPFLAGS
=$ac_save_CPPFLAGS
12896 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12897 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12900 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12901 case "x$with_fontconfig" in
12902 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12904 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12905 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12909 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12912 $as_echo_n "checking for -lgsm... " >&6; }
12913 if ${ac_cv_lib_soname_gsm+:} false
; then :
12914 $as_echo_n "(cached) " >&6
12916 ac_check_soname_save_LIBS
=$LIBS
12918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12919 /* end confdefs.h. */
12921 /* Override any GCC internal prototype to avoid an error.
12922 Use char because int might match the return type of a GCC
12923 builtin and then its argument prototype would still apply. */
12927 char gsm_create ();
12931 return gsm_create ();
12936 if ac_fn_c_try_link
"$LINENO"; then :
12938 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12939 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'` ;;
12940 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12941 if ${ac_cv_lib_soname_gsm:+false} :; then :
12942 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12946 rm -f core conftest.err conftest.
$ac_objext \
12947 conftest
$ac_exeext conftest.
$ac_ext
12948 LIBS
=$ac_check_soname_save_LIBS
12950 if ${ac_cv_lib_soname_gsm:+false} :; then :
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12952 $as_echo "not found" >&6; }
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12956 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12958 cat >>confdefs.h
<<_ACEOF
12959 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12965 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12966 case "x$with_gsm" in
12967 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12969 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12970 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12974 if test "x$with_jpeg" != "xno"
12976 if ${JPEG_CFLAGS:+false} :; then :
12977 if ${PKG_CONFIG+:} false
; then :
12978 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12982 if ${JPEG_LIBS:+false} :; then :
12983 if ${PKG_CONFIG+:} false
; then :
12984 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12989 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12990 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12991 ac_save_CPPFLAGS
=$CPPFLAGS
12992 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12993 for ac_header
in jpeglib.h
12995 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12996 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12997 cat >>confdefs.h
<<_ACEOF
12998 #define HAVE_JPEGLIB_H 1
13005 if test "$ac_cv_header_jpeglib_h" = "yes"
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13008 $as_echo_n "checking for -ljpeg... " >&6; }
13009 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13010 $as_echo_n "(cached) " >&6
13012 ac_check_soname_save_LIBS
=$LIBS
13013 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13015 /* end confdefs.h. */
13017 /* Override any GCC internal prototype to avoid an error.
13018 Use char because int might match the return type of a GCC
13019 builtin and then its argument prototype would still apply. */
13023 char jpeg_start_decompress ();
13027 return jpeg_start_decompress ();
13032 if ac_fn_c_try_link
"$LINENO"; then :
13034 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13035 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'` ;;
13036 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13037 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13038 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13042 rm -f core conftest.err conftest.
$ac_objext \
13043 conftest
$ac_exeext conftest.
$ac_ext
13044 LIBS
=$ac_check_soname_save_LIBS
13046 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13048 $as_echo "not found" >&6; }
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13052 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13054 cat >>confdefs.h
<<_ACEOF
13055 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13063 CPPFLAGS
=$ac_save_CPPFLAGS
13064 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13065 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13068 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13069 case "x$with_jpeg" in
13070 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13072 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13073 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13077 if test "x$with_png" != "xno"
13079 if ${PNG_CFLAGS:+false} :; then :
13080 if ${PKG_CONFIG+:} false
; then :
13081 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13084 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13085 if ${PNG_LIBS:+false} :; then :
13086 if ${PKG_CONFIG+:} false
; then :
13087 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13090 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13092 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13093 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13094 ac_save_CPPFLAGS
=$CPPFLAGS
13095 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13096 for ac_header
in png.h
13098 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13099 if test "x$ac_cv_header_png_h" = xyes
; then :
13100 cat >>confdefs.h
<<_ACEOF
13101 #define HAVE_PNG_H 1
13108 if test "$ac_cv_header_png_h" = "yes"
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13111 $as_echo_n "checking for -lpng... " >&6; }
13112 if ${ac_cv_lib_soname_png+:} false
; then :
13113 $as_echo_n "(cached) " >&6
13115 ac_check_soname_save_LIBS
=$LIBS
13116 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13118 /* end confdefs.h. */
13120 /* Override any GCC internal prototype to avoid an error.
13121 Use char because int might match the return type of a GCC
13122 builtin and then its argument prototype would still apply. */
13126 char png_create_read_struct ();
13130 return png_create_read_struct ();
13135 if ac_fn_c_try_link
"$LINENO"; then :
13137 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13138 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'` ;;
13139 *) 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'`
13140 if ${ac_cv_lib_soname_png:+false} :; then :
13141 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13145 rm -f core conftest.err conftest.
$ac_objext \
13146 conftest
$ac_exeext conftest.
$ac_ext
13147 LIBS
=$ac_check_soname_save_LIBS
13149 if ${ac_cv_lib_soname_png:+false} :; then :
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13151 $as_echo "not found" >&6; }
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13155 $as_echo "$ac_cv_lib_soname_png" >&6; }
13157 cat >>confdefs.h
<<_ACEOF
13158 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13162 /* end confdefs.h. */
13167 typeof(png_set_expand_gray_1_2_4_to_8) *p
13172 if ac_fn_c_try_compile
"$LINENO"; then :
13174 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13182 CPPFLAGS
=$ac_save_CPPFLAGS
13183 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13184 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13187 if test "x$ac_cv_lib_soname_png" = "x"; then :
13188 case "x$with_png" in
13189 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13191 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13192 This is an error since --with-png was requested." "$LINENO" 5 ;;
13196 if test "x$with_tiff" != "xno"
13198 if ${TIFF_CFLAGS:+false} :; then :
13199 if ${PKG_CONFIG+:} false
; then :
13200 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13204 if ${TIFF_LIBS:+false} :; then :
13205 if ${PKG_CONFIG+:} false
; then :
13206 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13211 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13212 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13213 ac_save_CPPFLAGS
=$CPPFLAGS
13214 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13215 for ac_header
in tiffio.h
13217 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13218 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13219 cat >>confdefs.h
<<_ACEOF
13220 #define HAVE_TIFFIO_H 1
13227 if test "$ac_cv_header_tiffio_h" = "yes"
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13230 $as_echo_n "checking for -ltiff... " >&6; }
13231 if ${ac_cv_lib_soname_tiff+:} false
; then :
13232 $as_echo_n "(cached) " >&6
13234 ac_check_soname_save_LIBS
=$LIBS
13235 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13237 /* end confdefs.h. */
13239 /* Override any GCC internal prototype to avoid an error.
13240 Use char because int might match the return type of a GCC
13241 builtin and then its argument prototype would still apply. */
13245 char TIFFClientOpen ();
13249 return TIFFClientOpen ();
13254 if ac_fn_c_try_link
"$LINENO"; then :
13256 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13257 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'` ;;
13258 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13259 if ${ac_cv_lib_soname_tiff:+false} :; then :
13260 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13264 rm -f core conftest.err conftest.
$ac_objext \
13265 conftest
$ac_exeext conftest.
$ac_ext
13266 LIBS
=$ac_check_soname_save_LIBS
13268 if ${ac_cv_lib_soname_tiff:+false} :; then :
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13270 $as_echo "not found" >&6; }
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13274 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13276 cat >>confdefs.h
<<_ACEOF
13277 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13283 CPPFLAGS
=$ac_save_CPPFLAGS
13284 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13285 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13288 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13289 case "x$with_tiff" in
13290 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13292 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13293 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13297 if test "x$with_mpg123" != "xno"
13299 if ${MPG123_CFLAGS:+false} :; then :
13300 if ${PKG_CONFIG+:} false
; then :
13301 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13305 if ${MPG123_LIBS:+false} :; then :
13306 if ${PKG_CONFIG+:} false
; then :
13307 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13311 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13312 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13313 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13314 ac_save_CPPFLAGS
=$CPPFLAGS
13315 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13316 for ac_header
in mpg123.h
13318 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13319 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13320 cat >>confdefs.h
<<_ACEOF
13321 #define HAVE_MPG123_H 1
13328 if test "$ac_cv_header_mpg123_h" = "yes"
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13331 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13332 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13333 $as_echo_n "(cached) " >&6
13335 ac_check_lib_save_LIBS
=$LIBS
13336 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13338 /* end confdefs.h. */
13340 /* Override any GCC internal prototype to avoid an error.
13341 Use char because int might match the return type of a GCC
13342 builtin and then its argument prototype would still apply. */
13346 char mpg123_feed ();
13350 return mpg123_feed ();
13355 if ac_fn_c_try_link
"$LINENO"; then :
13356 ac_cv_lib_mpg123_mpg123_feed
=yes
13358 ac_cv_lib_mpg123_mpg123_feed
=no
13360 rm -f core conftest.err conftest.
$ac_objext \
13361 conftest
$ac_exeext conftest.
$ac_ext
13362 LIBS
=$ac_check_lib_save_LIBS
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13365 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13366 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13376 CPPFLAGS
=$ac_save_CPPFLAGS
13377 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13378 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13381 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13382 case "x$with_mpg123" in
13383 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13385 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13386 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13389 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}
13391 if test "$ac_cv_header_AL_al_h" = "yes"
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13394 $as_echo_n "checking for -lopenal... " >&6; }
13395 if ${ac_cv_lib_soname_openal+:} false
; then :
13396 $as_echo_n "(cached) " >&6
13398 ac_check_soname_save_LIBS
=$LIBS
13399 LIBS
="-lopenal $LIBS"
13400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13401 /* end confdefs.h. */
13403 /* Override any GCC internal prototype to avoid an error.
13404 Use char because int might match the return type of a GCC
13405 builtin and then its argument prototype would still apply. */
13409 char alGetSource3i ();
13413 return alGetSource3i ();
13418 if ac_fn_c_try_link
"$LINENO"; then :
13420 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13421 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'` ;;
13422 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13423 if ${ac_cv_lib_soname_openal:+false} :; then :
13424 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13428 rm -f core conftest.err conftest.
$ac_objext \
13429 conftest
$ac_exeext conftest.
$ac_ext
13430 LIBS
=$ac_check_soname_save_LIBS
13432 if ${ac_cv_lib_soname_openal:+false} :; then :
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13434 $as_echo "not found" >&6; }
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13438 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13440 cat >>confdefs.h
<<_ACEOF
13441 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13444 OPENAL_LIBS
="-lopenal"
13446 ac_cv_lib_openal
=yes
13448 cat >>confdefs.h
<<_ACEOF
13449 #define HAVE_OPENAL 1
13454 if test "x$ac_cv_lib_openal" != xyes
; then :
13455 case "x$with_openal" in
13456 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13458 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13459 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13462 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13464 if test "$ac_cv_header_kstat_h" = "yes"
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13467 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13468 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13469 $as_echo_n "(cached) " >&6
13471 ac_check_lib_save_LIBS
=$LIBS
13472 LIBS
="-lkstat $LIBS"
13473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13474 /* end confdefs.h. */
13476 /* Override any GCC internal prototype to avoid an error.
13477 Use char because int might match the return type of a GCC
13478 builtin and then its argument prototype would still apply. */
13482 char kstat_open ();
13486 return kstat_open ();
13491 if ac_fn_c_try_link
"$LINENO"; then :
13492 ac_cv_lib_kstat_kstat_open
=yes
13494 ac_cv_lib_kstat_kstat_open
=no
13496 rm -f core conftest.err conftest.
$ac_objext \
13497 conftest
$ac_exeext conftest.
$ac_ext
13498 LIBS
=$ac_check_lib_save_LIBS
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13501 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13502 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13504 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13506 KSTAT_LIBS
="-lkstat"
13512 if test "$ac_cv_header_libprocstat_h" = "yes"
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13515 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13516 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13517 $as_echo_n "(cached) " >&6
13519 ac_check_lib_save_LIBS
=$LIBS
13520 LIBS
="-lprocstat $LIBS"
13521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13522 /* end confdefs.h. */
13524 /* Override any GCC internal prototype to avoid an error.
13525 Use char because int might match the return type of a GCC
13526 builtin and then its argument prototype would still apply. */
13530 char procstat_open_sysctl ();
13534 return procstat_open_sysctl ();
13539 if ac_fn_c_try_link
"$LINENO"; then :
13540 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13542 ac_cv_lib_procstat_procstat_open_sysctl
=no
13544 rm -f core conftest.err conftest.
$ac_objext \
13545 conftest
$ac_exeext conftest.
$ac_ext
13546 LIBS
=$ac_check_lib_save_LIBS
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13549 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13550 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13552 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13554 PROCSTAT_LIBS
="-lprocstat"
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13561 $as_echo_n "checking for -lodbc... " >&6; }
13562 if ${ac_cv_lib_soname_odbc+:} false
; then :
13563 $as_echo_n "(cached) " >&6
13565 ac_check_soname_save_LIBS
=$LIBS
13566 LIBS
="-lodbc $LIBS"
13567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13568 /* end confdefs.h. */
13570 /* Override any GCC internal prototype to avoid an error.
13571 Use char because int might match the return type of a GCC
13572 builtin and then its argument prototype would still apply. */
13576 char SQLConnect ();
13580 return SQLConnect ();
13585 if ac_fn_c_try_link
"$LINENO"; then :
13587 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13588 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'` ;;
13589 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13590 if ${ac_cv_lib_soname_odbc:+false} :; then :
13591 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13595 rm -f core conftest.err conftest.
$ac_objext \
13596 conftest
$ac_exeext conftest.
$ac_ext
13597 LIBS
=$ac_check_soname_save_LIBS
13599 if ${ac_cv_lib_soname_odbc:+false} :; then :
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13601 $as_echo "not found" >&6; }
13602 cat >>confdefs.h
<<_ACEOF
13603 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13608 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13610 cat >>confdefs.h
<<_ACEOF
13611 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13617 if test "x$with_netapi" != "xno"
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13620 $as_echo_n "checking for -lnetapi... " >&6; }
13621 if ${ac_cv_lib_soname_netapi+:} false
; then :
13622 $as_echo_n "(cached) " >&6
13624 ac_check_soname_save_LIBS
=$LIBS
13625 LIBS
="-lnetapi $LIBS"
13626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13627 /* end confdefs.h. */
13629 /* Override any GCC internal prototype to avoid an error.
13630 Use char because int might match the return type of a GCC
13631 builtin and then its argument prototype would still apply. */
13635 char libnetapi_init ();
13639 return libnetapi_init ();
13644 if ac_fn_c_try_link
"$LINENO"; then :
13646 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13647 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'` ;;
13648 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13649 if ${ac_cv_lib_soname_netapi:+false} :; then :
13650 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13654 rm -f core conftest.err conftest.
$ac_objext \
13655 conftest
$ac_exeext conftest.
$ac_ext
13656 LIBS
=$ac_check_soname_save_LIBS
13658 if ${ac_cv_lib_soname_netapi:+false} :; then :
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13660 $as_echo "not found" >&6; }
13661 cat >>confdefs.h
<<_ACEOF
13662 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13667 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13669 cat >>confdefs.h
<<_ACEOF
13670 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13677 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13678 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13679 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13680 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13682 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13683 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13684 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13686 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13692 if test "x${GCC}" = "xyes"
13694 EXTRACFLAGS
="-Wall -pipe"
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13697 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13698 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13699 $as_echo_n "(cached) " >&6
13701 if test "$cross_compiling" = yes; then :
13702 ac_cv_c_gcc_strength_bug
="yes"
13704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13705 /* end confdefs.h. */
13706 int L[4] = {0,1,2,3};
13710 static int Array[3];
13711 unsigned int B = 3;
13713 for(i=0; i<B; i++) Array[i] = i - 3;
13714 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13716 return (Array[1] != -2 || L[2] != 3)
13721 if ac_fn_c_try_run
"$LINENO"; then :
13722 ac_cv_c_gcc_strength_bug
="no"
13724 ac_cv_c_gcc_strength_bug
="yes"
13726 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13727 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13732 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13733 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13735 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13739 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13740 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13741 $as_echo_n "(cached) " >&6
13743 ac_wine_try_cflags_saved
=$CFLAGS
13744 CFLAGS
="$CFLAGS -fno-builtin"
13745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13746 /* end confdefs.h. */
13747 int main(int argc, char **argv) { return 0; }
13749 if ac_fn_c_try_link
"$LINENO"; then :
13750 ac_cv_cflags__fno_builtin
=yes
13752 ac_cv_cflags__fno_builtin
=no
13754 rm -f core conftest.err conftest.
$ac_objext \
13755 conftest
$ac_exeext conftest.
$ac_ext
13756 CFLAGS
=$ac_wine_try_cflags_saved
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13759 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13760 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13761 BUILTINFLAG
="-fno-builtin"
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13765 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13766 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13767 $as_echo_n "(cached) " >&6
13769 ac_wine_try_cflags_saved
=$CFLAGS
13770 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13772 /* end confdefs.h. */
13773 int main(int argc, char **argv) { return 0; }
13775 if ac_fn_c_try_link
"$LINENO"; then :
13776 ac_cv_cflags__fno_strict_aliasing
=yes
13778 ac_cv_cflags__fno_strict_aliasing
=no
13780 rm -f core conftest.err conftest.
$ac_objext \
13781 conftest
$ac_exeext conftest.
$ac_ext
13782 CFLAGS
=$ac_wine_try_cflags_saved
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13785 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13786 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13787 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13789 saved_CFLAGS
=$CFLAGS
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13791 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13792 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13793 $as_echo_n "(cached) " >&6
13795 ac_wine_try_cflags_saved
=$CFLAGS
13796 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13798 /* end confdefs.h. */
13799 int main(int argc, char **argv) { return 0; }
13801 if ac_fn_c_try_link
"$LINENO"; then :
13802 ac_cv_cflags__Werror_unknown_warning_option
=yes
13804 ac_cv_cflags__Werror_unknown_warning_option
=no
13806 rm -f core conftest.err conftest.
$ac_objext \
13807 conftest
$ac_exeext conftest.
$ac_ext
13808 CFLAGS
=$ac_wine_try_cflags_saved
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13811 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13812 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13813 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13816 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13817 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13818 $as_echo_n "(cached) " >&6
13820 ac_wine_try_cflags_saved
=$CFLAGS
13821 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13823 /* end confdefs.h. */
13824 int main(int argc, char **argv) { return 0; }
13826 if ac_fn_c_try_link
"$LINENO"; then :
13827 ac_cv_cflags__Wdeclaration_after_statement
=yes
13829 ac_cv_cflags__Wdeclaration_after_statement
=no
13831 rm -f core conftest.err conftest.
$ac_objext \
13832 conftest
$ac_exeext conftest.
$ac_ext
13833 CFLAGS
=$ac_wine_try_cflags_saved
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13836 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13837 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13838 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13841 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13842 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13843 $as_echo_n "(cached) " >&6
13845 ac_wine_try_cflags_saved
=$CFLAGS
13846 CFLAGS
="$CFLAGS -Wempty-body"
13847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13848 /* end confdefs.h. */
13849 int main(int argc, char **argv) { return 0; }
13851 if ac_fn_c_try_link
"$LINENO"; then :
13852 ac_cv_cflags__Wempty_body
=yes
13854 ac_cv_cflags__Wempty_body
=no
13856 rm -f core conftest.err conftest.
$ac_objext \
13857 conftest
$ac_exeext conftest.
$ac_ext
13858 CFLAGS
=$ac_wine_try_cflags_saved
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13861 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13862 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13863 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13866 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13867 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13868 $as_echo_n "(cached) " >&6
13870 ac_wine_try_cflags_saved
=$CFLAGS
13871 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13873 /* end confdefs.h. */
13874 int main(int argc, char **argv) { return 0; }
13876 if ac_fn_c_try_link
"$LINENO"; then :
13877 ac_cv_cflags__Wignored_qualifiers
=yes
13879 ac_cv_cflags__Wignored_qualifiers
=no
13881 rm -f core conftest.err conftest.
$ac_objext \
13882 conftest
$ac_exeext conftest.
$ac_ext
13883 CFLAGS
=$ac_wine_try_cflags_saved
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13886 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13887 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13888 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13891 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13892 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13893 $as_echo_n "(cached) " >&6
13895 ac_wine_try_cflags_saved
=$CFLAGS
13896 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13899 int main(int argc, char **argv) { return 0; }
13901 if ac_fn_c_try_link
"$LINENO"; then :
13902 ac_cv_cflags__Wstrict_prototypes
=yes
13904 ac_cv_cflags__Wstrict_prototypes
=no
13906 rm -f core conftest.err conftest.
$ac_objext \
13907 conftest
$ac_exeext conftest.
$ac_ext
13908 CFLAGS
=$ac_wine_try_cflags_saved
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13911 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13912 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13913 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13916 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13917 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13918 $as_echo_n "(cached) " >&6
13920 ac_wine_try_cflags_saved
=$CFLAGS
13921 CFLAGS
="$CFLAGS -Wtype-limits"
13922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13923 /* end confdefs.h. */
13924 int main(int argc, char **argv) { return 0; }
13926 if ac_fn_c_try_link
"$LINENO"; then :
13927 ac_cv_cflags__Wtype_limits
=yes
13929 ac_cv_cflags__Wtype_limits
=no
13931 rm -f core conftest.err conftest.
$ac_objext \
13932 conftest
$ac_exeext conftest.
$ac_ext
13933 CFLAGS
=$ac_wine_try_cflags_saved
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13936 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13937 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13938 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13941 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13942 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13943 $as_echo_n "(cached) " >&6
13945 ac_wine_try_cflags_saved
=$CFLAGS
13946 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13948 /* end confdefs.h. */
13949 int main(int argc, char **argv) { return 0; }
13951 if ac_fn_c_try_link
"$LINENO"; then :
13952 ac_cv_cflags__Wunused_but_set_parameter
=yes
13954 ac_cv_cflags__Wunused_but_set_parameter
=no
13956 rm -f core conftest.err conftest.
$ac_objext \
13957 conftest
$ac_exeext conftest.
$ac_ext
13958 CFLAGS
=$ac_wine_try_cflags_saved
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13961 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13962 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13963 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13966 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13967 if ${ac_cv_cflags__Wvla+:} false
; then :
13968 $as_echo_n "(cached) " >&6
13970 ac_wine_try_cflags_saved
=$CFLAGS
13971 CFLAGS
="$CFLAGS -Wvla"
13972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13973 /* end confdefs.h. */
13974 int main(int argc, char **argv) { return 0; }
13976 if ac_fn_c_try_link
"$LINENO"; then :
13977 ac_cv_cflags__Wvla
=yes
13979 ac_cv_cflags__Wvla
=no
13981 rm -f core conftest.err conftest.
$ac_objext \
13982 conftest
$ac_exeext conftest.
$ac_ext
13983 CFLAGS
=$ac_wine_try_cflags_saved
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13986 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13987 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13988 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13991 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13992 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13993 $as_echo_n "(cached) " >&6
13995 ac_wine_try_cflags_saved
=$CFLAGS
13996 CFLAGS
="$CFLAGS -Wwrite-strings"
13997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13998 /* end confdefs.h. */
13999 int main(int argc, char **argv) { return 0; }
14001 if ac_fn_c_try_link
"$LINENO"; then :
14002 ac_cv_cflags__Wwrite_strings
=yes
14004 ac_cv_cflags__Wwrite_strings
=no
14006 rm -f core conftest.err conftest.
$ac_objext \
14007 conftest
$ac_exeext conftest.
$ac_ext
14008 CFLAGS
=$ac_wine_try_cflags_saved
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14011 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14012 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14013 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14017 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14018 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14019 $as_echo_n "(cached) " >&6
14021 ac_wine_try_cflags_saved
=$CFLAGS
14022 CFLAGS
="$CFLAGS -Wpointer-arith"
14023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14024 /* end confdefs.h. */
14025 int main(int argc, char **argv) { return 0; }
14027 if ac_fn_c_try_link
"$LINENO"; then :
14028 ac_cv_cflags__Wpointer_arith
=yes
14030 ac_cv_cflags__Wpointer_arith
=no
14032 rm -f core conftest.err conftest.
$ac_objext \
14033 conftest
$ac_exeext conftest.
$ac_ext
14034 CFLAGS
=$ac_wine_try_cflags_saved
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14037 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14038 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14039 saved_string_h_CFLAGS
=$CFLAGS
14040 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14042 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14043 if ${ac_cv_c_string_h_warnings+:} false
; then :
14044 $as_echo_n "(cached) " >&6
14046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h. */
14048 #include <string.h>
14057 if ac_fn_c_try_compile
"$LINENO"; then :
14058 ac_cv_c_string_h_warnings
=no
14060 ac_cv_c_string_h_warnings
=yes
14062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14065 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14066 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14067 CFLAGS
=$saved_string_h_CFLAGS
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14071 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14072 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14073 $as_echo_n "(cached) " >&6
14075 ac_wine_try_cflags_saved
=$CFLAGS
14076 CFLAGS
="$CFLAGS -Wlogical-op"
14077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14078 /* end confdefs.h. */
14079 int main(int argc, char **argv) { return 0; }
14081 if ac_fn_c_try_link
"$LINENO"; then :
14082 ac_cv_cflags__Wlogical_op
=yes
14084 ac_cv_cflags__Wlogical_op
=no
14086 rm -f core conftest.err conftest.
$ac_objext \
14087 conftest
$ac_exeext conftest.
$ac_ext
14088 CFLAGS
=$ac_wine_try_cflags_saved
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14091 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14092 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14093 saved_string_h_CFLAGS
=$CFLAGS
14094 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14096 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14097 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14098 $as_echo_n "(cached) " >&6
14100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14102 #include <string.h>
14103 char*f(const char *h,char n) {return strchr(h,n);}
14112 if ac_fn_c_try_compile
"$LINENO"; then :
14113 ac_cv_c_logicalop_noisy
=no
14115 ac_cv_c_logicalop_noisy
=yes
14117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14120 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14121 CFLAGS
=$saved_string_h_CFLAGS
14122 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14125 CFLAGS
=$saved_CFLAGS
14127 for ac_flag
in $CFLAGS; do
14129 -g) case $host_os in
14130 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14131 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14132 if ${ac_cv_cflags__gstabsp+:} false
; then :
14133 $as_echo_n "(cached) " >&6
14135 ac_wine_try_cflags_saved
=$CFLAGS
14136 CFLAGS
="$CFLAGS -gstabs+"
14137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14138 /* end confdefs.h. */
14139 int main(int argc, char **argv) { return 0; }
14141 if ac_fn_c_try_link
"$LINENO"; then :
14142 ac_cv_cflags__gstabsp
=yes
14144 ac_cv_cflags__gstabsp
=no
14146 rm -f core conftest.err conftest.
$ac_objext \
14147 conftest
$ac_exeext conftest.
$ac_ext
14148 CFLAGS
=$ac_wine_try_cflags_saved
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14151 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14152 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14153 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14155 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14156 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14157 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14158 $as_echo_n "(cached) " >&6
14160 ac_wine_try_cflags_saved
=$CFLAGS
14161 CFLAGS
="$CFLAGS -gdwarf-2"
14162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14163 /* end confdefs.h. */
14164 int main(int argc, char **argv) { return 0; }
14166 if ac_fn_c_try_link
"$LINENO"; then :
14167 ac_cv_cflags__gdwarf_2
=yes
14169 ac_cv_cflags__gdwarf_2
=no
14171 rm -f core conftest.err conftest.
$ac_objext \
14172 conftest
$ac_exeext conftest.
$ac_ext
14173 CFLAGS
=$ac_wine_try_cflags_saved
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14176 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14177 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14178 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14181 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14182 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14183 $as_echo_n "(cached) " >&6
14185 ac_wine_try_cflags_saved
=$CFLAGS
14186 CFLAGS
="$CFLAGS -gstrict-dwarf"
14187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14188 /* end confdefs.h. */
14189 int main(int argc, char **argv) { return 0; }
14191 if ac_fn_c_try_link
"$LINENO"; then :
14192 ac_cv_cflags__gstrict_dwarf
=yes
14194 ac_cv_cflags__gstrict_dwarf
=no
14196 rm -f core conftest.err conftest.
$ac_objext \
14197 conftest
$ac_exeext conftest.
$ac_ext
14198 CFLAGS
=$ac_wine_try_cflags_saved
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14201 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14202 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14203 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14210 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14211 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14212 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14213 $as_echo_n "(cached) " >&6
14215 ac_wine_try_cflags_saved
=$CFLAGS
14216 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14218 /* end confdefs.h. */
14219 int main(int argc, char **argv) { return 0; }
14221 if ac_fn_c_try_link
"$LINENO"; then :
14222 ac_cv_cflags__fno_omit_frame_pointer
=yes
14224 ac_cv_cflags__fno_omit_frame_pointer
=no
14226 rm -f core conftest.err conftest.
$ac_objext \
14227 conftest
$ac_exeext conftest.
$ac_ext
14228 CFLAGS
=$ac_wine_try_cflags_saved
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14231 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14232 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14233 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14238 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14239 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14240 if ${ac_cv_cflags__Wno_format+:} false
; then :
14241 $as_echo_n "(cached) " >&6
14243 ac_wine_try_cflags_saved
=$CFLAGS
14244 CFLAGS
="$CFLAGS -Wno-format"
14245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14246 /* end confdefs.h. */
14247 int main(int argc, char **argv) { return 0; }
14249 if ac_fn_c_try_link
"$LINENO"; then :
14250 ac_cv_cflags__Wno_format
=yes
14252 ac_cv_cflags__Wno_format
=no
14254 rm -f core conftest.err conftest.
$ac_objext \
14255 conftest
$ac_exeext conftest.
$ac_ext
14256 CFLAGS
=$ac_wine_try_cflags_saved
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14259 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14260 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14261 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14265 if test "x$enable_maintainer_mode" = "xyes"
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14268 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14269 if ${ac_cv_cflags__Werror+:} false
; then :
14270 $as_echo_n "(cached) " >&6
14272 ac_wine_try_cflags_saved
=$CFLAGS
14273 CFLAGS
="$CFLAGS -Werror"
14274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h. */
14276 int main(int argc, char **argv) { return 0; }
14278 if ac_fn_c_try_link
"$LINENO"; then :
14279 ac_cv_cflags__Werror
=yes
14281 ac_cv_cflags__Werror
=no
14283 rm -f core conftest.err conftest.
$ac_objext \
14284 conftest
$ac_exeext conftest.
$ac_ext
14285 CFLAGS
=$ac_wine_try_cflags_saved
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14288 $as_echo "$ac_cv_cflags__Werror" >&6; }
14289 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14290 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14294 saved_CFLAGS
="$CFLAGS"
14295 CFLAGS
="$CFLAGS -Werror"
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14297 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14298 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14299 $as_echo_n "(cached) " >&6
14301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14302 /* end confdefs.h. */
14303 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14312 if ac_fn_c_try_compile
"$LINENO"; then :
14313 ac_cv_have_ms_hook_prologue
="yes"
14315 ac_cv_have_ms_hook_prologue
="no"
14317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14320 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14321 CFLAGS
="$saved_CFLAGS"
14322 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14325 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14328 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14335 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14336 if ${ac_cv_c_fortify_enabled+:} false
; then :
14337 $as_echo_n "(cached) " >&6
14339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14340 /* end confdefs.h. */
14341 #include <string.h>
14345 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14346 #error Fortify enabled
14352 if ac_fn_c_try_compile
"$LINENO"; then :
14353 ac_cv_c_fortify_enabled
=no
14355 ac_cv_c_fortify_enabled
=yes
14357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14360 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14361 if test "$ac_cv_c_fortify_enabled" = yes
14363 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14368 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14369 if ${ac_cv_c_extern_prefix+:} false
; then :
14370 $as_echo_n "(cached) " >&6
14372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14373 /* end confdefs.h. */
14374 extern int ac_test;
14378 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14383 if ac_fn_c_try_link
"$LINENO"; then :
14384 ac_cv_c_extern_prefix
="yes"
14386 ac_cv_c_extern_prefix
="no"
14388 rm -f core conftest.err conftest.
$ac_objext \
14389 conftest
$ac_exeext conftest.
$ac_ext
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14392 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14397 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14398 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14399 $as_echo_n "(cached) " >&6
14401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14402 /* end confdefs.h. */
14404 #define __stdcall __attribute__((__stdcall__))
14406 int __stdcall ac_test(int i) { return i; }
14410 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14415 if ac_fn_c_try_link
"$LINENO"; then :
14416 ac_cv_c_stdcall_suffix
="yes"
14418 ac_cv_c_stdcall_suffix
="no"
14420 rm -f core conftest.err conftest.
$ac_objext \
14421 conftest
$ac_exeext conftest.
$ac_ext
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14424 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14425 *) ac_cv_c_stdcall_suffix
="no" ;;
14429 if test "$ac_cv_c_extern_prefix" = "yes"
14431 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14433 asm_name_prefix
="_"
14435 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14441 if test "$ac_cv_c_stdcall_suffix" = "yes"
14443 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14446 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14452 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14453 if ${ac_cv_asm_func_def+:} false
; then :
14454 $as_echo_n "(cached) " >&6
14456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14457 /* end confdefs.h. */
14462 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14467 if ac_fn_c_try_link
"$LINENO"; then :
14468 ac_cv_asm_func_def
=".def"
14470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14471 /* end confdefs.h. */
14476 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14481 if ac_fn_c_try_link
"$LINENO"; then :
14482 ac_cv_asm_func_def
=".type @function"
14484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14485 /* end confdefs.h. */
14490 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14495 if ac_fn_c_try_link
"$LINENO"; then :
14496 ac_cv_asm_func_def
=".type 2"
14498 ac_cv_asm_func_def
="unknown"
14500 rm -f core conftest.err conftest.
$ac_objext \
14501 conftest
$ac_exeext conftest.
$ac_ext
14503 rm -f core conftest.err conftest.
$ac_objext \
14504 conftest
$ac_exeext conftest.
$ac_ext
14506 rm -f core conftest.err conftest.
$ac_objext \
14507 conftest
$ac_exeext conftest.
$ac_ext
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14510 $as_echo "$ac_cv_asm_func_def" >&6; }
14513 case "$ac_cv_asm_func_def" in
14515 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14517 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14519 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14521 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14523 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14525 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14527 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14529 asm_func_header
="" ;;
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14533 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14534 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14535 $as_echo_n "(cached) " >&6
14537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14538 /* end confdefs.h. */
14539 asm(".text\n\t.long 0");
14548 if ac_fn_c_try_compile
"$LINENO"; then :
14549 ac_cv_c_asm_outside_funcs
="yes"
14551 ac_cv_c_asm_outside_funcs
="no"
14553 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14556 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14559 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14560 if ${ac_cv_c_dot_previous+:} false
; then :
14561 $as_echo_n "(cached) " >&6
14563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14569 asm(".text\nac_test:\t.long 0\n\t.previous");
14574 if ac_fn_c_try_link
"$LINENO"; then :
14575 ac_cv_c_dot_previous
="yes"
14577 ac_cv_c_dot_previous
="no"
14579 rm -f core conftest.err conftest.
$ac_objext \
14580 conftest
$ac_exeext conftest.
$ac_ext
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14583 $as_echo "$ac_cv_c_dot_previous" >&6; }
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14586 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14587 if ${ac_cv_c_cfi_support+:} false
; then :
14588 $as_echo_n "(cached) " >&6
14590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14591 /* end confdefs.h. */
14592 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14601 if ac_fn_c_try_compile
"$LINENO"; then :
14602 ac_cv_c_cfi_support
="yes"
14604 ac_cv_c_cfi_support
="no"
14606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14609 $as_echo "$ac_cv_c_cfi_support" >&6; }
14611 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14612 asm_func_trailer
=""
14613 if test "$ac_cv_c_dot_previous" = "yes"
14615 asm_func_trailer
="\\n\\t.previous"
14617 if test "$ac_cv_c_cfi_support" = "yes"
14619 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14620 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14622 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14624 UNWINDFLAGS
=-fasynchronous-unwind-tables
14627 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14631 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14634 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14636 cat >>confdefs.h
<<_ACEOF
14637 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14641 cat >>confdefs.h
<<_ACEOF
14642 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14647 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14650 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14655 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14662 *i
[3456789]86*|x86_64
*)
14663 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14664 loader_programs
="$loader_programs $wine_binary-preloader"
14665 as_fn_append LOADER_RULES
"
14666 $wine_binary-preloader: preloader.o
14667 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14669 install install-lib:: $wine_binary-preloader
14670 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14673 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14675 preloader_EXTRADEFS = $BUILTINFLAG
14680 as_fn_append LOADER_RULES
"
14681 PROGRAMS = $loader_programs
14685 ac_save_CFLAGS
="$CFLAGS"
14686 CFLAGS
="$CFLAGS $BUILTINFLAG"
14765 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14766 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14767 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14768 cat >>confdefs.h
<<_ACEOF
14769 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14775 CFLAGS
="$ac_save_CFLAGS"
14777 if test "$ac_cv_func_dlopen" = no
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14780 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14781 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14782 $as_echo_n "(cached) " >&6
14784 ac_check_lib_save_LIBS
=$LIBS
14786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14787 /* end confdefs.h. */
14789 /* Override any GCC internal prototype to avoid an error.
14790 Use char because int might match the return type of a GCC
14791 builtin and then its argument prototype would still apply. */
14804 if ac_fn_c_try_link
"$LINENO"; then :
14805 ac_cv_lib_dl_dlopen
=yes
14807 ac_cv_lib_dl_dlopen
=no
14809 rm -f core conftest.err conftest.
$ac_objext \
14810 conftest
$ac_exeext conftest.
$ac_ext
14811 LIBS
=$ac_check_lib_save_LIBS
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14814 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14815 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14816 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14822 ac_wine_check_funcs_save_LIBS
="$LIBS"
14823 LIBS
="$LIBS $DL_LIBS"
14824 for ac_func
in dladdr
14826 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14827 if test "x$ac_cv_func_dladdr" = xyes
; then :
14828 cat >>confdefs.h
<<_ACEOF
14829 #define HAVE_DLADDR 1
14835 LIBS
="$ac_wine_check_funcs_save_LIBS"
14837 if test "$ac_cv_func_poll" = no
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14840 $as_echo_n "checking for poll in -lpoll... " >&6; }
14841 if ${ac_cv_lib_poll_poll+:} false
; then :
14842 $as_echo_n "(cached) " >&6
14844 ac_check_lib_save_LIBS
=$LIBS
14845 LIBS
="-lpoll $LIBS"
14846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14849 /* Override any GCC internal prototype to avoid an error.
14850 Use char because int might match the return type of a GCC
14851 builtin and then its argument prototype would still apply. */
14864 if ac_fn_c_try_link
"$LINENO"; then :
14865 ac_cv_lib_poll_poll
=yes
14867 ac_cv_lib_poll_poll
=no
14869 rm -f core conftest.err conftest.
$ac_objext \
14870 conftest
$ac_exeext conftest.
$ac_ext
14871 LIBS
=$ac_check_lib_save_LIBS
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14874 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14875 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14876 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14884 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14885 if ${ac_cv_search_gethostbyname+:} false
; then :
14886 $as_echo_n "(cached) " >&6
14888 ac_func_search_save_LIBS
=$LIBS
14889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14890 /* end confdefs.h. */
14892 /* Override any GCC internal prototype to avoid an error.
14893 Use char because int might match the return type of a GCC
14894 builtin and then its argument prototype would still apply. */
14898 char gethostbyname ();
14902 return gethostbyname ();
14907 for ac_lib
in '' nsl
; do
14908 if test -z "$ac_lib"; then
14909 ac_res
="none required"
14912 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14914 if ac_fn_c_try_link
"$LINENO"; then :
14915 ac_cv_search_gethostbyname
=$ac_res
14917 rm -f core conftest.err conftest.
$ac_objext \
14919 if ${ac_cv_search_gethostbyname+:} false
; then :
14923 if ${ac_cv_search_gethostbyname+:} false
; then :
14926 ac_cv_search_gethostbyname
=no
14928 rm conftest.
$ac_ext
14929 LIBS
=$ac_func_search_save_LIBS
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14932 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14933 ac_res
=$ac_cv_search_gethostbyname
14934 if test "$ac_res" != no
; then :
14935 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14941 $as_echo_n "checking for library containing connect... " >&6; }
14942 if ${ac_cv_search_connect+:} false
; then :
14943 $as_echo_n "(cached) " >&6
14945 ac_func_search_save_LIBS
=$LIBS
14946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14947 /* end confdefs.h. */
14949 /* Override any GCC internal prototype to avoid an error.
14950 Use char because int might match the return type of a GCC
14951 builtin and then its argument prototype would still apply. */
14964 for ac_lib
in '' socket
; do
14965 if test -z "$ac_lib"; then
14966 ac_res
="none required"
14969 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14971 if ac_fn_c_try_link
"$LINENO"; then :
14972 ac_cv_search_connect
=$ac_res
14974 rm -f core conftest.err conftest.
$ac_objext \
14976 if ${ac_cv_search_connect+:} false
; then :
14980 if ${ac_cv_search_connect+:} false
; then :
14983 ac_cv_search_connect
=no
14985 rm conftest.
$ac_ext
14986 LIBS
=$ac_func_search_save_LIBS
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14989 $as_echo "$ac_cv_search_connect" >&6; }
14990 ac_res
=$ac_cv_search_connect
14991 if test "$ac_res" != no
; then :
14992 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14998 $as_echo_n "checking for library containing inet_aton... " >&6; }
14999 if ${ac_cv_search_inet_aton+:} false
; then :
15000 $as_echo_n "(cached) " >&6
15002 ac_func_search_save_LIBS
=$LIBS
15003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15004 /* end confdefs.h. */
15006 /* Override any GCC internal prototype to avoid an error.
15007 Use char because int might match the return type of a GCC
15008 builtin and then its argument prototype would still apply. */
15016 return inet_aton ();
15021 for ac_lib
in '' resolv
; do
15022 if test -z "$ac_lib"; then
15023 ac_res
="none required"
15026 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15028 if ac_fn_c_try_link
"$LINENO"; then :
15029 ac_cv_search_inet_aton
=$ac_res
15031 rm -f core conftest.err conftest.
$ac_objext \
15033 if ${ac_cv_search_inet_aton+:} false
; then :
15037 if ${ac_cv_search_inet_aton+:} false
; then :
15040 ac_cv_search_inet_aton
=no
15042 rm conftest.
$ac_ext
15043 LIBS
=$ac_func_search_save_LIBS
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15046 $as_echo "$ac_cv_search_inet_aton" >&6; }
15047 ac_res
=$ac_cv_search_inet_aton
15048 if test "$ac_res" != no
; then :
15049 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15069 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15070 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15071 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15072 cat >>confdefs.h
<<_ACEOF
15073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15082 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15083 if ${ac_cv_search_clock_gettime+:} false
; then :
15084 $as_echo_n "(cached) " >&6
15086 ac_func_search_save_LIBS
=$LIBS
15087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15088 /* end confdefs.h. */
15090 /* Override any GCC internal prototype to avoid an error.
15091 Use char because int might match the return type of a GCC
15092 builtin and then its argument prototype would still apply. */
15096 char clock_gettime ();
15100 return clock_gettime ();
15105 for ac_lib
in '' rt
; do
15106 if test -z "$ac_lib"; then
15107 ac_res
="none required"
15110 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15112 if ac_fn_c_try_link
"$LINENO"; then :
15113 ac_cv_search_clock_gettime
=$ac_res
15115 rm -f core conftest.err conftest.
$ac_objext \
15117 if ${ac_cv_search_clock_gettime+:} false
; then :
15121 if ${ac_cv_search_clock_gettime+:} false
; then :
15124 ac_cv_search_clock_gettime
=no
15126 rm conftest.
$ac_ext
15127 LIBS
=$ac_func_search_save_LIBS
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15130 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15131 ac_res
=$ac_cv_search_clock_gettime
15132 if test "$ac_res" != no
; then :
15133 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15135 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15137 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15145 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15147 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15149 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15151 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15152 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15153 $as_echo_n "(cached) " >&6
15155 ac_check_lib_save_LIBS
=$LIBS
15156 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15158 /* end confdefs.h. */
15160 /* Override any GCC internal prototype to avoid an error.
15161 Use char because int might match the return type of a GCC
15162 builtin and then its argument prototype would still apply. */
15166 char ldap_initialize ();
15170 return ldap_initialize ();
15175 if ac_fn_c_try_link
"$LINENO"; then :
15176 ac_cv_lib_ldap_r_ldap_initialize
=yes
15178 ac_cv_lib_ldap_r_ldap_initialize
=no
15180 rm -f core conftest.err conftest.
$ac_objext \
15181 conftest
$ac_exeext conftest.
$ac_ext
15182 LIBS
=$ac_check_lib_save_LIBS
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15185 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15186 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15188 $as_echo_n "checking for ber_init in -llber... " >&6; }
15189 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15190 $as_echo_n "(cached) " >&6
15192 ac_check_lib_save_LIBS
=$LIBS
15193 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15195 /* end confdefs.h. */
15197 /* Override any GCC internal prototype to avoid an error.
15198 Use char because int might match the return type of a GCC
15199 builtin and then its argument prototype would still apply. */
15207 return ber_init ();
15212 if ac_fn_c_try_link
"$LINENO"; then :
15213 ac_cv_lib_lber_ber_init
=yes
15215 ac_cv_lib_lber_ber_init
=no
15217 rm -f core conftest.err conftest.
$ac_objext \
15218 conftest
$ac_exeext conftest.
$ac_ext
15219 LIBS
=$ac_check_lib_save_LIBS
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15222 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15223 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15225 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15227 LDAP_LIBS
="-lldap_r -llber"
15234 ac_wine_check_funcs_save_LIBS
="$LIBS"
15235 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15237 ldap_count_references \
15238 ldap_first_reference \
15239 ldap_next_reference \
15240 ldap_parse_reference \
15241 ldap_parse_sort_control \
15242 ldap_parse_sortresponse_control \
15243 ldap_parse_vlv_control \
15244 ldap_parse_vlvresponse_control
15246 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15247 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15248 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15249 cat >>confdefs.h
<<_ACEOF
15250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15256 LIBS
="$ac_wine_check_funcs_save_LIBS"
15258 if test "x$LDAP_LIBS" = "x"; then :
15259 case "x$with_ldap" in
15260 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15262 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15263 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15268 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15269 if ${wine_cv_one_arg_mkdir+:} false
; then :
15270 $as_echo_n "(cached) " >&6
15272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15273 /* end confdefs.h. */
15274 #include <sys/stat.h>
15283 if ac_fn_c_try_compile
"$LINENO"; then :
15284 wine_cv_one_arg_mkdir
=yes
15286 wine_cv_one_arg_mkdir
=no
15288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15291 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15292 if test "$wine_cv_one_arg_mkdir" = "yes"
15295 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15300 $as_echo_n "checking for sched_setaffinity... " >&6; }
15301 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15302 $as_echo_n "(cached) " >&6
15304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15306 #define _GNU_SOURCE
15311 sched_setaffinity(0, 0, 0);
15316 if ac_fn_c_try_link
"$LINENO"; then :
15317 wine_cv_have_sched_setaffinity
=yes
15319 wine_cv_have_sched_setaffinity
=no
15321 rm -f core conftest.err conftest.
$ac_objext \
15322 conftest
$ac_exeext conftest.
$ac_ext
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15325 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15326 if test "$wine_cv_have_sched_setaffinity" = "yes"
15329 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15334 $as_echo_n "checking for fallocate... " >&6; }
15335 if ${wine_cv_have_fallocate+:} false
; then :
15336 $as_echo_n "(cached) " >&6
15338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15339 /* end confdefs.h. */
15340 #define _GNU_SOURCE
15345 fallocate(-1, 0, 0, 0);
15350 if ac_fn_c_try_link
"$LINENO"; then :
15351 wine_cv_have_fallocate
=yes
15353 wine_cv_have_fallocate
=no
15355 rm -f core conftest.err conftest.
$ac_objext \
15356 conftest
$ac_exeext conftest.
$ac_ext
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15359 $as_echo "$wine_cv_have_fallocate" >&6; }
15360 if test "$wine_cv_have_fallocate" = "yes"
15363 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15369 $as_echo_n "checking for inline... " >&6; }
15370 if ${ac_cv_c_inline+:} false
; then :
15371 $as_echo_n "(cached) " >&6
15374 for ac_kw
in inline __inline__ __inline
; do
15375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15376 /* end confdefs.h. */
15377 #ifndef __cplusplus
15379 static $ac_kw foo_t static_foo () {return 0; }
15380 $ac_kw foo_t foo () {return 0; }
15384 if ac_fn_c_try_compile
"$LINENO"; then :
15385 ac_cv_c_inline
=$ac_kw
15387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15388 test "$ac_cv_c_inline" != no
&& break
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15393 $as_echo "$ac_cv_c_inline" >&6; }
15395 case $ac_cv_c_inline in
15398 case $ac_cv_c_inline in
15400 *) ac_val
=$ac_cv_c_inline;;
15402 cat >>confdefs.h
<<_ACEOF
15403 #ifndef __cplusplus
15404 #define inline $ac_val
15410 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15411 if test "x$ac_cv_type_mode_t" = xyes
; then :
15413 cat >>confdefs.h
<<_ACEOF
15414 #define HAVE_MODE_T 1
15419 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15420 if test "x$ac_cv_type_off_t" = xyes
; then :
15422 cat >>confdefs.h
<<_ACEOF
15423 #define HAVE_OFF_T 1
15428 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15429 if test "x$ac_cv_type_pid_t" = xyes
; then :
15431 cat >>confdefs.h
<<_ACEOF
15432 #define HAVE_PID_T 1
15437 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15438 if test "x$ac_cv_type_size_t" = xyes
; then :
15440 cat >>confdefs.h
<<_ACEOF
15441 #define HAVE_SIZE_T 1
15446 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15447 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15449 cat >>confdefs.h
<<_ACEOF
15450 #define HAVE_SSIZE_T 1
15455 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15456 if test "x$ac_cv_type_long_long" = xyes
; then :
15458 cat >>confdefs.h
<<_ACEOF
15459 #define HAVE_LONG_LONG 1
15464 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15465 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15467 cat >>confdefs.h
<<_ACEOF
15468 #define HAVE_FSBLKCNT_T 1
15473 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15474 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15476 cat >>confdefs.h
<<_ACEOF
15477 #define HAVE_FSFILCNT_T 1
15483 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15484 #include <signal.h>
15486 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15488 cat >>confdefs.h
<<_ACEOF
15489 #define HAVE_SIGSET_T 1
15495 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15497 if test "x$ac_cv_type_request_sense" = xyes
; then :
15499 cat >>confdefs.h
<<_ACEOF
15500 #define HAVE_REQUEST_SENSE 1
15507 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15508 #ifdef HAVE_SYS_SOCKET_H
15509 #include <sys/socket.h>
15511 #ifdef HAVE_SYS_SOCKETVAR_H
15512 #include <sys/socketvar.h>
15514 #ifdef HAVE_NET_ROUTE_H
15515 #include <net/route.h>
15517 #ifdef HAVE_NETINET_IN_H
15518 #include <netinet/in.h>
15520 #ifdef HAVE_NETINET_IN_SYSTM_H
15521 #include <netinet/in_systm.h>
15523 #ifdef HAVE_NETINET_IP_H
15524 #include <netinet/ip.h>
15526 #ifdef HAVE_NETINET_IN_PCB_H
15527 #include <netinet/in_pcb.h>
15530 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15532 cat >>confdefs.h
<<_ACEOF
15533 #define HAVE_STRUCT_XINPGEN 1
15540 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15543 #ifdef HAVE_SYS_LINK_H
15544 #include <sys/link.h>
15547 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15549 cat >>confdefs.h
<<_ACEOF
15550 #define HAVE_STRUCT_R_DEBUG 1
15555 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15558 #ifdef HAVE_SYS_LINK_H
15559 #include <sys/link.h>
15562 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15564 cat >>confdefs.h
<<_ACEOF
15565 #define HAVE_STRUCT_LINK_MAP 1
15572 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15573 #include <linux/input.h>
15576 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15578 cat >>confdefs.h
<<_ACEOF
15579 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15587 $as_echo_n "checking for sigaddset... " >&6; }
15588 if ${wine_cv_have_sigaddset+:} false
; then :
15589 $as_echo_n "(cached) " >&6
15591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15592 /* end confdefs.h. */
15593 #include <signal.h>
15597 sigset_t set; sigaddset(&set,SIGTERM);
15602 if ac_fn_c_try_link
"$LINENO"; then :
15603 wine_cv_have_sigaddset
=yes
15605 wine_cv_have_sigaddset
=no
15607 rm -f core conftest.err conftest.
$ac_objext \
15608 conftest
$ac_exeext conftest.
$ac_ext
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15611 $as_echo "$wine_cv_have_sigaddset" >&6; }
15612 if test "$wine_cv_have_sigaddset" = "yes"
15615 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15621 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15622 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15623 $as_echo_n "(cached) " >&6
15625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15626 /* end confdefs.h. */
15634 struct hostent *result;
15641 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15642 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15648 if ac_fn_c_try_link
"$LINENO"; then :
15649 wine_cv_linux_gethostbyname_r_6
=yes
15651 wine_cv_linux_gethostbyname_r_6
=no
15654 rm -f core conftest.err conftest.
$ac_objext \
15655 conftest
$ac_exeext conftest.
$ac_ext
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15659 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15660 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15663 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15667 if test "$ac_cv_header_linux_joystick_h" = "yes"
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15670 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15671 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15672 $as_echo_n "(cached) " >&6
15674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15675 /* end confdefs.h. */
15677 #include <sys/ioctl.h>
15678 #include <sys/types.h>
15679 #include <linux/joystick.h>
15681 struct js_event blub;
15682 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15683 #error "no 2.2 header"
15694 if ac_fn_c_try_compile
"$LINENO"; then :
15695 wine_cv_linux_joystick_22_api
=yes
15697 wine_cv_linux_joystick_22_api
=no
15699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15703 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15704 if test "$wine_cv_linux_joystick_22_api" = "yes"
15707 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15713 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15714 #ifdef HAVE_SYS_PARAM_H
15715 # include <sys/param.h>
15717 #ifdef HAVE_SYS_MOUNT_H
15718 # include <sys/mount.h>
15720 #ifdef HAVE_SYS_VFS_H
15721 # include <sys/vfs.h>
15723 #ifdef HAVE_SYS_STATFS_H
15724 # include <sys/statfs.h>
15727 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15729 cat >>confdefs.h
<<_ACEOF
15730 #define HAVE_STRUCT_STATFS_F_BFREE 1
15735 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15736 #ifdef HAVE_SYS_PARAM_H
15737 # include <sys/param.h>
15739 #ifdef HAVE_SYS_MOUNT_H
15740 # include <sys/mount.h>
15742 #ifdef HAVE_SYS_VFS_H
15743 # include <sys/vfs.h>
15745 #ifdef HAVE_SYS_STATFS_H
15746 # include <sys/statfs.h>
15749 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15751 cat >>confdefs.h
<<_ACEOF
15752 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15757 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15758 #ifdef HAVE_SYS_PARAM_H
15759 # include <sys/param.h>
15761 #ifdef HAVE_SYS_MOUNT_H
15762 # include <sys/mount.h>
15764 #ifdef HAVE_SYS_VFS_H
15765 # include <sys/vfs.h>
15767 #ifdef HAVE_SYS_STATFS_H
15768 # include <sys/statfs.h>
15771 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15773 cat >>confdefs.h
<<_ACEOF
15774 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15779 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15780 #ifdef HAVE_SYS_PARAM_H
15781 # include <sys/param.h>
15783 #ifdef HAVE_SYS_MOUNT_H
15784 # include <sys/mount.h>
15786 #ifdef HAVE_SYS_VFS_H
15787 # include <sys/vfs.h>
15789 #ifdef HAVE_SYS_STATFS_H
15790 # include <sys/statfs.h>
15793 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15795 cat >>confdefs.h
<<_ACEOF
15796 #define HAVE_STRUCT_STATFS_F_FFREE 1
15801 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15802 #ifdef HAVE_SYS_PARAM_H
15803 # include <sys/param.h>
15805 #ifdef HAVE_SYS_MOUNT_H
15806 # include <sys/mount.h>
15808 #ifdef HAVE_SYS_VFS_H
15809 # include <sys/vfs.h>
15811 #ifdef HAVE_SYS_STATFS_H
15812 # include <sys/statfs.h>
15815 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15817 cat >>confdefs.h
<<_ACEOF
15818 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15823 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15824 #ifdef HAVE_SYS_PARAM_H
15825 # include <sys/param.h>
15827 #ifdef HAVE_SYS_MOUNT_H
15828 # include <sys/mount.h>
15830 #ifdef HAVE_SYS_VFS_H
15831 # include <sys/vfs.h>
15833 #ifdef HAVE_SYS_STATFS_H
15834 # include <sys/statfs.h>
15837 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15839 cat >>confdefs.h
<<_ACEOF
15840 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15847 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15848 #include <sys/statvfs.h>
15851 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15853 cat >>confdefs.h
<<_ACEOF
15854 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15861 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15862 #include <dirent.h>
15865 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15867 cat >>confdefs.h
<<_ACEOF
15868 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15875 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15876 #ifdef HAVE_SYS_SOCKET_H
15877 # include <sys/socket.h>
15879 #ifdef HAVE_SYS_UN_H
15880 # include <sys/un.h>
15883 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15885 cat >>confdefs.h
<<_ACEOF
15886 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15891 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15892 #ifdef HAVE_SYS_SOCKET_H
15893 # include <sys/socket.h>
15895 #ifdef HAVE_SYS_UN_H
15896 # include <sys/un.h>
15899 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15901 cat >>confdefs.h
<<_ACEOF
15902 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15907 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15908 #ifdef HAVE_SYS_SOCKET_H
15909 # include <sys/socket.h>
15911 #ifdef HAVE_SYS_UN_H
15912 # include <sys/un.h>
15915 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15917 cat >>confdefs.h
<<_ACEOF
15918 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15925 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15926 #ifdef HAVE_SCSI_SG_H
15927 #include <scsi/sg.h>
15930 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15932 cat >>confdefs.h
<<_ACEOF
15933 #define HAVE_SCSIREQ_T_CMD 1
15938 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>
15939 #ifdef HAVE_SCSI_SG_H
15940 #include <scsi/sg.h>
15943 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15945 cat >>confdefs.h
<<_ACEOF
15946 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15953 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15955 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15957 cat >>confdefs.h
<<_ACEOF
15958 #define HAVE_SIGINFO_T_SI_FD 1
15965 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15966 #ifdef HAVE_SYS_MTIO_H
15967 #include <sys/mtio.h>
15970 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15972 cat >>confdefs.h
<<_ACEOF
15973 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15978 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15979 #ifdef HAVE_SYS_MTIO_H
15980 #include <sys/mtio.h>
15983 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15985 cat >>confdefs.h
<<_ACEOF
15986 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15991 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15992 #ifdef HAVE_SYS_MTIO_H
15993 #include <sys/mtio.h>
15996 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15998 cat >>confdefs.h
<<_ACEOF
15999 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16006 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16007 #include <getopt.h>
16010 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16012 cat >>confdefs.h
<<_ACEOF
16013 #define HAVE_STRUCT_OPTION_NAME 1
16020 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16021 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16023 cat >>confdefs.h
<<_ACEOF
16024 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16029 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16030 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16032 cat >>confdefs.h
<<_ACEOF
16033 #define HAVE_STRUCT_STAT_ST_MTIM 1
16038 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16039 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16041 cat >>confdefs.h
<<_ACEOF
16042 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16047 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16048 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16050 cat >>confdefs.h
<<_ACEOF
16051 #define HAVE_STRUCT_STAT_ST_CTIM 1
16056 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16057 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16059 cat >>confdefs.h
<<_ACEOF
16060 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16065 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16066 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16068 cat >>confdefs.h
<<_ACEOF
16069 #define HAVE_STRUCT_STAT_ST_ATIM 1
16074 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16075 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16077 cat >>confdefs.h
<<_ACEOF
16078 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16083 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16084 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16086 cat >>confdefs.h
<<_ACEOF
16087 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16092 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16093 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16095 cat >>confdefs.h
<<_ACEOF
16096 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16101 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16102 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16104 cat >>confdefs.h
<<_ACEOF
16105 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16110 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16111 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16113 cat >>confdefs.h
<<_ACEOF
16114 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16119 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16120 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16122 cat >>confdefs.h
<<_ACEOF
16123 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16130 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
16131 #include <sys/types.h>
16133 #ifdef HAVE_NETINET_IN_H
16134 #include <netinet/in.h>
16137 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16139 cat >>confdefs.h
<<_ACEOF
16140 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16147 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16148 #include <resolv.h>
16151 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16153 cat >>confdefs.h
<<_ACEOF
16154 #define HAVE_STRUCT___RES_STATE 1
16161 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
16162 #include <resolv.h>
16165 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16167 cat >>confdefs.h
<<_ACEOF
16168 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16175 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16176 #include <sys/types.h>
16178 #ifdef HAVE_NETINET_IN_H
16179 # include <netinet/in.h>
16181 #ifdef HAVE_ARPA_NAMESER_H
16182 # include <arpa/nameser.h>
16185 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16187 cat >>confdefs.h
<<_ACEOF
16188 #define HAVE_NS_MSG__MSG_PTR 1
16195 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16196 #include <sys/types.h>
16198 #ifdef HAVE_NETINET_IP_H
16199 #include <netinet/ip.h>
16201 #ifdef HAVE_NETINET_IP_ICMP_H
16202 #include <netinet/ip_icmp.h>
16204 #ifdef HAVE_NETINET_ICMP_VAR_H
16205 #include <netinet/icmp_var.h>
16208 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16210 cat >>confdefs.h
<<_ACEOF
16211 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16218 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16219 #include <sys/types.h>
16221 #ifdef HAVE_ALIAS_H
16224 #ifdef HAVE_SYS_SOCKET_H
16225 #include <sys/socket.h>
16227 #ifdef HAVE_SYS_SOCKETVAR_H
16228 #include <sys/socketvar.h>
16230 #ifdef HAVE_SYS_TIMEOUT_H
16231 #include <sys/timeout.h>
16233 #ifdef HAVE_NETINET_IN_H
16234 #include <netinet/in.h>
16236 #ifdef HAVE_NETINET_IN_SYSTM_H
16237 #include <netinet/in_systm.h>
16239 #ifdef HAVE_NETINET_IP_H
16240 #include <netinet/ip.h>
16242 #ifdef HAVE_NETINET_IP_VAR_H
16243 #include <netinet/ip_var.h>
16245 #ifdef HAVE_NETINET_IP_ICMP_H
16246 #include <netinet/ip_icmp.h>
16248 #ifdef HAVE_NETINET_ICMP_VAR_H
16249 #include <netinet/icmp_var.h>
16252 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16254 cat >>confdefs.h
<<_ACEOF
16255 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16262 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16263 #include <sys/types.h>
16265 #ifdef HAVE_SYS_SOCKETVAR_H
16266 #include <sys/socketvar.h>
16268 #ifdef HAVE_NETINET_IN_H
16269 #include <netinet/in.h>
16271 #ifdef HAVE_NETINET_IP_VAR_H
16272 #include <netinet/ip_var.h>
16275 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16277 cat >>confdefs.h
<<_ACEOF
16278 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16285 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
16286 #include <netinet/ip_var.h>
16289 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16291 cat >>confdefs.h
<<_ACEOF
16292 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16299 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16300 #include <sys/types.h>
16302 #ifdef HAVE_SYS_SOCKETVAR_H
16303 #include <sys/socketvar.h>
16305 #ifdef HAVE_NETINET_IN_H
16306 #include <netinet/in.h>
16308 #ifdef HAVE_NETINET_TCP_H
16309 #include <netinet/tcp.h>
16311 #ifdef HAVE_NETINET_TCP_VAR_H
16312 #include <netinet/tcp_var.h>
16315 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16317 cat >>confdefs.h
<<_ACEOF
16318 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16325 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
16326 #include <netinet/tcp_var.h>
16329 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16331 cat >>confdefs.h
<<_ACEOF
16332 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16339 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16340 #include <sys/types.h>
16342 #ifdef HAVE_NETINET_IN_H
16343 #include <netinet/in.h>
16345 #ifdef HAVE_NETINET_IP_VAR_H
16346 #include <netinet/ip_var.h>
16348 #ifdef HAVE_NETINET_UDP_H
16349 #include <netinet/udp.h>
16351 #ifdef HAVE_NETINET_UDP_VAR_H
16352 #include <netinet/udp_var.h>
16355 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16357 cat >>confdefs.h
<<_ACEOF
16358 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16365 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16366 #include <sys/types.h>
16368 #ifdef HAVE_NET_IF_H
16369 # include <net/if.h>
16372 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16374 cat >>confdefs.h
<<_ACEOF
16375 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16383 $as_echo_n "checking for timezone variable... " >&6; }
16384 if ${ac_cv_have_timezone+:} false
; then :
16385 $as_echo_n "(cached) " >&6
16387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16388 /* end confdefs.h. */
16398 if ac_fn_c_try_link
"$LINENO"; then :
16399 ac_cv_have_timezone
="yes"
16401 ac_cv_have_timezone
="no"
16403 rm -f core conftest.err conftest.
$ac_objext \
16404 conftest
$ac_exeext conftest.
$ac_ext
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16407 $as_echo "$ac_cv_have_timezone" >&6; }
16408 if test "$ac_cv_have_timezone" = "yes"
16411 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16415 $as_echo_n "checking for daylight variable... " >&6; }
16416 if ${ac_cv_have_daylight+:} false
; then :
16417 $as_echo_n "(cached) " >&6
16419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16420 /* end confdefs.h. */
16430 if ac_fn_c_try_link
"$LINENO"; then :
16431 ac_cv_have_daylight
="yes"
16433 ac_cv_have_daylight
="no"
16435 rm -f core conftest.err conftest.
$ac_objext \
16436 conftest
$ac_exeext conftest.
$ac_ext
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16439 $as_echo "$ac_cv_have_daylight" >&6; }
16440 if test "$ac_cv_have_daylight" = "yes"
16443 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16447 ac_save_LIBS
="$LIBS"
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16450 $as_echo_n "checking for isfinite... " >&6; }
16451 if ${ac_cv_have_isfinite+:} false
; then :
16452 $as_echo_n "(cached) " >&6
16454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16455 /* end confdefs.h. */
16456 #define _GNU_SOURCE
16461 float f = 0.0; return isfinite(f)
16466 if ac_fn_c_try_link
"$LINENO"; then :
16467 ac_cv_have_isfinite
="yes"
16469 ac_cv_have_isfinite
="no"
16471 rm -f core conftest.err conftest.
$ac_objext \
16472 conftest
$ac_exeext conftest.
$ac_ext
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16475 $as_echo "$ac_cv_have_isfinite" >&6; }
16476 if test "$ac_cv_have_isfinite" = "yes"
16479 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16484 $as_echo_n "checking for isinf... " >&6; }
16485 if ${ac_cv_have_isinf+:} false
; then :
16486 $as_echo_n "(cached) " >&6
16488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16489 /* end confdefs.h. */
16494 float f = 0.0; return isinf(f)
16499 if ac_fn_c_try_link
"$LINENO"; then :
16500 ac_cv_have_isinf
="yes"
16502 ac_cv_have_isinf
="no"
16504 rm -f core conftest.err conftest.
$ac_objext \
16505 conftest
$ac_exeext conftest.
$ac_ext
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16508 $as_echo "$ac_cv_have_isinf" >&6; }
16509 if test "$ac_cv_have_isinf" = "yes"
16512 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16517 $as_echo_n "checking for isnan... " >&6; }
16518 if ${ac_cv_have_isnan+:} false
; then :
16519 $as_echo_n "(cached) " >&6
16521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16522 /* end confdefs.h. */
16527 float f = 0.0; return isnan(f)
16532 if ac_fn_c_try_link
"$LINENO"; then :
16533 ac_cv_have_isnan
="yes"
16535 ac_cv_have_isnan
="no"
16537 rm -f core conftest.err conftest.
$ac_objext \
16538 conftest
$ac_exeext conftest.
$ac_ext
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16541 $as_echo "$ac_cv_have_isnan" >&6; }
16542 if test "$ac_cv_have_isnan" = "yes"
16545 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16572 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16573 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16574 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16575 cat >>confdefs.h
<<_ACEOF
16576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16582 LIBS
="$ac_save_LIBS"
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16585 $as_echo_n "checking for __builtin_clz... " >&6; }
16586 if ${ac_cv_have___builtin_clz+:} false
; then :
16587 $as_echo_n "(cached) " >&6
16589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16590 /* end confdefs.h. */
16595 return __builtin_clz(1)
16600 if ac_fn_c_try_link
"$LINENO"; then :
16601 ac_cv_have___builtin_clz
="yes"
16603 ac_cv_have___builtin_clz
="no"
16605 rm -f core conftest.err conftest.
$ac_objext \
16606 conftest
$ac_exeext conftest.
$ac_ext
16608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16609 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16610 if test "$ac_cv_have___builtin_clz" = "yes"
16613 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16619 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16620 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16621 if ${ac_cv_cpp_def___i386__+:} false
; then :
16622 $as_echo_n "(cached) " >&6
16624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16625 /* end confdefs.h. */
16630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16631 $EGREP "yes" >/dev
/null
2>&1; then :
16632 ac_cv_cpp_def___i386__
=yes
16634 ac_cv_cpp_def___i386__
=no
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16640 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16641 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16642 CFLAGS
="$CFLAGS -D__i386__"
16643 LINTFLAGS
="$LINTFLAGS -D__i386__"
16645 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16646 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16647 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16648 $as_echo_n "(cached) " >&6
16650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16651 /* end confdefs.h. */
16656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16657 $EGREP "yes" >/dev
/null
2>&1; then :
16658 ac_cv_cpp_def___x86_64__
=yes
16660 ac_cv_cpp_def___x86_64__
=no
16665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16666 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16667 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16668 CFLAGS
="$CFLAGS -D__x86_64__"
16669 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16671 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16672 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16673 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16674 $as_echo_n "(cached) " >&6
16676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16677 /* end confdefs.h. */
16678 #ifndef __sparc64__
16682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16683 $EGREP "yes" >/dev
/null
2>&1; then :
16684 ac_cv_cpp_def___sparc64__
=yes
16686 ac_cv_cpp_def___sparc64__
=no
16691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16692 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16693 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16694 CFLAGS
="$CFLAGS -D__sparc64__"
16695 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16697 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16698 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16699 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16700 $as_echo_n "(cached) " >&6
16702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16703 /* end confdefs.h. */
16708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16709 $EGREP "yes" >/dev
/null
2>&1; then :
16710 ac_cv_cpp_def___sparc__
=yes
16712 ac_cv_cpp_def___sparc__
=no
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16718 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16719 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16720 CFLAGS
="$CFLAGS -D__sparc__"
16721 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16723 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16724 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16725 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16726 $as_echo_n "(cached) " >&6
16728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16729 /* end confdefs.h. */
16730 #ifndef __powerpc64__
16734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16735 $EGREP "yes" >/dev
/null
2>&1; then :
16736 ac_cv_cpp_def___powerpc64__
=yes
16738 ac_cv_cpp_def___powerpc64__
=no
16743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16744 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16745 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16746 CFLAGS
="$CFLAGS -D__powerpc64__"
16747 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16749 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16750 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16751 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16752 $as_echo_n "(cached) " >&6
16754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16755 /* end confdefs.h. */
16756 #ifndef __powerpc__
16760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16761 $EGREP "yes" >/dev
/null
2>&1; then :
16762 ac_cv_cpp_def___powerpc__
=yes
16764 ac_cv_cpp_def___powerpc__
=no
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16770 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16771 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16772 CFLAGS
="$CFLAGS -D__powerpc__"
16773 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16775 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16776 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16777 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16778 $as_echo_n "(cached) " >&6
16780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16781 /* end confdefs.h. */
16782 #ifndef __aarch64__
16786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16787 $EGREP "yes" >/dev
/null
2>&1; then :
16788 ac_cv_cpp_def___aarch64__
=yes
16790 ac_cv_cpp_def___aarch64__
=no
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16796 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16797 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16798 CFLAGS
="$CFLAGS -D__aarch64__"
16799 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16801 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16802 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16803 if ${ac_cv_cpp_def___arm__+:} false
; then :
16804 $as_echo_n "(cached) " >&6
16806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16807 /* end confdefs.h. */
16812 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16813 $EGREP "yes" >/dev
/null
2>&1; then :
16814 ac_cv_cpp_def___arm__
=yes
16816 ac_cv_cpp_def___arm__
=no
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16822 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16823 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16824 CFLAGS
="$CFLAGS -D__arm__"
16825 LINTFLAGS
="$LINTFLAGS -D__arm__"
16829 case $host_vendor in
16830 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16831 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16832 if ${ac_cv_cpp_def___sun__+:} false
; then :
16833 $as_echo_n "(cached) " >&6
16835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16836 /* end confdefs.h. */
16841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16842 $EGREP "yes" >/dev
/null
2>&1; then :
16843 ac_cv_cpp_def___sun__
=yes
16845 ac_cv_cpp_def___sun__
=no
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16851 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16852 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16853 CFLAGS
="$CFLAGS -D__sun__"
16854 LINTFLAGS
="$LINTFLAGS -D__sun__"
16862 ac_config_commands
="$ac_config_commands include/stamp-h"
16864 $as_echo_n "creating Makefile rules..." >&6
16866 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16867 SOCKET_LIBS = $SOCKET_LIBS
16868 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16869 IOKIT_LIBS = $IOKIT_LIBS
16870 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16871 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16872 CORESERVICES_LIBS = $CORESERVICES_LIBS
16873 APPKIT_LIBS = $APPKIT_LIBS
16874 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16875 SECURITY_LIBS = $SECURITY_LIBS
16876 COREAUDIO_LIBS = $COREAUDIO_LIBS
16877 OPENAL_LIBS = $OPENAL_LIBS
16878 OPENCL_LIBS = $OPENCL_LIBS
16879 QUICKTIME_LIBS = $QUICKTIME_LIBS
16880 CARBON_LIBS = $CARBON_LIBS
16881 PTHREAD_LIBS = $PTHREAD_LIBS
16882 X_CFLAGS = $X_CFLAGS
16883 X_PRE_LIBS = $X_PRE_LIBS
16885 X_EXTRA_LIBS = $X_EXTRA_LIBS
16886 XML2_CFLAGS = $XML2_CFLAGS
16887 XML2_LIBS = $XML2_LIBS
16888 XSLT_CFLAGS = $XSLT_CFLAGS
16889 XSLT_LIBS = $XSLT_LIBS
16890 DBUS_CFLAGS = $DBUS_CFLAGS
16891 DBUS_LIBS = $DBUS_LIBS
16892 HAL_CFLAGS = $HAL_CFLAGS
16893 HAL_LIBS = $HAL_LIBS
16894 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16895 GNUTLS_LIBS = $GNUTLS_LIBS
16896 SANE_CFLAGS = $SANE_CFLAGS
16897 SANE_LIBS = $SANE_LIBS
16898 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16899 GPHOTO2_LIBS = $GPHOTO2_LIBS
16900 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16901 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16902 RESOLV_LIBS = $RESOLV_LIBS
16903 LCMS2_CFLAGS = $LCMS2_CFLAGS
16904 LCMS2_LIBS = $LCMS2_LIBS
16905 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16906 FREETYPE_LIBS = $FREETYPE_LIBS
16908 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16909 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16910 GSTREAMER_LIBS = $GSTREAMER_LIBS
16911 ALSA_LIBS = $ALSA_LIBS
16912 OSS4_CFLAGS = $OSS4_CFLAGS
16913 CAPI20_CFLAGS = $CAPI20_CFLAGS
16914 CAPI20_LIBS = $CAPI20_LIBS
16915 CUPS_CFLAGS = $CUPS_CFLAGS
16916 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16917 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16918 JPEG_CFLAGS = $JPEG_CFLAGS
16919 JPEG_LIBS = $JPEG_LIBS
16920 PNG_CFLAGS = $PNG_CFLAGS
16921 PNG_LIBS = $PNG_LIBS
16922 TIFF_CFLAGS = $TIFF_CFLAGS
16923 TIFF_LIBS = $TIFF_LIBS
16924 MPG123_CFLAGS = $MPG123_CFLAGS
16925 MPG123_LIBS = $MPG123_LIBS
16926 KSTAT_LIBS = $KSTAT_LIBS
16927 PROCSTAT_LIBS = $PROCSTAT_LIBS
16929 POLL_LIBS = $POLL_LIBS
16931 LDAP_LIBS = $LDAP_LIBS
16936 wine_fn_append_rule
"
16937 # Rules automatically generated by configure
16939 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16944 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16945 @./config.status Make.tmp Makefile"
16947 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16948 .gitignore: config.status
16949 @./config.status .gitignore"
16951 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16952 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16954 if test "x$enable_fonts" != xno
; then
16955 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16956 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16957 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16958 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16959 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16961 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16962 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16963 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16964 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16965 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16966 wine_fn_config_symlink wine
16967 if test "x$enable_win64" != xno
; then
16968 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16969 wine_fn_config_symlink wine64
16972 wine_fn_config_dll acledit enable_acledit
16973 wine_fn_config_dll aclui enable_aclui implib
16974 wine_fn_config_dll activeds enable_activeds implib
16975 wine_fn_config_dll actxprxy enable_actxprxy clean
16976 wine_fn_config_lib adsiid
16977 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16978 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16979 wine_fn_config_dll advpack enable_advpack implib
16980 wine_fn_config_test dlls
/advpack
/tests advpack_test
16981 wine_fn_config_dll amstream enable_amstream clean
16982 wine_fn_config_test dlls
/amstream
/tests amstream_test
16983 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16984 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16985 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16986 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16987 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16988 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16989 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16990 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16991 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16992 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16993 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16994 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16995 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16996 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16997 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16998 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16999 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17000 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17001 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17002 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17003 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17004 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17005 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17006 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17007 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17008 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17009 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17010 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17011 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17012 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17013 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17014 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17015 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17016 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17017 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17018 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17019 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17020 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17021 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17022 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17023 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17026 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17027 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17028 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17029 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17030 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17031 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17032 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17033 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17034 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17035 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17036 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17037 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17038 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17039 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17040 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17041 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17042 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17043 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17044 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17045 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17046 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17047 wine_fn_config_dll apphelp enable_apphelp
17048 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17049 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17050 wine_fn_config_dll atl enable_atl clean
,implib
17051 wine_fn_config_test dlls
/atl
/tests atl_test
17052 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17053 wine_fn_config_test dlls
/atl100
/tests atl100_test
17054 wine_fn_config_dll atl110 enable_atl110 clean
17055 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17056 wine_fn_config_test dlls
/atl80
/tests atl80_test
17057 wine_fn_config_dll atl90 enable_atl90 clean
17058 wine_fn_config_dll authz enable_authz
17059 wine_fn_config_dll avicap32 enable_avicap32 implib
17060 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17061 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17062 wine_fn_config_dll avifile.dll16 enable_win16
17063 wine_fn_config_dll avrt enable_avrt implib
17064 wine_fn_config_dll bcrypt enable_bcrypt
17065 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17066 wine_fn_config_dll browseui enable_browseui clean
,po
17067 wine_fn_config_test dlls
/browseui
/tests browseui_test
17068 wine_fn_config_dll cabinet enable_cabinet implib
17069 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17070 wine_fn_config_dll capi2032 enable_capi2032 implib
17071 wine_fn_config_dll cards enable_cards implib
17072 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17073 wine_fn_config_dll clusapi enable_clusapi implib
17074 wine_fn_config_dll combase enable_combase
17075 wine_fn_config_test dlls
/combase
/tests combase_test
17076 wine_fn_config_dll comcat enable_comcat
17077 wine_fn_config_test dlls
/comcat
/tests comcat_test
17078 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17079 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17080 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17081 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17082 wine_fn_config_dll
comm.drv16 enable_win16
17083 wine_fn_config_dll commdlg.dll16 enable_win16
17084 wine_fn_config_dll compobj.dll16 enable_win16
17085 wine_fn_config_dll compstui enable_compstui implib
17086 wine_fn_config_dll comsvcs enable_comsvcs implib
17087 wine_fn_config_dll connect enable_connect
17088 wine_fn_config_dll credui enable_credui implib
,po
17089 wine_fn_config_test dlls
/credui
/tests credui_test
17090 wine_fn_config_dll crtdll enable_crtdll implib
17091 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17092 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17093 wine_fn_config_dll cryptdlg enable_cryptdlg po
17094 wine_fn_config_dll cryptdll enable_cryptdll implib
17095 wine_fn_config_dll cryptext enable_cryptext
17096 wine_fn_config_dll cryptnet enable_cryptnet implib
17097 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17098 wine_fn_config_dll cryptui enable_cryptui implib
,po
17099 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17100 wine_fn_config_dll ctapi32 enable_ctapi32
17101 wine_fn_config_dll ctl3d.dll16 enable_win16
17102 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17103 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17104 wine_fn_config_dll d2d1 enable_d2d1 implib
17105 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17106 wine_fn_config_dll d3d10 enable_d3d10 implib
17107 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17108 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17109 wine_fn_config_dll d3d10core enable_d3d10core implib
17110 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17111 wine_fn_config_dll d3d11 enable_d3d11
17112 wine_fn_config_dll d3d8 enable_d3d8 implib
17113 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17114 wine_fn_config_dll d3d9 enable_d3d9 implib
17115 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17116 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17117 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17118 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17119 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17120 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17121 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17122 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17123 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17124 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17125 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17126 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17127 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17128 wine_fn_config_dll d3dim enable_d3dim implib
17129 wine_fn_config_dll d3drm enable_d3drm implib
17130 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17131 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17132 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17133 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17134 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17135 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17136 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17137 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17138 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17139 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17140 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17141 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17142 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17143 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17144 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17145 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17146 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17147 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17148 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17149 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17150 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17151 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17152 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17153 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17154 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17155 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17156 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17157 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17158 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17159 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17160 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17161 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17162 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17163 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17164 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17165 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17166 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17167 wine_fn_config_dll dbgeng enable_dbgeng implib
17168 wine_fn_config_dll dbghelp enable_dbghelp implib
17169 wine_fn_config_dll dciman32 enable_dciman32 implib
17170 wine_fn_config_dll ddeml.dll16 enable_win16
17171 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17172 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17173 wine_fn_config_dll ddrawex enable_ddrawex clean
17174 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17175 wine_fn_config_dll devenum enable_devenum clean
,po
17176 wine_fn_config_test dlls
/devenum
/tests devenum_test
17177 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17178 wine_fn_config_dll difxapi enable_difxapi
17179 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17180 wine_fn_config_test dlls
/dinput
/tests dinput_test
17181 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17182 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17183 wine_fn_config_dll dispdib.dll16 enable_win16
17184 wine_fn_config_dll dispex enable_dispex clean
17185 wine_fn_config_test dlls
/dispex
/tests dispex_test
17186 wine_fn_config_dll display.drv16 enable_win16
17187 wine_fn_config_dll dmband enable_dmband clean
17188 wine_fn_config_test dlls
/dmband
/tests dmband_test
17189 wine_fn_config_dll dmcompos enable_dmcompos clean
17190 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17191 wine_fn_config_dll dmime enable_dmime clean
17192 wine_fn_config_test dlls
/dmime
/tests dmime_test
17193 wine_fn_config_dll dmloader enable_dmloader clean
17194 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17195 wine_fn_config_dll dmscript enable_dmscript clean
17196 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17197 wine_fn_config_dll dmstyle enable_dmstyle clean
17198 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17199 wine_fn_config_dll dmsynth enable_dmsynth clean
17200 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17201 wine_fn_config_dll dmusic enable_dmusic clean
17202 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17203 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17204 wine_fn_config_dll dnsapi enable_dnsapi implib
17205 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17206 wine_fn_config_dll dplay enable_dplay implib
17207 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17208 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17209 wine_fn_config_dll dpnaddr enable_dpnaddr
17210 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17211 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17212 wine_fn_config_dll dpnhpast enable_dpnhpast
17213 wine_fn_config_dll dpnlobby enable_dpnlobby
17214 wine_fn_config_dll dpvoice enable_dpvoice clean
17215 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17216 wine_fn_config_dll dpwsockx enable_dpwsockx
17217 wine_fn_config_dll drmclien enable_drmclien
17218 wine_fn_config_dll dsound enable_dsound clean
,implib
17219 wine_fn_config_test dlls
/dsound
/tests dsound_test
17220 wine_fn_config_dll dssenh enable_dssenh
17221 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17222 wine_fn_config_dll dswave enable_dswave clean
17223 wine_fn_config_test dlls
/dswave
/tests dswave_test
17224 wine_fn_config_dll dwmapi enable_dwmapi implib
17225 wine_fn_config_dll dwrite enable_dwrite implib
17226 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17227 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17228 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17229 wine_fn_config_lib dxerr8
17230 wine_fn_config_lib dxerr9
17231 wine_fn_config_dll dxgi enable_dxgi implib
17232 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17233 wine_fn_config_lib dxguid
17234 wine_fn_config_dll dxva2 enable_dxva2
17235 wine_fn_config_dll evr enable_evr
17236 wine_fn_config_dll explorerframe enable_explorerframe clean
17237 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17238 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17239 wine_fn_config_dll faultrep enable_faultrep implib
17240 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17241 wine_fn_config_dll fltlib enable_fltlib
17242 wine_fn_config_dll fntcache enable_fntcache
17243 wine_fn_config_dll fontsub enable_fontsub
17244 wine_fn_config_dll fusion enable_fusion
17245 wine_fn_config_test dlls
/fusion
/tests fusion_test
17246 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17247 wine_fn_config_dll gameux enable_gameux clean
17248 wine_fn_config_test dlls
/gameux
/tests gameux_test
17249 wine_fn_config_dll gdi.exe16 enable_win16
17250 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17251 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17252 wine_fn_config_dll gdiplus enable_gdiplus implib
17253 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17254 wine_fn_config_dll glu32 enable_glu32 implib
17255 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17256 wine_fn_config_dll gpkcsp enable_gpkcsp
17257 wine_fn_config_dll hal enable_hal
17258 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17259 wine_fn_config_dll hid enable_hid implib
17260 wine_fn_config_dll hlink enable_hlink clean
,implib
17261 wine_fn_config_test dlls
/hlink
/tests hlink_test
17262 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17263 wine_fn_config_dll httpapi enable_httpapi
17264 wine_fn_config_dll iccvid enable_iccvid po
17265 wine_fn_config_dll icmp enable_icmp
17266 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17267 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17268 wine_fn_config_dll ifsmgr.vxd enable_win16
17269 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17270 wine_fn_config_dll imagehlp enable_imagehlp implib
17271 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17272 wine_fn_config_dll imm.dll16 enable_win16
17273 wine_fn_config_dll imm32 enable_imm32 implib
17274 wine_fn_config_test dlls
/imm32
/tests imm32_test
17275 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17276 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17277 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17278 wine_fn_config_dll inetmib1 enable_inetmib1
17279 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17280 wine_fn_config_dll infosoft enable_infosoft clean
17281 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17282 wine_fn_config_dll initpki enable_initpki
17283 wine_fn_config_dll inkobj enable_inkobj
17284 wine_fn_config_dll inseng enable_inseng clean
17285 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17286 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17287 wine_fn_config_dll itircl enable_itircl
17288 wine_fn_config_dll itss enable_itss clean
17289 wine_fn_config_test dlls
/itss
/tests itss_test
17290 wine_fn_config_dll joy.cpl enable_joy_cpl po
17291 wine_fn_config_dll jscript enable_jscript clean
,po
17292 wine_fn_config_test dlls
/jscript
/tests jscript_test
17293 wine_fn_config_dll jsproxy enable_jsproxy implib
17294 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17295 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17296 wine_fn_config_dll keyboard.drv16 enable_win16
17297 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17298 wine_fn_config_dll ksuser enable_ksuser
17299 wine_fn_config_dll ktmw32 enable_ktmw32
17300 wine_fn_config_dll loadperf enable_loadperf implib
17301 wine_fn_config_dll localspl enable_localspl po
17302 wine_fn_config_test dlls
/localspl
/tests localspl_test
17303 wine_fn_config_dll localui enable_localui po
17304 wine_fn_config_test dlls
/localui
/tests localui_test
17305 wine_fn_config_dll lz32 enable_lz32 implib
17306 wine_fn_config_test dlls
/lz32
/tests lz32_test
17307 wine_fn_config_dll lzexpand.dll16 enable_win16
17308 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17309 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17310 wine_fn_config_dll mapistub enable_mapistub
17311 wine_fn_config_dll mciavi32 enable_mciavi32
17312 wine_fn_config_dll mcicda enable_mcicda
17313 wine_fn_config_dll mciqtz32 enable_mciqtz32
17314 wine_fn_config_dll mciseq enable_mciseq
17315 wine_fn_config_dll mciwave enable_mciwave
17316 wine_fn_config_dll mf enable_mf
17317 wine_fn_config_dll mfplat enable_mfplat
17318 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17319 wine_fn_config_dll mgmtapi enable_mgmtapi
17320 wine_fn_config_dll midimap enable_midimap
17321 wine_fn_config_dll mlang enable_mlang clean
,implib
17322 wine_fn_config_test dlls
/mlang
/tests mlang_test
17323 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17324 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17325 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17326 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17327 wine_fn_config_dll mmdevldr.vxd enable_win16
17328 wine_fn_config_dll mmsystem.dll16 enable_win16
17329 wine_fn_config_dll monodebg.vxd enable_win16
17330 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17331 wine_fn_config_dll mouse.drv16 enable_win16
17332 wine_fn_config_dll mpr enable_mpr implib
,po
17333 wine_fn_config_test dlls
/mpr
/tests mpr_test
17334 wine_fn_config_dll mprapi enable_mprapi implib
17335 wine_fn_config_dll msacm.dll16 enable_win16
17336 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17337 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17338 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17339 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17340 wine_fn_config_dll msasn1 enable_msasn1 implib
17341 wine_fn_config_dll mscat32 enable_mscat32
17342 wine_fn_config_dll mscms enable_mscms implib
17343 wine_fn_config_test dlls
/mscms
/tests mscms_test
17344 wine_fn_config_dll mscoree enable_mscoree clean
17345 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17346 wine_fn_config_dll msctf enable_msctf clean
17347 wine_fn_config_test dlls
/msctf
/tests msctf_test
17348 wine_fn_config_dll msdaps enable_msdaps clean
17349 wine_fn_config_dll msdmo enable_msdmo implib
17350 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17351 wine_fn_config_dll msftedit enable_msftedit
17352 wine_fn_config_dll msg711.acm enable_msg711_acm
17353 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17354 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17355 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17356 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17357 wine_fn_config_dll msi enable_msi clean
,implib
,po
17358 wine_fn_config_test dlls
/msi
/tests msi_test
17359 wine_fn_config_dll msident enable_msident clean
17360 wine_fn_config_dll msimg32 enable_msimg32 implib
17361 wine_fn_config_dll msimsg enable_msimsg
17362 wine_fn_config_dll msimtf enable_msimtf clean
17363 wine_fn_config_dll msisip enable_msisip
17364 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17365 wine_fn_config_dll msls31 enable_msls31
17366 wine_fn_config_dll msnet32 enable_msnet32
17367 wine_fn_config_dll mspatcha enable_mspatcha
17368 wine_fn_config_dll msrle32 enable_msrle32 po
17369 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17370 wine_fn_config_dll mssign32 enable_mssign32
17371 wine_fn_config_dll mssip32 enable_mssip32
17372 wine_fn_config_dll mstask enable_mstask clean
17373 wine_fn_config_test dlls
/mstask
/tests mstask_test
17374 wine_fn_config_dll msvcirt enable_msvcirt
17375 wine_fn_config_dll msvcm80 enable_msvcm80
17376 wine_fn_config_dll msvcm90 enable_msvcm90
17377 wine_fn_config_dll msvcp100 enable_msvcp100
17378 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17379 wine_fn_config_dll msvcp110 enable_msvcp110
17380 wine_fn_config_dll msvcp120 enable_msvcp120
17381 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17382 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17383 wine_fn_config_dll msvcp60 enable_msvcp60
17384 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17385 wine_fn_config_dll msvcp70 enable_msvcp70
17386 wine_fn_config_dll msvcp71 enable_msvcp71
17387 wine_fn_config_dll msvcp80 enable_msvcp80
17388 wine_fn_config_dll msvcp90 enable_msvcp90
17389 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17390 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17391 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17392 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17393 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17394 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17395 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17396 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17397 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17398 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17399 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17400 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17401 wine_fn_config_dll msvcrt enable_msvcrt implib
17402 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17403 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17404 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17405 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17406 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17407 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17408 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17409 wine_fn_config_dll msvidc32 enable_msvidc32 po
17410 wine_fn_config_dll msvideo.dll16 enable_win16
17411 wine_fn_config_dll mswsock enable_mswsock implib
17412 wine_fn_config_dll msxml enable_msxml clean
17413 wine_fn_config_dll msxml2 enable_msxml2 clean
17414 wine_fn_config_dll msxml3 enable_msxml3 clean
17415 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17416 wine_fn_config_dll msxml4 enable_msxml4 clean
17417 wine_fn_config_dll msxml6 enable_msxml6 clean
17418 wine_fn_config_dll nddeapi enable_nddeapi implib
17419 wine_fn_config_dll ndis.sys enable_ndis_sys
17420 wine_fn_config_dll netapi32 enable_netapi32 implib
17421 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17422 wine_fn_config_dll netcfgx enable_netcfgx clean
17423 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17424 wine_fn_config_dll netprofm enable_netprofm clean
17425 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17426 wine_fn_config_dll newdev enable_newdev implib
17427 wine_fn_config_dll normaliz enable_normaliz implib
17428 wine_fn_config_dll npmshtml enable_npmshtml
17429 wine_fn_config_dll npptools enable_npptools
17430 wine_fn_config_dll ntdll enable_ntdll implib
17431 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17432 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17433 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17434 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17435 wine_fn_config_dll ntprint enable_ntprint
17436 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17437 wine_fn_config_dll objsel enable_objsel clean
17438 wine_fn_config_dll odbc32 enable_odbc32 implib
17439 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17440 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17441 wine_fn_config_dll odbccu32 enable_odbccu32
17442 wine_fn_config_dll ole2.dll16 enable_win16
17443 wine_fn_config_dll ole2conv.dll16 enable_win16
17444 wine_fn_config_dll ole2disp.dll16 enable_win16
17445 wine_fn_config_dll ole2nls.dll16 enable_win16
17446 wine_fn_config_dll ole2prox.dll16 enable_win16
17447 wine_fn_config_dll ole2thk.dll16 enable_win16
17448 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17449 wine_fn_config_test dlls
/ole32
/tests ole32_test
17450 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17451 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17452 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17453 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17454 wine_fn_config_dll olecli.dll16 enable_win16
17455 wine_fn_config_dll olecli32 enable_olecli32 implib
17456 wine_fn_config_dll oledb32 enable_oledb32 clean
17457 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17458 wine_fn_config_dll oledlg enable_oledlg implib
,po
17459 wine_fn_config_dll olepro32 enable_olepro32 implib
17460 wine_fn_config_dll olesvr.dll16 enable_win16
17461 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17462 wine_fn_config_dll olethk32 enable_olethk32
17463 wine_fn_config_dll openal32 enable_openal32
17464 wine_fn_config_dll opencl enable_opencl
17465 wine_fn_config_dll opengl32 enable_opengl32 implib
17466 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17467 wine_fn_config_dll packager enable_packager clean
17468 wine_fn_config_test dlls
/packager
/tests packager_test
17469 wine_fn_config_dll pdh enable_pdh implib
17470 wine_fn_config_test dlls
/pdh
/tests pdh_test
17471 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17472 wine_fn_config_dll pidgen enable_pidgen
17473 wine_fn_config_dll powrprof enable_powrprof implib
17474 wine_fn_config_dll printui enable_printui
17475 wine_fn_config_dll prntvpt enable_prntvpt
17476 wine_fn_config_dll propsys enable_propsys clean
,implib
17477 wine_fn_config_test dlls
/propsys
/tests propsys_test
17478 wine_fn_config_dll psapi enable_psapi implib
17479 wine_fn_config_test dlls
/psapi
/tests psapi_test
17480 wine_fn_config_dll pstorec enable_pstorec clean
17481 wine_fn_config_dll qcap enable_qcap
17482 wine_fn_config_test dlls
/qcap
/tests qcap_test
17483 wine_fn_config_dll qedit enable_qedit clean
17484 wine_fn_config_test dlls
/qedit
/tests qedit_test
17485 wine_fn_config_dll qmgr enable_qmgr clean
17486 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17487 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17488 wine_fn_config_dll quartz enable_quartz clean
,implib
17489 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17490 wine_fn_config_dll query enable_query
17491 wine_fn_config_dll rasapi16.dll16 enable_win16
17492 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17493 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17494 wine_fn_config_dll rasdlg enable_rasdlg implib
17495 wine_fn_config_dll regapi enable_regapi
17496 wine_fn_config_dll resutils enable_resutils implib
17497 wine_fn_config_dll riched20 enable_riched20 implib
17498 wine_fn_config_test dlls
/riched20
/tests riched20_test
17499 wine_fn_config_dll riched32 enable_riched32
17500 wine_fn_config_test dlls
/riched32
/tests riched32_test
17501 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17502 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17503 wine_fn_config_dll rsabase enable_rsabase
17504 wine_fn_config_dll rsaenh enable_rsaenh implib
17505 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17506 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17507 wine_fn_config_dll rtutils enable_rtutils implib
17508 wine_fn_config_dll samlib enable_samlib
17509 wine_fn_config_dll sane.ds enable_sane_ds po
17510 wine_fn_config_dll scarddlg enable_scarddlg
17511 wine_fn_config_dll sccbase enable_sccbase
17512 wine_fn_config_dll schannel enable_schannel
17513 wine_fn_config_test dlls
/schannel
/tests schannel_test
17514 wine_fn_config_dll schedsvc enable_schedsvc clean
17515 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17516 wine_fn_config_dll scrrun enable_scrrun clean
17517 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17518 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17519 wine_fn_config_dll secur32 enable_secur32 implib
17520 wine_fn_config_test dlls
/secur32
/tests secur32_test
17521 wine_fn_config_dll security enable_security
17522 wine_fn_config_dll sensapi enable_sensapi implib
17523 wine_fn_config_dll serialui enable_serialui implib
,po
17524 wine_fn_config_test dlls
/serialui
/tests serialui_test
17525 wine_fn_config_dll setupapi enable_setupapi implib
,po
17526 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17527 wine_fn_config_dll setupx.dll16 enable_win16
17528 wine_fn_config_dll sfc enable_sfc implib
17529 wine_fn_config_dll sfc_os enable_sfc_os implib
17530 wine_fn_config_dll shdoclc enable_shdoclc po
17531 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17532 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17533 wine_fn_config_dll shell.dll16 enable_win16
17534 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17535 wine_fn_config_test dlls
/shell32
/tests shell32_test
17536 wine_fn_config_dll shfolder enable_shfolder implib
17537 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17538 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17539 wine_fn_config_dll slbcsp enable_slbcsp
17540 wine_fn_config_dll slc enable_slc implib
17541 wine_fn_config_test dlls
/slc
/tests slc_test
17542 wine_fn_config_dll snmpapi enable_snmpapi implib
17543 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17544 wine_fn_config_dll softpub enable_softpub
17545 wine_fn_config_dll sound.drv16 enable_win16
17546 wine_fn_config_dll spoolss enable_spoolss implib
17547 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17548 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17549 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17550 wine_fn_config_dll sti enable_sti clean
,implib
17551 wine_fn_config_test dlls
/sti
/tests sti_test
17552 wine_fn_config_dll storage.dll16 enable_win16
17553 wine_fn_config_dll stress.dll16 enable_win16
17554 wine_fn_config_lib strmbase
17555 wine_fn_config_lib strmiids
17556 wine_fn_config_dll svrapi enable_svrapi
17557 wine_fn_config_dll sxs enable_sxs implib
17558 wine_fn_config_test dlls
/sxs
/tests sxs_test
17559 wine_fn_config_dll system.drv16 enable_win16
17560 wine_fn_config_dll t2embed enable_t2embed
17561 wine_fn_config_dll tapi32 enable_tapi32 implib
17562 wine_fn_config_dll taskschd enable_taskschd clean
17563 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17564 wine_fn_config_dll toolhelp.dll16 enable_win16
17565 wine_fn_config_dll traffic enable_traffic
17566 wine_fn_config_dll twain.dll16 enable_win16
17567 wine_fn_config_dll twain_32 enable_twain_32
17568 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17569 wine_fn_config_dll typelib.dll16 enable_win16
17570 wine_fn_config_dll unicows enable_unicows implib
17571 wine_fn_config_dll updspapi enable_updspapi
17572 wine_fn_config_dll url enable_url implib
17573 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17574 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17575 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17576 wine_fn_config_dll user.exe16 enable_win16
17577 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17578 wine_fn_config_test dlls
/user32
/tests user32_test
17579 wine_fn_config_dll userenv enable_userenv implib
17580 wine_fn_config_test dlls
/userenv
/tests userenv_test
17581 wine_fn_config_dll usp10 enable_usp10 implib
17582 wine_fn_config_test dlls
/usp10
/tests usp10_test
17583 wine_fn_config_lib uuid
17584 wine_fn_config_dll uxtheme enable_uxtheme implib
17585 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17586 wine_fn_config_dll vbscript enable_vbscript clean
17587 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17588 wine_fn_config_dll vcomp enable_vcomp
17589 wine_fn_config_dll vcomp100 enable_vcomp100
17590 wine_fn_config_dll vcomp90 enable_vcomp90
17591 wine_fn_config_dll vdhcp.vxd enable_win16
17592 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17593 wine_fn_config_dll ver.dll16 enable_win16
17594 wine_fn_config_dll version enable_version implib
17595 wine_fn_config_test dlls
/version
/tests version_test
17596 wine_fn_config_dll vmm.vxd enable_win16
17597 wine_fn_config_dll vnbt.vxd enable_win16
17598 wine_fn_config_dll vnetbios.vxd enable_win16
17599 wine_fn_config_dll vssapi enable_vssapi
17600 wine_fn_config_dll vtdapi.vxd enable_win16
17601 wine_fn_config_dll vwin32.vxd enable_win16
17602 wine_fn_config_dll w32skrnl enable_win16
17603 wine_fn_config_dll w32sys.dll16 enable_win16
17604 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17605 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17606 wine_fn_config_dll wbemprox enable_wbemprox clean
17607 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17608 wine_fn_config_dll webservices enable_webservices implib
17609 wine_fn_config_dll wer enable_wer implib
17610 wine_fn_config_test dlls
/wer
/tests wer_test
17611 wine_fn_config_dll wevtapi enable_wevtapi
17612 wine_fn_config_dll wiaservc enable_wiaservc clean
17613 wine_fn_config_dll win32s16.dll16 enable_win16
17614 wine_fn_config_dll win87em.dll16 enable_win16
17615 wine_fn_config_dll winaspi.dll16 enable_win16
17616 wine_fn_config_dll windebug.dll16 enable_win16
17617 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17618 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17619 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17620 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17621 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17622 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17623 wine_fn_config_lib winecrt0
17624 wine_fn_config_dll wined3d enable_wined3d implib
17625 wine_fn_config_dll winegstreamer enable_winegstreamer
17626 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17627 wine_fn_config_dll winemac.drv enable_winemac_drv
17628 wine_fn_config_dll winemapi enable_winemapi
17629 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17630 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17631 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17632 wine_fn_config_dll wineps16.drv16 enable_win16
17633 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17634 wine_fn_config_dll winex11.drv enable_winex11_drv
17635 wine_fn_config_dll wing.dll16 enable_win16
17636 wine_fn_config_dll wing32 enable_wing32
17637 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17638 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17639 wine_fn_config_dll wininet enable_wininet implib
,po
17640 wine_fn_config_test dlls
/wininet
/tests wininet_test
17641 wine_fn_config_dll winmm enable_winmm implib
,po
17642 wine_fn_config_test dlls
/winmm
/tests winmm_test
17643 wine_fn_config_dll winnls.dll16 enable_win16
17644 wine_fn_config_dll winnls32 enable_winnls32 implib
17645 wine_fn_config_dll winscard enable_winscard implib
17646 wine_fn_config_dll winsock.dll16 enable_win16
17647 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17648 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17649 wine_fn_config_dll winsta enable_winsta
17650 wine_fn_config_dll wintab.dll16 enable_win16
17651 wine_fn_config_dll wintab32 enable_wintab32 implib
17652 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17653 wine_fn_config_dll wintrust enable_wintrust implib
17654 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17655 wine_fn_config_dll wlanapi enable_wlanapi
17656 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17657 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17658 wine_fn_config_dll wmi enable_wmi
17659 wine_fn_config_dll wmiutils enable_wmiutils clean
17660 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17661 wine_fn_config_dll wmp enable_wmp clean
17662 wine_fn_config_test dlls
/wmp
/tests wmp_test
17663 wine_fn_config_dll wmvcore enable_wmvcore
17664 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17665 wine_fn_config_dll wow32 enable_win16 implib
17666 wine_fn_config_dll wpcap enable_wpcap
17667 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17668 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17669 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17670 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17671 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17672 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17673 wine_fn_config_dll wsock32 enable_wsock32 implib
17674 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17675 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17676 wine_fn_config_dll wuapi enable_wuapi clean
17677 wine_fn_config_dll wuaueng enable_wuaueng
17678 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17679 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17680 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17681 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17682 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17683 wine_fn_config_dll xinput1_1 enable_xinput1_1
17684 wine_fn_config_dll xinput1_2 enable_xinput1_2
17685 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17686 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17687 wine_fn_config_dll xinput1_4 enable_xinput1_4
17688 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17689 wine_fn_config_dll xmllite enable_xmllite implib
17690 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17691 wine_fn_config_dll xolehlp enable_xolehlp
17692 wine_fn_config_dll xpsprint enable_xpsprint
17693 wine_fn_config_dll xpssvcs enable_xpssvcs
17694 wine_fn_config_makefile documentation enable_documentation clean
17695 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17696 wine_fn_config_makefile include enable_include clean
,install-dev
17697 wine_fn_config_makefile libs
/port enable_libs_port
17698 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17699 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17700 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17701 wine_fn_config_program arp enable_arp
install
17702 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17703 wine_fn_config_program attrib enable_attrib
install,po
17704 wine_fn_config_program cabarc enable_cabarc
install
17705 wine_fn_config_program cacls enable_cacls
install
17706 wine_fn_config_program
clock enable_clock
install,po
17707 wine_fn_config_program cmd enable_cmd
install,po
17708 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17709 wine_fn_config_program conhost enable_conhost
install
17710 wine_fn_config_program control enable_control
install
17711 wine_fn_config_program cscript enable_cscript clean
,install
17712 wine_fn_config_program dpnsvr enable_dpnsvr
install
17713 wine_fn_config_program dxdiag enable_dxdiag
install,po
17714 wine_fn_config_program eject enable_eject
install
17715 wine_fn_config_program
expand enable_expand
install
17716 wine_fn_config_program explorer enable_explorer
install,po
17717 wine_fn_config_program extrac32 enable_extrac32
install
17718 wine_fn_config_program findstr enable_findstr
install
17719 wine_fn_config_program hh enable_hh
install
17720 wine_fn_config_program hostname enable_hostname
install,po
17721 wine_fn_config_program icinfo enable_icinfo
install
17722 wine_fn_config_program iexplore enable_iexplore
install
17723 wine_fn_config_program ipconfig enable_ipconfig
install,po
17724 wine_fn_config_program lodctr enable_lodctr
install
17725 wine_fn_config_program mofcomp enable_mofcomp
install
17726 wine_fn_config_program mshta enable_mshta
install
17727 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17728 wine_fn_config_program net enable_net
install,po
17729 wine_fn_config_program netsh enable_netsh
install
17730 wine_fn_config_program netstat enable_netstat
install,po
17731 wine_fn_config_program ngen enable_ngen
install
17732 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17733 wine_fn_config_program oleview enable_oleview
install,po
17734 wine_fn_config_program
ping enable_ping
install
17735 wine_fn_config_program plugplay enable_plugplay
install
17736 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17737 wine_fn_config_program progman enable_progman
install,po
17738 wine_fn_config_program reg enable_reg
install,po
17739 wine_fn_config_test programs
/reg
/tests reg.exe_test
17740 wine_fn_config_program regasm enable_regasm
install
17741 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17742 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17743 wine_fn_config_program regsvcs enable_regsvcs
install
17744 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17745 wine_fn_config_program rpcss enable_rpcss clean
,install
17746 wine_fn_config_program rundll.exe16 enable_win16
install
17747 wine_fn_config_program rundll32 enable_rundll32
install
17748 wine_fn_config_program sc enable_sc
install
17749 wine_fn_config_program schtasks enable_schtasks
install
17750 wine_fn_config_program sdbinst enable_sdbinst
install
17751 wine_fn_config_program secedit enable_secedit
install
17752 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17753 wine_fn_config_program services enable_services clean
,install
17754 wine_fn_config_test programs
/services
/tests services.exe_test
17755 wine_fn_config_program spoolsv enable_spoolsv
install
17756 wine_fn_config_program start enable_start
install,po
17757 wine_fn_config_program svchost enable_svchost
install
17758 wine_fn_config_program systeminfo enable_systeminfo
install
17759 wine_fn_config_program taskkill enable_taskkill
install,po
17760 wine_fn_config_program tasklist enable_tasklist
install
17761 wine_fn_config_program taskmgr enable_taskmgr
install,po
17762 wine_fn_config_program termsv enable_termsv
install
17763 wine_fn_config_program uninstaller enable_uninstaller
install,po
17764 wine_fn_config_program unlodctr enable_unlodctr
install
17765 wine_fn_config_program view enable_view
install,po
17766 wine_fn_config_program wevtutil enable_wevtutil
install
17767 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17768 wine_fn_config_program winebrowser enable_winebrowser
install
17769 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17770 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17771 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17772 wine_fn_config_program winedevice enable_winedevice
install
17773 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17774 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17775 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17776 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17777 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17778 wine_fn_config_program winetest enable_winetest clean
17779 wine_fn_config_program winevdm enable_win16
install
17780 wine_fn_config_program winhelp.exe16 enable_win16
install
17781 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17782 wine_fn_config_program winoldap.mod16 enable_win16
install
17783 wine_fn_config_program winver enable_winver
install
17784 wine_fn_config_program wmic enable_wmic
install,po
17785 wine_fn_config_program wordpad enable_wordpad
install,po
17786 wine_fn_config_program
write enable_write
install,po
17787 wine_fn_config_program wscript enable_wscript clean
,install
17788 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17789 wine_fn_config_program wusa enable_wusa
install
17790 wine_fn_config_program xcopy enable_xcopy
install,po
17791 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17792 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17793 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17794 wine_fn_config_tool tools
/sfnt2fon clean
17795 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17796 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17797 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17798 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17799 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17800 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17852 wine_fn_ignore_file
".gitignore"
17853 wine_fn_ignore_file
"Makefile"
17854 wine_fn_ignore_file
"TAGS"
17855 wine_fn_ignore_file
"tags"
17856 wine_fn_ignore_file
"autom4te.cache"
17857 wine_fn_ignore_file
"config.cache"
17858 wine_fn_ignore_file
"config.log"
17859 wine_fn_ignore_file
"config.status"
17860 wine_fn_ignore_file
"configure.lineno"
17861 wine_fn_ignore_file
"include/config.h"
17862 wine_fn_ignore_file
"include/stamp-h"
17863 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17865 if test "x$enable_tools" != xno
17867 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17868 ac_config_commands
="$ac_config_commands tools/makedep"
17872 ac_config_commands
="$ac_config_commands Makefile"
17875 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17879 if test "x$enable_maintainer_mode" = xyes
17881 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17882 autoconf --warnings=all
17883 include/config.h.in: include/stamp-h.in
17884 include/stamp-h.in: configure.ac aclocal.m4
17885 autoheader --warnings=all
17886 @echo timestamp > \$@"
17889 if test "x$with_gettextpo" = xyes
17891 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17892 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17893 \$(LINGUAS:%=po/%.po): po/wine.pot
17894 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17895 po/wine.pot: \$(ALL_POT_FILES)
17896 msgcat -o \$@ \$(ALL_POT_FILES)"
17899 if test "$MSGFMT" != false
17901 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17903 \$(RM) \$(LINGUAS:%=po/%.mo)"
17906 test "$srcdir" = . || posrc
="$srcdir/po"
17909 wine_fn_ignore_file
"po/$i.mo"
17910 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17911 \$(MSGFMT) -o \$@ $posrc/$i.po"
17917 if test "x$enable_tools" != xno
17919 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17920 @./config.status tools/makedep
17921 Makefile: tools/makedep$ac_exeext
17923 \$(RM) tools/makedep$ac_exeext"
17925 wine_fn_append_rule
"\$(MAKEDEP):
17926 @echo \"You need to run make in $TOOLSDIR first\" && false"
17929 if test -n "$with_wine64"
17931 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17932 fonts server tools:
17933 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17934 $with_wine64/loader/wine:
17935 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17936 $with_wine64/loader/wine-preloader:
17937 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17939 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17941 as_fn_append LOADER_RULES
"
17942 install install-lib:: wine.inf install-man-pages
17943 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17944 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17947 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17951 if test "$srcdir" = .
17953 ac_config_commands
="$ac_config_commands .gitignore"
17957 $as_echo " done" >&6
17958 cat >confcache
<<\_ACEOF
17959 # This file is a shell script that caches the results of configure
17960 # tests run on this system so they can be shared between configure
17961 # scripts and configure runs, see configure's option --config-cache.
17962 # It is not useful on other systems. If it contains results you don't
17963 # want to keep, you may remove or edit it.
17965 # config.status only pays attention to the cache file if you give it
17966 # the --recheck option to rerun configure.
17968 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17969 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17970 # following values.
17974 # The following way of writing the cache mishandles newlines in values,
17975 # but we know of no workaround that is simple, portable, and efficient.
17976 # So, we kill variables containing newlines.
17977 # Ultrix sh set writes to stderr and can't be redirected directly,
17978 # and sets the high bit in the cache file unless we assign to the vars.
17980 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17981 eval ac_val
=\$
$ac_var
17985 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17986 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17989 _ | IFS | as_nl
) ;; #(
17990 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17991 *) { eval $ac_var=; unset $ac_var;} ;;
17997 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17998 *${as_nl}ac_space
=\
*)
17999 # `set' does not quote correctly, so add quotes: double-quote
18000 # substitution turns \\\\ into \\, and sed turns \\ into \.
18003 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18006 # `set' quotes correctly as required by POSIX, so do not add quotes.
18007 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18016 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18018 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18020 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18021 if test -w "$cache_file"; then
18022 if test "x$cache_file" != "x/dev/null"; then
18023 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18024 $as_echo "$as_me: updating cache $cache_file" >&6;}
18025 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18026 cat confcache
>"$cache_file"
18028 case $cache_file in #(
18030 mv -f confcache
"$cache_file"$$
&&
18031 mv -f "$cache_file"$$
"$cache_file" ;; #(
18033 mv -f confcache
"$cache_file" ;;
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18039 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18044 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18045 # Let make expand exec_prefix.
18046 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18048 DEFS
=-DHAVE_CONFIG_H
18053 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18054 # 1. Remove the extension, and $U if already installed.
18055 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18056 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18057 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18058 # will be set to the directory where LIBOBJS objects are built.
18059 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18060 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18062 LIBOBJS
=$ac_libobjs
18064 LTLIBOBJS
=$ac_ltlibobjs
18068 : "${CONFIG_STATUS=./config.status}"
18070 ac_clean_files_save
=$ac_clean_files
18071 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18072 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18073 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18075 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18077 # Generated by $as_me.
18078 # Run this file to recreate the current configuration.
18079 # Compiler output produced by configure, useful for debugging
18080 # configure, is in config.log if it exists.
18083 ac_cs_recheck=false
18086 SHELL=\${CONFIG_SHELL-$SHELL}
18089 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18090 ## -------------------- ##
18091 ## M4sh Initialization. ##
18092 ## -------------------- ##
18094 # Be more Bourne compatible
18095 DUALCASE
=1; export DUALCASE
# for MKS sh
18096 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18099 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18100 # is contrary to our usage. Disable this feature.
18101 alias -g '${1+"$@"}'='"$@"'
18102 setopt NO_GLOB_SUBST
18104 case `(set -o) 2>/dev/null` in #(
18116 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18117 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18118 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18119 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18120 # Prefer a ksh shell builtin over an external printf program on Solaris,
18121 # but without wasting forks for bash or zsh.
18122 if test -z "$BASH_VERSION$ZSH_VERSION" \
18123 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18124 as_echo='print
-r --'
18125 as_echo_n='print
-rn --'
18126 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18127 as_echo='printf %s
\n'
18128 as_echo_n='printf %s
'
18130 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18131 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18132 as_echo_n='/usr
/ucb
/echo -n'
18134 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18135 as_echo_n_body='eval
18139 expr "X$arg" : "X\\(.*\\)$as_nl";
18140 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18142 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18144 export as_echo_n_body
18145 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18147 export as_echo_body
18148 as_echo='sh
-c $as_echo_body as_echo
'
18151 # The user is always right.
18152 if test "${PATH_SEPARATOR+set}" != set; then
18154 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18155 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18162 # We need space, tab and new line, in precisely that order. Quoting is
18163 # there to prevent editors from complaining about space-tab.
18164 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18165 # splitting by setting IFS to empty value.)
18168 # Find who we are. Look in the path if we contain no directory separator.
18171 *[\\/]* ) as_myself=$0 ;;
18172 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18173 for as_dir in $PATH
18176 test -z "$as_dir" && as_dir=.
18177 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18183 # We did not find ourselves, most probably we were run as `sh COMMAND'
18184 # in which case we are not to be found in the path.
18185 if test "x$as_myself" = x
; then
18188 if test ! -f "$as_myself"; then
18189 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18193 # Unset variables that we do not need and which cause bugs (e.g. in
18194 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18195 # suppresses any "Segmentation fault" message there. '((' could
18196 # trigger a bug in pdksh 5.2.14.
18197 for as_var
in BASH_ENV ENV MAIL MAILPATH
18198 do eval test x\
${$as_var+set} = xset \
18199 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18212 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18215 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18216 # ----------------------------------------
18217 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18218 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18219 # script with STATUS, using 1 if that was 0.
18222 as_status
=$1; test $as_status -eq 0 && as_status
=1
18224 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18225 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18227 $as_echo "$as_me: error: $2" >&2
18228 as_fn_exit
$as_status
18232 # as_fn_set_status STATUS
18233 # -----------------------
18234 # Set $? to STATUS, without forking.
18235 as_fn_set_status
()
18238 } # as_fn_set_status
18240 # as_fn_exit STATUS
18241 # -----------------
18242 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18246 as_fn_set_status
$1
18252 # Portably unset VAR.
18255 { eval $1=; unset $1;}
18257 as_unset
=as_fn_unset
18258 # as_fn_append VAR VALUE
18259 # ----------------------
18260 # Append the text in VALUE to the end of the definition contained in VAR. Take
18261 # advantage of any shell optimizations that allow amortized linear growth over
18262 # repeated appends, instead of the typical quadratic growth present in naive
18264 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18265 eval 'as_fn_append ()
18276 # as_fn_arith ARG...
18277 # ------------------
18278 # Perform arithmetic evaluation on the ARGs, and store the result in the
18279 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18280 # must be portable across $(()) and expr.
18281 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18282 eval 'as_fn_arith ()
18289 as_val
=`expr "$@" || test $? -eq 1`
18294 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18295 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18301 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18302 as_basename
=basename
18307 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18313 as_me
=`$as_basename -- "$0" ||
18314 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18315 X"$0" : 'X\(//\)$' \| \
18316 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18318 sed '/^.*\/\([^/][^/]*\)\/*$/{
18332 # Avoid depending upon Character Ranges.
18333 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18334 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18335 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18336 as_cr_digits
='0123456789'
18337 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18339 ECHO_C
= ECHO_N
= ECHO_T
=
18340 case `echo -n x` in #(((((
18342 case `echo 'xy\c'` in
18343 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18345 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18352 rm -f conf$$ conf$$.exe conf$$.
file
18353 if test -d conf$$.dir
; then
18354 rm -f conf$$.dir
/conf$$.
file
18357 mkdir conf$$.dir
2>/dev
/null
18359 if (echo >conf$$.
file) 2>/dev
/null
; then
18360 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18362 # ... but there are two gotchas:
18363 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18364 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18365 # In both cases, we have to default to `cp -pR'.
18366 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18368 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18376 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18377 rmdir conf$$.dir
2>/dev
/null
18382 # Create "$as_dir" as a directory, including parents if necessary.
18387 -*) as_dir
=.
/$as_dir;;
18389 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18393 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18394 *) as_qdir
=$as_dir;;
18396 as_dirs
="'$as_qdir' $as_dirs"
18397 as_dir
=`$as_dirname -- "$as_dir" ||
18398 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18399 X"$as_dir" : 'X\(//\)[^/]' \| \
18400 X"$as_dir" : 'X\(//\)$' \| \
18401 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18402 $as_echo X"$as_dir" |
18403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18407 /^X\(\/\/\)[^/].*/{
18420 test -d "$as_dir" && break
18422 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18423 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18427 if mkdir
-p .
2>/dev
/null
; then
18428 as_mkdir_p
='mkdir -p "$as_dir"'
18430 test -d .
/-p && rmdir .
/-p
18435 # as_fn_executable_p FILE
18436 # -----------------------
18437 # Test if FILE is an executable regular file.
18438 as_fn_executable_p
()
18440 test -f "$1" && test -x "$1"
18441 } # as_fn_executable_p
18442 as_test_x
='test -x'
18443 as_executable_p
=as_fn_executable_p
18445 # Sed expression to map a string onto a valid CPP name.
18446 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18448 # Sed expression to map a string onto a valid variable name.
18449 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18453 ## ----------------------------------- ##
18454 ## Main body of $CONFIG_STATUS script. ##
18455 ## ----------------------------------- ##
18457 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18460 # Save the log message, to keep $0 and so on meaningful, and to
18461 # report actual input values of CONFIG_FILES etc. instead of their
18462 # values after options handling.
18464 This file was extended by Wine $as_me 1.7.36, which was
18465 generated by GNU Autoconf 2.69. Invocation command line was
18467 CONFIG_FILES = $CONFIG_FILES
18468 CONFIG_HEADERS = $CONFIG_HEADERS
18469 CONFIG_LINKS = $CONFIG_LINKS
18470 CONFIG_COMMANDS = $CONFIG_COMMANDS
18473 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18478 case $ac_config_files in *"
18479 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18482 case $ac_config_headers in *"
18483 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18488 # Files that config.status was made for.
18489 config_files="$ac_config_files"
18490 config_headers="$ac_config_headers"
18491 config_links="$ac_config_links"
18492 config_commands="$ac_config_commands"
18496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18498 \`$as_me' instantiates files and other configuration actions
18499 from templates according to the current configuration. Unless the files
18500 and actions are specified as TAGs, all are instantiated by default.
18502 Usage: $0 [OPTION]... [TAG]...
18504 -h, --help print this help, then exit
18505 -V, --version print version number and configuration settings, then exit
18506 --config print configuration, then exit
18507 -q, --quiet, --silent
18508 do not print progress messages
18509 -d, --debug don't remove temporary files
18510 --recheck update $as_me by reconfiguring in the same conditions
18511 --file=FILE[:TEMPLATE]
18512 instantiate the configuration file FILE
18513 --header=FILE[:TEMPLATE]
18514 instantiate the configuration header FILE
18516 Configuration files:
18519 Configuration headers:
18522 Configuration links:
18525 Configuration commands:
18528 Report bugs to <wine-devel@winehq.org>.
18529 Wine home page: <http://www.winehq.org>."
18532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18533 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18535 Wine config.status 1.7.36
18536 configured by $0, generated by GNU Autoconf 2.69,
18537 with options \\"\$ac_cs_config\\"
18539 Copyright (C) 2012 Free Software Foundation, Inc.
18540 This config.status script is free software; the Free Software Foundation
18541 gives unlimited permission to copy, distribute and modify it."
18545 test -n "\$AWK" || AWK=awk
18548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18549 # The default lists apply if the user does not specify any file.
18555 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18556 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18560 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18572 # Handling of the options.
18573 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18575 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18576 $as_echo "$ac_cs_version"; exit ;;
18577 --config |
--confi |
--conf |
--con |
--co |
--c )
18578 $as_echo "$ac_cs_config"; exit ;;
18579 --debug |
--debu |
--deb |
--de |
--d |
-d )
18581 --file |
--fil |
--fi |
--f )
18584 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18585 '') as_fn_error $?
"missing file argument" ;;
18587 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18588 ac_need_defaults
=false
;;
18589 --header |
--heade |
--head |
--hea )
18592 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18594 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18595 ac_need_defaults
=false
;;
18597 # Conflict between --help and --header
18598 as_fn_error $?
"ambiguous option: \`$1'
18599 Try \`$0 --help' for more information.";;
18600 --help |
--hel |
-h )
18601 $as_echo "$ac_cs_usage"; exit ;;
18602 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18603 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18606 # This is an error.
18607 -*) as_fn_error $?
"unrecognized option: \`$1'
18608 Try \`$0 --help' for more information." ;;
18610 *) as_fn_append ac_config_targets
" $1"
18611 ac_need_defaults
=false
;;
18617 ac_configure_extra_args
=
18619 if $ac_cs_silent; then
18621 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18626 if \$ac_cs_recheck; then
18627 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18629 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18630 CONFIG_SHELL='$SHELL'
18631 export CONFIG_SHELL
18636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18640 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18641 ## Running $as_me. ##
18647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18651 wine_fn_output_makedep ()
18653 as_dir=tools; as_fn_mkdir_p
18654 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18656 wine_fn_output_makefile ()
18658 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18659 `cat $wine_rules_file`
18661 as_fn_error $? "could not create Makefile" "$LINENO" 5
18663 wine_fn_output_gitignore ()
18665 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18668 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18675 # Handling of arguments.
18676 for ac_config_target
in $ac_config_targets
18678 case $ac_config_target in
18679 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18680 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18681 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18682 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18683 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18684 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18685 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18686 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18687 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18688 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18689 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18690 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18691 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18692 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18694 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18699 # If the user did not use the arguments to specify the items to instantiate,
18700 # then the envvar interface is used. Set only those that are not.
18701 # We use the long form for the default assignment because of an extremely
18702 # bizarre bug on SunOS 4.1.3.
18703 if $ac_need_defaults; then
18704 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18705 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18706 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18707 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18710 # Have a temporary directory for convenience. Make it in the build tree
18711 # simply because there is no reason against having it here, and in addition,
18712 # creating and moving files from /tmp can sometimes cause problems.
18713 # Hook for its removal unless debugging.
18714 # Note that there is a small window in which the directory will not be cleaned:
18715 # after its creation but before its name has been assigned to `$tmp'.
18719 trap 'exit_status=$?
18720 : "${ac_tmp:=$tmp}"
18721 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18723 trap 'as_fn_exit 1' 1 2 13 15
18725 # Create a (secure) tmp directory for tmp files.
18728 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18732 tmp
=.
/conf$$
-$RANDOM
18733 (umask 077 && mkdir
"$tmp")
18734 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18737 # Set up the scripts for CONFIG_FILES section.
18738 # No need to generate them if there are no CONFIG_FILES.
18739 # This happens for instance with `./config.status config.h'.
18740 if test -n "$CONFIG_FILES"; then
18743 ac_cr
=`echo X | tr X '\015'`
18744 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18745 # But we know of no other shell where ac_cr would be empty at this
18746 # point, so we can use a bashism as a fallback.
18747 if test "x$ac_cr" = x
; then
18748 eval ac_cr
=\$
\'\\r
\'
18750 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18751 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18754 ac_cs_awk_cr
=$ac_cr
18757 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18762 echo "cat >conf$$subs.awk <<_ACEOF" &&
18763 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18765 } >conf$$subs.sh ||
18766 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18767 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18769 for ac_last_try in false false false false false :; do
18770 . ./conf$$subs.sh ||
18771 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18773 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18774 if test $ac_delim_n = $ac_delim_num; then
18776 elif $ac_last_try; then
18777 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18779 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18782 rm -f conf$$subs.sh
18784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18785 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18789 s/^/S["/; s
/!.
*/"]=/
18799 s/\(.\{148\}\)..*/\1/
18801 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18806 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18813 s/\(.\{148\}\)..*/\1/
18815 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18819 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18824 ' <conf$$subs.awk | sed '
18829 ' >>$CONFIG_STATUS || ac_write_fail=1
18830 rm -f conf$$subs.awk
18831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18833 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18834 for (key in S) S_is_set[key] = 1
18840 nfields = split(line, field, "@
")
18842 len = length(field[1])
18843 for (i = 2; i < nfields; i++) {
18845 keylen = length(key)
18846 if (S_is_set[key]) {
18848 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18849 len += length(value) + length(field[++i])
18860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18861 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18862 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18865 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18866 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18869 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18870 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18871 # trailing colons and then remove the whole line if VPATH becomes empty
18872 # (actually we leave an empty line to preserve line numbers).
18873 if test "x
$srcdir" = x.; then
18874 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18893 fi # test -n "$CONFIG_FILES"
18895 # Set up the scripts for CONFIG_HEADERS section.
18896 # No need to generate them if there are no CONFIG_HEADERS.
18897 # This happens for instance with `./config.status Makefile'.
18898 if test -n "$CONFIG_HEADERS"; then
18899 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18903 # Transform confdefs.h into an awk script `defines.awk', embedded as
18904 # here-document in config.status, that substitutes the proper values into
18905 # config.h.in to produce config.h.
18907 # Create a delimiter string that does not exist in confdefs.h, to ease
18908 # handling of long lines.
18910 for ac_last_try in false false :; do
18911 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18912 if test -z "$ac_tt"; then
18914 elif $ac_last_try; then
18915 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18917 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18921 # For the awk script, D is an array of macro values keyed by name,
18922 # likewise P contains macro parameters if any. Preserve backslash
18923 # newline sequences.
18925 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18927 s/.\{148\}/&'"$ac_delim"'/g
18930 s/^[ ]*#[ ]*define[ ][ ]*/ /
18937 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18939 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18943 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18944 D["\
1"]=" \
3\\\\\\n
"\\/p
18946 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18951 s/.\{148\}/&'"$ac_delim"'/g
18956 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18959 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18961 ' <confdefs.h | sed '
18962 s/'"$ac_delim"'/"\\\
18963 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18966 for (key in D) D_is_set[key] = 1
18969 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18971 split(line, arg, " ")
18972 if (arg[1] == "#") {
18976 defundef
= substr
(arg
[1], 2)
18979 split(mac1
, mac2
, "(") #)
18981 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18982 if (D_is_set
[macro
]) {
18983 # Preserve the white space surrounding the "#".
18984 print prefix
"define", macro P
[macro
] D
[macro
]
18987 # Replace #undef with comments. This is necessary, for example,
18988 # in the case of _POSIX_SOURCE, which is predefined and required
18989 # on some systems where configure will not decide to define it.
18990 if (defundef
== "undef") {
18991 print
"/*", prefix defundef
, macro
, "*/"
18999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19000 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19001 fi # test -n "$CONFIG_HEADERS"
19004 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19009 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19011 case $ac_mode$ac_tag in
19013 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19014 :[FH
]-) ac_tag
=-:-;;
19015 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19032 -) ac_f
="$ac_tmp/stdin";;
19033 *) # Look for the file first in the build tree, then in the source tree
19034 # (if the path is not absolute). The absolute path cannot be DOS-style,
19035 # because $ac_f cannot contain `:'.
19039 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19041 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19043 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19044 as_fn_append ac_file_inputs
" '$ac_f'"
19047 # Let's still pretend it is `configure' which instantiates (i.e., don't
19048 # use $as_me), people would be surprised to read:
19049 # /* config.h. Generated by config.status. */
19050 configure_input
='Generated from '`
19051 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19053 if test x
"$ac_file" != x-
; then
19054 configure_input
="$ac_file. $configure_input"
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19056 $as_echo "$as_me: creating $ac_file" >&6;}
19058 # Neutralize special characters interpreted by sed in replacement strings.
19059 case $configure_input in #(
19060 *\
&* |
*\|
* |
*\\* )
19061 ac_sed_conf_input
=`$as_echo "$configure_input" |
19062 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19063 *) ac_sed_conf_input
=$configure_input;;
19067 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19068 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19073 ac_dir
=`$as_dirname -- "$ac_file" ||
19074 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19075 X"$ac_file" : 'X\(//\)[^/]' \| \
19076 X"$ac_file" : 'X\(//\)$' \| \
19077 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19078 $as_echo X"$ac_file" |
19079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19083 /^X\(\/\/\)[^/].*/{
19096 as_dir
="$ac_dir"; as_fn_mkdir_p
19100 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19102 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19103 # A ".." for each directory in $ac_dir_suffix.
19104 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19105 case $ac_top_builddir_sub in
19106 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19107 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19110 ac_abs_top_builddir
=$ac_pwd
19111 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19112 # for backward compatibility:
19113 ac_top_builddir
=$ac_top_build_prefix
19116 .
) # We are building in place.
19118 ac_top_srcdir
=$ac_top_builddir_sub
19119 ac_abs_top_srcdir
=$ac_pwd ;;
19120 [\\/]* | ?
:[\\/]* ) # Absolute name.
19121 ac_srcdir
=$srcdir$ac_dir_suffix;
19122 ac_top_srcdir
=$srcdir
19123 ac_abs_top_srcdir
=$srcdir ;;
19124 *) # Relative name.
19125 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19126 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19127 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19129 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19141 # If the template does not know about datarootdir, expand it.
19142 # FIXME: This hack should be removed a few years after 2.60.
19143 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19154 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19155 *datarootdir
*) ac_datarootdir_seen
=yes;;
19156 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19158 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19161 ac_datarootdir_hack='
19162 s&@datadir@&$datadir&g
19163 s&@docdir@&$docdir&g
19164 s&@infodir@&$infodir&g
19165 s&@localedir@&$localedir&g
19166 s&@mandir@&$mandir&g
19167 s&\\\${datarootdir}&$datarootdir&g' ;;
19171 # Neutralize VPATH when `$srcdir' = `.'.
19172 # Shell code in configure.ac might set extrasub.
19173 # FIXME: do we really want to maintain this feature?
19174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19175 ac_sed_extra="$ac_vpsub
19178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19180 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19181 s|@configure_input@|
$ac_sed_conf_input|
;t t
19182 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19183 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19184 s
&@srcdir@
&$ac_srcdir&;t t
19185 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19186 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19187 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19188 s
&@builddir@
&$ac_builddir&;t t
19189 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19190 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19191 $ac_datarootdir_hack
19193 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19194 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19196 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19197 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19198 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19199 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19201 which seems to be undefined. Please make sure it is defined" >&5
19202 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19203 which seems to be undefined. Please make sure it is defined" >&2;}
19205 rm -f "$ac_tmp/stdin"
19207 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19208 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19210 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19216 if test x"$ac_file" != x-; then
19218 $as_echo "/* $configure_input */" \
19219 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19220 } >"$ac_tmp/config.h" \
19221 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19222 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19224 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19227 mv "$ac_tmp/config.h" "$ac_file" \
19228 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19231 $as_echo "/* $configure_input */" \
19232 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19233 || as_fn_error $? "could not create -" "$LINENO" 5
19241 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19244 # Prefer the file from the source tree if names are identical.
19245 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19246 ac_source=$srcdir/$ac_source
19249 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19250 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19252 if test ! -r "$ac_source"; then
19253 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19257 # Try a relative symlink, then a hard link, then a copy.
19259 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19260 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19262 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19263 ln "$ac_source" "$ac_file" 2>/dev/null ||
19264 cp -p "$ac_source" "$ac_file" ||
19265 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19268 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19269 $as_echo "$as_me: executing $ac_file commands" >&6;}
19274 case $ac_file$ac_mode in
19275 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19276 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19277 "Makefile":C) wine_fn_output_makefile Makefile ;;
19278 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19286 ac_clean_files=$ac_clean_files_save
19288 test $ac_write_fail = 0 ||
19289 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19292 # configure is writing to config.log, and then calls config.status.
19293 # config.status does its own redirection, appending to config.log.
19294 # Unfortunately, on DOS this fails, as config.log is still kept open
19295 # by configure, so config.status won't be able to
write to it
; its
19296 # output is simply discarded. So we exec the FD to /dev/null,
19297 # effectively closing config.log, so it can be properly (re)opened and
19298 # appended to by config.status. When coming back to configure, we
19299 # need to make the FD available again.
19300 if test "$no_create" != yes; then
19302 ac_config_status_args
=
19303 test "$silent" = yes &&
19304 ac_config_status_args
="$ac_config_status_args --quiet"
19306 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19308 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19309 # would make configure fail if this is the last instruction.
19310 $ac_cs_success || as_fn_exit
1
19312 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19314 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19318 if test "$no_create" = "yes"
19324 if test "x$wine_notices != "x
; then
19327 for msg
in $wine_notices; do
19329 if ${msg:+false} :; then :
19332 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19333 $as_echo "$as_me: $msg" >&6;}
19338 for msg
in $wine_warnings; do
19340 if ${msg:+false} :; then :
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19345 $as_echo "$as_me: WARNING: $msg" >&2;}
19351 $as_me: Finished. Do '${ac_make}' to compile Wine.