2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.38.
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.38'
584 PACKAGE_STRING
='Wine 1.7.38'
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
1347 enable_documentation
1355 enable_aspnet_regiis
1388 enable_presentationfontcache
1401 enable_servicemodelreg
1422 enable_winemenubuilder
1424 enable_winemsibuilder
1438 ac_precious_vars
='build_alias
1487 # Initialize some variables set by options.
1489 ac_init_version
=false
1490 ac_unrecognized_opts
=
1491 ac_unrecognized_sep
=
1492 # The variables have the same names as the options, with
1493 # dashes changed to underlines.
1494 cache_file
=/dev
/null
1501 program_transform_name
=s
,x
,x
,
1509 # Installation directory options.
1510 # These are left unexpanded so users can "make install exec_prefix=/foo"
1511 # and all the variables that are supposed to be based on exec_prefix
1512 # by default will actually change.
1513 # Use braces instead of parens because sh, perl, etc. also accept them.
1514 # (The list follows the same order as the GNU Coding Standards.)
1515 bindir
='${exec_prefix}/bin'
1516 sbindir
='${exec_prefix}/sbin'
1517 libexecdir
='${exec_prefix}/libexec'
1518 datarootdir
='${prefix}/share'
1519 datadir
='${datarootdir}'
1520 sysconfdir
='${prefix}/etc'
1521 sharedstatedir
='${prefix}/com'
1522 localstatedir
='${prefix}/var'
1523 includedir
='${prefix}/include'
1524 oldincludedir
='/usr/include'
1525 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1526 infodir
='${datarootdir}/info'
1531 libdir
='${exec_prefix}/lib'
1532 localedir
='${datarootdir}/locale'
1533 mandir
='${datarootdir}/man'
1539 # If the previous option needs an argument, assign it.
1540 if test -n "$ac_prev"; then
1541 eval $ac_prev=\
$ac_option
1547 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1552 # Accept the important Cygnus configure options, so we can diagnose typos.
1554 case $ac_dashdash$ac_option in
1558 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1560 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1561 bindir
=$ac_optarg ;;
1563 -build |
--build |
--buil |
--bui |
--bu)
1564 ac_prev
=build_alias
;;
1565 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1566 build_alias
=$ac_optarg ;;
1568 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1569 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1570 ac_prev
=cache_file
;;
1571 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1572 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1573 cache_file
=$ac_optarg ;;
1575 --config-cache |
-C)
1576 cache_file
=config.cache
;;
1578 -datadir |
--datadir |
--datadi |
--datad)
1580 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1581 datadir
=$ac_optarg ;;
1583 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1584 |
--dataroo |
--dataro |
--datar)
1585 ac_prev
=datarootdir
;;
1586 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1587 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1588 datarootdir
=$ac_optarg ;;
1590 -disable-* |
--disable-*)
1591 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1592 # Reject names that are not valid shell variable names.
1593 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1594 as_fn_error $?
"invalid feature name: $ac_useropt"
1595 ac_useropt_orig
=$ac_useropt
1596 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1597 case $ac_user_opts in
1599 "enable_
$ac_useropt"
1601 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1602 ac_unrecognized_sep
=', ';;
1604 eval enable_
$ac_useropt=no
;;
1606 -docdir |
--docdir |
--docdi |
--doc |
--do)
1608 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1609 docdir
=$ac_optarg ;;
1611 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1613 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1614 dvidir
=$ac_optarg ;;
1616 -enable-* |
--enable-*)
1617 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1618 # Reject names that are not valid shell variable names.
1619 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1620 as_fn_error $?
"invalid feature name: $ac_useropt"
1621 ac_useropt_orig
=$ac_useropt
1622 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1623 case $ac_user_opts in
1625 "enable_
$ac_useropt"
1627 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1628 ac_unrecognized_sep
=', ';;
1630 eval enable_
$ac_useropt=\
$ac_optarg ;;
1632 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1633 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1634 |
--exec |
--exe |
--ex)
1635 ac_prev
=exec_prefix
;;
1636 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1637 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1638 |
--exec=* |
--exe=* |
--ex=*)
1639 exec_prefix
=$ac_optarg ;;
1641 -gas |
--gas |
--ga |
--g)
1642 # Obsolete; use --with-gas.
1645 -help |
--help |
--hel |
--he |
-h)
1646 ac_init_help
=long
;;
1647 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1648 ac_init_help
=recursive
;;
1649 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1650 ac_init_help
=short
;;
1652 -host |
--host |
--hos |
--ho)
1653 ac_prev
=host_alias
;;
1654 -host=* |
--host=* |
--hos=* |
--ho=*)
1655 host_alias
=$ac_optarg ;;
1657 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1659 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1661 htmldir
=$ac_optarg ;;
1663 -includedir |
--includedir |
--includedi |
--included |
--include \
1664 |
--includ |
--inclu |
--incl |
--inc)
1665 ac_prev
=includedir
;;
1666 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1667 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1668 includedir
=$ac_optarg ;;
1670 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1672 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1673 infodir
=$ac_optarg ;;
1675 -libdir |
--libdir |
--libdi |
--libd)
1677 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1678 libdir
=$ac_optarg ;;
1680 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1681 |
--libexe |
--libex |
--libe)
1682 ac_prev
=libexecdir
;;
1683 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1684 |
--libexe=* |
--libex=* |
--libe=*)
1685 libexecdir
=$ac_optarg ;;
1687 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1688 ac_prev
=localedir
;;
1689 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1690 localedir
=$ac_optarg ;;
1692 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1693 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1694 ac_prev
=localstatedir
;;
1695 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1696 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1697 localstatedir
=$ac_optarg ;;
1699 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1701 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1702 mandir
=$ac_optarg ;;
1704 -nfp |
--nfp |
--nf)
1705 # Obsolete; use --without-fp.
1708 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1709 |
--no-cr |
--no-c |
-n)
1712 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1713 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1716 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1717 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1718 |
--oldin |
--oldi |
--old |
--ol |
--o)
1719 ac_prev
=oldincludedir
;;
1720 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1721 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1722 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1723 oldincludedir
=$ac_optarg ;;
1725 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1727 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1728 prefix
=$ac_optarg ;;
1730 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1731 |
--program-pre |
--program-pr |
--program-p)
1732 ac_prev
=program_prefix
;;
1733 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1734 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1735 program_prefix
=$ac_optarg ;;
1737 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1738 |
--program-suf |
--program-su |
--program-s)
1739 ac_prev
=program_suffix
;;
1740 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1741 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1742 program_suffix
=$ac_optarg ;;
1744 -program-transform-name |
--program-transform-name \
1745 |
--program-transform-nam |
--program-transform-na \
1746 |
--program-transform-n |
--program-transform- \
1747 |
--program-transform |
--program-transfor \
1748 |
--program-transfo |
--program-transf \
1749 |
--program-trans |
--program-tran \
1750 |
--progr-tra |
--program-tr |
--program-t)
1751 ac_prev
=program_transform_name
;;
1752 -program-transform-name=* |
--program-transform-name=* \
1753 |
--program-transform-nam=* |
--program-transform-na=* \
1754 |
--program-transform-n=* |
--program-transform-=* \
1755 |
--program-transform=* |
--program-transfor=* \
1756 |
--program-transfo=* |
--program-transf=* \
1757 |
--program-trans=* |
--program-tran=* \
1758 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1759 program_transform_name
=$ac_optarg ;;
1761 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1763 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1764 pdfdir
=$ac_optarg ;;
1766 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1768 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1771 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1772 |
-silent |
--silent |
--silen |
--sile |
--sil)
1775 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1777 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1779 sbindir
=$ac_optarg ;;
1781 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1782 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1783 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1785 ac_prev
=sharedstatedir
;;
1786 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1787 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1788 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1790 sharedstatedir
=$ac_optarg ;;
1792 -site |
--site |
--sit)
1794 -site=* |
--site=* |
--sit=*)
1797 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1799 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1800 srcdir
=$ac_optarg ;;
1802 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1803 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1804 ac_prev
=sysconfdir
;;
1805 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1806 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1807 sysconfdir
=$ac_optarg ;;
1809 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1810 ac_prev
=target_alias
;;
1811 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1812 target_alias
=$ac_optarg ;;
1814 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1817 -version |
--version |
--versio |
--versi |
--vers |
-V)
1818 ac_init_version
=: ;;
1821 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1822 # Reject names that are not valid shell variable names.
1823 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1824 as_fn_error $?
"invalid package name: $ac_useropt"
1825 ac_useropt_orig
=$ac_useropt
1826 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1827 case $ac_user_opts in
1831 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1832 ac_unrecognized_sep
=', ';;
1834 eval with_
$ac_useropt=\
$ac_optarg ;;
1836 -without-* |
--without-*)
1837 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1838 # Reject names that are not valid shell variable names.
1839 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1840 as_fn_error $?
"invalid package name: $ac_useropt"
1841 ac_useropt_orig
=$ac_useropt
1842 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1843 case $ac_user_opts in
1847 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1848 ac_unrecognized_sep
=', ';;
1850 eval with_
$ac_useropt=no
;;
1853 # Obsolete; use --with-x.
1856 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1857 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1858 ac_prev
=x_includes
;;
1859 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1860 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1861 x_includes
=$ac_optarg ;;
1863 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1864 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1865 ac_prev
=x_libraries
;;
1866 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1867 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1868 x_libraries
=$ac_optarg ;;
1870 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1871 Try \`$0 --help' for more information"
1875 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1876 # Reject names that are not valid shell variable names.
1877 case $ac_envvar in #(
1878 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1879 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1881 eval $ac_envvar=\
$ac_optarg
1882 export $ac_envvar ;;
1885 # FIXME: should be removed in autoconf 3.0.
1886 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1887 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1888 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1889 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1895 if test -n "$ac_prev"; then
1896 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1897 as_fn_error $?
"missing argument to $ac_option"
1900 if test -n "$ac_unrecognized_opts"; then
1901 case $enable_option_checking in
1903 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1904 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1908 # Check all directory arguments for consistency.
1909 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1910 datadir sysconfdir sharedstatedir localstatedir includedir \
1911 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1912 libdir localedir mandir
1914 eval ac_val
=\$
$ac_var
1915 # Remove trailing slashes.
1918 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1919 eval $ac_var=\
$ac_val;;
1921 # Be sure to have absolute directory names.
1923 [\\/$
]* | ?
:[\\/]* ) continue;;
1924 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1926 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1929 # There might be people who depend on the old broken behavior: `$host'
1930 # used to hold the argument of --host etc.
1931 # FIXME: To remove some day.
1934 target
=$target_alias
1936 # FIXME: To remove some day.
1937 if test "x$host_alias" != x
; then
1938 if test "x$build_alias" = x
; then
1939 cross_compiling
=maybe
1940 elif test "x$build_alias" != "x$host_alias"; then
1946 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1948 test "$silent" = yes && exec 6>/dev
/null
1951 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1952 ac_ls_di
=`ls -di .` &&
1953 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1954 as_fn_error $?
"working directory cannot be determined"
1955 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1956 as_fn_error $?
"pwd does not report name of working directory"
1959 # Find the source files, if location was not specified.
1960 if test -z "$srcdir"; then
1961 ac_srcdir_defaulted
=yes
1962 # Try the directory containing this script, then the parent directory.
1963 ac_confdir
=`$as_dirname -- "$as_myself" ||
1964 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1965 X"$as_myself" : 'X\(//\)[^/]' \| \
1966 X"$as_myself" : 'X\(//\)$' \| \
1967 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1968 $as_echo X"$as_myself" |
1969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1987 if test ! -r "$srcdir/$ac_unique_file"; then
1991 ac_srcdir_defaulted
=no
1993 if test ! -r "$srcdir/$ac_unique_file"; then
1994 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1995 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1997 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1999 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2001 # When building in place, set srcdir=.
2002 if test "$ac_abs_confdir" = "$ac_pwd"; then
2005 # Remove unnecessary trailing slashes from srcdir.
2006 # Double slashes in file names in object file debugging info
2007 # mess up M-x gdb in Emacs.
2009 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2011 for ac_var
in $ac_precious_vars; do
2012 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2013 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2014 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2015 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2019 # Report the --help message.
2021 if test "$ac_init_help" = "long"; then
2022 # Omit some internal or obsolete options to make the list less imposing.
2023 # This message is too long to be a string in the A/UX 3.1 sh.
2025 \`configure' configures Wine 1.7.38 to adapt to many kinds of systems.
2027 Usage: $0 [OPTION]... [VAR=VALUE]...
2029 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2030 VAR=VALUE. See below for descriptions of some of the useful variables.
2032 Defaults for the options are specified in brackets.
2035 -h, --help display this help and exit
2036 --help=short display options specific to this package
2037 --help=recursive display the short help of all the included packages
2038 -V, --version display version information and exit
2039 -q, --quiet, --silent do not print \`checking ...' messages
2040 --cache-file=FILE cache test results in FILE [disabled]
2041 -C, --config-cache alias for \`--cache-file=config.cache'
2042 -n, --no-create do not create output files
2043 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2045 Installation directories:
2046 --prefix=PREFIX install architecture-independent files in PREFIX
2047 [$ac_default_prefix]
2048 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2051 By default, \`make install' will install all the files in
2052 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2053 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2054 for instance \`--prefix=\$HOME'.
2056 For better control, use the options below.
2058 Fine tuning of the installation directories:
2059 --bindir=DIR user executables [EPREFIX/bin]
2060 --sbindir=DIR system admin executables [EPREFIX/sbin]
2061 --libexecdir=DIR program executables [EPREFIX/libexec]
2062 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2063 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2064 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2065 --libdir=DIR object code libraries [EPREFIX/lib]
2066 --includedir=DIR C header files [PREFIX/include]
2067 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2068 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2069 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2070 --infodir=DIR info documentation [DATAROOTDIR/info]
2071 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2072 --mandir=DIR man documentation [DATAROOTDIR/man]
2073 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2074 --htmldir=DIR html documentation [DOCDIR]
2075 --dvidir=DIR dvi documentation [DOCDIR]
2076 --pdfdir=DIR pdf documentation [DOCDIR]
2077 --psdir=DIR ps documentation [DOCDIR]
2083 --x-includes=DIR X include files are
in DIR
2084 --x-libraries=DIR X library files are
in DIR
2087 --build=BUILD configure
for building on BUILD
[guessed
]
2088 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2092 if test -n "$ac_init_help"; then
2093 case $ac_init_help in
2094 short | recursive
) echo "Configuration of Wine 1.7.38:";;
2099 --disable-option-checking ignore unrecognized
--enable/--with options
2100 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2101 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2102 --disable-win16 do not include Win16 support
2103 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2105 --disable-tests do not build the regression tests
2106 --enable-maintainer-mode
2107 enable maintainer-specific build rules
2108 --disable-largefile omit support for large files
2111 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2112 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2113 --without-alsa do not use the Alsa sound support
2114 --without-capi do not use CAPI (ISDN support)
2115 --without-cms do not use CMS (color management support)
2116 --without-coreaudio do not use the CoreAudio sound support
2117 --without-cups do not use CUPS
2118 --without-curses do not use (n)curses
2119 --without-dbus do not use DBus (dynamic device support)
2120 --without-fontconfig do not use fontconfig
2121 --without-freetype do not use the FreeType library
2122 --without-gettext do not use gettext
2123 --with-gettextpo use the GetTextPO library to rebuild po files
2124 --without-gphoto do not use gphoto (Digital Camera support)
2125 --without-glu do not use the GLU library
2126 --without-gnutls do not use GnuTLS (schannel support)
2127 --without-gsm do not use libgsm (GSM 06.10 codec support)
2128 --without-gstreamer do not use GStreamer (codecs support)
2129 --without-hal do not use HAL (dynamic device support)
2130 --without-jpeg do not use JPEG
2131 --without-ldap do not use LDAP
2132 --without-mpg123 do not use the mpg123 library
2133 --without-netapi do not use the Samba NetAPI library
2134 --without-openal do not use OpenAL
2135 --without-opencl do not use OpenCL
2136 --without-opengl do not use OpenGL
2137 --without-osmesa do not use the OSMesa library
2138 --without-oss do not use the OSS sound support
2139 --without-pcap do not use the Packet Capture library
2140 --without-png do not use PNG
2141 --without-pthread do not use the pthread library
2142 --without-sane do not use SANE (scanner support)
2143 --without-tiff do not use TIFF
2144 --without-v4l do not use v4l1 (v4l support)
2145 --without-xcomposite do not use the Xcomposite extension
2146 --without-xcursor do not use the Xcursor extension
2147 --without-xinerama do not use Xinerama (multi-monitor support)
2148 --without-xinput do not use the Xinput extension
2149 --without-xinput2 do not use the Xinput 2 extension
2150 --without-xml do not use XML
2151 --without-xrandr do not use Xrandr (resolution changes)
2152 --without-xrender do not use the Xrender extension
2153 --without-xshape do not use the Xshape extension
2154 --without-xshm do not use XShm (shared memory extension)
2155 --without-xslt do not use XSLT
2156 --without-xxf86vm do not use XFree video mode extension
2157 --without-zlib do not use Zlib (data compression)
2158 --with-wine-tools=DIR use Wine tools from directory DIR
2159 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2160 --with-x use the X Window System
2162 Some influential environment variables:
2163 CC C compiler command
2164 CFLAGS C compiler flags
2165 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2166 nonstandard directory <lib dir>
2167 LIBS libraries to pass to the linker, e.g. -l<library>
2168 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2169 you have headers in a nonstandard directory <include dir>
2170 CXX C++ compiler command
2171 CXXFLAGS C++ compiler flags
2173 XMKMF Path to xmkmf, Makefile generator for X Window System
2174 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2175 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2176 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2177 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2178 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2179 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2180 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2181 HAL_LIBS Linker flags for hal, overriding pkg-config
2183 C compiler flags for gnutls, overriding pkg-config
2184 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2185 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2186 SANE_LIBS Linker flags for libsane, overriding pkg-config
2188 C compiler flags for libgphoto2, overriding pkg-config
2190 Linker flags for libgphoto2, overriding pkg-config
2192 C compiler flags for libgphoto2_port, overriding pkg-config
2194 Linker flags for libgphoto2_port, overriding pkg-config
2196 C compiler flags for lcms2, overriding pkg-config
2197 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2199 C compiler flags for freetype2, overriding pkg-config
2201 Linker flags for freetype2, overriding pkg-config
2203 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2205 Linker flags for gstreamer-app-0.10, overriding pkg-config
2207 C compiler flags for capi20, overriding pkg-config
2208 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2210 C compiler flags for fontconfig, overriding pkg-config
2212 Linker flags for fontconfig, overriding pkg-config
2213 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2214 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2215 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2216 PNG_LIBS Linker flags for libpng, overriding pkg-config
2217 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2218 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2220 C compiler flags for libmpg123, overriding pkg-config
2221 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2223 Use these variables to override the choices made by `configure' or to
help
2224 it to
find libraries and programs with nonstandard names
/locations.
2226 Report bugs to
<wine-devel@winehq.org
>.
2227 Wine home page
: <http
://www.winehq.org
>.
2232 if test "$ac_init_help" = "recursive"; then
2233 # If there are subdirs, report their specific --help.
2234 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2235 test -d "$ac_dir" ||
2236 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2241 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2243 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2244 # A ".." for each directory in $ac_dir_suffix.
2245 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2246 case $ac_top_builddir_sub in
2247 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2248 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2251 ac_abs_top_builddir
=$ac_pwd
2252 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2253 # for backward compatibility:
2254 ac_top_builddir
=$ac_top_build_prefix
2257 .
) # We are building in place.
2259 ac_top_srcdir
=$ac_top_builddir_sub
2260 ac_abs_top_srcdir
=$ac_pwd ;;
2261 [\\/]* | ?
:[\\/]* ) # Absolute name.
2262 ac_srcdir
=$srcdir$ac_dir_suffix;
2263 ac_top_srcdir
=$srcdir
2264 ac_abs_top_srcdir
=$srcdir ;;
2266 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2267 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2268 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2270 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2272 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2273 # Check for guested configure.
2274 if test -f "$ac_srcdir/configure.gnu"; then
2276 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2277 elif test -f "$ac_srcdir/configure"; then
2279 $SHELL "$ac_srcdir/configure" --help=recursive
2281 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2283 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2287 test -n "$ac_init_help" && exit $ac_status
2288 if $ac_init_version; then
2290 Wine configure
1.7.38
2291 generated by GNU Autoconf
2.69
2293 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2294 This configure
script is free software
; the Free Software Foundation
2295 gives unlimited permission to copy
, distribute and modify it.
2300 ## ------------------------ ##
2301 ## Autoconf initialization. ##
2302 ## ------------------------ ##
2304 # ac_fn_c_try_compile LINENO
2305 # --------------------------
2306 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2307 ac_fn_c_try_compile
()
2309 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2310 rm -f conftest.
$ac_objext
2311 if { { ac_try
="$ac_compile"
2313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2314 *) ac_try_echo=$ac_try;;
2316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2317 $as_echo "$ac_try_echo"; } >&5
2318 (eval "$ac_compile") 2>conftest.err
2320 if test -s conftest.err; then
2321 grep -v '^ *+' conftest.err >conftest.er1
2322 cat conftest.er1 >&5
2323 mv -f conftest.er1 conftest.err
2325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2326 test $ac_status = 0; } && {
2327 test -z "$ac_c_werror_flag" ||
2328 test ! -s conftest.err
2329 } && test -s conftest.$ac_objext; then :
2332 $as_echo "$as_me: failed program was:" >&5
2333 sed 's/^/| /' conftest.$ac_ext >&5
2337 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2338 as_fn_set_status $ac_retval
2340 } # ac_fn_c_try_compile
2342 # ac_fn_cxx_try_compile LINENO
2343 # ----------------------------
2344 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2345 ac_fn_cxx_try_compile ()
2347 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2348 rm -f conftest.$ac_objext
2349 if { { ac_try="$ac_compile"
2351 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2352 *) ac_try_echo
=$ac_try;;
2354 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2355 $as_echo "$ac_try_echo"; } >&5
2356 (eval "$ac_compile") 2>conftest.err
2358 if test -s conftest.err
; then
2359 grep -v '^ *+' conftest.err
>conftest.er1
2360 cat conftest.er1
>&5
2361 mv -f conftest.er1 conftest.err
2363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2364 test $ac_status = 0; } && {
2365 test -z "$ac_cxx_werror_flag" ||
2366 test ! -s conftest.err
2367 } && test -s conftest.
$ac_objext; then :
2370 $as_echo "$as_me: failed program was:" >&5
2371 sed 's/^/| /' conftest.
$ac_ext >&5
2375 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2376 as_fn_set_status
$ac_retval
2378 } # ac_fn_cxx_try_compile
2380 # ac_fn_c_try_link LINENO
2381 # -----------------------
2382 # Try to link conftest.$ac_ext, and return whether this succeeded.
2385 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2386 rm -f conftest.
$ac_objext conftest
$ac_exeext
2387 if { { ac_try
="$ac_link"
2389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2390 *) ac_try_echo=$ac_try;;
2392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2393 $as_echo "$ac_try_echo"; } >&5
2394 (eval "$ac_link") 2>conftest.err
2396 if test -s conftest.err; then
2397 grep -v '^ *+' conftest.err >conftest.er1
2398 cat conftest.er1 >&5
2399 mv -f conftest.er1 conftest.err
2401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2402 test $ac_status = 0; } && {
2403 test -z "$ac_c_werror_flag" ||
2404 test ! -s conftest.err
2405 } && test -s conftest$ac_exeext && {
2406 test "$cross_compiling" = yes ||
2407 test -x conftest$ac_exeext
2411 $as_echo "$as_me: failed program was:" >&5
2412 sed 's/^/| /' conftest.$ac_ext >&5
2416 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2417 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2418 # interfere with the next link command; also delete a directory that is
2419 # left behind by Apple's compiler. We do this before executing the actions.
2420 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2421 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2422 as_fn_set_status $ac_retval
2424 } # ac_fn_c_try_link
2426 # ac_fn_c_try_cpp LINENO
2427 # ----------------------
2428 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2431 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2432 if { { ac_try="$ac_cpp conftest.$ac_ext"
2434 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2435 *) ac_try_echo
=$ac_try;;
2437 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2438 $as_echo "$ac_try_echo"; } >&5
2439 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2441 if test -s conftest.err
; then
2442 grep -v '^ *+' conftest.err
>conftest.er1
2443 cat conftest.er1
>&5
2444 mv -f conftest.er1 conftest.err
2446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2447 test $ac_status = 0; } > conftest.i
&& {
2448 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2449 test ! -s conftest.err
2453 $as_echo "$as_me: failed program was:" >&5
2454 sed 's/^/| /' conftest.
$ac_ext >&5
2458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2459 as_fn_set_status
$ac_retval
2463 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2464 # -------------------------------------------------------
2465 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2466 # the include files in INCLUDES and setting the cache variable VAR
2468 ac_fn_c_check_header_mongrel
()
2470 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2471 if eval \
${$3+:} false
; then :
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2473 $as_echo_n "checking for $2... " >&6; }
2474 if eval \
${$3+:} false
; then :
2475 $as_echo_n "(cached) " >&6
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2479 $as_echo "$ac_res" >&6; }
2481 # Is the header compilable?
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2483 $as_echo_n "checking $2 usability... " >&6; }
2484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2485 /* end confdefs.h. */
2489 if ac_fn_c_try_compile
"$LINENO"; then :
2490 ac_header_compiler
=yes
2492 ac_header_compiler
=no
2494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2496 $as_echo "$ac_header_compiler" >&6; }
2498 # Is the header present?
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2500 $as_echo_n "checking $2 presence... " >&6; }
2501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2502 /* end confdefs.h. */
2505 if ac_fn_c_try_cpp
"$LINENO"; then :
2506 ac_header_preproc
=yes
2508 ac_header_preproc
=no
2510 rm -f conftest.err conftest.i conftest.
$ac_ext
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2512 $as_echo "$ac_header_preproc" >&6; }
2514 # So? What about this header?
2515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2518 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2520 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2524 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2526 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2528 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2530 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2532 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2533 ( $as_echo "## ------------------------------------ ##
2534 ## Report this to wine-devel@winehq.org ##
2535 ## ------------------------------------ ##"
2536 ) |
sed "s/^/$as_me: WARNING: /" >&2
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2540 $as_echo_n "checking for $2... " >&6; }
2541 if eval \
${$3+:} false
; then :
2542 $as_echo_n "(cached) " >&6
2544 eval "$3=\$ac_header_compiler"
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2548 $as_echo "$ac_res" >&6; }
2550 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2552 } # ac_fn_c_check_header_mongrel
2554 # ac_fn_c_try_run LINENO
2555 # ----------------------
2556 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2557 # that executables *can* be run.
2560 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2561 if { { ac_try
="$ac_link"
2563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2564 *) ac_try_echo=$ac_try;;
2566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2567 $as_echo "$ac_try_echo"; } >&5
2568 (eval "$ac_link") 2>&5
2570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2571 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2572 { { case "(($ac_try" in
2573 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2574 *) ac_try_echo
=$ac_try;;
2576 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2577 $as_echo "$ac_try_echo"; } >&5
2578 (eval "$ac_try") 2>&5
2580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2581 test $ac_status = 0; }; }; then :
2584 $as_echo "$as_me: program exited with status $ac_status" >&5
2585 $as_echo "$as_me: failed program was:" >&5
2586 sed 's/^/| /' conftest.
$ac_ext >&5
2588 ac_retval
=$ac_status
2590 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2592 as_fn_set_status
$ac_retval
2596 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2597 # -------------------------------------------------------
2598 # Tests whether HEADER exists and can be compiled using the include files in
2599 # INCLUDES, setting the cache variable VAR accordingly.
2600 ac_fn_c_check_header_compile
()
2602 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2604 $as_echo_n "checking for $2... " >&6; }
2605 if eval \
${$3+:} false
; then :
2606 $as_echo_n "(cached) " >&6
2608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h. */
2613 if ac_fn_c_try_compile
"$LINENO"; then :
2618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2622 $as_echo "$ac_res" >&6; }
2623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2625 } # ac_fn_c_check_header_compile
2627 # ac_fn_c_check_func LINENO FUNC VAR
2628 # ----------------------------------
2629 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2630 ac_fn_c_check_func
()
2632 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2634 $as_echo_n "checking for $2... " >&6; }
2635 if eval \
${$3+:} false
; then :
2636 $as_echo_n "(cached) " >&6
2638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2639 /* end confdefs.h. */
2640 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2642 #define $2 innocuous_$2
2644 /* System header to define __stub macros and hopefully few prototypes,
2645 which can conflict with char $2 (); below.
2646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2647 <limits.h> exists even on freestanding compilers. */
2650 # include <limits.h>
2652 # include <assert.h>
2657 /* Override any GCC internal prototype to avoid an error.
2658 Use char because int might match the return type of a GCC
2659 builtin and then its argument prototype would still apply. */
2664 /* The GNU C library defines this for functions which it implements
2665 to always fail with ENOSYS. Some functions are actually named
2666 something starting with __ and the normal name is an alias. */
2667 #if defined __stub_$2 || defined __stub___$2
2679 if ac_fn_c_try_link
"$LINENO"; then :
2684 rm -f core conftest.err conftest.
$ac_objext \
2685 conftest
$ac_exeext conftest.
$ac_ext
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2689 $as_echo "$ac_res" >&6; }
2690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2692 } # ac_fn_c_check_func
2694 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2695 # ----------------------------------------------------
2696 # Tries to find if the field MEMBER exists in type AGGR, after including
2697 # INCLUDES, setting cache variable VAR accordingly.
2698 ac_fn_c_check_member
()
2700 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2702 $as_echo_n "checking for $2.$3... " >&6; }
2703 if eval \
${$4+:} false
; then :
2704 $as_echo_n "(cached) " >&6
2706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2707 /* end confdefs.h. */
2719 if ac_fn_c_try_compile
"$LINENO"; then :
2722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2723 /* end confdefs.h. */
2729 if (sizeof ac_aggr.$3)
2735 if ac_fn_c_try_compile
"$LINENO"; then :
2740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2746 $as_echo "$ac_res" >&6; }
2747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2749 } # ac_fn_c_check_member
2751 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2752 # -------------------------------------------
2753 # Tests whether TYPE exists after having included INCLUDES, setting cache
2754 # variable VAR accordingly.
2755 ac_fn_c_check_type
()
2757 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2759 $as_echo_n "checking for $2... " >&6; }
2760 if eval \
${$3+:} false
; then :
2761 $as_echo_n "(cached) " >&6
2764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2765 /* end confdefs.h. */
2776 if ac_fn_c_try_compile
"$LINENO"; then :
2777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2778 /* end confdefs.h. */
2789 if ac_fn_c_try_compile
"$LINENO"; then :
2794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2800 $as_echo "$ac_res" >&6; }
2801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2803 } # ac_fn_c_check_type
2804 cat >config.log
<<_ACEOF
2805 This file contains any messages produced by compilers while
2806 running configure, to aid debugging if configure makes a mistake.
2808 It was created by Wine $as_me 1.7.38, which was
2809 generated by GNU Autoconf 2.69. Invocation command line was
2821 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2822 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2823 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2824 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2825 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2827 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2828 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2830 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2831 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2832 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2833 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2834 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2835 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2836 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2844 test -z "$as_dir" && as_dir
=.
2845 $as_echo "PATH: $as_dir"
2861 # Keep a trace of the command line.
2862 # Strip out --no-create and --no-recursion so they do not pile up.
2863 # Strip out --silent because we don't want to record it for future runs.
2864 # Also quote any args containing shell meta-characters.
2865 # Make two passes to allow for proper duplicate-argument suppression.
2869 ac_must_keep_next
=false
2875 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2876 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2877 |
-silent |
--silent |
--silen |
--sile |
--sil)
2880 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2883 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2885 as_fn_append ac_configure_args1
" '$ac_arg'"
2886 if test $ac_must_keep_next = true
; then
2887 ac_must_keep_next
=false
# Got value, back to normal.
2890 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2891 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2892 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2893 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2894 case "$ac_configure_args0 " in
2895 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2898 -* ) ac_must_keep_next
=true
;;
2901 as_fn_append ac_configure_args
" '$ac_arg'"
2906 { ac_configure_args0
=; unset ac_configure_args0
;}
2907 { ac_configure_args1
=; unset ac_configure_args1
;}
2909 # When interrupted or exit'd, cleanup temporary files, and complete
2910 # config.log. We remove comments because anyway the quotes in there
2911 # would cause problems or look ugly.
2912 # WARNING: Use '\'' to represent an apostrophe within the trap.
2913 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2914 trap 'exit_status=$?
2915 # Save into config.log some information that might help in debugging.
2919 $as_echo "## ---------------- ##
2920 ## Cache variables. ##
2921 ## ---------------- ##"
2923 # The following way of writing the cache mishandles newlines in values,
2925 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2926 eval ac_val=\$$ac_var
2930 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2931 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2934 _ | IFS | as_nl) ;; #(
2935 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2936 *) { eval $ac_var=; unset $ac_var;} ;;
2941 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2942 *${as_nl}ac_space=\ *)
2944 "s/'\''/'\''\\\\'\'''\''/g;
2945 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2948 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2955 $as_echo "## ----------------- ##
2956 ## Output variables. ##
2957 ## ----------------- ##"
2959 for ac_var in $ac_subst_vars
2961 eval ac_val=\$$ac_var
2963 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2965 $as_echo "$ac_var='\''$ac_val'\''"
2969 if test -n "$ac_subst_files"; then
2970 $as_echo "## ------------------- ##
2971 ## File substitutions. ##
2972 ## ------------------- ##"
2974 for ac_var
in $ac_subst_files
2976 eval ac_val
=\$
$ac_var
2978 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2980 $as_echo "$ac_var='\''$ac_val'\''"
2985 if test -s confdefs.h; then
2986 $as_echo "## ----------- ##
2993 test "$ac_signal" != 0 &&
2994 $as_echo "$as_me: caught signal $ac_signal"
2995 $as_echo "$as_me: exit $exit_status"
2997 rm -f core *.core core.conftest.* &&
2998 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3001 for ac_signal
in 1 2 13 15; do
3002 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3006 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3007 rm -f -r conftest
* confdefs.h
3009 $as_echo "/* confdefs.h */" > confdefs.h
3011 # Predefined preprocessor variables.
3013 cat >>confdefs.h
<<_ACEOF
3014 #define PACKAGE_NAME "$PACKAGE_NAME"
3017 cat >>confdefs.h
<<_ACEOF
3018 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3021 cat >>confdefs.h
<<_ACEOF
3022 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3025 cat >>confdefs.h
<<_ACEOF
3026 #define PACKAGE_STRING "$PACKAGE_STRING"
3029 cat >>confdefs.h
<<_ACEOF
3030 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3033 cat >>confdefs.h
<<_ACEOF
3034 #define PACKAGE_URL "$PACKAGE_URL"
3038 # Let the site file select an alternate cache file if it wants to.
3039 # Prefer an explicitly selected file to automatically selected ones.
3042 if test -n "$CONFIG_SITE"; then
3043 # We do not want a PATH search for config.site.
3044 case $CONFIG_SITE in #((
3045 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3046 */*) ac_site_file1
=$CONFIG_SITE;;
3047 *) ac_site_file1
=.
/$CONFIG_SITE;;
3049 elif test "x$prefix" != xNONE
; then
3050 ac_site_file1
=$prefix/share
/config.site
3051 ac_site_file2
=$prefix/etc
/config.site
3053 ac_site_file1
=$ac_default_prefix/share
/config.site
3054 ac_site_file2
=$ac_default_prefix/etc
/config.site
3056 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3058 test "x$ac_site_file" = xNONE
&& continue
3059 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3061 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3062 sed 's/^/| /' "$ac_site_file" >&5
3064 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3066 as_fn_error $?
"failed to load site script $ac_site_file
3067 See \`config.log' for more details" "$LINENO" 5; }
3071 if test -r "$cache_file"; then
3072 # Some versions of bash will fail to source /dev/null (special files
3073 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3074 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3076 $as_echo "$as_me: loading cache $cache_file" >&6;}
3078 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3079 *) .
"./$cache_file";;
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3084 $as_echo "$as_me: creating cache $cache_file" >&6;}
3088 # Check that the precious variables saved in the cache have kept the same
3090 ac_cache_corrupted
=false
3091 for ac_var
in $ac_precious_vars; do
3092 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3093 eval ac_new_set
=\
$ac_env_${ac_var}_set
3094 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3095 eval ac_new_val
=\
$ac_env_${ac_var}_value
3096 case $ac_old_set,$ac_new_set in
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3099 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3100 ac_cache_corrupted
=: ;;
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3103 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3104 ac_cache_corrupted
=: ;;
3107 if test "x$ac_old_val" != "x$ac_new_val"; then
3108 # differences in whitespace do not lead to failure.
3109 ac_old_val_w
=`echo x $ac_old_val`
3110 ac_new_val_w
=`echo x $ac_new_val`
3111 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3113 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3114 ac_cache_corrupted
=:
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3117 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3118 eval $ac_var=\
$ac_old_val
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3121 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3123 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3126 # Pass precious variables to config.status.
3127 if test "$ac_new_set" = set; then
3129 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3130 *) ac_arg
=$ac_var=$ac_new_val ;;
3132 case " $ac_configure_args " in
3133 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3134 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3138 if $ac_cache_corrupted; then
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3142 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3143 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3145 ## -------------------- ##
3146 ## Main body of script. ##
3147 ## -------------------- ##
3150 ac_cpp
='$CPP $CPPFLAGS'
3151 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3152 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3153 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3157 ac_config_headers
="$ac_config_headers include/config.h"
3160 for ac_dir
in tools
"$srcdir"/tools
; do
3161 if test -f "$ac_dir/install-sh"; then
3163 ac_install_sh
="$ac_aux_dir/install-sh -c"
3165 elif test -f "$ac_dir/install.sh"; then
3167 ac_install_sh
="$ac_aux_dir/install.sh -c"
3169 elif test -f "$ac_dir/shtool"; then
3171 ac_install_sh
="$ac_aux_dir/shtool install -c"
3175 if test -z "$ac_aux_dir"; then
3176 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3179 # These three variables are undocumented and unsupported,
3180 # and are intended to be withdrawn in a future Autoconf release.
3181 # They can cause serious problems if a builder's source tree is in a directory
3182 # whose full name contains unusual characters.
3183 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3184 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3185 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3189 libwine_version
="1.0"
3193 # Check whether --enable-win16 was given.
3194 if test "${enable_win16+set}" = set; then :
3195 enableval
=$enable_win16;
3198 # Check whether --enable-win64 was given.
3199 if test "${enable_win64+set}" = set; then :
3200 enableval
=$enable_win64;
3203 # Check whether --enable-tests was given.
3204 if test "${enable_tests+set}" = set; then :
3205 enableval
=$enable_tests;
3208 # Check whether --enable-maintainer-mode was given.
3209 if test "${enable_maintainer_mode+set}" = set; then :
3210 enableval
=$enable_maintainer_mode;
3215 # Check whether --with-alsa was given.
3216 if test "${with_alsa+set}" = set; then :
3217 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3221 # Check whether --with-capi was given.
3222 if test "${with_capi+set}" = set; then :
3227 # Check whether --with-cms was given.
3228 if test "${with_cms+set}" = set; then :
3233 # Check whether --with-coreaudio was given.
3234 if test "${with_coreaudio+set}" = set; then :
3235 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3239 # Check whether --with-cups was given.
3240 if test "${with_cups+set}" = set; then :
3245 # Check whether --with-curses was given.
3246 if test "${with_curses+set}" = set; then :
3247 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3251 # Check whether --with-dbus was given.
3252 if test "${with_dbus+set}" = set; then :
3257 # Check whether --with-fontconfig was given.
3258 if test "${with_fontconfig+set}" = set; then :
3259 withval
=$with_fontconfig;
3263 # Check whether --with-freetype was given.
3264 if test "${with_freetype+set}" = set; then :
3265 withval
=$with_freetype;
3269 # Check whether --with-gettext was given.
3270 if test "${with_gettext+set}" = set; then :
3271 withval
=$with_gettext;
3275 # Check whether --with-gettextpo was given.
3276 if test "${with_gettextpo+set}" = set; then :
3277 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3281 # Check whether --with-gphoto was given.
3282 if test "${with_gphoto+set}" = set; then :
3283 withval
=$with_gphoto;
3287 # Check whether --with-glu was given.
3288 if test "${with_glu+set}" = set; then :
3293 # Check whether --with-gnutls was given.
3294 if test "${with_gnutls+set}" = set; then :
3295 withval
=$with_gnutls;
3299 # Check whether --with-gsm was given.
3300 if test "${with_gsm+set}" = set; then :
3301 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3305 # Check whether --with-gstreamer was given.
3306 if test "${with_gstreamer+set}" = set; then :
3307 withval
=$with_gstreamer;
3311 # Check whether --with-hal was given.
3312 if test "${with_hal+set}" = set; then :
3317 # Check whether --with-jpeg was given.
3318 if test "${with_jpeg+set}" = set; then :
3323 # Check whether --with-ldap was given.
3324 if test "${with_ldap+set}" = set; then :
3325 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3329 # Check whether --with-mpg123 was given.
3330 if test "${with_mpg123+set}" = set; then :
3331 withval
=$with_mpg123;
3335 # Check whether --with-netapi was given.
3336 if test "${with_netapi+set}" = set; then :
3337 withval
=$with_netapi;
3341 # Check whether --with-openal was given.
3342 if test "${with_openal+set}" = set; then :
3343 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3347 # Check whether --with-opencl was given.
3348 if test "${with_opencl+set}" = set; then :
3349 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3353 # Check whether --with-opengl was given.
3354 if test "${with_opengl+set}" = set; then :
3355 withval
=$with_opengl;
3359 # Check whether --with-osmesa was given.
3360 if test "${with_osmesa+set}" = set; then :
3361 withval
=$with_osmesa;
3365 # Check whether --with-oss was given.
3366 if test "${with_oss+set}" = set; then :
3371 # Check whether --with-pcap was given.
3372 if test "${with_pcap+set}" = set; then :
3373 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3377 # Check whether --with-png was given.
3378 if test "${with_png+set}" = set; then :
3383 # Check whether --with-pthread was given.
3384 if test "${with_pthread+set}" = set; then :
3385 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3389 # Check whether --with-sane was given.
3390 if test "${with_sane+set}" = set; then :
3395 # Check whether --with-tiff was given.
3396 if test "${with_tiff+set}" = set; then :
3401 # Check whether --with-v4l was given.
3402 if test "${with_v4l+set}" = set; then :
3407 # Check whether --with-xcomposite was given.
3408 if test "${with_xcomposite+set}" = set; then :
3409 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3413 # Check whether --with-xcursor was given.
3414 if test "${with_xcursor+set}" = set; then :
3415 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3419 # Check whether --with-xinerama was given.
3420 if test "${with_xinerama+set}" = set; then :
3421 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3425 # Check whether --with-xinput was given.
3426 if test "${with_xinput+set}" = set; then :
3427 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3431 # Check whether --with-xinput2 was given.
3432 if test "${with_xinput2+set}" = set; then :
3433 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3437 # Check whether --with-xml was given.
3438 if test "${with_xml+set}" = set; then :
3443 # Check whether --with-xrandr was given.
3444 if test "${with_xrandr+set}" = set; then :
3445 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3449 # Check whether --with-xrender was given.
3450 if test "${with_xrender+set}" = set; then :
3451 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3455 # Check whether --with-xshape was given.
3456 if test "${with_xshape+set}" = set; then :
3457 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3461 # Check whether --with-xshm was given.
3462 if test "${with_xshm+set}" = set; then :
3463 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3467 # Check whether --with-xslt was given.
3468 if test "${with_xslt+set}" = set; then :
3473 # Check whether --with-xxf86vm was given.
3474 if test "${with_xxf86vm+set}" = set; then :
3475 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
3479 # Check whether --with-zlib was given.
3480 if test "${with_zlib+set}" = set; then :
3481 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3486 # Check whether --with-wine-tools was given.
3487 if test "${with_wine_tools+set}" = set; then :
3488 withval
=$with_wine_tools;
3492 # Check whether --with-wine64 was given.
3493 if test "${with_wine64+set}" = set; then :
3494 withval
=$with_wine64;
3498 # Make sure we can run config.sub.
3499 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3500 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3503 $as_echo_n "checking build system type... " >&6; }
3504 if ${ac_cv_build+:} false
; then :
3505 $as_echo_n "(cached) " >&6
3507 ac_build_alias
=$build_alias
3508 test "x$ac_build_alias" = x
&&
3509 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3510 test "x$ac_build_alias" = x
&&
3511 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3512 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3513 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3517 $as_echo "$ac_cv_build" >&6; }
3518 case $ac_cv_build in
3520 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3523 ac_save_IFS
=$IFS; IFS
='-'
3529 # Remember, the first character of IFS is used to create $*,
3530 # except with old shells:
3533 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3537 $as_echo_n "checking host system type... " >&6; }
3538 if ${ac_cv_host+:} false
; then :
3539 $as_echo_n "(cached) " >&6
3541 if test "x$host_alias" = x
; then
3542 ac_cv_host
=$ac_cv_build
3544 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3545 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3550 $as_echo "$ac_cv_host" >&6; }
3553 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3556 ac_save_IFS
=$IFS; IFS
='-'
3562 # Remember, the first character of IFS is used to create $*,
3563 # except with old shells:
3566 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3572 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3573 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3574 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3580 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3582 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3583 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3584 $as_echo_n "(cached) " >&6
3586 cat >conftest.
make <<\_ACEOF
3589 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3591 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3592 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3594 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3596 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3600 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3602 $as_echo "yes" >&6; }
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3606 $as_echo "no" >&6; }
3607 SET_MAKE
="MAKE=${MAKE-make}"
3611 ac_cpp
='$CPP $CPPFLAGS'
3612 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3613 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3614 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3615 if test -n "$ac_tool_prefix"; then
3616 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3617 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3619 $as_echo_n "checking for $ac_word... " >&6; }
3620 if ${ac_cv_prog_CC+:} false
; then :
3621 $as_echo_n "(cached) " >&6
3623 if test -n "$CC"; then
3624 ac_cv_prog_CC
="$CC" # Let the user override the test.
3626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3630 test -z "$as_dir" && as_dir
=.
3631 for ac_exec_ext
in '' $ac_executable_extensions; do
3632 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3633 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3644 if test -n "$CC"; then
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3646 $as_echo "$CC" >&6; }
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3649 $as_echo "no" >&6; }
3654 if test -z "$ac_cv_prog_CC"; then
3656 # Extract the first word of "gcc", so it can be a program name with args.
3657 set dummy gcc
; ac_word
=$2
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659 $as_echo_n "checking for $ac_word... " >&6; }
3660 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3661 $as_echo_n "(cached) " >&6
3663 if test -n "$ac_ct_CC"; then
3664 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3670 test -z "$as_dir" && as_dir
=.
3671 for ac_exec_ext
in '' $ac_executable_extensions; do
3672 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3673 ac_cv_prog_ac_ct_CC
="gcc"
3674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3683 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3684 if test -n "$ac_ct_CC"; then
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3686 $as_echo "$ac_ct_CC" >&6; }
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689 $as_echo "no" >&6; }
3692 if test "x$ac_ct_CC" = x
; then
3695 case $cross_compiling:$ac_tool_warned in
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3699 ac_tool_warned
=yes ;;
3707 if test -z "$CC"; then
3708 if test -n "$ac_tool_prefix"; then
3709 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3710 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3712 $as_echo_n "checking for $ac_word... " >&6; }
3713 if ${ac_cv_prog_CC+:} false
; then :
3714 $as_echo_n "(cached) " >&6
3716 if test -n "$CC"; then
3717 ac_cv_prog_CC
="$CC" # Let the user override the test.
3719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3723 test -z "$as_dir" && as_dir
=.
3724 for ac_exec_ext
in '' $ac_executable_extensions; do
3725 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3726 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3737 if test -n "$CC"; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3739 $as_echo "$CC" >&6; }
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3742 $as_echo "no" >&6; }
3748 if test -z "$CC"; then
3749 # Extract the first word of "cc", so it can be a program name with args.
3750 set dummy cc
; ac_word
=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if ${ac_cv_prog_CC+:} false
; then :
3754 $as_echo_n "(cached) " >&6
3756 if test -n "$CC"; then
3757 ac_cv_prog_CC
="$CC" # Let the user override the test.
3760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3764 test -z "$as_dir" && as_dir
=.
3765 for ac_exec_ext
in '' $ac_executable_extensions; do
3766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3767 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3768 ac_prog_rejected
=yes
3772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3779 if test $ac_prog_rejected = yes; then
3780 # We found a bogon in the path, so make sure we never use it.
3781 set dummy
$ac_cv_prog_CC
3783 if test $# != 0; then
3784 # We chose a different compiler from the bogus one.
3785 # However, it has the same basename, so the bogon will be chosen
3786 # first if we set CC to just the basename; use the full file name.
3788 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3794 if test -n "$CC"; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3796 $as_echo "$CC" >&6; }
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3799 $as_echo "no" >&6; }
3804 if test -z "$CC"; then
3805 if test -n "$ac_tool_prefix"; then
3806 for ac_prog
in cl.exe
3808 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3809 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3811 $as_echo_n "checking for $ac_word... " >&6; }
3812 if ${ac_cv_prog_CC+:} false
; then :
3813 $as_echo_n "(cached) " >&6
3815 if test -n "$CC"; then
3816 ac_cv_prog_CC
="$CC" # Let the user override the test.
3818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3822 test -z "$as_dir" && as_dir
=.
3823 for ac_exec_ext
in '' $ac_executable_extensions; do
3824 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3825 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3836 if test -n "$CC"; then
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3838 $as_echo "$CC" >&6; }
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3841 $as_echo "no" >&6; }
3845 test -n "$CC" && break
3848 if test -z "$CC"; then
3850 for ac_prog
in cl.exe
3852 # Extract the first word of "$ac_prog", so it can be a program name with args.
3853 set dummy
$ac_prog; ac_word
=$2
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3855 $as_echo_n "checking for $ac_word... " >&6; }
3856 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3857 $as_echo_n "(cached) " >&6
3859 if test -n "$ac_ct_CC"; then
3860 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3866 test -z "$as_dir" && as_dir
=.
3867 for ac_exec_ext
in '' $ac_executable_extensions; do
3868 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3869 ac_cv_prog_ac_ct_CC
="$ac_prog"
3870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3879 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3880 if test -n "$ac_ct_CC"; then
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3882 $as_echo "$ac_ct_CC" >&6; }
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3885 $as_echo "no" >&6; }
3889 test -n "$ac_ct_CC" && break
3892 if test "x$ac_ct_CC" = x
; then
3895 case $cross_compiling:$ac_tool_warned in
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3899 ac_tool_warned
=yes ;;
3908 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3910 as_fn_error $?
"no acceptable C compiler found in \$PATH
3911 See \`config.log' for more details" "$LINENO" 5; }
3913 # Provide some information about the compiler.
3914 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3917 for ac_option
in --version -v -V -qversion; do
3918 { { ac_try
="$ac_compiler $ac_option >&5"
3920 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3921 *) ac_try_echo=$ac_try;;
3923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3924 $as_echo "$ac_try_echo"; } >&5
3925 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3927 if test -s conftest.err; then
3929 ... rest of stderr output deleted ...
3930 10q' conftest.err >conftest.er1
3931 cat conftest.er1 >&5
3933 rm -f conftest.er1 conftest.err
3934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3935 test $ac_status = 0; }
3938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3939 /* end confdefs.h. */
3949 ac_clean_files_save=$ac_clean_files
3950 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3951 # Try to create an executable without -o first, disregard a.out.
3952 # It will help us diagnose broken compilers, and finding out an intuition
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3955 $as_echo_n "checking whether the C compiler works... " >&6; }
3956 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3958 # The possible output files:
3959 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3962 for ac_file in $ac_files
3965 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3966 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3971 if { { ac_try="$ac_link_default"
3973 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3974 *) ac_try_echo
=$ac_try;;
3976 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3977 $as_echo "$ac_try_echo"; } >&5
3978 (eval "$ac_link_default") 2>&5
3980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3981 test $ac_status = 0; }; then :
3982 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3983 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3984 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3985 # so that the user can short-circuit this test for compilers unknown to
3987 for ac_file
in $ac_files ''
3989 test -f "$ac_file" ||
continue
3991 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3994 # We found the default executable, but exeext='' is most
3998 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4000 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4002 # We set ac_cv_exeext here because the later test for it is not
4003 # safe: cross compilers may not add the suffix if given an `-o'
4004 # argument, so we may need to know it at that point already.
4005 # Even if this section looks crufty: it has the advantage of
4012 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4017 if test -z "$ac_file"; then :
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4019 $as_echo "no" >&6; }
4020 $as_echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.
$ac_ext >&5
4023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4025 as_fn_error
77 "C compiler cannot create executables
4026 See \`config.log' for more details" "$LINENO" 5; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4029 $as_echo "yes" >&6; }
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4032 $as_echo_n "checking for C compiler default output file name... " >&6; }
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4034 $as_echo "$ac_file" >&6; }
4035 ac_exeext
=$ac_cv_exeext
4037 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4038 ac_clean_files
=$ac_clean_files_save
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4040 $as_echo_n "checking for suffix of executables... " >&6; }
4041 if { { ac_try
="$ac_link"
4043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4044 *) ac_try_echo=$ac_try;;
4046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4047 $as_echo "$ac_try_echo"; } >&5
4048 (eval "$ac_link") 2>&5
4050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4051 test $ac_status = 0; }; then :
4052 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4053 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4054 # work properly (i.e., refer to `conftest.exe'), while it won't with
4056 for ac_file
in conftest.exe conftest conftest.
*; do
4057 test -f "$ac_file" ||
continue
4059 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4060 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4068 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4069 See \`config.log' for more details" "$LINENO" 5; }
4071 rm -f conftest conftest
$ac_cv_exeext
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4073 $as_echo "$ac_cv_exeext" >&6; }
4075 rm -f conftest.
$ac_ext
4076 EXEEXT
=$ac_cv_exeext
4078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4084 FILE *f = fopen ("conftest.out", "w");
4085 return ferror (f) || fclose (f) != 0;
4091 ac_clean_files
="$ac_clean_files conftest.out"
4092 # Check that the compiler produces executables we can run. If not, either
4093 # the compiler is broken, or we cross compile.
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4095 $as_echo_n "checking whether we are cross compiling... " >&6; }
4096 if test "$cross_compiling" != yes; then
4097 { { ac_try
="$ac_link"
4099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4100 *) ac_try_echo=$ac_try;;
4102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4103 $as_echo "$ac_try_echo"; } >&5
4104 (eval "$ac_link") 2>&5
4106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4107 test $ac_status = 0; }
4108 if { ac_try='./conftest$ac_cv_exeext'
4109 { { case "(($ac_try" in
4110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4111 *) ac_try_echo
=$ac_try;;
4113 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4114 $as_echo "$ac_try_echo"; } >&5
4115 (eval "$ac_try") 2>&5
4117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4118 test $ac_status = 0; }; }; then
4121 if test "$cross_compiling" = maybe
; then
4124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4126 as_fn_error $?
"cannot run C compiled programs.
4127 If you meant to cross compile, use \`--host'.
4128 See \`config.log' for more details" "$LINENO" 5; }
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4133 $as_echo "$cross_compiling" >&6; }
4135 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4136 ac_clean_files
=$ac_clean_files_save
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4138 $as_echo_n "checking for suffix of object files... " >&6; }
4139 if ${ac_cv_objext+:} false
; then :
4140 $as_echo_n "(cached) " >&6
4142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4143 /* end confdefs.h. */
4153 rm -f conftest.o conftest.obj
4154 if { { ac_try
="$ac_compile"
4156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4157 *) ac_try_echo=$ac_try;;
4159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4160 $as_echo "$ac_try_echo"; } >&5
4161 (eval "$ac_compile") 2>&5
4163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4164 test $ac_status = 0; }; then :
4165 for ac_file in conftest.o conftest.obj conftest.*; do
4166 test -f "$ac_file" || continue;
4168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4169 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4174 $as_echo "$as_me: failed program was:" >&5
4175 sed 's/^/| /' conftest.$ac_ext >&5
4177 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4179 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4180 See \
`config.log' for more details" "$LINENO" 5; }
4182 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4185 $as_echo "$ac_cv_objext" >&6; }
4186 OBJEXT=$ac_cv_objext
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4189 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4190 if ${ac_cv_c_compiler_gnu+:} false; then :
4191 $as_echo_n "(cached) " >&6
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4207 if ac_fn_c_try_compile "$LINENO"; then :
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4217 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4218 if test $ac_compiler_gnu = yes; then
4223 ac_test_CFLAGS=${CFLAGS+set}
4224 ac_save_CFLAGS=$CFLAGS
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4226 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4227 if ${ac_cv_prog_cc_g+:} false; then :
4228 $as_echo_n "(cached) " >&6
4230 ac_save_c_werror_flag=$ac_c_werror_flag
4231 ac_c_werror_flag=yes
4234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4245 if ac_fn_c_try_compile "$LINENO"; then :
4249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4250 /* end confdefs.h. */
4260 if ac_fn_c_try_compile "$LINENO"; then :
4263 ac_c_werror_flag=$ac_save_c_werror_flag
4265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4266 /* end confdefs.h. */
4276 if ac_fn_c_try_compile "$LINENO"; then :
4279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4284 ac_c_werror_flag=$ac_save_c_werror_flag
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4287 $as_echo "$ac_cv_prog_cc_g" >&6; }
4288 if test "$ac_test_CFLAGS" = set; then
4289 CFLAGS=$ac_save_CFLAGS
4290 elif test $ac_cv_prog_cc_g = yes; then
4291 if test "$GCC" = yes; then
4297 if test "$GCC" = yes; then
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4304 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4305 if ${ac_cv_prog_cc_c89+:} false; then :
4306 $as_echo_n "(cached) " >&6
4308 ac_cv_prog_cc_c89=no
4310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4315 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4316 struct buf { int x; };
4317 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4318 static char *e (p, i)
4324 static char *f (char * (*g) (char **, int), char **p, ...)
4329 s = g (p, va_arg (v,int));
4334 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4335 function prototypes and stuff, but not '\xHH' hex character constants.
4336 These don't provoke an error unfortunately, instead are silently treated
4337 as 'x'. The following induces an error, until -std is added to get
4338 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4339 array size at least. It's necessary to write '\x00'==0 to get something
4340 that's true only with -std. */
4341 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4343 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4344 inside strings and character constants. */
4346 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4348 int test (int i, double x);
4349 struct s1 {int (*f) (int a);};
4350 struct s2 {int (*f) (double a);};
4351 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4357 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4362 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4363 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4365 CC="$ac_save_CC $ac_arg"
4366 if ac_fn_c_try_compile "$LINENO"; then :
4367 ac_cv_prog_cc_c89=$ac_arg
4369 rm -f core conftest.err conftest.$ac_objext
4370 test "x$ac_cv_prog_cc_c89" != "xno" && break
4372 rm -f conftest.$ac_ext
4377 case "x$ac_cv_prog_cc_c89" in
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4380 $as_echo "none needed" >&6; } ;;
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4383 $as_echo "unsupported" >&6; } ;;
4385 CC="$CC $ac_cv_prog_cc_c89"
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4387 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4389 if test "x$ac_cv_prog_cc_c89" != xno; then :
4394 ac_cpp='$CPP $CPPFLAGS'
4395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4400 ac_cpp='$CXXCPP $CPPFLAGS'
4401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4404 if test -z "$CXX"; then
4405 if test -n "$CCC"; then
4408 if test -n "$ac_tool_prefix"; then
4409 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4411 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4412 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4414 $as_echo_n "checking for $ac_word... " >&6; }
4415 if ${ac_cv_prog_CXX+:} false; then :
4416 $as_echo_n "(cached) " >&6
4418 if test -n "$CXX"; then
4419 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4425 test -z "$as_dir" && as_dir=.
4426 for ac_exec_ext in '' $ac_executable_extensions; do
4427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4428 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4439 if test -n "$CXX"; then
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4441 $as_echo "$CXX" >&6; }
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4444 $as_echo "no" >&6; }
4448 test -n "$CXX" && break
4451 if test -z "$CXX"; then
4453 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4455 # Extract the first word of "$ac_prog", so it can be a program name with args.
4456 set dummy $ac_prog; ac_word=$2
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4458 $as_echo_n "checking for $ac_word... " >&6; }
4459 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4460 $as_echo_n "(cached) " >&6
4462 if test -n "$ac_ct_CXX"; then
4463 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4469 test -z "$as_dir" && as_dir=.
4470 for ac_exec_ext in '' $ac_executable_extensions; do
4471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4472 ac_cv_prog_ac_ct_CXX="$ac_prog"
4473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4482 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4483 if test -n "$ac_ct_CXX"; then
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4485 $as_echo "$ac_ct_CXX" >&6; }
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4488 $as_echo "no" >&6; }
4492 test -n "$ac_ct_CXX" && break
4495 if test "x$ac_ct_CXX" = x; then
4498 case $cross_compiling:$ac_tool_warned in
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4502 ac_tool_warned=yes ;;
4510 # Provide some information about the compiler.
4511 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4514 for ac_option in --version -v -V -qversion; do
4515 { { ac_try="$ac_compiler $ac_option >&5"
4517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4518 *) ac_try_echo
=$ac_try;;
4520 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4521 $as_echo "$ac_try_echo"; } >&5
4522 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4524 if test -s conftest.err
; then
4526 ... rest of stderr output deleted ...
4527 10q' conftest.err
>conftest.er1
4528 cat conftest.er1
>&5
4530 rm -f conftest.er1 conftest.err
4531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4532 test $ac_status = 0; }
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4536 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4537 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4538 $as_echo_n "(cached) " >&6
4540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4554 if ac_fn_cxx_try_compile
"$LINENO"; then :
4559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4560 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4564 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4565 if test $ac_compiler_gnu = yes; then
4570 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4571 ac_save_CXXFLAGS
=$CXXFLAGS
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4573 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4574 if ${ac_cv_prog_cxx_g+:} false
; then :
4575 $as_echo_n "(cached) " >&6
4577 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4578 ac_cxx_werror_flag
=yes
4581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4582 /* end confdefs.h. */
4592 if ac_fn_cxx_try_compile
"$LINENO"; then :
4593 ac_cv_prog_cxx_g
=yes
4596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h. */
4607 if ac_fn_cxx_try_compile
"$LINENO"; then :
4610 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4623 if ac_fn_cxx_try_compile
"$LINENO"; then :
4624 ac_cv_prog_cxx_g
=yes
4626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4631 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4634 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4635 if test "$ac_test_CXXFLAGS" = set; then
4636 CXXFLAGS
=$ac_save_CXXFLAGS
4637 elif test $ac_cv_prog_cxx_g = yes; then
4638 if test "$GXX" = yes; then
4644 if test "$GXX" = yes; then
4651 ac_cpp
='$CPP $CPPFLAGS'
4652 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4653 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4654 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4656 if test -n "$ac_tool_prefix"; then
4657 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4658 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660 $as_echo_n "checking for $ac_word... " >&6; }
4661 if ${ac_cv_prog_CPPBIN+:} false
; then :
4662 $as_echo_n "(cached) " >&6
4664 if test -n "$CPPBIN"; then
4665 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4671 test -z "$as_dir" && as_dir
=.
4672 for ac_exec_ext
in '' $ac_executable_extensions; do
4673 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4674 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 CPPBIN
=$ac_cv_prog_CPPBIN
4685 if test -n "$CPPBIN"; then
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4687 $as_echo "$CPPBIN" >&6; }
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690 $as_echo "no" >&6; }
4695 if test -z "$ac_cv_prog_CPPBIN"; then
4696 ac_ct_CPPBIN
=$CPPBIN
4697 # Extract the first word of "cpp", so it can be a program name with args.
4698 set dummy cpp
; ac_word
=$2
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4700 $as_echo_n "checking for $ac_word... " >&6; }
4701 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4702 $as_echo_n "(cached) " >&6
4704 if test -n "$ac_ct_CPPBIN"; then
4705 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4711 test -z "$as_dir" && as_dir
=.
4712 for ac_exec_ext
in '' $ac_executable_extensions; do
4713 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4714 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4724 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4725 if test -n "$ac_ct_CPPBIN"; then
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4727 $as_echo "$ac_ct_CPPBIN" >&6; }
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4730 $as_echo "no" >&6; }
4733 if test "x$ac_ct_CPPBIN" = x
; then
4736 case $cross_compiling:$ac_tool_warned in
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4740 ac_tool_warned
=yes ;;
4742 CPPBIN
=$ac_ct_CPPBIN
4745 CPPBIN
="$ac_cv_prog_CPPBIN"
4749 cat >>confdefs.h
<<_ACEOF
4750 #define EXEEXT "$ac_exeext"
4753 if test -n "$ac_tool_prefix"; then
4754 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4755 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4757 $as_echo_n "checking for $ac_word... " >&6; }
4758 if ${ac_cv_prog_LD+:} false
; then :
4759 $as_echo_n "(cached) " >&6
4761 if test -n "$LD"; then
4762 ac_cv_prog_LD
="$LD" # Let the user override the test.
4764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4768 test -z "$as_dir" && as_dir
=.
4769 for ac_exec_ext
in '' $ac_executable_extensions; do
4770 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4771 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4782 if test -n "$LD"; then
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4784 $as_echo "$LD" >&6; }
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 $as_echo "no" >&6; }
4792 if test -z "$ac_cv_prog_LD"; then
4794 # Extract the first word of "ld", so it can be a program name with args.
4795 set dummy ld
; ac_word
=$2
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4797 $as_echo_n "checking for $ac_word... " >&6; }
4798 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4799 $as_echo_n "(cached) " >&6
4801 if test -n "$ac_ct_LD"; then
4802 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4808 test -z "$as_dir" && as_dir
=.
4809 for ac_exec_ext
in '' $ac_executable_extensions; do
4810 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4811 ac_cv_prog_ac_ct_LD
="ld"
4812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4821 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4822 if test -n "$ac_ct_LD"; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4824 $as_echo "$ac_ct_LD" >&6; }
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827 $as_echo "no" >&6; }
4830 if test "x$ac_ct_LD" = x
; then
4833 case $cross_compiling:$ac_tool_warned in
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4837 ac_tool_warned
=yes ;;
4848 if test "x$enable_win64" = "xyes"
4853 notice_platform
="64-bit "
4860 notice_platform
="32-bit "
4863 enable_win16
=${enable_win16:-yes}
4865 with_fontconfig
=${with_fontconfig:-no}
4868 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4873 $as_echo_n "checking whether $CC works... " >&6; }
4875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4876 /* end confdefs.h. */
4886 if ac_fn_c_try_link
"$LINENO"; then :
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4888 $as_echo "yes" >&6; }
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4891 $as_echo "no" >&6; }
4892 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4894 rm -f core conftest.err conftest.
$ac_objext \
4895 conftest
$ac_exeext conftest.
$ac_ext
4897 notice_platform
="32-bit "
4900 enable_win16
=${enable_win16:-yes}
4902 if test "x${GCC}" = "xyes"
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4905 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4907 /* end confdefs.h. */
4912 void func(__builtin_ms_va_list *args);
4917 if ac_fn_c_try_compile
"$LINENO"; then :
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4919 $as_echo "yes" >&6; }
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4922 $as_echo "no" >&6; }
4923 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4933 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4935 /* end confdefs.h. */
4936 int ac_test(int i) { return i; }
4940 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4945 if ac_fn_c_try_link
"$LINENO"; then :
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4947 $as_echo "yes" >&6; }
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950 $as_echo "no" >&6; }
4951 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4953 rm -f core conftest.err conftest.
$ac_objext \
4954 conftest
$ac_exeext conftest.
$ac_ext
4955 CFLAGS
="$CFLAGS -marm"
4959 *-mingw32*|
*-cygwin*)
4960 enable_win16
=${enable_win16:-no}
4961 CFLAGS
="$CFLAGS -D_WIN32"
4964 enable_win16
=${enable_win16:-yes}
4968 enable_win16
=${enable_win16:-no}
4969 enable_win64
=${enable_win64:-no}
4971 enable_winetest
=${enable_winetest:-$enable_tests}
4973 if test -n "$with_wine64"
4975 if test "x$enable_win64" = "xyes"
4977 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4978 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4980 enable_fonts
=${enable_fonts:-no}
4981 enable_server
=${enable_server:-no}
4982 elif test "x$enable_win64" = "xyes"
4984 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4988 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4989 if ${wine_cv_toolsdir+:} false
; then :
4990 $as_echo_n "(cached) " >&6
4992 wine_cv_toolsdir
="$with_wine_tools"
4993 if test -z "$with_wine_tools"; then
4994 if test "$cross_compiling" = "yes"; then
4995 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4996 elif test -n "$with_wine64"; then
4997 wine_cv_toolsdir
="$with_wine64"
5000 if test -z "$wine_cv_toolsdir"; then
5001 wine_makedep
=tools
/makedep
5002 wine_cv_toolsdir
="\$(top_builddir)"
5003 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5004 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5005 case "$wine_cv_toolsdir" in
5007 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5009 enable_tools
=${enable_tools:-no}
5010 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5012 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5016 $as_echo "$wine_cv_toolsdir" >&6; }
5017 TOOLSDIR
=$wine_cv_toolsdir
5019 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5021 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5027 # Extract the first word of "$ac_prog", so it can be a program name with args.
5028 set dummy
$ac_prog; ac_word
=$2
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5030 $as_echo_n "checking for $ac_word... " >&6; }
5031 if ${ac_cv_prog_FLEX+:} false
; then :
5032 $as_echo_n "(cached) " >&6
5034 if test -n "$FLEX"; then
5035 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5041 test -z "$as_dir" && as_dir
=.
5042 for ac_exec_ext
in '' $ac_executable_extensions; do
5043 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5044 ac_cv_prog_FLEX
="$ac_prog"
5045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 FLEX
=$ac_cv_prog_FLEX
5055 if test -n "$FLEX"; then
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5057 $as_echo "$FLEX" >&6; }
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 $as_echo "no" >&6; }
5064 test -n "$FLEX" && break
5066 test -n "$FLEX" || FLEX
="none"
5068 if test "$FLEX" = "none"
5070 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5073 $as_echo_n "checking whether flex is recent enough... " >&6; }
5074 cat >conftest.l
<<EOF
5076 #include "prediluvian.h"
5080 if $FLEX -t conftest.l
>/dev
/null
2>&5
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5083 $as_echo "yes" >&6; }
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5087 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5090 for ac_prog
in bison
5092 # Extract the first word of "$ac_prog", so it can be a program name with args.
5093 set dummy
$ac_prog; ac_word
=$2
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5095 $as_echo_n "checking for $ac_word... " >&6; }
5096 if ${ac_cv_prog_BISON+:} false
; then :
5097 $as_echo_n "(cached) " >&6
5099 if test -n "$BISON"; then
5100 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5106 test -z "$as_dir" && as_dir
=.
5107 for ac_exec_ext
in '' $ac_executable_extensions; do
5108 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5109 ac_cv_prog_BISON
="$ac_prog"
5110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5119 BISON
=$ac_cv_prog_BISON
5120 if test -n "$BISON"; then
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5122 $as_echo "$BISON" >&6; }
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5125 $as_echo "no" >&6; }
5129 test -n "$BISON" && break
5131 test -n "$BISON" || BISON
="none"
5133 if test "$BISON" = "none"
5135 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5138 if test -n "$ac_tool_prefix"; then
5139 for ac_prog
in ar gar
5141 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5142 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5144 $as_echo_n "checking for $ac_word... " >&6; }
5145 if ${ac_cv_prog_AR+:} false
; then :
5146 $as_echo_n "(cached) " >&6
5148 if test -n "$AR"; then
5149 ac_cv_prog_AR
="$AR" # Let the user override the test.
5151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5155 test -z "$as_dir" && as_dir
=.
5156 for ac_exec_ext
in '' $ac_executable_extensions; do
5157 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5158 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5169 if test -n "$AR"; then
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5171 $as_echo "$AR" >&6; }
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5174 $as_echo "no" >&6; }
5178 test -n "$AR" && break
5181 if test -z "$AR"; then
5183 for ac_prog
in ar gar
5185 # Extract the first word of "$ac_prog", so it can be a program name with args.
5186 set dummy
$ac_prog; ac_word
=$2
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5188 $as_echo_n "checking for $ac_word... " >&6; }
5189 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5190 $as_echo_n "(cached) " >&6
5192 if test -n "$ac_ct_AR"; then
5193 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5199 test -z "$as_dir" && as_dir
=.
5200 for ac_exec_ext
in '' $ac_executable_extensions; do
5201 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5202 ac_cv_prog_ac_ct_AR
="$ac_prog"
5203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5212 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5213 if test -n "$ac_ct_AR"; then
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5215 $as_echo "$ac_ct_AR" >&6; }
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5218 $as_echo "no" >&6; }
5222 test -n "$ac_ct_AR" && break
5225 if test "x$ac_ct_AR" = x
; then
5228 case $cross_compiling:$ac_tool_warned in
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5232 ac_tool_warned
=yes ;;
5238 if test -n "$ac_tool_prefix"; then
5239 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5240 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5242 $as_echo_n "checking for $ac_word... " >&6; }
5243 if ${ac_cv_prog_STRIP+:} false
; then :
5244 $as_echo_n "(cached) " >&6
5246 if test -n "$STRIP"; then
5247 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5253 test -z "$as_dir" && as_dir
=.
5254 for ac_exec_ext
in '' $ac_executable_extensions; do
5255 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5256 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5266 STRIP
=$ac_cv_prog_STRIP
5267 if test -n "$STRIP"; then
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5269 $as_echo "$STRIP" >&6; }
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272 $as_echo "no" >&6; }
5277 if test -z "$ac_cv_prog_STRIP"; then
5279 # Extract the first word of "strip", so it can be a program name with args.
5280 set dummy strip
; ac_word
=$2
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5282 $as_echo_n "checking for $ac_word... " >&6; }
5283 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5284 $as_echo_n "(cached) " >&6
5286 if test -n "$ac_ct_STRIP"; then
5287 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5293 test -z "$as_dir" && as_dir
=.
5294 for ac_exec_ext
in '' $ac_executable_extensions; do
5295 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5296 ac_cv_prog_ac_ct_STRIP
="strip"
5297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5306 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5307 if test -n "$ac_ct_STRIP"; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5309 $as_echo "$ac_ct_STRIP" >&6; }
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5312 $as_echo "no" >&6; }
5315 if test "x$ac_ct_STRIP" = x
; then
5318 case $cross_compiling:$ac_tool_warned in
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5322 ac_tool_warned
=yes ;;
5327 STRIP
="$ac_cv_prog_STRIP"
5332 if test -n "$ac_tool_prefix"; then
5333 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5334 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5336 $as_echo_n "checking for $ac_word... " >&6; }
5337 if ${ac_cv_prog_RANLIB+:} false
; then :
5338 $as_echo_n "(cached) " >&6
5340 if test -n "$RANLIB"; then
5341 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5347 test -z "$as_dir" && as_dir
=.
5348 for ac_exec_ext
in '' $ac_executable_extensions; do
5349 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5350 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5360 RANLIB
=$ac_cv_prog_RANLIB
5361 if test -n "$RANLIB"; then
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5363 $as_echo "$RANLIB" >&6; }
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5366 $as_echo "no" >&6; }
5371 if test -z "$ac_cv_prog_RANLIB"; then
5372 ac_ct_RANLIB
=$RANLIB
5373 # Extract the first word of "ranlib", so it can be a program name with args.
5374 set dummy ranlib
; ac_word
=$2
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5376 $as_echo_n "checking for $ac_word... " >&6; }
5377 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5378 $as_echo_n "(cached) " >&6
5380 if test -n "$ac_ct_RANLIB"; then
5381 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5387 test -z "$as_dir" && as_dir
=.
5388 for ac_exec_ext
in '' $ac_executable_extensions; do
5389 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5390 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5400 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5401 if test -n "$ac_ct_RANLIB"; then
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5403 $as_echo "$ac_ct_RANLIB" >&6; }
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5406 $as_echo "no" >&6; }
5409 if test "x$ac_ct_RANLIB" = x
; then
5412 case $cross_compiling:$ac_tool_warned in
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5416 ac_tool_warned
=yes ;;
5418 RANLIB
=$ac_ct_RANLIB
5421 RANLIB
="$ac_cv_prog_RANLIB"
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5425 $as_echo_n "checking whether ln -s works... " >&6; }
5427 if test "$LN_S" = "ln -s"; then
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5429 $as_echo "yes" >&6; }
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5432 $as_echo "no, using $LN_S" >&6; }
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5436 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5437 if ${ac_cv_path_GREP+:} false
; then :
5438 $as_echo_n "(cached) " >&6
5440 if test -z "$GREP"; then
5441 ac_path_GREP_found
=false
5442 # Loop through the user's path and test for each of PROGNAME-LIST
5443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5444 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5447 test -z "$as_dir" && as_dir
=.
5448 for ac_prog
in grep ggrep
; do
5449 for ac_exec_ext
in '' $ac_executable_extensions; do
5450 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5451 as_fn_executable_p
"$ac_path_GREP" ||
continue
5452 # Check for GNU ac_path_GREP and select it if it is found.
5453 # Check for GNU $ac_path_GREP
5454 case `"$ac_path_GREP" --version 2>&1` in
5456 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5459 $as_echo_n 0123456789 >"conftest.in"
5462 cat "conftest.in" "conftest.in" >"conftest.tmp"
5463 mv "conftest.tmp" "conftest.in"
5464 cp "conftest.in" "conftest.nl"
5465 $as_echo 'GREP' >> "conftest.nl"
5466 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5467 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5468 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5469 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5470 # Best one so far, save it but keep looking for a better one
5471 ac_cv_path_GREP
="$ac_path_GREP"
5472 ac_path_GREP_max
=$ac_count
5474 # 10*(2^10) chars as input seems more than enough
5475 test $ac_count -gt 10 && break
5477 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5480 $ac_path_GREP_found && break 3
5485 if test -z "$ac_cv_path_GREP"; then
5486 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5489 ac_cv_path_GREP
=$GREP
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5494 $as_echo "$ac_cv_path_GREP" >&6; }
5495 GREP
="$ac_cv_path_GREP"
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5499 $as_echo_n "checking for egrep... " >&6; }
5500 if ${ac_cv_path_EGREP+:} false
; then :
5501 $as_echo_n "(cached) " >&6
5503 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5504 then ac_cv_path_EGREP
="$GREP -E"
5506 if test -z "$EGREP"; then
5507 ac_path_EGREP_found
=false
5508 # Loop through the user's path and test for each of PROGNAME-LIST
5509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5510 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5513 test -z "$as_dir" && as_dir
=.
5514 for ac_prog
in egrep; do
5515 for ac_exec_ext
in '' $ac_executable_extensions; do
5516 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5517 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5518 # Check for GNU ac_path_EGREP and select it if it is found.
5519 # Check for GNU $ac_path_EGREP
5520 case `"$ac_path_EGREP" --version 2>&1` in
5522 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5525 $as_echo_n 0123456789 >"conftest.in"
5528 cat "conftest.in" "conftest.in" >"conftest.tmp"
5529 mv "conftest.tmp" "conftest.in"
5530 cp "conftest.in" "conftest.nl"
5531 $as_echo 'EGREP' >> "conftest.nl"
5532 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5533 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5534 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5535 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5536 # Best one so far, save it but keep looking for a better one
5537 ac_cv_path_EGREP
="$ac_path_EGREP"
5538 ac_path_EGREP_max
=$ac_count
5540 # 10*(2^10) chars as input seems more than enough
5541 test $ac_count -gt 10 && break
5543 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5546 $ac_path_EGREP_found && break 3
5551 if test -z "$ac_cv_path_EGREP"; then
5552 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5555 ac_cv_path_EGREP
=$EGREP
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5561 $as_echo "$ac_cv_path_EGREP" >&6; }
5562 EGREP
="$ac_cv_path_EGREP"
5565 # Extract the first word of "ldconfig", so it can be a program name with args.
5566 set dummy ldconfig
; ac_word
=$2
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5568 $as_echo_n "checking for $ac_word... " >&6; }
5569 if ${ac_cv_path_LDCONFIG+:} false
; then :
5570 $as_echo_n "(cached) " >&6
5574 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5578 for as_dir
in /sbin
/usr
/sbin
$PATH
5581 test -z "$as_dir" && as_dir
=.
5582 for ac_exec_ext
in '' $ac_executable_extensions; do
5583 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5584 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5592 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5596 LDCONFIG
=$ac_cv_path_LDCONFIG
5597 if test -n "$LDCONFIG"; then
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5599 $as_echo "$LDCONFIG" >&6; }
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5602 $as_echo "no" >&6; }
5606 for ac_prog
in msgfmt
5608 # Extract the first word of "$ac_prog", so it can be a program name with args.
5609 set dummy
$ac_prog; ac_word
=$2
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5611 $as_echo_n "checking for $ac_word... " >&6; }
5612 if ${ac_cv_prog_MSGFMT+:} false
; then :
5613 $as_echo_n "(cached) " >&6
5615 if test -n "$MSGFMT"; then
5616 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5622 test -z "$as_dir" && as_dir
=.
5623 for ac_exec_ext
in '' $ac_executable_extensions; do
5624 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5625 ac_cv_prog_MSGFMT
="$ac_prog"
5626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5635 MSGFMT
=$ac_cv_prog_MSGFMT
5636 if test -n "$MSGFMT"; then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5638 $as_echo "$MSGFMT" >&6; }
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 $as_echo "no" >&6; }
5645 test -n "$MSGFMT" && break
5647 test -n "$MSGFMT" || MSGFMT
="false"
5649 if ${ac_tool_prefix+:} false
; then :
5650 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5651 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5653 $as_echo_n "checking for $ac_word... " >&6; }
5654 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5655 $as_echo_n "(cached) " >&6
5657 if test -n "$PKG_CONFIG"; then
5658 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5664 test -z "$as_dir" && as_dir
=.
5665 for ac_exec_ext
in '' $ac_executable_extensions; do
5666 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5667 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5677 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5678 if test -n "$PKG_CONFIG"; then
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5680 $as_echo "$PKG_CONFIG" >&6; }
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5683 $as_echo "no" >&6; }
5688 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5689 if test "x$cross_compiling" = xyes
; then :
5692 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5693 # Extract the first word of "pkg-config", so it can be a program name with args.
5694 set dummy pkg-config
; ac_word
=$2
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5696 $as_echo_n "checking for $ac_word... " >&6; }
5697 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5698 $as_echo_n "(cached) " >&6
5700 if test -n "$PKG_CONFIG"; then
5701 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5707 test -z "$as_dir" && as_dir
=.
5708 for ac_exec_ext
in '' $ac_executable_extensions; do
5709 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5710 ac_cv_prog_PKG_CONFIG
="pkg-config"
5711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5720 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5721 if test -n "$PKG_CONFIG"; then
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5723 $as_echo "$PKG_CONFIG" >&6; }
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5726 $as_echo "no" >&6; }
5732 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5735 if test "x$enable_maintainer_mode" != "xyes"
5742 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5743 for ac_prog
in fontforge
5745 # Extract the first word of "$ac_prog", so it can be a program name with args.
5746 set dummy
$ac_prog; ac_word
=$2
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5748 $as_echo_n "checking for $ac_word... " >&6; }
5749 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5750 $as_echo_n "(cached) " >&6
5752 if test -n "$FONTFORGE"; then
5753 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5759 test -z "$as_dir" && as_dir
=.
5760 for ac_exec_ext
in '' $ac_executable_extensions; do
5761 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5762 ac_cv_prog_FONTFORGE
="$ac_prog"
5763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5772 FONTFORGE
=$ac_cv_prog_FONTFORGE
5773 if test -n "$FONTFORGE"; then
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5775 $as_echo "$FONTFORGE" >&6; }
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5778 $as_echo "no" >&6; }
5782 test -n "$FONTFORGE" && break
5784 test -n "$FONTFORGE" || FONTFORGE
="false"
5786 for ac_prog
in rsvg-convert rsvg
5788 # Extract the first word of "$ac_prog", so it can be a program name with args.
5789 set dummy
$ac_prog; ac_word
=$2
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5791 $as_echo_n "checking for $ac_word... " >&6; }
5792 if ${ac_cv_prog_RSVG+:} false
; then :
5793 $as_echo_n "(cached) " >&6
5795 if test -n "$RSVG"; then
5796 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5802 test -z "$as_dir" && as_dir
=.
5803 for ac_exec_ext
in '' $ac_executable_extensions; do
5804 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5805 ac_cv_prog_RSVG
="$ac_prog"
5806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5815 RSVG
=$ac_cv_prog_RSVG
5816 if test -n "$RSVG"; then
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5818 $as_echo "$RSVG" >&6; }
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5821 $as_echo "no" >&6; }
5825 test -n "$RSVG" && break
5827 test -n "$RSVG" || RSVG
="false"
5829 for ac_prog
in convert
5831 # Extract the first word of "$ac_prog", so it can be a program name with args.
5832 set dummy
$ac_prog; ac_word
=$2
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5834 $as_echo_n "checking for $ac_word... " >&6; }
5835 if ${ac_cv_prog_CONVERT+:} false
; then :
5836 $as_echo_n "(cached) " >&6
5838 if test -n "$CONVERT"; then
5839 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5845 test -z "$as_dir" && as_dir
=.
5846 for ac_exec_ext
in '' $ac_executable_extensions; do
5847 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5848 ac_cv_prog_CONVERT
="$ac_prog"
5849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5858 CONVERT
=$ac_cv_prog_CONVERT
5859 if test -n "$CONVERT"; then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5861 $as_echo "$CONVERT" >&6; }
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5864 $as_echo "no" >&6; }
5868 test -n "$CONVERT" && break
5870 test -n "$CONVERT" || CONVERT
="false"
5872 for ac_prog
in icotool
5874 # Extract the first word of "$ac_prog", so it can be a program name with args.
5875 set dummy
$ac_prog; ac_word
=$2
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5877 $as_echo_n "checking for $ac_word... " >&6; }
5878 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5879 $as_echo_n "(cached) " >&6
5881 if test -n "$ICOTOOL"; then
5882 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5888 test -z "$as_dir" && as_dir
=.
5889 for ac_exec_ext
in '' $ac_executable_extensions; do
5890 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5891 ac_cv_prog_ICOTOOL
="$ac_prog"
5892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5901 ICOTOOL
=$ac_cv_prog_ICOTOOL
5902 if test -n "$ICOTOOL"; then
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5904 $as_echo "$ICOTOOL" >&6; }
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5907 $as_echo "no" >&6; }
5911 test -n "$ICOTOOL" && break
5913 test -n "$ICOTOOL" || ICOTOOL
="false"
5915 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5916 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5918 if test "$CONVERT" = false
5920 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5923 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5924 convert_version
=`convert --version | head -n1`
5925 if test "x$convert_version" != "x"
5927 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5928 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5929 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5934 if test "$CONVERT" = false
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5937 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5938 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5941 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5945 if test "$ICOTOOL" = false
5947 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5950 $as_echo_n "checking for recent enough icotool... " >&6; }
5951 icotool_version
=`icotool --version | head -n1`
5952 if test "x$icotool_version" != "x"
5954 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5955 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5956 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5959 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5962 if test "$ICOTOOL" = false
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5965 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5966 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5969 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5975 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5978 test "x$with_gettext" != xno || MSGFMT
=false
5979 if test "$MSGFMT" != "false"
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5982 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5983 cat >conftest.po
<<EOF
5989 if $MSGFMT -o /dev
/null conftest.po
2>&5
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5992 $as_echo "yes" >&6; }
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5995 $as_echo "no" >&6; }
5999 if test "$MSGFMT" = false
; then :
6000 case "x$with_gettext" in
6001 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6003 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6004 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6010 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6011 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6012 $as_echo_n "(cached) " >&6
6014 ac_check_lib_save_LIBS
=$LIBS
6016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6017 /* end confdefs.h. */
6019 /* Override any GCC internal prototype to avoid an error.
6020 Use char because int might match the return type of a GCC
6021 builtin and then its argument prototype would still apply. */
6025 char i386_set_ldt ();
6029 return i386_set_ldt ();
6034 if ac_fn_c_try_link
"$LINENO"; then :
6035 ac_cv_lib_i386_i386_set_ldt
=yes
6037 ac_cv_lib_i386_i386_set_ldt
=no
6039 rm -f core conftest.err conftest.
$ac_objext \
6040 conftest
$ac_exeext conftest.
$ac_ext
6041 LIBS
=$ac_check_lib_save_LIBS
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6044 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6045 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6046 cat >>confdefs.h
<<_ACEOF
6047 #define HAVE_LIBI386 1
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6055 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6056 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6057 $as_echo_n "(cached) " >&6
6059 ac_check_lib_save_LIBS
=$LIBS
6060 LIBS
="-lossaudio $LIBS"
6061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6062 /* end confdefs.h. */
6064 /* Override any GCC internal prototype to avoid an error.
6065 Use char because int might match the return type of a GCC
6066 builtin and then its argument prototype would still apply. */
6074 return _oss_ioctl ();
6079 if ac_fn_c_try_link
"$LINENO"; then :
6080 ac_cv_lib_ossaudio__oss_ioctl
=yes
6082 ac_cv_lib_ossaudio__oss_ioctl
=no
6084 rm -f core conftest.err conftest.
$ac_objext \
6085 conftest
$ac_exeext conftest.
$ac_ext
6086 LIBS
=$ac_check_lib_save_LIBS
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6089 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6090 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6091 cat >>confdefs.h
<<_ACEOF
6092 #define HAVE_LIBOSSAUDIO 1
6095 LIBS
="-lossaudio $LIBS"
6104 # Check whether --enable-largefile was given.
6105 if test "${enable_largefile+set}" = set; then :
6106 enableval
=$enable_largefile;
6109 if test "$enable_largefile" != no
; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6112 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6113 if ${ac_cv_sys_largefile_CC+:} false
; then :
6114 $as_echo_n "(cached) " >&6
6116 ac_cv_sys_largefile_CC
=no
6117 if test "$GCC" != yes; then
6120 # IRIX 6.2 and later do not support large files by default,
6121 # so use the C compiler's -n32 option if that helps.
6122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6123 /* end confdefs.h. */
6124 #include <sys/types.h>
6125 /* Check that off_t can represent 2**63 - 1 correctly.
6126 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6127 since some C++ compilers masquerading as C compilers
6128 incorrectly reject 9223372036854775807. */
6129 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6130 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6131 && LARGE_OFF_T % 2147483647 == 1)
6141 if ac_fn_c_try_compile
"$LINENO"; then :
6144 rm -f core conftest.err conftest.
$ac_objext
6146 if ac_fn_c_try_compile
"$LINENO"; then :
6147 ac_cv_sys_largefile_CC
=' -n32'; break
6149 rm -f core conftest.err conftest.
$ac_objext
6153 rm -f conftest.
$ac_ext
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6157 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6158 if test "$ac_cv_sys_largefile_CC" != no
; then
6159 CC
=$CC$ac_cv_sys_largefile_CC
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6163 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6164 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6165 $as_echo_n "(cached) " >&6
6168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6169 /* end confdefs.h. */
6170 #include <sys/types.h>
6171 /* Check that off_t can represent 2**63 - 1 correctly.
6172 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6173 since some C++ compilers masquerading as C compilers
6174 incorrectly reject 9223372036854775807. */
6175 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6176 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6177 && LARGE_OFF_T % 2147483647 == 1)
6187 if ac_fn_c_try_compile
"$LINENO"; then :
6188 ac_cv_sys_file_offset_bits
=no
; break
6190 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6192 /* end confdefs.h. */
6193 #define _FILE_OFFSET_BITS 64
6194 #include <sys/types.h>
6195 /* Check that off_t can represent 2**63 - 1 correctly.
6196 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6197 since some C++ compilers masquerading as C compilers
6198 incorrectly reject 9223372036854775807. */
6199 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6200 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6201 && LARGE_OFF_T % 2147483647 == 1)
6211 if ac_fn_c_try_compile
"$LINENO"; then :
6212 ac_cv_sys_file_offset_bits
=64; break
6214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6215 ac_cv_sys_file_offset_bits
=unknown
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6220 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6221 case $ac_cv_sys_file_offset_bits in #(
6224 cat >>confdefs.h
<<_ACEOF
6225 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6230 if test $ac_cv_sys_file_offset_bits = unknown
; then
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6232 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6233 if ${ac_cv_sys_large_files+:} false
; then :
6234 $as_echo_n "(cached) " >&6
6237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6238 /* end confdefs.h. */
6239 #include <sys/types.h>
6240 /* Check that off_t can represent 2**63 - 1 correctly.
6241 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6242 since some C++ compilers masquerading as C compilers
6243 incorrectly reject 9223372036854775807. */
6244 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6245 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6246 && LARGE_OFF_T % 2147483647 == 1)
6256 if ac_fn_c_try_compile
"$LINENO"; then :
6257 ac_cv_sys_large_files
=no
; break
6259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6261 /* end confdefs.h. */
6262 #define _LARGE_FILES 1
6263 #include <sys/types.h>
6264 /* Check that off_t can represent 2**63 - 1 correctly.
6265 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6266 since some C++ compilers masquerading as C compilers
6267 incorrectly reject 9223372036854775807. */
6268 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6269 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6270 && LARGE_OFF_T % 2147483647 == 1)
6280 if ac_fn_c_try_compile
"$LINENO"; then :
6281 ac_cv_sys_large_files
=1; break
6283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6284 ac_cv_sys_large_files
=unknown
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6289 $as_echo "$ac_cv_sys_large_files" >&6; }
6290 case $ac_cv_sys_large_files in #(
6293 cat >>confdefs.h
<<_ACEOF
6294 #define _LARGE_FILES $ac_cv_sys_large_files
6306 ac_cpp
='$CPP $CPPFLAGS'
6307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6311 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6312 # On Suns, sometimes $CPP names a directory.
6313 if test -n "$CPP" && test -d "$CPP"; then
6316 if test -z "$CPP"; then
6317 if ${ac_cv_prog_CPP+:} false
; then :
6318 $as_echo_n "(cached) " >&6
6320 # Double quotes because CPP needs to be expanded
6321 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6324 for ac_c_preproc_warn_flag
in '' yes
6326 # Use a header file that comes with gcc, so configuring glibc
6327 # with a fresh cross-compiler works.
6328 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6329 # <limits.h> exists even on freestanding compilers.
6330 # On the NeXT, cc -E runs the code through the compiler's parser,
6331 # not just through cpp. "Syntax error" is here to catch this case.
6332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6333 /* end confdefs.h. */
6335 # include <limits.h>
6337 # include <assert.h>
6341 if ac_fn_c_try_cpp
"$LINENO"; then :
6344 # Broken: fails on valid input.
6347 rm -f conftest.err conftest.i conftest.
$ac_ext
6349 # OK, works on sane cases. Now check whether nonexistent headers
6350 # can be detected and how.
6351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6352 /* end confdefs.h. */
6353 #include <ac_nonexistent.h>
6355 if ac_fn_c_try_cpp
"$LINENO"; then :
6356 # Broken: success on invalid input.
6359 # Passes both tests.
6363 rm -f conftest.err conftest.i conftest.
$ac_ext
6366 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6367 rm -f conftest.i conftest.err conftest.
$ac_ext
6368 if $ac_preproc_ok; then :
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6381 $as_echo "$CPP" >&6; }
6383 for ac_c_preproc_warn_flag
in '' yes
6385 # Use a header file that comes with gcc, so configuring glibc
6386 # with a fresh cross-compiler works.
6387 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6388 # <limits.h> exists even on freestanding compilers.
6389 # On the NeXT, cc -E runs the code through the compiler's parser,
6390 # not just through cpp. "Syntax error" is here to catch this case.
6391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6392 /* end confdefs.h. */
6394 # include <limits.h>
6396 # include <assert.h>
6400 if ac_fn_c_try_cpp
"$LINENO"; then :
6403 # Broken: fails on valid input.
6406 rm -f conftest.err conftest.i conftest.
$ac_ext
6408 # OK, works on sane cases. Now check whether nonexistent headers
6409 # can be detected and how.
6410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6411 /* end confdefs.h. */
6412 #include <ac_nonexistent.h>
6414 if ac_fn_c_try_cpp
"$LINENO"; then :
6415 # Broken: success on invalid input.
6418 # Passes both tests.
6422 rm -f conftest.err conftest.i conftest.
$ac_ext
6425 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6426 rm -f conftest.i conftest.err conftest.
$ac_ext
6427 if $ac_preproc_ok; then :
6430 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6432 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6433 See \`config.log' for more details" "$LINENO" 5; }
6437 ac_cpp
='$CPP $CPPFLAGS'
6438 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6439 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6440 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6444 $as_echo_n "checking for ANSI C header files... " >&6; }
6445 if ${ac_cv_header_stdc+:} false
; then :
6446 $as_echo_n "(cached) " >&6
6448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6449 /* end confdefs.h. */
6463 if ac_fn_c_try_compile
"$LINENO"; then :
6464 ac_cv_header_stdc
=yes
6466 ac_cv_header_stdc
=no
6468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6470 if test $ac_cv_header_stdc = yes; then
6471 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6473 /* end confdefs.h. */
6477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6478 $EGREP "memchr" >/dev
/null
2>&1; then :
6481 ac_cv_header_stdc
=no
6487 if test $ac_cv_header_stdc = yes; then
6488 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6490 /* end confdefs.h. */
6494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6495 $EGREP "free" >/dev
/null
2>&1; then :
6498 ac_cv_header_stdc
=no
6504 if test $ac_cv_header_stdc = yes; then
6505 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6506 if test "$cross_compiling" = yes; then :
6509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6510 /* end confdefs.h. */
6513 #if ((' ' & 0x0FF) == 0x020)
6514 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6515 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6517 # define ISLOWER(c) \
6518 (('a' <= (c) && (c) <= 'i') \
6519 || ('j' <= (c) && (c) <= 'r') \
6520 || ('s' <= (c) && (c) <= 'z'))
6521 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6524 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6529 for (i = 0; i < 256; i++)
6530 if (XOR (islower (i), ISLOWER (i))
6531 || toupper (i) != TOUPPER (i))
6536 if ac_fn_c_try_run
"$LINENO"; then :
6539 ac_cv_header_stdc
=no
6541 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6542 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6548 $as_echo "$ac_cv_header_stdc" >&6; }
6549 if test $ac_cv_header_stdc = yes; then
6551 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6555 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6556 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6557 inttypes.h stdint.h unistd.h
6559 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6560 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6562 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6563 cat >>confdefs.h
<<_ACEOF
6564 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6574 ApplicationServices
/ApplicationServices.h \
6575 AudioToolbox
/AudioConverter.h \
6576 AudioUnit
/AudioUnit.h \
6577 AudioUnit
/AudioComponent.h \
6580 CoreAudio
/CoreAudio.h \
6581 CoreServices
/CoreServices.h \
6582 DiskArbitration
/DiskArbitration.h \
6584 IOKit
/hid
/IOHIDLib.h \
6587 QuickTime
/ImageCompression.h \
6588 Security
/Security.h \
6639 netinet
/in_systm.h \
6701 valgrind
/memcheck.h \
6702 valgrind
/valgrind.h \
6706 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6707 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6708 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6709 cat >>confdefs.h
<<_ACEOF
6710 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6718 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6719 if ${ac_cv_header_stat_broken+:} false
; then :
6720 $as_echo_n "(cached) " >&6
6722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6723 /* end confdefs.h. */
6724 #include <sys/types.h>
6725 #include <sys/stat.h>
6727 #if defined S_ISBLK && defined S_IFDIR
6728 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6731 #if defined S_ISBLK && defined S_IFCHR
6732 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6735 #if defined S_ISLNK && defined S_IFREG
6736 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6739 #if defined S_ISSOCK && defined S_IFREG
6740 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6744 if ac_fn_c_try_compile
"$LINENO"; then :
6745 ac_cv_header_stat_broken
=no
6747 ac_cv_header_stat_broken
=yes
6749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6752 $as_echo "$ac_cv_header_stat_broken" >&6; }
6753 if test $ac_cv_header_stat_broken = yes; then
6755 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6761 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6763 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6764 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6765 #ifdef HAVE_SYS_PARAM_H
6766 # include <sys/param.h>
6769 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6770 cat >>confdefs.h
<<_ACEOF
6771 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6786 netinet
/if_ether.h \
6787 netinet
/if_inarp.h \
6796 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6797 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6798 #ifdef HAVE_SYS_SOCKET_H
6799 # include <sys/socket.h>
6801 #ifdef HAVE_SYS_SOCKETVAR_H
6802 # include <sys/socketvar.h>
6804 #ifdef HAVE_NET_ROUTE_H
6805 # include <net/route.h>
6807 #ifdef HAVE_NETINET_IN_H
6808 # include <netinet/in.h>
6810 #ifdef HAVE_NETINET_IN_SYSTM_H
6811 # include <netinet/in_systm.h>
6813 #ifdef HAVE_NET_IF_H
6814 # include <net/if.h>
6816 #ifdef HAVE_NETINET_IP_H
6817 # include <netinet/ip.h>
6820 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6821 cat >>confdefs.h
<<_ACEOF
6822 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6830 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6832 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6833 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6837 #ifdef HAVE_SYS_SOCKET_H
6838 # include <sys/socket.h>
6840 #ifdef HAVE_SYS_SOCKETVAR_H
6841 # include <sys/socketvar.h>
6843 #ifdef HAVE_SYS_TIMEOUT_H
6844 # include <sys/timeout.h>
6846 #ifdef HAVE_NETINET_IN_H
6847 # include <netinet/in.h>
6849 #ifdef HAVE_NETINET_IN_SYSTM_H
6850 # include <netinet/in_systm.h>
6852 #ifdef HAVE_NETINET_IP_H
6853 # include <netinet/ip.h>
6855 #ifdef HAVE_NETINET_IP_VAR_H
6856 # include <netinet/ip_var.h>
6858 #ifdef HAVE_NETINET_IP_ICMP_H
6859 # include <netinet/ip_icmp.h>
6861 #ifdef HAVE_NETINET_UDP_H
6862 # include <netinet/udp.h>
6864 #ifdef HAVE_NETINET_TCP_H
6865 # include <netinet/tcp.h>
6867 #ifdef HAVE_NETINET_TCP_TIMER_H
6868 #include <netinet/tcp_timer.h>
6871 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6872 cat >>confdefs.h
<<_ACEOF
6873 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6881 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6883 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6884 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6885 #ifdef HAVE_ASM_TYPES_H
6886 # include <asm/types.h>
6888 #ifdef HAVE_SYS_SOCKET_H
6889 # include <sys/socket.h>
6891 #ifdef HAVE_LINUX_TYPES_H
6892 # include <linux/types.h>
6895 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6896 cat >>confdefs.h
<<_ACEOF
6897 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6905 for ac_header
in mach-o
/dyld_images.h
6907 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6908 # include <stdbool.h>
6910 #ifdef HAVE_STDINT_H
6911 # include <stdint.h>
6914 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6915 cat >>confdefs.h
<<_ACEOF
6916 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6924 for ac_header
in resolv.h
6926 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6927 #ifdef HAVE_SYS_SOCKET_H
6928 # include <sys/socket.h>
6930 #ifdef HAVE_NETINET_IN_H
6931 # include <netinet/in.h>
6933 #ifdef HAVE_ARPA_NAMESER_H
6934 # include <arpa/nameser.h>
6937 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6938 cat >>confdefs.h
<<_ACEOF
6939 #define HAVE_RESOLV_H 1
6947 for ac_header
in ifaddrs.h
6949 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6951 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6952 cat >>confdefs.h
<<_ACEOF
6953 #define HAVE_IFADDRS_H 1
6961 for ac_header
in sys
/ucontext.h
6963 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6965 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6966 cat >>confdefs.h
<<_ACEOF
6967 #define HAVE_SYS_UCONTEXT_H 1
6975 for ac_header
in sys
/thr.h
6977 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6978 #ifdef HAVE_SYS_UCONTEXT_H
6979 #include <sys/ucontext.h>
6982 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6983 cat >>confdefs.h
<<_ACEOF
6984 #define HAVE_SYS_THR_H 1
6992 for ac_header
in pthread_np.h
6994 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6995 #include <pthread.h>
6998 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6999 cat >>confdefs.h
<<_ACEOF
7000 #define HAVE_PTHREAD_NP_H 1
7008 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7010 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7011 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7012 #include <sys/time.h>
7014 #include <sys/types.h>
7015 #ifdef HAVE_ASM_TYPES_H
7016 #include <asm/types.h>
7019 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7020 cat >>confdefs.h
<<_ACEOF
7021 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7029 for ac_header
in libprocstat.h
7031 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7032 #include <sys/param.h>
7034 #ifdef HAVE_SYS_QUEUE_H
7035 #include <sys/queue.h>
7037 #ifdef HAVE_SYS_SOCKET_H
7038 #include <sys/socket.h>
7041 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7042 cat >>confdefs.h
<<_ACEOF
7043 #define HAVE_LIBPROCSTAT_H 1
7052 dlldir
="\${libdir}/wine"
7056 DLLFLAGS
="-D_REENTRANT"
7065 STATIC_IMPLIBEXT
="def.a"
7066 # Extract the first word of "ldd", so it can be a program name with args.
7067 set dummy ldd
; ac_word
=$2
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069 $as_echo_n "checking for $ac_word... " >&6; }
7070 if ${ac_cv_path_LDD+:} false
; then :
7071 $as_echo_n "(cached) " >&6
7075 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7079 as_dummy
="/sbin:/usr/sbin:$PATH"
7080 for as_dir
in $as_dummy
7083 test -z "$as_dir" && as_dir
=.
7084 for ac_exec_ext
in '' $ac_executable_extensions; do
7085 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7086 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7094 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7099 if test -n "$LDD"; then
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7101 $as_echo "$LDD" >&6; }
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7104 $as_echo "no" >&6; }
7108 if test -n "$ac_tool_prefix"; then
7109 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7110 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7112 $as_echo_n "checking for $ac_word... " >&6; }
7113 if ${ac_cv_prog_READELF+:} false
; then :
7114 $as_echo_n "(cached) " >&6
7116 if test -n "$READELF"; then
7117 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7123 test -z "$as_dir" && as_dir
=.
7124 for ac_exec_ext
in '' $ac_executable_extensions; do
7125 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7126 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7136 READELF
=$ac_cv_prog_READELF
7137 if test -n "$READELF"; then
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7139 $as_echo "$READELF" >&6; }
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7142 $as_echo "no" >&6; }
7147 if test -z "$ac_cv_prog_READELF"; then
7148 ac_ct_READELF
=$READELF
7149 # Extract the first word of "readelf", so it can be a program name with args.
7150 set dummy readelf
; ac_word
=$2
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7152 $as_echo_n "checking for $ac_word... " >&6; }
7153 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7154 $as_echo_n "(cached) " >&6
7156 if test -n "$ac_ct_READELF"; then
7157 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7163 test -z "$as_dir" && as_dir
=.
7164 for ac_exec_ext
in '' $ac_executable_extensions; do
7165 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7166 ac_cv_prog_ac_ct_READELF
="readelf"
7167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7176 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7177 if test -n "$ac_ct_READELF"; then
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7179 $as_echo "$ac_ct_READELF" >&6; }
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7182 $as_echo "no" >&6; }
7185 if test "x$ac_ct_READELF" = x
; then
7188 case $cross_compiling:$ac_tool_warned in
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7192 ac_tool_warned
=yes ;;
7194 READELF
=$ac_ct_READELF
7197 READELF
="$ac_cv_prog_READELF"
7200 wine_rules_file
=conf$
$rules.
make
7201 rm -f $wine_rules_file
7203 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7204 ALL_TEST_RESOURCES
=""
7207 wine_fn_append_file
()
7209 as_fn_append
$1 " \\$as_nl $2"
7212 wine_fn_ignore_file
()
7215 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7216 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7217 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7221 wine_fn_append_rule
()
7223 $as_echo "$1" >>$wine_rules_file
7228 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7231 wine_fn_depend_rules
()
7233 wine_fn_append_rule \
7234 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7235 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7236 depend: $ac_dir/depend
7237 .PHONY: $ac_dir/depend
7238 $ac_dir/depend: \$(MAKEDEP) dummy
7239 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7242 wine_fn_pot_rules
()
7244 test "x$with_gettextpo" = xyes ||
return
7246 if wine_fn_has_flag mc
7248 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7249 wine_fn_append_rule \
7250 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7251 @cd $ac_dir && \$(MAKE) msg.pot
7252 $ac_dir/msg.pot: tools/wmc include"
7254 if wine_fn_has_flag po
7256 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7257 wine_fn_append_rule \
7258 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7259 @cd $ac_dir && \$(MAKE) rsrc.pot
7260 $ac_dir/rsrc.pot: tools/wrc include"
7264 wine_fn_all_rules
()
7266 wine_fn_depend_rules
7267 wine_fn_append_rule \
7270 $ac_dir: $ac_dir/Makefile dummy
7271 @cd $ac_dir && \$(MAKE)"
7274 wine_fn_install_rules
()
7276 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7278 wine_fn_append_rule \
7279 ".PHONY: $ac_dir/install $ac_dir/uninstall
7280 $ac_dir/install:: $ac_dir
7281 @cd $ac_dir && \$(MAKE) install
7282 $ac_dir/uninstall:: $ac_dir/Makefile
7283 @cd $ac_dir && \$(MAKE) uninstall
7284 install:: $ac_dir/install
7285 __uninstall__: $ac_dir/uninstall"
7287 if wine_fn_has_flag install-lib
7289 wine_fn_append_rule \
7290 ".PHONY: $ac_dir/install-lib
7291 $ac_dir/install-lib:: $ac_dir
7292 @cd $ac_dir && \$(MAKE) install-lib
7293 install-lib:: $ac_dir/install-lib"
7296 if wine_fn_has_flag install-dev
7298 wine_fn_append_rule \
7299 ".PHONY: $ac_dir/install-dev
7300 $ac_dir/install-dev:: $ac_dir
7301 @cd $ac_dir && \$(MAKE) install-dev
7302 install-dev:: $ac_dir/install-dev"
7306 wine_fn_clean_rules
()
7309 ac_extraclean
="$ac_dir/Makefile"
7310 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7312 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7315 if wine_fn_has_flag clean
7317 wine_fn_append_rule \
7318 "__clean__: $ac_dir/clean
7319 .PHONY: $ac_dir/clean
7320 $ac_dir/clean: $ac_dir/Makefile
7321 @cd $ac_dir && \$(MAKE) clean
7322 \$(RM) $ac_extraclean"
7324 wine_fn_append_rule \
7325 "__clean__: $ac_dir/clean
7326 .PHONY: $ac_dir/clean
7327 $ac_dir/clean: dummy
7328 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7332 wine_fn_disabled_rules
()
7335 ac_extraclean
="$ac_dir/Makefile"
7336 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7338 wine_fn_append_rule \
7339 "__clean__: $ac_dir/clean
7340 .PHONY: $ac_dir/clean
7341 $ac_dir/clean: dummy
7342 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7345 wine_fn_config_makefile
()
7351 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7352 wine_fn_disabled_rules
; return
7355 wine_fn_install_rules
7359 wine_fn_config_lib
()
7363 ac_dir
=dlls
/$ac_name
7366 if test "x$enable_tools" = xno
; then :
7369 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7374 wine_fn_append_rule \
7375 ".PHONY: $ac_dir/install $ac_dir/uninstall
7376 $ac_dir/install:: $ac_dir
7377 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7379 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7380 install install-dev:: $ac_dir/install
7381 __uninstall__: $ac_dir/uninstall
7382 __builddeps__: $ac_dir
7386 wine_fn_config_dll
()
7389 ac_dir
=dlls
/$ac_name
7392 ac_implib
=${4:-$ac_name}
7393 ac_file
=$ac_dir/lib
$ac_implib
7398 if test "x$enable_tools" = xno
; then :
7401 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7404 *16) ac_implibflags
=" -m16" ;;
7406 *) ac_dll
=$ac_dll.dll
;;
7410 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7411 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7412 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7413 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7415 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7416 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7418 wine_fn_depend_rules
7419 wine_fn_clean_rules
$ac_clean
7421 wine_fn_disabled_rules
$ac_clean
7426 wine_fn_clean_rules
$ac_clean
7427 wine_fn_append_rule \
7428 "$ac_dir: __builddeps__
7429 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7430 @cd $ac_dir && \$(MAKE) \$@
7431 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7432 install install-lib:: $ac_dir/install-lib
7433 __uninstall__: $ac_dir/uninstall"
7434 if test -n "$DLLEXT"
7436 wine_fn_append_rule \
7437 "$ac_dir/install-lib:: $ac_dir
7438 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7439 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7441 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7443 wine_fn_append_rule \
7444 "$ac_dir/install-lib:: $ac_dir
7445 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7447 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7453 if wine_fn_has_flag staticimplib
7455 wine_fn_append_rule \
7456 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7457 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7458 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7459 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7460 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7461 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7462 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7463 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7464 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7466 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7467 install install-dev:: $ac_dir/install-dev
7468 __uninstall__: $ac_dir/uninstall"
7470 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7472 wine_fn_append_rule \
7473 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7474 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7476 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7479 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7481 wine_fn_append_rule \
7482 "__builddeps__: $ac_file.cross.a
7483 $ac_file.cross.a: $ac_dir/Makefile dummy
7484 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7487 elif wine_fn_has_flag implib
7489 wine_fn_append_rule \
7490 "__builddeps__: $ac_file.$IMPLIBEXT
7491 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7492 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7493 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7494 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7495 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7496 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7497 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7499 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7500 install install-dev:: $ac_dir/install-dev
7501 __uninstall__: $ac_dir/uninstall"
7502 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7504 wine_fn_append_rule \
7505 "__builddeps__: $ac_file.cross.a
7506 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7507 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7510 if test "$ac_name" != "$ac_implib"
7512 wine_fn_append_rule \
7513 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7514 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7515 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7517 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7518 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7519 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7521 wine_fn_append_rule \
7522 "__builddeps__: dlls/lib$ac_implib.cross.a
7523 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7524 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7526 \$(RM) dlls/lib$ac_implib.cross.a"
7527 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7533 wine_fn_config_program
()
7536 ac_dir
=programs
/$ac_name
7543 *) ac_program
=$ac_program.exe
;;
7547 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7548 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7549 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7550 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7552 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7553 wine_fn_disabled_rules
$ac_clean; return
7557 wine_fn_clean_rules
$ac_clean
7558 wine_fn_append_rule
"$ac_dir: __builddeps__"
7561 wine_fn_has_flag
install ||
return
7562 wine_fn_append_rule \
7563 ".PHONY: $ac_dir/install $ac_dir/uninstall
7564 install install-lib:: $ac_dir/install
7565 __uninstall__: $ac_dir/uninstall"
7567 if test -n "$DLLEXT"
7569 wine_fn_append_rule \
7570 "$ac_dir/install:: $ac_dir
7571 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7572 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7574 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7576 if test -z "$with_wine64" && wine_fn_has_flag installbin
7578 wine_fn_append_rule \
7579 "$ac_dir/install:: __tooldeps__
7580 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7582 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7585 wine_fn_append_rule \
7586 "$ac_dir/install:: $ac_dir
7587 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7589 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7592 if test -z "$with_wine64" && wine_fn_has_flag manpage
7594 wine_fn_append_rule \
7595 "$ac_dir/install:: $ac_dir
7596 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7598 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7602 wine_fn_config_test
()
7609 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7610 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7612 if test "x$enable_tests" = xno
; then :
7613 wine_fn_disabled_rules
$ac_clean; return
7616 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7618 wine_fn_clean_rules
$ac_clean
7620 wine_fn_append_rule \
7621 "$ac_dir: programs/winetest/Makefile __builddeps__
7622 programs/winetest: $ac_dir
7623 check test: $ac_dir/test
7624 .PHONY: $ac_dir/test
7626 @cd $ac_dir && \$(MAKE) test
7628 \$(RM) $ac_dir/*.ok"
7630 if test -n "$CROSSTARGET"
7632 wine_fn_append_rule \
7633 "crosstest: $ac_dir/crosstest
7634 .PHONY: $ac_dir/crosstest
7635 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7636 @cd $ac_dir && \$(MAKE) crosstest"
7640 wine_fn_config_tool
()
7644 if test "x$enable_tools" = xno
; then :
7649 wine_fn_install_rules
7652 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7653 wine_fn_append_rule
"$ac_dir: libs/port"
7655 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7659 wine_fn_config_symlink
()
7662 if test "x$1" = "x-d"
7668 wine_fn_append_rule \
7670 @./config.status \$@
7673 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7674 test -n "$ac_linkdir" ||
return
7675 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7679 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7680 loader_programs
="$wine_binary wine-installed"
7681 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7686 install install-lib:: wine-installed
7687 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7690 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7696 if test -n "$ac_tool_prefix"; then
7697 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7698 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7700 $as_echo_n "checking for $ac_word... " >&6; }
7701 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7702 $as_echo_n "(cached) " >&6
7704 if test -n "$DLLTOOL"; then
7705 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7711 test -z "$as_dir" && as_dir
=.
7712 for ac_exec_ext
in '' $ac_executable_extensions; do
7713 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7714 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7724 DLLTOOL
=$ac_cv_prog_DLLTOOL
7725 if test -n "$DLLTOOL"; then
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7727 $as_echo "$DLLTOOL" >&6; }
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7730 $as_echo "no" >&6; }
7735 if test -z "$ac_cv_prog_DLLTOOL"; then
7736 ac_ct_DLLTOOL
=$DLLTOOL
7737 # Extract the first word of "dlltool", so it can be a program name with args.
7738 set dummy dlltool
; ac_word
=$2
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7740 $as_echo_n "checking for $ac_word... " >&6; }
7741 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7742 $as_echo_n "(cached) " >&6
7744 if test -n "$ac_ct_DLLTOOL"; then
7745 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7751 test -z "$as_dir" && as_dir
=.
7752 for ac_exec_ext
in '' $ac_executable_extensions; do
7753 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7754 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7764 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7765 if test -n "$ac_ct_DLLTOOL"; then
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7767 $as_echo "$ac_ct_DLLTOOL" >&6; }
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7770 $as_echo "no" >&6; }
7773 if test "x$ac_ct_DLLTOOL" = x
; then
7776 case $cross_compiling:$ac_tool_warned in
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7780 ac_tool_warned
=yes ;;
7782 DLLTOOL
=$ac_ct_DLLTOOL
7785 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7791 STATIC_IMPLIBEXT
="a"
7792 enable_iphlpapi
=${enable_iphlpapi:-no}
7793 enable_kernel32
=${enable_kernel32:-no}
7794 enable_msvcrt
=${enable_msvcrt:-no}
7795 enable_ntdll
=${enable_ntdll:-no}
7796 enable_ws2_32
=${enable_ws2_32:-no}
7797 enable_loader
=${enable_loader:-no}
7798 enable_server
=${enable_server:-no}
7799 with_x
=${with_x:-no}
7800 with_pthread
=${with_pthread:-no}
7806 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7810 libwine_targets
="libwine.dll libwine.a"
7812 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7814 all: libwine.dll libwine.a
7816 libwine.a: \$(srcdir)/wine.def
7817 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7819 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7820 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7822 install install-lib:: libwine.dll
7823 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7825 install install-dev:: libwine.a
7826 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7829 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7836 DLLFLAGS
="$DLLFLAGS -fPIC"
7837 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7838 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7839 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7840 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7842 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7844 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7846 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7848 CORESERVICES_LIBS
="-framework CoreServices"
7850 APPKIT_LIBS
="-framework AppKit"
7852 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7854 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7855 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7856 $as_echo_n "(cached) " >&6
7858 ac_wine_try_cflags_saved
=$CFLAGS
7859 CFLAGS
="$CFLAGS -Wl,-no_pie"
7860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7861 /* end confdefs.h. */
7862 int main(int argc, char **argv) { return 0; }
7864 if ac_fn_c_try_link
"$LINENO"; then :
7865 ac_cv_cflags__Wl__no_pie
=yes
7867 ac_cv_cflags__Wl__no_pie
=no
7869 rm -f core conftest.err conftest.
$ac_objext \
7870 conftest
$ac_exeext conftest.
$ac_ext
7871 CFLAGS
=$ac_wine_try_cflags_saved
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7874 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7875 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7876 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7878 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7880 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7883 if test "$ac_cv_header_Security_Security_h" = "yes"
7885 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7887 ac_save_LIBS
="$LIBS"
7888 LIBS
="$LIBS $SECURITY_LIBS"
7889 for ac_func
in SSLCopyPeerCertificates
7891 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7892 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7893 cat >>confdefs.h
<<_ACEOF
7894 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7900 LIBS
="$ac_save_LIBS"
7901 with_gnutls
=${with_gnutls:-no}
7903 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7905 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7907 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7910 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7913 ac_save_LIBS
="$LIBS"
7914 LIBS
="$LIBS $COREAUDIO_LIBS"
7915 for ac_func
in AUGraphAddNode
7917 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7918 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7919 cat >>confdefs.h
<<_ACEOF
7920 #define HAVE_AUGRAPHADDNODE 1
7926 LIBS
="$ac_save_LIBS"
7928 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7930 OPENAL_LIBS
="-framework OpenAL"
7933 cat >>confdefs.h
<<_ACEOF
7934 #define HAVE_OPENAL 1
7937 ac_cv_lib_openal
=yes
7939 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7941 OPENCL_LIBS
="-framework OpenCL"
7943 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7945 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7947 ac_save_LIBS
="$LIBS"
7948 LIBS
="$LIBS $IOKIT_LIBS"
7949 for ac_func
in IOHIDManagerCreate
7951 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7952 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7953 cat >>confdefs.h
<<_ACEOF
7954 #define HAVE_IOHIDMANAGERCREATE 1
7960 LIBS
="$ac_save_LIBS"
7962 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7964 ac_save_LIBS
="$LIBS"
7965 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7967 $as_echo_n "checking for the QuickTime framework... " >&6; }
7968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7969 /* end confdefs.h. */
7970 #include <QuickTime/ImageCompression.h>
7974 CodecManagerVersion(NULL);
7979 if ac_fn_c_try_link
"$LINENO"; then :
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7981 $as_echo "yes" >&6; }
7982 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7984 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7987 $as_echo "no" >&6; }
7988 ac_cv_header_QuickTime_ImageCompression_h
=no
7990 rm -f core conftest.err conftest.
$ac_objext \
7991 conftest
$ac_exeext conftest.
$ac_ext
7992 LIBS
="$ac_save_LIBS"
7994 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7996 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7998 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8000 CARBON_LIBS
="-framework Carbon"
8004 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8006 ac_save_LIBS
="$LIBS"
8007 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8008 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8009 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8010 enable_winemac_drv
=${enable_winemac_drv:-yes}
8013 LIBS
="$ac_save_LIBS"
8016 if test "x$enable_win16" = "xyes"
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8019 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8020 if test "$cross_compiling" = yes; then :
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8022 $as_echo "cross-compiling, assuming yes" >&6; }
8024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8025 /* end confdefs.h. */
8028 "good:\tnop;nop\n\t"
8029 ".globl _testfunc\n"
8030 "_testfunc:\tcallw good");
8031 extern void testfunc();
8035 unsigned short *p = (unsigned short *)testfunc;
8036 return p[0] != 0xe866 || p[1] != 0xfffa
8041 if ac_fn_c_try_run
"$LINENO"; then :
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8043 $as_echo "yes" >&6; }
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8046 $as_echo "no" >&6; }
8047 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
8049 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8050 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8055 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8057 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8061 libwine.$libwine_version.dylib: \$(OBJS)
8062 \$(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 \$@
8064 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8065 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8067 libwine.dylib: libwine.$libwine_soversion.dylib
8068 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8070 install install-lib:: libwine.$libwine_version.dylib
8071 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8072 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8074 install install-dev::
8075 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8078 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8082 as_fn_append LOADER_RULES
"
8083 $wine_binary: main.o wine_info.plist
8084 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8086 wine-installed: main.o wine_info.plist
8087 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8092 DLLFLAGS
="$DLLFLAGS -fPIC"
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8097 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8098 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8099 $as_echo_n "(cached) " >&6
8101 ac_wine_try_cflags_saved
=$CFLAGS
8102 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8104 /* end confdefs.h. */
8105 int main(int argc, char **argv) { return 0; }
8107 if ac_fn_c_try_link
"$LINENO"; then :
8108 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8110 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8112 rm -f core conftest.err conftest.
$ac_objext \
8113 conftest
$ac_exeext conftest.
$ac_ext
8114 CFLAGS
=$ac_wine_try_cflags_saved
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8117 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8118 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8119 LDEXECFLAGS
="-Wl,--export-dynamic"
8121 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8123 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8124 if eval \
${$as_ac_var+:} false
; then :
8125 $as_echo_n "(cached) " >&6
8127 ac_wine_try_cflags_saved
=$CFLAGS
8128 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8130 /* end confdefs.h. */
8131 int main(int argc, char **argv) { return 0; }
8133 if ac_fn_c_try_link
"$LINENO"; then :
8134 eval "$as_ac_var=yes"
8136 eval "$as_ac_var=no"
8138 rm -f core conftest.err conftest.
$ac_objext \
8139 conftest
$ac_exeext conftest.
$ac_ext
8140 CFLAGS
=$ac_wine_try_cflags_saved
8142 eval ac_res
=\$
$as_ac_var
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8144 $as_echo "$ac_res" >&6; }
8145 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8146 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8147 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8149 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8151 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8152 if eval \
${$as_ac_var+:} false
; then :
8153 $as_echo_n "(cached) " >&6
8155 ac_wine_try_cflags_saved
=$CFLAGS
8156 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8158 /* end confdefs.h. */
8159 int main(int argc, char **argv) { return 0; }
8161 if ac_fn_c_try_link
"$LINENO"; then :
8162 eval "$as_ac_var=yes"
8164 eval "$as_ac_var=no"
8166 rm -f core conftest.err conftest.
$ac_objext \
8167 conftest
$ac_exeext conftest.
$ac_ext
8168 CFLAGS
=$ac_wine_try_cflags_saved
8170 eval ac_res
=\$
$as_ac_var
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8172 $as_echo "$ac_res" >&6; }
8173 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8174 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8175 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8180 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8181 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8182 $as_echo_n "(cached) " >&6
8184 ac_wine_try_cflags_saved
=$CFLAGS
8185 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8187 /* end confdefs.h. */
8188 int main(int argc, char **argv) { return 0; }
8190 if ac_fn_c_try_link
"$LINENO"; then :
8191 ac_cv_cflags__Wl___enable_new_dtags
=yes
8193 ac_cv_cflags__Wl___enable_new_dtags
=no
8195 rm -f core conftest.err conftest.
$ac_objext \
8196 conftest
$ac_exeext conftest.
$ac_ext
8197 CFLAGS
=$ac_wine_try_cflags_saved
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8200 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8201 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8202 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8206 *i
[3456789]86* | x86_64
)
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8208 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8209 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8210 $as_echo_n "(cached) " >&6
8212 ac_wine_try_cflags_saved
=$CFLAGS
8213 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8215 /* end confdefs.h. */
8216 int main(int argc, char **argv) { return 0; }
8218 if ac_fn_c_try_link
"$LINENO"; then :
8219 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8221 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8223 rm -f core conftest.err conftest.
$ac_objext \
8224 conftest
$ac_exeext conftest.
$ac_ext
8225 CFLAGS
=$ac_wine_try_cflags_saved
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8228 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8229 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8230 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8235 libwine_targets
="libwine.so"
8237 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8241 libwine.so: \$(OBJS)
8242 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8244 install install-lib:: libwine.so
8245 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8248 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8252 as_fn_append LOADER_RULES
"
8253 $wine_binary: main.o
8254 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8256 wine-installed: main.o
8257 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8262 DLLFLAGS
="$DLLFLAGS -fPIC"
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8265 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8266 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8267 $as_echo_n "(cached) " >&6
8269 ac_wine_try_cflags_saved
=$CFLAGS
8270 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8272 /* end confdefs.h. */
8275 if ac_fn_c_try_link
"$LINENO"; then :
8276 ac_cv_c_dll_gnuelf
="yes"
8278 ac_cv_c_dll_gnuelf
="no"
8280 rm -f core conftest.err conftest.
$ac_objext \
8281 conftest
$ac_exeext conftest.
$ac_ext
8282 CFLAGS
=$ac_wine_try_cflags_saved
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8285 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8286 if test "$ac_cv_c_dll_gnuelf" = "yes"
8288 LDSHARED
="\$(CC) -shared"
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8290 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8291 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8292 $as_echo_n "(cached) " >&6
8294 ac_wine_try_cflags_saved
=$CFLAGS
8295 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8297 /* end confdefs.h. */
8298 int main(int argc, char **argv) { return 0; }
8300 if ac_fn_c_try_link
"$LINENO"; then :
8301 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8303 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8305 rm -f core conftest.err conftest.
$ac_objext \
8306 conftest
$ac_exeext conftest.
$ac_ext
8307 CFLAGS
=$ac_wine_try_cflags_saved
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8310 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8311 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8312 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8315 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8316 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8317 $as_echo_n "(cached) " >&6
8319 ac_wine_try_cflags_saved
=$CFLAGS
8320 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8322 /* end confdefs.h. */
8323 int main(int argc, char **argv) { return 0; }
8325 if ac_fn_c_try_link
"$LINENO"; then :
8326 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8328 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8330 rm -f core conftest.err conftest.
$ac_objext \
8331 conftest
$ac_exeext conftest.
$ac_ext
8332 CFLAGS
=$ac_wine_try_cflags_saved
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8335 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8336 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8337 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8341 echo '{ global: *; };' >conftest.map
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8343 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8344 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8345 $as_echo_n "(cached) " >&6
8347 ac_wine_try_cflags_saved
=$CFLAGS
8348 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8350 /* end confdefs.h. */
8351 int main(int argc, char **argv) { return 0; }
8353 if ac_fn_c_try_link
"$LINENO"; then :
8354 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8356 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8358 rm -f core conftest.err conftest.
$ac_objext \
8359 conftest
$ac_exeext conftest.
$ac_ext
8360 CFLAGS
=$ac_wine_try_cflags_saved
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8363 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8364 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8365 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8370 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8371 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8372 $as_echo_n "(cached) " >&6
8374 ac_wine_try_cflags_saved
=$CFLAGS
8375 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8377 /* end confdefs.h. */
8378 int main(int argc, char **argv) { return 0; }
8380 if ac_fn_c_try_link
"$LINENO"; then :
8381 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8383 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8385 rm -f core conftest.err conftest.
$ac_objext \
8386 conftest
$ac_exeext conftest.
$ac_ext
8387 CFLAGS
=$ac_wine_try_cflags_saved
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8390 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8391 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8392 LDEXECFLAGS
="-Wl,--export-dynamic"
8395 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8397 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8398 if eval \
${$as_ac_var+:} false
; then :
8399 $as_echo_n "(cached) " >&6
8401 ac_wine_try_cflags_saved
=$CFLAGS
8402 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8404 /* end confdefs.h. */
8405 int main(int argc, char **argv) { return 0; }
8407 if ac_fn_c_try_link
"$LINENO"; then :
8408 eval "$as_ac_var=yes"
8410 eval "$as_ac_var=no"
8412 rm -f core conftest.err conftest.
$ac_objext \
8413 conftest
$ac_exeext conftest.
$ac_ext
8414 CFLAGS
=$ac_wine_try_cflags_saved
8416 eval ac_res
=\$
$as_ac_var
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8418 $as_echo "$ac_res" >&6; }
8419 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8420 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8421 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8423 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8425 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8426 if eval \
${$as_ac_var+:} false
; then :
8427 $as_echo_n "(cached) " >&6
8429 ac_wine_try_cflags_saved
=$CFLAGS
8430 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8432 /* end confdefs.h. */
8433 int main(int argc, char **argv) { return 0; }
8435 if ac_fn_c_try_link
"$LINENO"; then :
8436 eval "$as_ac_var=yes"
8438 eval "$as_ac_var=no"
8440 rm -f core conftest.err conftest.
$ac_objext \
8441 conftest
$ac_exeext conftest.
$ac_ext
8442 CFLAGS
=$ac_wine_try_cflags_saved
8444 eval ac_res
=\$
$as_ac_var
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8446 $as_echo "$ac_res" >&6; }
8447 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8448 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8449 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8454 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8455 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8456 $as_echo_n "(cached) " >&6
8458 ac_wine_try_cflags_saved
=$CFLAGS
8459 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8461 /* end confdefs.h. */
8462 int main(int argc, char **argv) { return 0; }
8464 if ac_fn_c_try_link
"$LINENO"; then :
8465 ac_cv_cflags__Wl___enable_new_dtags
=yes
8467 ac_cv_cflags__Wl___enable_new_dtags
=no
8469 rm -f core conftest.err conftest.
$ac_objext \
8470 conftest
$ac_exeext conftest.
$ac_ext
8471 CFLAGS
=$ac_wine_try_cflags_saved
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8474 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8475 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8476 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8480 *i
[3456789]86* | x86_64
)
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8482 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8483 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8484 $as_echo_n "(cached) " >&6
8486 ac_wine_try_cflags_saved
=$CFLAGS
8487 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8489 /* end confdefs.h. */
8490 int main(int argc, char **argv) { return 0; }
8492 if ac_fn_c_try_link
"$LINENO"; then :
8493 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8495 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8497 rm -f core conftest.err conftest.
$ac_objext \
8498 conftest
$ac_exeext conftest.
$ac_ext
8499 CFLAGS
=$ac_wine_try_cflags_saved
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8502 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8503 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8505 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8506 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8510 # Extract the first word of "prelink", so it can be a program name with args.
8511 set dummy prelink
; ac_word
=$2
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8513 $as_echo_n "checking for $ac_word... " >&6; }
8514 if ${ac_cv_path_PRELINK+:} false
; then :
8515 $as_echo_n "(cached) " >&6
8519 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8523 for as_dir
in /sbin
/usr
/sbin
$PATH
8526 test -z "$as_dir" && as_dir
=.
8527 for ac_exec_ext
in '' $ac_executable_extensions; do
8528 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8529 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8537 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8541 PRELINK
=$ac_cv_path_PRELINK
8542 if test -n "$PRELINK"; then
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8544 $as_echo "$PRELINK" >&6; }
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8547 $as_echo "no" >&6; }
8551 if test "x$PRELINK" = xfalse
8553 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8560 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8561 if ${ac_cv_c_dll_unixware+:} false
; then :
8562 $as_echo_n "(cached) " >&6
8564 ac_wine_try_cflags_saved
=$CFLAGS
8565 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8567 /* end confdefs.h. */
8570 if ac_fn_c_try_link
"$LINENO"; then :
8571 ac_cv_c_dll_unixware
="yes"
8573 ac_cv_c_dll_unixware
="no"
8575 rm -f core conftest.err conftest.
$ac_objext \
8576 conftest
$ac_exeext conftest.
$ac_ext
8577 CFLAGS
=$ac_wine_try_cflags_saved
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8580 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8581 if test "$ac_cv_c_dll_unixware" = "yes"
8583 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8586 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8588 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8592 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8593 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8595 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8596 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8598 libwine.so: libwine.so.$libwine_soversion
8599 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8601 install install-lib:: libwine.so.$libwine_version
8602 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8603 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8605 install install-dev::
8606 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8609 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8613 as_fn_append LOADER_RULES
"
8614 $wine_binary: main.o
8615 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8617 wine-installed: main.o
8618 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8623 as_fn_append LIBWINE_RULES
"
8624 EXTRA_TARGETS = $libwine_targets
8627 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8628 enable_winemac_drv
=${enable_winemac_drv:-no}
8632 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8636 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
8639 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 " ;;
8641 ac_prefix_list
="" ;;
8643 for ac_prog
in $ac_prefix_list
8645 # Extract the first word of "$ac_prog", so it can be a program name with args.
8646 set dummy
$ac_prog; ac_word
=$2
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8648 $as_echo_n "checking for $ac_word... " >&6; }
8649 if ${ac_cv_prog_CROSSCC+:} false
; then :
8650 $as_echo_n "(cached) " >&6
8652 if test -n "$CROSSCC"; then
8653 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8659 test -z "$as_dir" && as_dir
=.
8660 for ac_exec_ext
in '' $ac_executable_extensions; do
8661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8662 ac_cv_prog_CROSSCC
="$ac_prog"
8663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8672 CROSSCC
=$ac_cv_prog_CROSSCC
8673 if test -n "$CROSSCC"; then
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8675 $as_echo "$CROSSCC" >&6; }
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8678 $as_echo "no" >&6; }
8682 test -n "$CROSSCC" && break
8684 test -n "$CROSSCC" || CROSSCC
="false"
8686 if test "$CROSSCC" != "false"
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8691 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8693 /* end confdefs.h. */
8703 if ac_fn_c_try_compile
"$LINENO"; then :
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8705 $as_echo "yes" >&6; }
8711 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8717 $as_echo "no" >&6; }
8719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8725 if test "$ac_cv_header_pthread_h" = "yes"
8727 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8728 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8732 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8733 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8734 $as_echo_n "(cached) " >&6
8736 ac_check_lib_save_LIBS
=$LIBS
8737 LIBS
="-lpthread $LIBS"
8738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8739 /* end confdefs.h. */
8741 /* Override any GCC internal prototype to avoid an error.
8742 Use char because int might match the return type of a GCC
8743 builtin and then its argument prototype would still apply. */
8747 char pthread_create ();
8751 return pthread_create ();
8756 if ac_fn_c_try_link
"$LINENO"; then :
8757 ac_cv_lib_pthread_pthread_create
=yes
8759 ac_cv_lib_pthread_pthread_create
=no
8761 rm -f core conftest.err conftest.
$ac_objext \
8762 conftest
$ac_exeext conftest.
$ac_ext
8763 LIBS
=$ac_check_lib_save_LIBS
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8766 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8767 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8768 PTHREAD_LIBS
="-lpthread"
8775 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8776 case "x$with_pthread" in
8778 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8779 Wine cannot support threads without libpthread.
8780 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8786 $as_echo_n "checking for X... " >&6; }
8789 # Check whether --with-x was given.
8790 if test "${with_x+set}" = set; then :
8794 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8795 if test "x$with_x" = xno
; then
8796 # The user explicitly disabled X.
8799 case $x_includes,$x_libraries in #(
8800 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8801 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8802 $as_echo_n "(cached) " >&6
8804 # One or both of the vars are not set, and there is no cached value.
8805 ac_x_includes
=no ac_x_libraries
=no
8806 rm -f -r conftest.dir
8807 if mkdir conftest.dir
; then
8809 cat >Imakefile
<<'_ACEOF'
8811 @echo incroot='${INCROOT}'
8813 @echo usrlibdir='${USRLIBDIR}'
8815 @echo libdir='${LIBDIR}'
8817 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8818 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8819 for ac_var
in incroot usrlibdir libdir
; do
8820 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8822 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8823 for ac_extension
in a so sl dylib la dll
; do
8824 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8825 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8826 ac_im_usrlibdir
=$ac_im_libdir; break
8829 # Screen out bogus values from the imake configuration. They are
8830 # bogus both because they are the default anyway, and because
8831 # using them would break gcc on systems where it needs fixed includes.
8832 case $ac_im_incroot in
8833 /usr
/include
) ac_x_includes
= ;;
8834 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8836 case $ac_im_usrlibdir in
8837 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8838 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8842 rm -f -r conftest.dir
8845 # Standard set of common directories for X headers.
8846 # Check X11 before X11Rn because it is often a symlink to the current release.
8860 /usr/local/X11/include
8861 /usr/local/X11R7/include
8862 /usr/local/X11R6/include
8863 /usr/local/X11R5/include
8864 /usr/local/X11R4/include
8866 /usr/local/include/X11
8867 /usr/local/include/X11R7
8868 /usr/local/include/X11R6
8869 /usr/local/include/X11R5
8870 /usr/local/include/X11R4
8874 /usr/XFree86/include/X11
8878 /usr/unsupported/include
8880 /usr/local/x11r5/include
8881 /usr/lpp/Xamples/include
8883 /usr/openwin/include
8884 /usr/openwin/share/include'
8886 if test "$ac_x_includes" = no
; then
8887 # Guess where to find include files, by looking for Xlib.h.
8888 # First, try using that file with no special directory specified.
8889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8890 /* end confdefs.h. */
8891 #include <X11/Xlib.h>
8893 if ac_fn_c_try_cpp
"$LINENO"; then :
8894 # We can compile using X headers with no special include directory.
8897 for ac_dir
in $ac_x_header_dirs; do
8898 if test -r "$ac_dir/X11/Xlib.h"; then
8899 ac_x_includes
=$ac_dir
8904 rm -f conftest.err conftest.i conftest.
$ac_ext
8905 fi # $ac_x_includes = no
8907 if test "$ac_x_libraries" = no
; then
8908 # Check for the libraries.
8909 # See if we find them without any special options.
8910 # Don't add to $LIBS permanently.
8913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8914 /* end confdefs.h. */
8915 #include <X11/Xlib.h>
8924 if ac_fn_c_try_link
"$LINENO"; then :
8926 # We can link X programs with no special library path.
8930 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8932 # Don't even attempt the hair of trying to link an X program!
8933 for ac_extension
in a so sl dylib la dll
; do
8934 if test -r "$ac_dir/libX11.$ac_extension"; then
8935 ac_x_libraries
=$ac_dir
8941 rm -f core conftest.err conftest.
$ac_objext \
8942 conftest
$ac_exeext conftest.
$ac_ext
8943 fi # $ac_x_libraries = no
8945 case $ac_x_includes,$ac_x_libraries in #(
8947 # Didn't find X, or a directory has "'" in its name.
8948 ac_cv_have_x
="have_x=no";; #(
8950 # Record where we found X for the cache.
8951 ac_cv_have_x
="have_x=yes\
8952 ac_x_includes='$ac_x_includes'\
8953 ac_x_libraries='$ac_x_libraries'"
8959 eval "$ac_cv_have_x"
8962 if test "$have_x" != yes; then
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8964 $as_echo "$have_x" >&6; }
8967 # If each of the values was on the command line, it overrides each guess.
8968 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8969 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8970 # Update the cache value to reflect the command line values.
8971 ac_cv_have_x
="have_x=yes\
8972 ac_x_includes='$x_includes'\
8973 ac_x_libraries='$x_libraries'"
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8975 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8978 if test "$no_x" = yes; then
8979 # Not all programs may use this symbol, but it does not hurt to define it.
8981 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8983 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8985 if test -n "$x_includes"; then
8986 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8989 # It would also be nice to do this for all -L options, not just this one.
8990 if test -n "$x_libraries"; then
8991 X_LIBS
="$X_LIBS -L$x_libraries"
8992 # For Solaris; some versions of Sun CC require a space after -R and
8993 # others require no space. Words are not sufficient . . . .
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8995 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8996 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8997 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8998 ac_c_werror_flag
=yes
8999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9000 /* end confdefs.h. */
9010 if ac_fn_c_try_link
"$LINENO"; then :
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9012 $as_echo "no" >&6; }
9013 X_LIBS
="$X_LIBS -R$x_libraries"
9015 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9017 /* end confdefs.h. */
9027 if ac_fn_c_try_link
"$LINENO"; then :
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9029 $as_echo "yes" >&6; }
9030 X_LIBS
="$X_LIBS -R $x_libraries"
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9033 $as_echo "neither works" >&6; }
9035 rm -f core conftest.err conftest.
$ac_objext \
9036 conftest
$ac_exeext conftest.
$ac_ext
9038 rm -f core conftest.err conftest.
$ac_objext \
9039 conftest
$ac_exeext conftest.
$ac_ext
9040 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9044 # Check for system-dependent libraries X programs must link with.
9045 # Do this before checking for the system-independent R6 libraries
9046 # (-lICE), since we may need -lsocket or whatever for X linking.
9048 if test "$ISC" = yes; then
9049 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9051 # Martyn Johnson says this is needed for Ultrix, if the X
9052 # libraries were built with DECnet support. And Karl Berry says
9053 # the Alpha needs dnet_stub (dnet does not exist).
9054 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9056 /* end confdefs.h. */
9058 /* Override any GCC internal prototype to avoid an error.
9059 Use char because int might match the return type of a GCC
9060 builtin and then its argument prototype would still apply. */
9064 char XOpenDisplay ();
9068 return XOpenDisplay ();
9073 if ac_fn_c_try_link
"$LINENO"; then :
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9077 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9078 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9079 $as_echo_n "(cached) " >&6
9081 ac_check_lib_save_LIBS
=$LIBS
9083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9084 /* end confdefs.h. */
9086 /* Override any GCC internal prototype to avoid an error.
9087 Use char because int might match the return type of a GCC
9088 builtin and then its argument prototype would still apply. */
9096 return dnet_ntoa ();
9101 if ac_fn_c_try_link
"$LINENO"; then :
9102 ac_cv_lib_dnet_dnet_ntoa
=yes
9104 ac_cv_lib_dnet_dnet_ntoa
=no
9106 rm -f core conftest.err conftest.
$ac_objext \
9107 conftest
$ac_exeext conftest.
$ac_ext
9108 LIBS
=$ac_check_lib_save_LIBS
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9111 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9112 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9113 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9116 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9118 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9119 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9120 $as_echo_n "(cached) " >&6
9122 ac_check_lib_save_LIBS
=$LIBS
9123 LIBS
="-ldnet_stub $LIBS"
9124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9125 /* end confdefs.h. */
9127 /* Override any GCC internal prototype to avoid an error.
9128 Use char because int might match the return type of a GCC
9129 builtin and then its argument prototype would still apply. */
9137 return dnet_ntoa ();
9142 if ac_fn_c_try_link
"$LINENO"; then :
9143 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9145 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9147 rm -f core conftest.err conftest.
$ac_objext \
9148 conftest
$ac_exeext conftest.
$ac_ext
9149 LIBS
=$ac_check_lib_save_LIBS
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9152 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9153 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9154 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9159 rm -f core conftest.err conftest.
$ac_objext \
9160 conftest
$ac_exeext conftest.
$ac_ext
9161 LIBS
="$ac_xsave_LIBS"
9163 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9164 # to get the SysV transport functions.
9165 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9167 # The nsl library prevents programs from opening the X display
9168 # on Irix 5.2, according to T.E. Dickey.
9169 # The functions gethostbyname, getservbyname, and inet_addr are
9170 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9171 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9172 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9176 if test $ac_cv_func_gethostbyname = no
; then
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9178 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9179 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9180 $as_echo_n "(cached) " >&6
9182 ac_check_lib_save_LIBS
=$LIBS
9184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9185 /* end confdefs.h. */
9187 /* Override any GCC internal prototype to avoid an error.
9188 Use char because int might match the return type of a GCC
9189 builtin and then its argument prototype would still apply. */
9193 char gethostbyname ();
9197 return gethostbyname ();
9202 if ac_fn_c_try_link
"$LINENO"; then :
9203 ac_cv_lib_nsl_gethostbyname
=yes
9205 ac_cv_lib_nsl_gethostbyname
=no
9207 rm -f core conftest.err conftest.
$ac_objext \
9208 conftest
$ac_exeext conftest.
$ac_ext
9209 LIBS
=$ac_check_lib_save_LIBS
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9212 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9213 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9214 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9217 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9219 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9220 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9221 $as_echo_n "(cached) " >&6
9223 ac_check_lib_save_LIBS
=$LIBS
9225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9226 /* end confdefs.h. */
9228 /* Override any GCC internal prototype to avoid an error.
9229 Use char because int might match the return type of a GCC
9230 builtin and then its argument prototype would still apply. */
9234 char gethostbyname ();
9238 return gethostbyname ();
9243 if ac_fn_c_try_link
"$LINENO"; then :
9244 ac_cv_lib_bsd_gethostbyname
=yes
9246 ac_cv_lib_bsd_gethostbyname
=no
9248 rm -f core conftest.err conftest.
$ac_objext \
9249 conftest
$ac_exeext conftest.
$ac_ext
9250 LIBS
=$ac_check_lib_save_LIBS
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9253 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9254 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9255 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9261 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9262 # socket/setsockopt and other routines are undefined under SCO ODT
9263 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9264 # on later versions), says Simon Leinen: it contains gethostby*
9265 # variants that don't use the name server (or something). -lsocket
9266 # must be given before -lnsl if both are needed. We assume that
9267 # if connect needs -lnsl, so does gethostbyname.
9268 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9269 if test "x$ac_cv_func_connect" = xyes
; then :
9273 if test $ac_cv_func_connect = no
; then
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9275 $as_echo_n "checking for connect in -lsocket... " >&6; }
9276 if ${ac_cv_lib_socket_connect+:} false
; then :
9277 $as_echo_n "(cached) " >&6
9279 ac_check_lib_save_LIBS
=$LIBS
9280 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9282 /* end confdefs.h. */
9284 /* Override any GCC internal prototype to avoid an error.
9285 Use char because int might match the return type of a GCC
9286 builtin and then its argument prototype would still apply. */
9299 if ac_fn_c_try_link
"$LINENO"; then :
9300 ac_cv_lib_socket_connect
=yes
9302 ac_cv_lib_socket_connect
=no
9304 rm -f core conftest.err conftest.
$ac_objext \
9305 conftest
$ac_exeext conftest.
$ac_ext
9306 LIBS
=$ac_check_lib_save_LIBS
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9309 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9310 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9311 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9316 # Guillermo Gomez says -lposix is necessary on A/UX.
9317 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9318 if test "x$ac_cv_func_remove" = xyes
; then :
9322 if test $ac_cv_func_remove = no
; then
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9324 $as_echo_n "checking for remove in -lposix... " >&6; }
9325 if ${ac_cv_lib_posix_remove+:} false
; then :
9326 $as_echo_n "(cached) " >&6
9328 ac_check_lib_save_LIBS
=$LIBS
9329 LIBS
="-lposix $LIBS"
9330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9331 /* end confdefs.h. */
9333 /* Override any GCC internal prototype to avoid an error.
9334 Use char because int might match the return type of a GCC
9335 builtin and then its argument prototype would still apply. */
9348 if ac_fn_c_try_link
"$LINENO"; then :
9349 ac_cv_lib_posix_remove
=yes
9351 ac_cv_lib_posix_remove
=no
9353 rm -f core conftest.err conftest.
$ac_objext \
9354 conftest
$ac_exeext conftest.
$ac_ext
9355 LIBS
=$ac_check_lib_save_LIBS
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9358 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9359 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9360 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9365 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9366 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9367 if test "x$ac_cv_func_shmat" = xyes
; then :
9371 if test $ac_cv_func_shmat = no
; then
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9373 $as_echo_n "checking for shmat in -lipc... " >&6; }
9374 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9375 $as_echo_n "(cached) " >&6
9377 ac_check_lib_save_LIBS
=$LIBS
9379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9380 /* end confdefs.h. */
9382 /* Override any GCC internal prototype to avoid an error.
9383 Use char because int might match the return type of a GCC
9384 builtin and then its argument prototype would still apply. */
9397 if ac_fn_c_try_link
"$LINENO"; then :
9398 ac_cv_lib_ipc_shmat
=yes
9400 ac_cv_lib_ipc_shmat
=no
9402 rm -f core conftest.err conftest.
$ac_objext \
9403 conftest
$ac_exeext conftest.
$ac_ext
9404 LIBS
=$ac_check_lib_save_LIBS
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9407 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9408 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9409 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9415 # Check for libraries that X11R6 Xt/Xaw programs need.
9416 ac_save_LDFLAGS
=$LDFLAGS
9417 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9418 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9419 # check for ICE first), but we must link in the order -lSM -lICE or
9420 # we get undefined symbols. So assume we have SM if we have ICE.
9421 # These have to be linked with before -lX11, unlike the other
9422 # libraries we check for below, so use a different variable.
9423 # John Interrante, Karl Berry
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9425 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9426 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9427 $as_echo_n "(cached) " >&6
9429 ac_check_lib_save_LIBS
=$LIBS
9430 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9432 /* end confdefs.h. */
9434 /* Override any GCC internal prototype to avoid an error.
9435 Use char because int might match the return type of a GCC
9436 builtin and then its argument prototype would still apply. */
9440 char IceConnectionNumber ();
9444 return IceConnectionNumber ();
9449 if ac_fn_c_try_link
"$LINENO"; then :
9450 ac_cv_lib_ICE_IceConnectionNumber
=yes
9452 ac_cv_lib_ICE_IceConnectionNumber
=no
9454 rm -f core conftest.err conftest.
$ac_objext \
9455 conftest
$ac_exeext conftest.
$ac_ext
9456 LIBS
=$ac_check_lib_save_LIBS
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9459 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9460 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9461 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9464 LDFLAGS
=$ac_save_LDFLAGS
9469 if test "$have_x" = "yes"
9471 ac_save_CPPFLAGS
="$CPPFLAGS"
9472 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9475 $as_echo_n "checking for -lX11... " >&6; }
9476 if ${ac_cv_lib_soname_X11+:} false
; then :
9477 $as_echo_n "(cached) " >&6
9479 ac_check_soname_save_LIBS
=$LIBS
9480 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9482 /* end confdefs.h. */
9484 /* Override any GCC internal prototype to avoid an error.
9485 Use char because int might match the return type of a GCC
9486 builtin and then its argument prototype would still apply. */
9490 char XCreateWindow ();
9494 return XCreateWindow ();
9499 if ac_fn_c_try_link
"$LINENO"; then :
9501 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9502 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'` ;;
9503 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9504 if ${ac_cv_lib_soname_X11:+false} :; then :
9505 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9509 rm -f core conftest.err conftest.
$ac_objext \
9510 conftest
$ac_exeext conftest.
$ac_ext
9511 LIBS
=$ac_check_soname_save_LIBS
9513 if ${ac_cv_lib_soname_X11:+false} :; then :
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9515 $as_echo "not found" >&6; }
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9519 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9521 cat >>confdefs.h
<<_ACEOF
9522 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9528 $as_echo_n "checking for -lXext... " >&6; }
9529 if ${ac_cv_lib_soname_Xext+:} false
; then :
9530 $as_echo_n "(cached) " >&6
9532 ac_check_soname_save_LIBS
=$LIBS
9533 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9535 /* end confdefs.h. */
9537 /* Override any GCC internal prototype to avoid an error.
9538 Use char because int might match the return type of a GCC
9539 builtin and then its argument prototype would still apply. */
9543 char XextCreateExtension ();
9547 return XextCreateExtension ();
9552 if ac_fn_c_try_link
"$LINENO"; then :
9554 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9555 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'` ;;
9556 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9557 if ${ac_cv_lib_soname_Xext:+false} :; then :
9558 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9562 rm -f core conftest.err conftest.
$ac_objext \
9563 conftest
$ac_exeext conftest.
$ac_ext
9564 LIBS
=$ac_check_soname_save_LIBS
9566 if ${ac_cv_lib_soname_Xext:+false} :; then :
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9568 $as_echo "not found" >&6; }
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9572 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9574 cat >>confdefs.h
<<_ACEOF
9575 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9578 X_LIBS
="$X_LIBS -lXext"
9580 X_LIBS
="$X_LIBS -lX11"
9582 for ac_header
in X11
/Xlib.h \
9585 X11
/Xcursor
/Xcursor.h \
9586 X11
/extensions
/shape.h \
9587 X11
/extensions
/XInput.h \
9588 X11
/extensions
/XInput2.h \
9589 X11
/extensions
/XShm.h \
9590 X11
/extensions
/Xcomposite.h \
9591 X11
/extensions
/Xinerama.h \
9592 X11
/extensions
/Xrandr.h \
9593 X11
/extensions
/Xrender.h \
9594 X11
/extensions
/xf86vmode.h \
9595 X11
/extensions
/xf86vmproto.h
9597 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9598 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9599 # include <X11/Xlib.h>
9601 #ifdef HAVE_X11_XUTIL_H
9602 # include <X11/Xutil.h>
9605 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9606 cat >>confdefs.h
<<_ACEOF
9607 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9615 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9618 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9619 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9620 $as_echo_n "(cached) " >&6
9622 ac_check_lib_save_LIBS
=$LIBS
9623 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9625 /* end confdefs.h. */
9627 /* Override any GCC internal prototype to avoid an error.
9628 Use char because int might match the return type of a GCC
9629 builtin and then its argument prototype would still apply. */
9633 char XkbQueryExtension ();
9637 return XkbQueryExtension ();
9642 if ac_fn_c_try_link
"$LINENO"; then :
9643 ac_cv_lib_X11_XkbQueryExtension
=yes
9645 ac_cv_lib_X11_XkbQueryExtension
=no
9647 rm -f core conftest.err conftest.
$ac_objext \
9648 conftest
$ac_exeext conftest.
$ac_ext
9649 LIBS
=$ac_check_lib_save_LIBS
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9652 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9653 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9655 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9661 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9664 $as_echo_n "checking for -lXcursor... " >&6; }
9665 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9666 $as_echo_n "(cached) " >&6
9668 ac_check_soname_save_LIBS
=$LIBS
9669 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9671 /* end confdefs.h. */
9673 /* Override any GCC internal prototype to avoid an error.
9674 Use char because int might match the return type of a GCC
9675 builtin and then its argument prototype would still apply. */
9679 char XcursorImageLoadCursor ();
9683 return XcursorImageLoadCursor ();
9688 if ac_fn_c_try_link
"$LINENO"; then :
9690 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9691 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'` ;;
9692 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9693 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9694 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9698 rm -f core conftest.err conftest.
$ac_objext \
9699 conftest
$ac_exeext conftest.
$ac_ext
9700 LIBS
=$ac_check_soname_save_LIBS
9702 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9704 $as_echo "not found" >&6; }
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9708 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9710 cat >>confdefs.h
<<_ACEOF
9711 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9717 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9718 case "x$with_xcursor" in
9719 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9721 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9722 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9726 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9729 $as_echo_n "checking for -lXi... " >&6; }
9730 if ${ac_cv_lib_soname_Xi+:} false
; then :
9731 $as_echo_n "(cached) " >&6
9733 ac_check_soname_save_LIBS
=$LIBS
9734 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9736 /* end confdefs.h. */
9738 /* Override any GCC internal prototype to avoid an error.
9739 Use char because int might match the return type of a GCC
9740 builtin and then its argument prototype would still apply. */
9744 char XOpenDevice ();
9748 return XOpenDevice ();
9753 if ac_fn_c_try_link
"$LINENO"; then :
9755 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9756 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'` ;;
9757 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9758 if ${ac_cv_lib_soname_Xi:+false} :; then :
9759 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9763 rm -f core conftest.err conftest.
$ac_objext \
9764 conftest
$ac_exeext conftest.
$ac_ext
9765 LIBS
=$ac_check_soname_save_LIBS
9767 if ${ac_cv_lib_soname_Xi:+false} :; then :
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9769 $as_echo "not found" >&6; }
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9773 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9775 cat >>confdefs.h
<<_ACEOF
9776 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9782 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9783 case "x$with_xinput" in
9784 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9786 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9787 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9791 if test "x$ac_cv_lib_soname_Xi" != x
9793 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9794 case "x$with_xinput2" in
9795 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9797 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9798 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9803 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9806 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9807 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9808 $as_echo_n "(cached) " >&6
9810 ac_check_lib_save_LIBS
=$LIBS
9811 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9813 /* end confdefs.h. */
9815 /* Override any GCC internal prototype to avoid an error.
9816 Use char because int might match the return type of a GCC
9817 builtin and then its argument prototype would still apply. */
9821 char XShmQueryExtension ();
9825 return XShmQueryExtension ();
9830 if ac_fn_c_try_link
"$LINENO"; then :
9831 ac_cv_lib_Xext_XShmQueryExtension
=yes
9833 ac_cv_lib_Xext_XShmQueryExtension
=no
9835 rm -f core conftest.err conftest.
$ac_objext \
9836 conftest
$ac_exeext conftest.
$ac_ext
9837 LIBS
=$ac_check_lib_save_LIBS
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9840 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9841 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9843 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9848 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9849 case "x$with_xshm" in
9850 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9852 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9853 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9857 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9860 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9861 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9862 $as_echo_n "(cached) " >&6
9864 ac_check_lib_save_LIBS
=$LIBS
9865 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9867 /* end confdefs.h. */
9869 /* Override any GCC internal prototype to avoid an error.
9870 Use char because int might match the return type of a GCC
9871 builtin and then its argument prototype would still apply. */
9875 char XShapeQueryExtension ();
9879 return XShapeQueryExtension ();
9884 if ac_fn_c_try_link
"$LINENO"; then :
9885 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9887 ac_cv_lib_Xext_XShapeQueryExtension
=no
9889 rm -f core conftest.err conftest.
$ac_objext \
9890 conftest
$ac_exeext conftest.
$ac_ext
9891 LIBS
=$ac_check_lib_save_LIBS
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9894 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9895 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9897 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9902 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9903 case "x$with_xshape" in
9904 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9906 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9907 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9911 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9914 $as_echo_n "checking for -lXxf86vm... " >&6; }
9915 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9916 $as_echo_n "(cached) " >&6
9918 ac_check_soname_save_LIBS
=$LIBS
9919 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9921 /* end confdefs.h. */
9923 /* Override any GCC internal prototype to avoid an error.
9924 Use char because int might match the return type of a GCC
9925 builtin and then its argument prototype would still apply. */
9929 char XF86VidModeQueryExtension ();
9933 return XF86VidModeQueryExtension ();
9938 if ac_fn_c_try_link
"$LINENO"; then :
9940 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9941 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'` ;;
9942 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9943 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9944 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9948 rm -f core conftest.err conftest.
$ac_objext \
9949 conftest
$ac_exeext conftest.
$ac_ext
9950 LIBS
=$ac_check_soname_save_LIBS
9952 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9954 $as_echo "not found" >&6; }
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9958 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9960 cat >>confdefs.h
<<_ACEOF
9961 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9967 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9968 case "x$with_xxf86vm" in
9969 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9971 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9972 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9976 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9979 $as_echo_n "checking for -lXrender... " >&6; }
9980 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9981 $as_echo_n "(cached) " >&6
9983 ac_check_soname_save_LIBS
=$LIBS
9984 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9986 /* end confdefs.h. */
9988 /* Override any GCC internal prototype to avoid an error.
9989 Use char because int might match the return type of a GCC
9990 builtin and then its argument prototype would still apply. */
9994 char XRenderQueryExtension ();
9998 return XRenderQueryExtension ();
10003 if ac_fn_c_try_link
"$LINENO"; then :
10005 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10006 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'` ;;
10007 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10008 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10009 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10013 rm -f core conftest.err conftest.
$ac_objext \
10014 conftest
$ac_exeext conftest.
$ac_ext
10015 LIBS
=$ac_check_soname_save_LIBS
10017 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10019 $as_echo "not found" >&6; }
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10023 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10025 cat >>confdefs.h
<<_ACEOF
10026 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10030 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10031 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10032 $as_echo_n "(cached) " >&6
10034 ac_check_lib_save_LIBS
=$LIBS
10035 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10037 /* end confdefs.h. */
10039 /* Override any GCC internal prototype to avoid an error.
10040 Use char because int might match the return type of a GCC
10041 builtin and then its argument prototype would still apply. */
10045 char XRenderSetPictureTransform ();
10049 return XRenderSetPictureTransform ();
10054 if ac_fn_c_try_link
"$LINENO"; then :
10055 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10057 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10059 rm -f core conftest.err conftest.
$ac_objext \
10060 conftest
$ac_exeext conftest.
$ac_ext
10061 LIBS
=$ac_check_lib_save_LIBS
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10064 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10065 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10067 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10072 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10073 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10074 $as_echo_n "(cached) " >&6
10076 ac_check_lib_save_LIBS
=$LIBS
10077 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10079 /* end confdefs.h. */
10081 /* Override any GCC internal prototype to avoid an error.
10082 Use char because int might match the return type of a GCC
10083 builtin and then its argument prototype would still apply. */
10087 char XRenderCreateLinearGradient ();
10091 return XRenderCreateLinearGradient ();
10096 if ac_fn_c_try_link
"$LINENO"; then :
10097 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10099 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10101 rm -f core conftest.err conftest.
$ac_objext \
10102 conftest
$ac_exeext conftest.
$ac_ext
10103 LIBS
=$ac_check_lib_save_LIBS
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10106 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10107 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10109 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10116 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10117 case "x$with_xrender" in
10118 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10120 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10121 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10125 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10128 /* end confdefs.h. */
10129 #include <X11/Xlib.h>
10130 #include <X11/extensions/Xrandr.h>
10134 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10139 if ac_fn_c_try_compile
"$LINENO"; then :
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10141 $as_echo_n "checking for -lXrandr... " >&6; }
10142 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10143 $as_echo_n "(cached) " >&6
10145 ac_check_soname_save_LIBS
=$LIBS
10146 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10148 /* end confdefs.h. */
10150 /* Override any GCC internal prototype to avoid an error.
10151 Use char because int might match the return type of a GCC
10152 builtin and then its argument prototype would still apply. */
10156 char XRRQueryExtension ();
10160 return XRRQueryExtension ();
10165 if ac_fn_c_try_link
"$LINENO"; then :
10167 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10168 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'` ;;
10169 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10170 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10171 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10175 rm -f core conftest.err conftest.
$ac_objext \
10176 conftest
$ac_exeext conftest.
$ac_ext
10177 LIBS
=$ac_check_soname_save_LIBS
10179 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10181 $as_echo "not found" >&6; }
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10185 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10187 cat >>confdefs.h
<<_ACEOF
10188 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10192 /* end confdefs.h. */
10193 #include <X11/Xlib.h>
10194 #include <X11/extensions/Xrandr.h>
10198 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10203 if ac_fn_c_try_compile
"$LINENO"; then :
10205 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10211 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10213 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10214 case "x$with_xrandr" in
10215 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10217 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10218 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10222 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10225 /* end confdefs.h. */
10226 #include <X11/Xlib.h>
10227 #include <X11/extensions/Xinerama.h>
10231 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10236 if ac_fn_c_try_compile
"$LINENO"; then :
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10238 $as_echo_n "checking for -lXinerama... " >&6; }
10239 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10240 $as_echo_n "(cached) " >&6
10242 ac_check_soname_save_LIBS
=$LIBS
10243 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10247 /* Override any GCC internal prototype to avoid an error.
10248 Use char because int might match the return type of a GCC
10249 builtin and then its argument prototype would still apply. */
10253 char XineramaQueryScreens ();
10257 return XineramaQueryScreens ();
10262 if ac_fn_c_try_link
"$LINENO"; then :
10264 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10265 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'` ;;
10266 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10267 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10268 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10272 rm -f core conftest.err conftest.
$ac_objext \
10273 conftest
$ac_exeext conftest.
$ac_ext
10274 LIBS
=$ac_check_soname_save_LIBS
10276 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10278 $as_echo "not found" >&6; }
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10282 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10284 cat >>confdefs.h
<<_ACEOF
10285 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10293 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10294 case "x$with_xinerama" in
10295 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10297 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10298 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10302 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10305 $as_echo_n "checking for -lXcomposite... " >&6; }
10306 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10307 $as_echo_n "(cached) " >&6
10309 ac_check_soname_save_LIBS
=$LIBS
10310 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10312 /* end confdefs.h. */
10314 /* Override any GCC internal prototype to avoid an error.
10315 Use char because int might match the return type of a GCC
10316 builtin and then its argument prototype would still apply. */
10320 char XCompositeRedirectWindow ();
10324 return XCompositeRedirectWindow ();
10329 if ac_fn_c_try_link
"$LINENO"; then :
10331 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10332 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'` ;;
10333 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10334 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10335 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10339 rm -f core conftest.err conftest.
$ac_objext \
10340 conftest
$ac_exeext conftest.
$ac_ext
10341 LIBS
=$ac_check_soname_save_LIBS
10343 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10345 $as_echo "not found" >&6; }
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10349 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10351 cat >>confdefs.h
<<_ACEOF
10352 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10358 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10359 case "x$with_xcomposite" in
10360 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10362 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10363 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10367 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10368 #include <X11/Xlib.h>
10371 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10373 cat >>confdefs.h
<<_ACEOF
10374 #define HAVE_XICCALLBACK_CALLBACK 1
10379 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10380 #include <X11/Xlib.h>
10383 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10385 cat >>confdefs.h
<<_ACEOF
10386 #define HAVE_XEVENT_XCOOKIE 1
10395 if test "x$with_opengl" != "xno"
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10398 $as_echo_n "checking for -lGL... " >&6; }
10399 if ${ac_cv_lib_soname_GL+:} false
; then :
10400 $as_echo_n "(cached) " >&6
10402 ac_check_soname_save_LIBS
=$LIBS
10403 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10405 /* end confdefs.h. */
10407 /* Override any GCC internal prototype to avoid an error.
10408 Use char because int might match the return type of a GCC
10409 builtin and then its argument prototype would still apply. */
10413 char glXCreateContext ();
10417 return glXCreateContext ();
10422 if ac_fn_c_try_link
"$LINENO"; then :
10424 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10425 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'` ;;
10426 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10427 if ${ac_cv_lib_soname_GL:+false} :; then :
10428 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10432 rm -f core conftest.err conftest.
$ac_objext \
10433 conftest
$ac_exeext conftest.
$ac_ext
10434 LIBS
=$ac_check_soname_save_LIBS
10436 if ${ac_cv_lib_soname_GL:+false} :; then :
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10438 $as_echo "not found" >&6; }
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10440 $as_echo_n "checking for -lGL... " >&6; }
10441 if ${ac_cv_lib_soname_GL+:} false
; then :
10442 $as_echo_n "(cached) " >&6
10444 ac_check_soname_save_LIBS
=$LIBS
10445 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"
10446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10447 /* end confdefs.h. */
10449 /* Override any GCC internal prototype to avoid an error.
10450 Use char because int might match the return type of a GCC
10451 builtin and then its argument prototype would still apply. */
10455 char glXCreateContext ();
10459 return glXCreateContext ();
10464 if ac_fn_c_try_link
"$LINENO"; then :
10466 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10467 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'` ;;
10468 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10469 if ${ac_cv_lib_soname_GL:+false} :; then :
10470 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10474 rm -f core conftest.err conftest.
$ac_objext \
10475 conftest
$ac_exeext conftest.
$ac_ext
10476 LIBS
=$ac_check_soname_save_LIBS
10478 if ${ac_cv_lib_soname_GL:+false} :; then :
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10480 $as_echo "not found" >&6; }
10481 if test -f /usr
/X11R
6/lib
/libGL.a
10483 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10484 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10486 opengl_msg
="No OpenGL library found on this system."
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10490 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10492 cat >>confdefs.h
<<_ACEOF
10493 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10496 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"
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10500 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10502 cat >>confdefs.h
<<_ACEOF
10503 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10508 if test "x$with_glu" != "xno"
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10511 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10512 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10513 $as_echo_n "(cached) " >&6
10515 ac_check_lib_save_LIBS
=$LIBS
10516 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10518 /* end confdefs.h. */
10520 /* Override any GCC internal prototype to avoid an error.
10521 Use char because int might match the return type of a GCC
10522 builtin and then its argument prototype would still apply. */
10530 return gluLookAt ();
10535 if ac_fn_c_try_link
"$LINENO"; then :
10536 ac_cv_lib_GLU_gluLookAt
=yes
10538 ac_cv_lib_GLU_gluLookAt
=no
10540 rm -f core conftest.err conftest.
$ac_objext \
10541 conftest
$ac_exeext conftest.
$ac_ext
10542 LIBS
=$ac_check_lib_save_LIBS
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10545 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10546 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10550 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10551 case "x$with_glu" in
10552 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10554 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10555 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10560 if test "x$with_osmesa" != "xno"
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10563 $as_echo_n "checking for -lOSMesa... " >&6; }
10564 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10565 $as_echo_n "(cached) " >&6
10567 ac_check_soname_save_LIBS
=$LIBS
10568 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10570 /* end confdefs.h. */
10572 /* Override any GCC internal prototype to avoid an error.
10573 Use char because int might match the return type of a GCC
10574 builtin and then its argument prototype would still apply. */
10587 if ac_fn_c_try_link
"$LINENO"; then :
10589 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10590 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'` ;;
10591 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10592 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10593 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10597 rm -f core conftest.err conftest.
$ac_objext \
10598 conftest
$ac_exeext conftest.
$ac_ext
10599 LIBS
=$ac_check_soname_save_LIBS
10601 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10603 $as_echo "not found" >&6; }
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10607 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10609 cat >>confdefs.h
<<_ACEOF
10610 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10615 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10616 case "x$with_osmesa" in
10617 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10619 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10620 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10625 if test -n "$opengl_msg"; then :
10626 case "x$with_opengl" in
10627 x
) as_fn_append wine_warnings
"|$opengl_msg
10628 OpenGL and Direct3D won't be supported." ;;
10630 *) as_fn_error $?
"$opengl_msg
10631 OpenGL and Direct3D won't be supported.
10632 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10636 CPPFLAGS
="$ac_save_CPPFLAGS"
10640 enable_winex11_drv
=${enable_winex11_drv:-no}
10642 if test "x$X_LIBS" = "x"; then :
10645 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10646 without X support, which probably isn't what you want. You will need
10647 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10648 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10652 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10654 if test "$ac_cv_header_CL_cl_h" = "yes"
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10657 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10658 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10659 $as_echo_n "(cached) " >&6
10661 ac_check_lib_save_LIBS
=$LIBS
10662 LIBS
="-lOpenCL $LIBS"
10663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10664 /* end confdefs.h. */
10666 /* Override any GCC internal prototype to avoid an error.
10667 Use char because int might match the return type of a GCC
10668 builtin and then its argument prototype would still apply. */
10672 char clGetPlatformInfo ();
10676 return clGetPlatformInfo ();
10681 if ac_fn_c_try_link
"$LINENO"; then :
10682 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10684 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10686 rm -f core conftest.err conftest.
$ac_objext \
10687 conftest
$ac_exeext conftest.
$ac_ext
10688 LIBS
=$ac_check_lib_save_LIBS
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10691 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10692 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10693 OPENCL_LIBS
="-lOpenCL"
10698 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10699 case "x$with_opencl" in
10700 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10702 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10703 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10706 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10708 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10711 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10712 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10713 $as_echo_n "(cached) " >&6
10715 ac_check_lib_save_LIBS
=$LIBS
10716 LIBS
="-lpcap $LIBS"
10717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10720 /* Override any GCC internal prototype to avoid an error.
10721 Use char because int might match the return type of a GCC
10722 builtin and then its argument prototype would still apply. */
10726 char pcap_create ();
10730 return pcap_create ();
10735 if ac_fn_c_try_link
"$LINENO"; then :
10736 ac_cv_lib_pcap_pcap_create
=yes
10738 ac_cv_lib_pcap_pcap_create
=no
10740 rm -f core conftest.err conftest.
$ac_objext \
10741 conftest
$ac_exeext conftest.
$ac_ext
10742 LIBS
=$ac_check_lib_save_LIBS
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10745 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10746 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10752 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10753 case "x$with_pcap" in
10754 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10756 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10757 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10760 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10763 if test "x$with_xml" != "xno"
10765 if ${XML2_CFLAGS:+false} :; then :
10766 if ${PKG_CONFIG+:} false
; then :
10767 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10770 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10771 if ${XML2_LIBS:+false} :; then :
10772 if ${PKG_CONFIG+:} false
; then :
10773 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10776 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10777 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10778 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10779 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10780 ac_save_CPPFLAGS
=$CPPFLAGS
10781 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10782 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10784 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10785 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10786 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10787 cat >>confdefs.h
<<_ACEOF
10788 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10795 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"
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10798 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10799 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10800 $as_echo_n "(cached) " >&6
10802 ac_check_lib_save_LIBS
=$LIBS
10803 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10807 /* Override any GCC internal prototype to avoid an error.
10808 Use char because int might match the return type of a GCC
10809 builtin and then its argument prototype would still apply. */
10813 char xmlParseMemory ();
10817 return xmlParseMemory ();
10822 if ac_fn_c_try_link
"$LINENO"; then :
10823 ac_cv_lib_xml2_xmlParseMemory
=yes
10825 ac_cv_lib_xml2_xmlParseMemory
=no
10827 rm -f core conftest.err conftest.
$ac_objext \
10828 conftest
$ac_exeext conftest.
$ac_ext
10829 LIBS
=$ac_check_lib_save_LIBS
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10832 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10833 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10835 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10842 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10843 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10844 $as_echo_n "(cached) " >&6
10846 ac_check_lib_save_LIBS
=$LIBS
10847 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10849 /* end confdefs.h. */
10851 /* Override any GCC internal prototype to avoid an error.
10852 Use char because int might match the return type of a GCC
10853 builtin and then its argument prototype would still apply. */
10857 char xmlReadMemory ();
10861 return xmlReadMemory ();
10866 if ac_fn_c_try_link
"$LINENO"; then :
10867 ac_cv_lib_xml2_xmlReadMemory
=yes
10869 ac_cv_lib_xml2_xmlReadMemory
=no
10871 rm -f core conftest.err conftest.
$ac_objext \
10872 conftest
$ac_exeext conftest.
$ac_ext
10873 LIBS
=$ac_check_lib_save_LIBS
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10876 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10877 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10879 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10884 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10885 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10886 $as_echo_n "(cached) " >&6
10888 ac_check_lib_save_LIBS
=$LIBS
10889 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10891 /* end confdefs.h. */
10893 /* Override any GCC internal prototype to avoid an error.
10894 Use char because int might match the return type of a GCC
10895 builtin and then its argument prototype would still apply. */
10899 char xmlNewDocPI ();
10903 return xmlNewDocPI ();
10908 if ac_fn_c_try_link
"$LINENO"; then :
10909 ac_cv_lib_xml2_xmlNewDocPI
=yes
10911 ac_cv_lib_xml2_xmlNewDocPI
=no
10913 rm -f core conftest.err conftest.
$ac_objext \
10914 conftest
$ac_exeext conftest.
$ac_ext
10915 LIBS
=$ac_check_lib_save_LIBS
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10918 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10919 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10921 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10926 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10927 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10928 $as_echo_n "(cached) " >&6
10930 ac_check_lib_save_LIBS
=$LIBS
10931 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10933 /* end confdefs.h. */
10935 /* Override any GCC internal prototype to avoid an error.
10936 Use char because int might match the return type of a GCC
10937 builtin and then its argument prototype would still apply. */
10941 char xmlSchemaSetParserStructuredErrors ();
10945 return xmlSchemaSetParserStructuredErrors ();
10950 if ac_fn_c_try_link
"$LINENO"; then :
10951 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10953 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10955 rm -f core conftest.err conftest.
$ac_objext \
10956 conftest
$ac_exeext conftest.
$ac_ext
10957 LIBS
=$ac_check_lib_save_LIBS
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10960 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10961 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10963 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10968 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10969 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10970 $as_echo_n "(cached) " >&6
10972 ac_check_lib_save_LIBS
=$LIBS
10973 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10975 /* end confdefs.h. */
10977 /* Override any GCC internal prototype to avoid an error.
10978 Use char because int might match the return type of a GCC
10979 builtin and then its argument prototype would still apply. */
10983 char xmlSchemaSetValidStructuredErrors ();
10987 return xmlSchemaSetValidStructuredErrors ();
10992 if ac_fn_c_try_link
"$LINENO"; then :
10993 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10995 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10997 rm -f core conftest.err conftest.
$ac_objext \
10998 conftest
$ac_exeext conftest.
$ac_ext
10999 LIBS
=$ac_check_lib_save_LIBS
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11002 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11003 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11005 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11010 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11011 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11012 $as_echo_n "(cached) " >&6
11014 ac_check_lib_save_LIBS
=$LIBS
11015 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11019 /* Override any GCC internal prototype to avoid an error.
11020 Use char because int might match the return type of a GCC
11021 builtin and then its argument prototype would still apply. */
11025 char xmlFirstElementChild ();
11029 return xmlFirstElementChild ();
11034 if ac_fn_c_try_link
"$LINENO"; then :
11035 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11037 ac_cv_lib_xml2_xmlFirstElementChild
=no
11039 rm -f core conftest.err conftest.
$ac_objext \
11040 conftest
$ac_exeext conftest.
$ac_ext
11041 LIBS
=$ac_check_lib_save_LIBS
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11044 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11045 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11047 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11051 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11053 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11055 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11063 CPPFLAGS
=$ac_save_CPPFLAGS
11064 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11065 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11068 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11069 case "x$with_xml" in
11070 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11072 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11073 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11077 if test "x$with_xslt" != "xno"
11079 if ${XSLT_CFLAGS:+false} :; then :
11080 if ${PKG_CONFIG+:} false
; then :
11081 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11084 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11085 if ${XSLT_LIBS:+false} :; then :
11086 if ${PKG_CONFIG+:} false
; then :
11087 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11090 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11091 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11092 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11093 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11094 ac_save_CPPFLAGS
=$CPPFLAGS
11095 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11096 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11098 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11099 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11100 # include <libxslt/pattern.h>
11103 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11104 cat >>confdefs.h
<<_ACEOF
11105 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11112 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11115 $as_echo_n "checking for -lxslt... " >&6; }
11116 if ${ac_cv_lib_soname_xslt+:} false
; then :
11117 $as_echo_n "(cached) " >&6
11119 ac_check_soname_save_LIBS
=$LIBS
11120 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11124 /* Override any GCC internal prototype to avoid an error.
11125 Use char because int might match the return type of a GCC
11126 builtin and then its argument prototype would still apply. */
11130 char xsltCompilePattern ();
11134 return xsltCompilePattern ();
11139 if ac_fn_c_try_link
"$LINENO"; then :
11141 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11142 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'` ;;
11143 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11144 if ${ac_cv_lib_soname_xslt:+false} :; then :
11145 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11149 rm -f core conftest.err conftest.
$ac_objext \
11150 conftest
$ac_exeext conftest.
$ac_ext
11151 LIBS
=$ac_check_soname_save_LIBS
11153 if ${ac_cv_lib_soname_xslt:+false} :; then :
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11155 $as_echo "not found" >&6; }
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11159 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11161 cat >>confdefs.h
<<_ACEOF
11162 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11170 CPPFLAGS
=$ac_save_CPPFLAGS
11171 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11172 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11175 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11176 case "x$with_xslt" in
11177 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11179 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11180 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11184 if test "x$with_dbus" != "xno"
11186 if ${DBUS_CFLAGS:+false} :; then :
11187 if ${PKG_CONFIG+:} false
; then :
11188 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11192 if ${DBUS_LIBS:+false} :; then :
11193 if ${PKG_CONFIG+:} false
; then :
11194 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11199 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11200 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11201 ac_save_CPPFLAGS
=$CPPFLAGS
11202 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11203 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11204 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11206 $as_echo_n "checking for -ldbus-1... " >&6; }
11207 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11208 $as_echo_n "(cached) " >&6
11210 ac_check_soname_save_LIBS
=$LIBS
11211 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11213 /* end confdefs.h. */
11215 /* Override any GCC internal prototype to avoid an error.
11216 Use char because int might match the return type of a GCC
11217 builtin and then its argument prototype would still apply. */
11221 char dbus_connection_close ();
11225 return dbus_connection_close ();
11230 if ac_fn_c_try_link
"$LINENO"; then :
11232 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11233 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'` ;;
11234 *) 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'`
11235 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11236 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11240 rm -f core conftest.err conftest.
$ac_objext \
11241 conftest
$ac_exeext conftest.
$ac_ext
11242 LIBS
=$ac_check_soname_save_LIBS
11244 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11246 $as_echo "not found" >&6; }
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11250 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11252 cat >>confdefs.h
<<_ACEOF
11253 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11263 CPPFLAGS
=$ac_save_CPPFLAGS
11264 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11265 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11268 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11269 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11270 case "x$with_dbus" in
11271 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11273 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11274 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11278 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11280 if ${HAL_CFLAGS:+false} :; then :
11281 if ${PKG_CONFIG+:} false
; then :
11282 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11286 if ${HAL_LIBS:+false} :; then :
11287 if ${PKG_CONFIG+:} false
; then :
11288 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11292 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11293 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11294 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11295 ac_save_CPPFLAGS
=$CPPFLAGS
11296 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11297 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11298 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11300 $as_echo_n "checking for -lhal... " >&6; }
11301 if ${ac_cv_lib_soname_hal+:} false
; then :
11302 $as_echo_n "(cached) " >&6
11304 ac_check_soname_save_LIBS
=$LIBS
11305 LIBS
="-lhal $HAL_LIBS $LIBS"
11306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11309 /* Override any GCC internal prototype to avoid an error.
11310 Use char because int might match the return type of a GCC
11311 builtin and then its argument prototype would still apply. */
11315 char libhal_ctx_new ();
11319 return libhal_ctx_new ();
11324 if ac_fn_c_try_link
"$LINENO"; then :
11326 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11327 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'` ;;
11328 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11329 if ${ac_cv_lib_soname_hal:+false} :; then :
11330 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11334 rm -f core conftest.err conftest.
$ac_objext \
11335 conftest
$ac_exeext conftest.
$ac_ext
11336 LIBS
=$ac_check_soname_save_LIBS
11338 if ${ac_cv_lib_soname_hal:+false} :; then :
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11340 $as_echo "not found" >&6; }
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11344 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11346 cat >>confdefs.h
<<_ACEOF
11347 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11357 CPPFLAGS
=$ac_save_CPPFLAGS
11358 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11359 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11361 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11362 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11363 case "x$with_hal" in
11364 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11366 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11367 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11372 if test "x$with_gnutls" != "xno"
11374 if ${GNUTLS_CFLAGS:+false} :; then :
11375 if ${PKG_CONFIG+:} false
; then :
11376 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11380 if ${GNUTLS_LIBS:+false} :; then :
11381 if ${PKG_CONFIG+:} false
; then :
11382 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11387 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11388 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11389 ac_save_CPPFLAGS
=$CPPFLAGS
11390 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11391 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11392 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11395 #include <gnutls/gnutls.h>
11396 #include <gnutls/crypto.h>
11400 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11405 if ac_fn_c_try_compile
"$LINENO"; then :
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11407 $as_echo_n "checking for -lgnutls... " >&6; }
11408 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11409 $as_echo_n "(cached) " >&6
11411 ac_check_soname_save_LIBS
=$LIBS
11412 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11416 /* Override any GCC internal prototype to avoid an error.
11417 Use char because int might match the return type of a GCC
11418 builtin and then its argument prototype would still apply. */
11422 char gnutls_global_init ();
11426 return gnutls_global_init ();
11431 if ac_fn_c_try_link
"$LINENO"; then :
11433 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11434 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'` ;;
11435 *) 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'`
11436 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11437 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'`
11441 rm -f core conftest.err conftest.
$ac_objext \
11442 conftest
$ac_exeext conftest.
$ac_ext
11443 LIBS
=$ac_check_soname_save_LIBS
11445 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11447 $as_echo "not found" >&6; }
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11451 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11453 cat >>confdefs.h
<<_ACEOF
11454 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11466 CPPFLAGS
=$ac_save_CPPFLAGS
11467 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11468 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11471 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11472 case "x$with_gnutls" in
11473 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11475 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11476 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11481 if test "$ac_cv_header_ncurses_h" = "yes"
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11484 $as_echo_n "checking for -lncurses... " >&6; }
11485 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11486 $as_echo_n "(cached) " >&6
11488 ac_check_soname_save_LIBS
=$LIBS
11489 LIBS
="-lncurses $LIBS"
11490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11491 /* end confdefs.h. */
11493 /* Override any GCC internal prototype to avoid an error.
11494 Use char because int might match the return type of a GCC
11495 builtin and then its argument prototype would still apply. */
11508 if ac_fn_c_try_link
"$LINENO"; then :
11510 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11511 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'` ;;
11512 *) 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'`
11513 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11514 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11518 rm -f core conftest.err conftest.
$ac_objext \
11519 conftest
$ac_exeext conftest.
$ac_ext
11520 LIBS
=$ac_check_soname_save_LIBS
11522 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11524 $as_echo "not found" >&6; }
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11528 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11530 cat >>confdefs.h
<<_ACEOF
11531 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11534 CURSES_LIBS
="-lncurses"
11536 elif test "$ac_cv_header_curses_h" = "yes"
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11539 $as_echo_n "checking for -lcurses... " >&6; }
11540 if ${ac_cv_lib_soname_curses+:} false
; then :
11541 $as_echo_n "(cached) " >&6
11543 ac_check_soname_save_LIBS
=$LIBS
11544 LIBS
="-lcurses $LIBS"
11545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11546 /* end confdefs.h. */
11548 /* Override any GCC internal prototype to avoid an error.
11549 Use char because int might match the return type of a GCC
11550 builtin and then its argument prototype would still apply. */
11563 if ac_fn_c_try_link
"$LINENO"; then :
11565 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11566 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'` ;;
11567 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11568 if ${ac_cv_lib_soname_curses:+false} :; then :
11569 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11573 rm -f core conftest.err conftest.
$ac_objext \
11574 conftest
$ac_exeext conftest.
$ac_ext
11575 LIBS
=$ac_check_soname_save_LIBS
11577 if ${ac_cv_lib_soname_curses:+false} :; then :
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11579 $as_echo "not found" >&6; }
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11583 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11585 cat >>confdefs.h
<<_ACEOF
11586 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11589 CURSES_LIBS
="-lcurses"
11592 ac_save_LIBS
="$LIBS"
11593 LIBS
="$LIBS $CURSES_LIBS"
11594 for ac_func
in mousemask
11596 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11597 if test "x$ac_cv_func_mousemask" = xyes
; then :
11598 cat >>confdefs.h
<<_ACEOF
11599 #define HAVE_MOUSEMASK 1
11605 LIBS
="$ac_save_LIBS"
11606 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11607 case "x$with_curses" in
11608 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11610 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11611 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11615 if test "x$with_sane" != "xno"
11617 if ${SANE_CFLAGS:+false} :; then :
11618 if ${PKG_CONFIG+:} false
; then :
11619 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11622 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11623 if ${SANE_LIBS:+false} :; then :
11624 if ${PKG_CONFIG+:} false
; then :
11625 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11628 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11630 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11631 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11632 ac_save_CPPFLAGS
=$CPPFLAGS
11633 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11634 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11635 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11637 $as_echo_n "checking for -lsane... " >&6; }
11638 if ${ac_cv_lib_soname_sane+:} false
; then :
11639 $as_echo_n "(cached) " >&6
11641 ac_check_soname_save_LIBS
=$LIBS
11642 LIBS
="-lsane $SANE_LIBS $LIBS"
11643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11646 /* Override any GCC internal prototype to avoid an error.
11647 Use char because int might match the return type of a GCC
11648 builtin and then its argument prototype would still apply. */
11656 return sane_init ();
11661 if ac_fn_c_try_link
"$LINENO"; then :
11663 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11664 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'` ;;
11665 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11666 if ${ac_cv_lib_soname_sane:+false} :; then :
11667 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11671 rm -f core conftest.err conftest.
$ac_objext \
11672 conftest
$ac_exeext conftest.
$ac_ext
11673 LIBS
=$ac_check_soname_save_LIBS
11675 if ${ac_cv_lib_soname_sane:+false} :; then :
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11677 $as_echo "not found" >&6; }
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11681 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11683 cat >>confdefs.h
<<_ACEOF
11684 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11694 CPPFLAGS
=$ac_save_CPPFLAGS
11695 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11696 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11699 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11700 case "x$with_sane" in
11701 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11703 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11704 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11708 if test "x$with_v4l" != "xno"
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11711 $as_echo_n "checking for -lv4l1... " >&6; }
11712 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11713 $as_echo_n "(cached) " >&6
11715 ac_check_soname_save_LIBS
=$LIBS
11716 LIBS
="-lv4l1 $LIBS"
11717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11718 /* end confdefs.h. */
11720 /* Override any GCC internal prototype to avoid an error.
11721 Use char because int might match the return type of a GCC
11722 builtin and then its argument prototype would still apply. */
11730 return v4l1_open ();
11735 if ac_fn_c_try_link
"$LINENO"; then :
11737 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11738 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'` ;;
11739 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11740 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11741 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11745 rm -f core conftest.err conftest.
$ac_objext \
11746 conftest
$ac_exeext conftest.
$ac_ext
11747 LIBS
=$ac_check_soname_save_LIBS
11749 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11751 $as_echo "not found" >&6; }
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11755 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11757 cat >>confdefs.h
<<_ACEOF
11758 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11764 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11765 case "x$with_v4l" in
11766 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11768 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11769 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11773 if test "x$with_gphoto" != "xno"
11775 if ${GPHOTO2_CFLAGS:+false} :; then :
11776 if ${PKG_CONFIG+:} false
; then :
11777 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11780 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11781 if ${GPHOTO2_LIBS:+false} :; then :
11782 if ${PKG_CONFIG+:} false
; then :
11783 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11786 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11787 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11788 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11789 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11790 ac_save_CPPFLAGS
=$CPPFLAGS
11791 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11792 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11793 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11795 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11796 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11797 $as_echo_n "(cached) " >&6
11799 ac_check_lib_save_LIBS
=$LIBS
11800 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11802 /* end confdefs.h. */
11804 /* Override any GCC internal prototype to avoid an error.
11805 Use char because int might match the return type of a GCC
11806 builtin and then its argument prototype would still apply. */
11810 char gp_camera_new ();
11814 return gp_camera_new ();
11819 if ac_fn_c_try_link
"$LINENO"; then :
11820 ac_cv_lib_gphoto2_gp_camera_new
=yes
11822 ac_cv_lib_gphoto2_gp_camera_new
=no
11824 rm -f core conftest.err conftest.
$ac_objext \
11825 conftest
$ac_exeext conftest.
$ac_ext
11826 LIBS
=$ac_check_lib_save_LIBS
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11829 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11830 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11832 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11835 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11839 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11843 CPPFLAGS
=$ac_save_CPPFLAGS
11844 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11845 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11847 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11848 if ${PKG_CONFIG+:} false
; then :
11849 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11852 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11853 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11854 if ${PKG_CONFIG+:} false
; then :
11855 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11858 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11859 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11860 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11861 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11862 ac_save_CPPFLAGS
=$CPPFLAGS
11863 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11864 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11865 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11867 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11868 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11869 $as_echo_n "(cached) " >&6
11871 ac_check_lib_save_LIBS
=$LIBS
11872 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11874 /* end confdefs.h. */
11876 /* Override any GCC internal prototype to avoid an error.
11877 Use char because int might match the return type of a GCC
11878 builtin and then its argument prototype would still apply. */
11882 char gp_port_info_list_new ();
11886 return gp_port_info_list_new ();
11891 if ac_fn_c_try_link
"$LINENO"; then :
11892 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11894 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11896 rm -f core conftest.err conftest.
$ac_objext \
11897 conftest
$ac_exeext conftest.
$ac_ext
11898 LIBS
=$ac_check_lib_save_LIBS
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11901 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11902 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11904 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11907 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11911 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11915 CPPFLAGS
=$ac_save_CPPFLAGS
11916 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11917 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11920 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11921 case "x$with_gphoto" in
11922 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11924 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11925 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11928 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11929 case "x$with_gphoto" in
11930 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11932 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11933 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11938 if test "$ac_cv_header_resolv_h" = "yes"
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11941 $as_echo_n "checking for resolver library... " >&6; }
11942 if ${ac_cv_have_resolv+:} false
; then :
11943 $as_echo_n "(cached) " >&6
11945 ac_save_LIBS
="$LIBS"
11946 for lib
in '' -lresolv
11948 LIBS
="$lib $ac_save_LIBS"
11949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11950 /* end confdefs.h. */
11951 #ifdef HAVE_NETINET_IN_H
11952 #include <netinet/in.h>
11954 #include <resolv.h>
11958 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11963 if ac_fn_c_try_link
"$LINENO"; then :
11964 ac_cv_have_resolv
=${lib:-"none required"}
11966 ac_cv_have_resolv
="not found"
11968 rm -f core conftest.err conftest.
$ac_objext \
11969 conftest
$ac_exeext conftest.
$ac_ext
11970 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11972 LIBS
="$ac_save_LIBS"
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11975 $as_echo "$ac_cv_have_resolv" >&6; }
11977 case "$ac_cv_have_resolv" in
11981 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11984 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11986 RESOLV_LIBS
=$ac_cv_have_resolv
11991 if test "x$with_cms" != "xno"
11993 if ${LCMS2_CFLAGS:+false} :; then :
11994 if ${PKG_CONFIG+:} false
; then :
11995 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11999 if ${LCMS2_LIBS:+false} :; then :
12000 if ${PKG_CONFIG+:} false
; then :
12001 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12005 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12006 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12007 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12008 ac_save_CPPFLAGS
=$CPPFLAGS
12009 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12010 for ac_header
in lcms2.h
12012 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12013 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12014 cat >>confdefs.h
<<_ACEOF
12015 #define HAVE_LCMS2_H 1
12022 if test "$ac_cv_header_lcms2_h" = "yes"
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12025 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12026 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12027 $as_echo_n "(cached) " >&6
12029 ac_check_lib_save_LIBS
=$LIBS
12030 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12034 /* Override any GCC internal prototype to avoid an error.
12035 Use char because int might match the return type of a GCC
12036 builtin and then its argument prototype would still apply. */
12040 char cmsOpenProfileFromFile ();
12044 return cmsOpenProfileFromFile ();
12049 if ac_fn_c_try_link
"$LINENO"; then :
12050 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12052 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12054 rm -f core conftest.err conftest.
$ac_objext \
12055 conftest
$ac_exeext conftest.
$ac_ext
12056 LIBS
=$ac_check_lib_save_LIBS
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12059 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12060 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12062 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12072 CPPFLAGS
=$ac_save_CPPFLAGS
12073 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12074 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12077 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12078 case "x$with_cms" in
12079 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12081 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12082 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12086 if test "x$with_freetype" != "xno"
12088 if ${FREETYPE_CFLAGS:+false} :; then :
12089 if ${PKG_CONFIG+:} false
; then :
12090 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12093 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12094 if ${FREETYPE_LIBS:+false} :; then :
12095 if ${PKG_CONFIG+:} false
; then :
12096 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12099 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12100 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12101 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12102 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12103 ac_save_CPPFLAGS
=$CPPFLAGS
12104 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12105 for ac_header
in ft2build.h
12107 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12108 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12109 cat >>confdefs.h
<<_ACEOF
12110 #define HAVE_FT2BUILD_H 1
12117 if test "$ac_cv_header_ft2build_h" = "yes"
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12120 $as_echo_n "checking for -lfreetype... " >&6; }
12121 if ${ac_cv_lib_soname_freetype+:} false
; then :
12122 $as_echo_n "(cached) " >&6
12124 ac_check_soname_save_LIBS
=$LIBS
12125 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12127 /* end confdefs.h. */
12129 /* Override any GCC internal prototype to avoid an error.
12130 Use char because int might match the return type of a GCC
12131 builtin and then its argument prototype would still apply. */
12135 char FT_Init_FreeType ();
12139 return FT_Init_FreeType ();
12144 if ac_fn_c_try_link
"$LINENO"; then :
12146 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12147 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'` ;;
12148 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12149 if ${ac_cv_lib_soname_freetype:+false} :; then :
12150 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12154 rm -f core conftest.err conftest.
$ac_objext \
12155 conftest
$ac_exeext conftest.
$ac_ext
12156 LIBS
=$ac_check_soname_save_LIBS
12158 if ${ac_cv_lib_soname_freetype:+false} :; then :
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12160 $as_echo "not found" >&6; }
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12164 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12166 cat >>confdefs.h
<<_ACEOF
12167 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12171 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12173 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12174 #include FT_MODULE_H
12176 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12178 cat >>confdefs.h
<<_ACEOF
12179 #define HAVE_FT_TRUETYPEENGINETYPE 1
12190 CPPFLAGS
=$ac_save_CPPFLAGS
12191 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12192 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12195 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12196 case "x$with_freetype" in
12198 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12199 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12202 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12205 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12206 if ${ac_cv_c_ppdev+:} false
; then :
12207 $as_echo_n "(cached) " >&6
12209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12210 /* end confdefs.h. */
12211 #ifdef HAVE_SYS_IOCTL_H
12212 # include <sys/ioctl.h>
12214 #include <linux/ppdev.h>
12218 ioctl (1,PPCLAIM,0)
12223 if ac_fn_c_try_compile
"$LINENO"; then :
12224 ac_cv_c_ppdev
="yes"
12228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12231 $as_echo "$ac_cv_c_ppdev" >&6; }
12232 if test "$ac_cv_c_ppdev" = "yes"
12235 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12239 ac_wine_check_funcs_save_LIBS
="$LIBS"
12240 LIBS
="$LIBS $PTHREAD_LIBS"
12242 pthread_attr_get_np \
12243 pthread_getattr_np \
12244 pthread_getthreadid_np \
12245 pthread_get_stackaddr_np \
12246 pthread_get_stacksize_np
12248 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12249 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12250 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12251 cat >>confdefs.h
<<_ACEOF
12252 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12258 LIBS
="$ac_wine_check_funcs_save_LIBS"
12260 if test "$ac_cv_header_zlib_h" = "yes"
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12263 $as_echo_n "checking for inflate in -lz... " >&6; }
12264 if ${ac_cv_lib_z_inflate+:} false
; then :
12265 $as_echo_n "(cached) " >&6
12267 ac_check_lib_save_LIBS
=$LIBS
12269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12270 /* end confdefs.h. */
12272 /* Override any GCC internal prototype to avoid an error.
12273 Use char because int might match the return type of a GCC
12274 builtin and then its argument prototype would still apply. */
12287 if ac_fn_c_try_link
"$LINENO"; then :
12288 ac_cv_lib_z_inflate
=yes
12290 ac_cv_lib_z_inflate
=no
12292 rm -f core conftest.err conftest.
$ac_objext \
12293 conftest
$ac_exeext conftest.
$ac_ext
12294 LIBS
=$ac_check_lib_save_LIBS
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12297 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12298 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12300 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12307 if test "x$Z_LIBS" = "x"; then :
12308 case "x$with_zlib" in
12309 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12311 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12312 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12316 if test "x$enable_tools" != xno
12318 if test "$ac_cv_header_gettext_po_h" = "yes"
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12321 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12322 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12323 $as_echo_n "(cached) " >&6
12325 ac_check_lib_save_LIBS
=$LIBS
12326 LIBS
="-lgettextpo $LIBS"
12327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12330 /* Override any GCC internal prototype to avoid an error.
12331 Use char because int might match the return type of a GCC
12332 builtin and then its argument prototype would still apply. */
12336 char po_message_msgctxt ();
12340 return po_message_msgctxt ();
12345 if ac_fn_c_try_link
"$LINENO"; then :
12346 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12348 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12350 rm -f core conftest.err conftest.
$ac_objext \
12351 conftest
$ac_exeext conftest.
$ac_ext
12352 LIBS
=$ac_check_lib_save_LIBS
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12355 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12356 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12358 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12360 GETTEXTPO_LIBS
="-lgettextpo"
12365 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12366 case "x$with_gettextpo" in
12367 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12369 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12370 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12375 if test "x$with_gstreamer" != "xno"
12377 if ${GSTREAMER_CFLAGS:+false} :; then :
12378 if ${PKG_CONFIG+:} false
; then :
12379 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12383 if ${GSTREAMER_LIBS:+false} :; then :
12384 if ${PKG_CONFIG+:} false
; then :
12385 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12390 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12391 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12392 ac_save_CPPFLAGS
=$CPPFLAGS
12393 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12395 for i
in $GSTREAMER_CFLAGS
12398 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12401 GSTREAMER_CFLAGS
=$ac_gst_incl
12402 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12403 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12404 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12405 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12406 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12408 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12410 /* end confdefs.h. */
12411 #include <gst/app/gstappsink.h>
12415 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12420 if ac_fn_c_try_compile
"$LINENO"; then :
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12422 $as_echo "yes" >&6; }
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12424 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12425 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12426 $as_echo_n "(cached) " >&6
12428 ac_check_lib_save_LIBS
=$LIBS
12429 LIBS
="-lgstreamer-0.10 $LIBS"
12430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12431 /* end confdefs.h. */
12433 /* Override any GCC internal prototype to avoid an error.
12434 Use char because int might match the return type of a GCC
12435 builtin and then its argument prototype would still apply. */
12439 char gst_pad_get_caps_reffed ();
12443 return gst_pad_get_caps_reffed ();
12448 if ac_fn_c_try_link
"$LINENO"; then :
12449 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12451 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12453 rm -f core conftest.err conftest.
$ac_objext \
12454 conftest
$ac_exeext conftest.
$ac_ext
12455 LIBS
=$ac_check_lib_save_LIBS
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12458 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12459 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12461 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12462 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12463 $as_echo_n "(cached) " >&6
12465 ac_check_lib_save_LIBS
=$LIBS
12466 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12468 /* end confdefs.h. */
12470 /* Override any GCC internal prototype to avoid an error.
12471 Use char because int might match the return type of a GCC
12472 builtin and then its argument prototype would still apply. */
12476 char gst_app_buffer_new ();
12480 return gst_app_buffer_new ();
12485 if ac_fn_c_try_link
"$LINENO"; then :
12486 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12488 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12490 rm -f core conftest.err conftest.
$ac_objext \
12491 conftest
$ac_exeext conftest.
$ac_ext
12492 LIBS
=$ac_check_lib_save_LIBS
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12495 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12496 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12504 $as_echo "no" >&6; }
12506 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12511 GSTREAMER_CFLAGS
=""
12515 CPPFLAGS
=$ac_save_CPPFLAGS
12516 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12517 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12520 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12521 case "x$with_gstreamer" in
12522 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12524 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12525 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12528 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12532 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12535 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12536 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12537 $as_echo_n "(cached) " >&6
12539 ac_check_lib_save_LIBS
=$LIBS
12540 LIBS
="-lasound $LIBS"
12541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12544 /* Override any GCC internal prototype to avoid an error.
12545 Use char because int might match the return type of a GCC
12546 builtin and then its argument prototype would still apply. */
12550 char snd_pcm_hw_params_get_access_mask ();
12554 return snd_pcm_hw_params_get_access_mask ();
12559 if ac_fn_c_try_link
"$LINENO"; then :
12560 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12562 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12564 rm -f core conftest.err conftest.
$ac_objext \
12565 conftest
$ac_exeext conftest.
$ac_ext
12566 LIBS
=$ac_check_lib_save_LIBS
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12569 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12570 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12572 /* end confdefs.h. */
12573 #ifdef HAVE_ALSA_ASOUNDLIB_H
12574 #include <alsa/asoundlib.h>
12575 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12576 #include <sys/asoundlib.h>
12581 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12586 if ac_fn_c_try_compile
"$LINENO"; then :
12587 ALSA_LIBS
="-lasound"
12589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12594 if test "x$with_oss" != xno
12596 ac_save_CPPFLAGS
="$CPPFLAGS"
12597 if test -f /etc
/oss.conf
12601 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12602 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12603 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12604 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12605 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12607 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12609 cat >>confdefs.h
<<_ACEOF
12610 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12613 OSS4_CFLAGS
="$ac_oss_incl"
12620 CPPFLAGS
="$ac_save_CPPFLAGS"
12621 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12623 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12627 if test "x$with_capi" != "xno"
12629 if ${CAPI20_CFLAGS:+false} :; then :
12630 if ${PKG_CONFIG+:} false
; then :
12631 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12635 if ${CAPI20_LIBS:+false} :; then :
12636 if ${PKG_CONFIG+:} false
; then :
12637 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12642 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12643 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12644 ac_save_CPPFLAGS
=$CPPFLAGS
12645 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12646 for ac_header
in capi20.h linux
/capi.h
12648 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12649 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12651 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12652 cat >>confdefs.h
<<_ACEOF
12653 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12660 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12663 $as_echo_n "checking for -lcapi20... " >&6; }
12664 if ${ac_cv_lib_soname_capi20+:} false
; then :
12665 $as_echo_n "(cached) " >&6
12667 ac_check_soname_save_LIBS
=$LIBS
12668 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12670 /* end confdefs.h. */
12672 /* Override any GCC internal prototype to avoid an error.
12673 Use char because int might match the return type of a GCC
12674 builtin and then its argument prototype would still apply. */
12678 char capi20_register ();
12682 return capi20_register ();
12687 if ac_fn_c_try_link
"$LINENO"; then :
12689 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12690 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'` ;;
12691 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12692 if ${ac_cv_lib_soname_capi20:+false} :; then :
12693 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12697 rm -f core conftest.err conftest.
$ac_objext \
12698 conftest
$ac_exeext conftest.
$ac_ext
12699 LIBS
=$ac_check_soname_save_LIBS
12701 if ${ac_cv_lib_soname_capi20:+false} :; then :
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12703 $as_echo "not found" >&6; }
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12707 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12709 cat >>confdefs.h
<<_ACEOF
12710 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12716 CPPFLAGS
=$ac_save_CPPFLAGS
12717 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12718 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12721 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12722 case "x$with_capi" in
12723 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12725 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12726 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12732 if test "x$with_cups" != "xno"
12734 ac_save_CPPFLAGS
="$CPPFLAGS"
12735 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12736 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12737 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12738 for ac_header
in cups
/cups.h
12740 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12741 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12742 cat >>confdefs.h
<<_ACEOF
12743 #define HAVE_CUPS_CUPS_H 1
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12746 $as_echo_n "checking for -lcups... " >&6; }
12747 if ${ac_cv_lib_soname_cups+:} false
; then :
12748 $as_echo_n "(cached) " >&6
12750 ac_check_soname_save_LIBS
=$LIBS
12751 LIBS
="-lcups $ac_cups_libs $LIBS"
12752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12753 /* end confdefs.h. */
12755 /* Override any GCC internal prototype to avoid an error.
12756 Use char because int might match the return type of a GCC
12757 builtin and then its argument prototype would still apply. */
12761 char cupsGetDefault ();
12765 return cupsGetDefault ();
12770 if ac_fn_c_try_link
"$LINENO"; then :
12772 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12773 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'` ;;
12774 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12775 if ${ac_cv_lib_soname_cups:+false} :; then :
12776 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12780 rm -f core conftest.err conftest.
$ac_objext \
12781 conftest
$ac_exeext conftest.
$ac_ext
12782 LIBS
=$ac_check_soname_save_LIBS
12784 if ${ac_cv_lib_soname_cups:+false} :; then :
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12786 $as_echo "not found" >&6; }
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12790 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12792 cat >>confdefs.h
<<_ACEOF
12793 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12796 CUPS_CFLAGS
="$ac_cups_cflags"
12802 CPPFLAGS
="$ac_save_CPPFLAGS"
12804 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12805 case "x$with_cups" in
12806 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12808 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12809 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12813 if test "x$with_fontconfig" != "xno"
12815 if ${FONTCONFIG_CFLAGS:+false} :; then :
12816 if ${PKG_CONFIG+:} false
; then :
12817 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12820 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12821 if ${FONTCONFIG_LIBS:+false} :; then :
12822 if ${PKG_CONFIG+:} false
; then :
12823 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12826 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12828 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12829 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12830 ac_save_CPPFLAGS
=$CPPFLAGS
12831 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12832 for ac_header
in fontconfig
/fontconfig.h
12834 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12835 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12836 cat >>confdefs.h
<<_ACEOF
12837 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12844 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12847 $as_echo_n "checking for -lfontconfig... " >&6; }
12848 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12849 $as_echo_n "(cached) " >&6
12851 ac_check_soname_save_LIBS
=$LIBS
12852 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12854 /* end confdefs.h. */
12856 /* Override any GCC internal prototype to avoid an error.
12857 Use char because int might match the return type of a GCC
12858 builtin and then its argument prototype would still apply. */
12871 if ac_fn_c_try_link
"$LINENO"; then :
12873 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12874 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'` ;;
12875 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12876 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12877 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12881 rm -f core conftest.err conftest.
$ac_objext \
12882 conftest
$ac_exeext conftest.
$ac_ext
12883 LIBS
=$ac_check_soname_save_LIBS
12885 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12887 $as_echo "not found" >&6; }
12888 FONTCONFIG_CFLAGS
=""
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12891 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12893 cat >>confdefs.h
<<_ACEOF
12894 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12900 FONTCONFIG_CFLAGS
=""
12902 CPPFLAGS
=$ac_save_CPPFLAGS
12903 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12904 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12907 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12908 case "x$with_fontconfig" in
12909 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12911 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12912 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12916 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12919 $as_echo_n "checking for -lgsm... " >&6; }
12920 if ${ac_cv_lib_soname_gsm+:} false
; then :
12921 $as_echo_n "(cached) " >&6
12923 ac_check_soname_save_LIBS
=$LIBS
12925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12926 /* end confdefs.h. */
12928 /* Override any GCC internal prototype to avoid an error.
12929 Use char because int might match the return type of a GCC
12930 builtin and then its argument prototype would still apply. */
12934 char gsm_create ();
12938 return gsm_create ();
12943 if ac_fn_c_try_link
"$LINENO"; then :
12945 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12946 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'` ;;
12947 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12948 if ${ac_cv_lib_soname_gsm:+false} :; then :
12949 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12953 rm -f core conftest.err conftest.
$ac_objext \
12954 conftest
$ac_exeext conftest.
$ac_ext
12955 LIBS
=$ac_check_soname_save_LIBS
12957 if ${ac_cv_lib_soname_gsm:+false} :; then :
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12959 $as_echo "not found" >&6; }
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12963 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12965 cat >>confdefs.h
<<_ACEOF
12966 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12972 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12973 case "x$with_gsm" in
12974 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12976 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12977 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12981 if test "x$with_jpeg" != "xno"
12983 if ${JPEG_CFLAGS:+false} :; then :
12984 if ${PKG_CONFIG+:} false
; then :
12985 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12989 if ${JPEG_LIBS:+false} :; then :
12990 if ${PKG_CONFIG+:} false
; then :
12991 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12996 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12997 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12998 ac_save_CPPFLAGS
=$CPPFLAGS
12999 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13000 for ac_header
in jpeglib.h
13002 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13003 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13004 cat >>confdefs.h
<<_ACEOF
13005 #define HAVE_JPEGLIB_H 1
13012 if test "$ac_cv_header_jpeglib_h" = "yes"
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13015 $as_echo_n "checking for -ljpeg... " >&6; }
13016 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13017 $as_echo_n "(cached) " >&6
13019 ac_check_soname_save_LIBS
=$LIBS
13020 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13022 /* end confdefs.h. */
13024 /* Override any GCC internal prototype to avoid an error.
13025 Use char because int might match the return type of a GCC
13026 builtin and then its argument prototype would still apply. */
13030 char jpeg_start_decompress ();
13034 return jpeg_start_decompress ();
13039 if ac_fn_c_try_link
"$LINENO"; then :
13041 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13042 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'` ;;
13043 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13044 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13045 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13049 rm -f core conftest.err conftest.
$ac_objext \
13050 conftest
$ac_exeext conftest.
$ac_ext
13051 LIBS
=$ac_check_soname_save_LIBS
13053 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13055 $as_echo "not found" >&6; }
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13059 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13061 cat >>confdefs.h
<<_ACEOF
13062 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13070 CPPFLAGS
=$ac_save_CPPFLAGS
13071 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13072 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13075 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13076 case "x$with_jpeg" in
13077 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13079 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13080 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13084 if test "x$with_png" != "xno"
13086 if ${PNG_CFLAGS:+false} :; then :
13087 if ${PKG_CONFIG+:} false
; then :
13088 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13091 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13092 if ${PNG_LIBS:+false} :; then :
13093 if ${PKG_CONFIG+:} false
; then :
13094 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13097 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13099 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13100 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13101 ac_save_CPPFLAGS
=$CPPFLAGS
13102 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13103 for ac_header
in png.h
13105 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13106 if test "x$ac_cv_header_png_h" = xyes
; then :
13107 cat >>confdefs.h
<<_ACEOF
13108 #define HAVE_PNG_H 1
13115 if test "$ac_cv_header_png_h" = "yes"
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13118 $as_echo_n "checking for -lpng... " >&6; }
13119 if ${ac_cv_lib_soname_png+:} false
; then :
13120 $as_echo_n "(cached) " >&6
13122 ac_check_soname_save_LIBS
=$LIBS
13123 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13125 /* end confdefs.h. */
13127 /* Override any GCC internal prototype to avoid an error.
13128 Use char because int might match the return type of a GCC
13129 builtin and then its argument prototype would still apply. */
13133 char png_create_read_struct ();
13137 return png_create_read_struct ();
13142 if ac_fn_c_try_link
"$LINENO"; then :
13144 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13145 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'` ;;
13146 *) 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'`
13147 if ${ac_cv_lib_soname_png:+false} :; then :
13148 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13152 rm -f core conftest.err conftest.
$ac_objext \
13153 conftest
$ac_exeext conftest.
$ac_ext
13154 LIBS
=$ac_check_soname_save_LIBS
13156 if ${ac_cv_lib_soname_png:+false} :; then :
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13158 $as_echo "not found" >&6; }
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13162 $as_echo "$ac_cv_lib_soname_png" >&6; }
13164 cat >>confdefs.h
<<_ACEOF
13165 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13169 /* end confdefs.h. */
13174 typeof(png_set_expand_gray_1_2_4_to_8) *p
13179 if ac_fn_c_try_compile
"$LINENO"; then :
13181 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13189 CPPFLAGS
=$ac_save_CPPFLAGS
13190 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13191 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13194 if test "x$ac_cv_lib_soname_png" = "x"; then :
13195 case "x$with_png" in
13196 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13198 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13199 This is an error since --with-png was requested." "$LINENO" 5 ;;
13203 if test "x$with_tiff" != "xno"
13205 if ${TIFF_CFLAGS:+false} :; then :
13206 if ${PKG_CONFIG+:} false
; then :
13207 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13211 if ${TIFF_LIBS:+false} :; then :
13212 if ${PKG_CONFIG+:} false
; then :
13213 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13218 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13219 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13220 ac_save_CPPFLAGS
=$CPPFLAGS
13221 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13222 for ac_header
in tiffio.h
13224 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13225 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13226 cat >>confdefs.h
<<_ACEOF
13227 #define HAVE_TIFFIO_H 1
13234 if test "$ac_cv_header_tiffio_h" = "yes"
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13237 $as_echo_n "checking for -ltiff... " >&6; }
13238 if ${ac_cv_lib_soname_tiff+:} false
; then :
13239 $as_echo_n "(cached) " >&6
13241 ac_check_soname_save_LIBS
=$LIBS
13242 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13244 /* end confdefs.h. */
13246 /* Override any GCC internal prototype to avoid an error.
13247 Use char because int might match the return type of a GCC
13248 builtin and then its argument prototype would still apply. */
13252 char TIFFClientOpen ();
13256 return TIFFClientOpen ();
13261 if ac_fn_c_try_link
"$LINENO"; then :
13263 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13264 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'` ;;
13265 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13266 if ${ac_cv_lib_soname_tiff:+false} :; then :
13267 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13271 rm -f core conftest.err conftest.
$ac_objext \
13272 conftest
$ac_exeext conftest.
$ac_ext
13273 LIBS
=$ac_check_soname_save_LIBS
13275 if ${ac_cv_lib_soname_tiff:+false} :; then :
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13277 $as_echo "not found" >&6; }
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13281 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13283 cat >>confdefs.h
<<_ACEOF
13284 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13290 CPPFLAGS
=$ac_save_CPPFLAGS
13291 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13292 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13295 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13296 case "x$with_tiff" in
13297 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13299 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13300 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13304 if test "x$with_mpg123" != "xno"
13306 if ${MPG123_CFLAGS:+false} :; then :
13307 if ${PKG_CONFIG+:} false
; then :
13308 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13312 if ${MPG123_LIBS:+false} :; then :
13313 if ${PKG_CONFIG+:} false
; then :
13314 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13318 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13319 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13320 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13321 ac_save_CPPFLAGS
=$CPPFLAGS
13322 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13323 for ac_header
in mpg123.h
13325 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13326 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13327 cat >>confdefs.h
<<_ACEOF
13328 #define HAVE_MPG123_H 1
13335 if test "$ac_cv_header_mpg123_h" = "yes"
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13338 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13339 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13340 $as_echo_n "(cached) " >&6
13342 ac_check_lib_save_LIBS
=$LIBS
13343 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13345 /* end confdefs.h. */
13347 /* Override any GCC internal prototype to avoid an error.
13348 Use char because int might match the return type of a GCC
13349 builtin and then its argument prototype would still apply. */
13353 char mpg123_feed ();
13357 return mpg123_feed ();
13362 if ac_fn_c_try_link
"$LINENO"; then :
13363 ac_cv_lib_mpg123_mpg123_feed
=yes
13365 ac_cv_lib_mpg123_mpg123_feed
=no
13367 rm -f core conftest.err conftest.
$ac_objext \
13368 conftest
$ac_exeext conftest.
$ac_ext
13369 LIBS
=$ac_check_lib_save_LIBS
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13372 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13373 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13383 CPPFLAGS
=$ac_save_CPPFLAGS
13384 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13385 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13388 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13389 case "x$with_mpg123" in
13390 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13392 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13393 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13396 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}
13398 if test "$ac_cv_header_AL_al_h" = "yes"
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13401 $as_echo_n "checking for -lopenal... " >&6; }
13402 if ${ac_cv_lib_soname_openal+:} false
; then :
13403 $as_echo_n "(cached) " >&6
13405 ac_check_soname_save_LIBS
=$LIBS
13406 LIBS
="-lopenal $LIBS"
13407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13408 /* end confdefs.h. */
13410 /* Override any GCC internal prototype to avoid an error.
13411 Use char because int might match the return type of a GCC
13412 builtin and then its argument prototype would still apply. */
13416 char alGetSource3i ();
13420 return alGetSource3i ();
13425 if ac_fn_c_try_link
"$LINENO"; then :
13427 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13428 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'` ;;
13429 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13430 if ${ac_cv_lib_soname_openal:+false} :; then :
13431 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13435 rm -f core conftest.err conftest.
$ac_objext \
13436 conftest
$ac_exeext conftest.
$ac_ext
13437 LIBS
=$ac_check_soname_save_LIBS
13439 if ${ac_cv_lib_soname_openal:+false} :; then :
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13441 $as_echo "not found" >&6; }
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13445 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13447 cat >>confdefs.h
<<_ACEOF
13448 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13451 OPENAL_LIBS
="-lopenal"
13453 ac_cv_lib_openal
=yes
13455 cat >>confdefs.h
<<_ACEOF
13456 #define HAVE_OPENAL 1
13461 if test "x$ac_cv_lib_openal" != xyes
; then :
13462 case "x$with_openal" in
13463 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13465 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13466 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13469 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13471 if test "$ac_cv_header_kstat_h" = "yes"
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13474 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13475 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13476 $as_echo_n "(cached) " >&6
13478 ac_check_lib_save_LIBS
=$LIBS
13479 LIBS
="-lkstat $LIBS"
13480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13481 /* end confdefs.h. */
13483 /* Override any GCC internal prototype to avoid an error.
13484 Use char because int might match the return type of a GCC
13485 builtin and then its argument prototype would still apply. */
13489 char kstat_open ();
13493 return kstat_open ();
13498 if ac_fn_c_try_link
"$LINENO"; then :
13499 ac_cv_lib_kstat_kstat_open
=yes
13501 ac_cv_lib_kstat_kstat_open
=no
13503 rm -f core conftest.err conftest.
$ac_objext \
13504 conftest
$ac_exeext conftest.
$ac_ext
13505 LIBS
=$ac_check_lib_save_LIBS
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13508 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13509 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13511 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13513 KSTAT_LIBS
="-lkstat"
13519 if test "$ac_cv_header_libprocstat_h" = "yes"
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13522 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13523 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13524 $as_echo_n "(cached) " >&6
13526 ac_check_lib_save_LIBS
=$LIBS
13527 LIBS
="-lprocstat $LIBS"
13528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13529 /* end confdefs.h. */
13531 /* Override any GCC internal prototype to avoid an error.
13532 Use char because int might match the return type of a GCC
13533 builtin and then its argument prototype would still apply. */
13537 char procstat_open_sysctl ();
13541 return procstat_open_sysctl ();
13546 if ac_fn_c_try_link
"$LINENO"; then :
13547 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13549 ac_cv_lib_procstat_procstat_open_sysctl
=no
13551 rm -f core conftest.err conftest.
$ac_objext \
13552 conftest
$ac_exeext conftest.
$ac_ext
13553 LIBS
=$ac_check_lib_save_LIBS
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13556 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13557 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13559 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13561 PROCSTAT_LIBS
="-lprocstat"
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13568 $as_echo_n "checking for -lodbc... " >&6; }
13569 if ${ac_cv_lib_soname_odbc+:} false
; then :
13570 $as_echo_n "(cached) " >&6
13572 ac_check_soname_save_LIBS
=$LIBS
13573 LIBS
="-lodbc $LIBS"
13574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13575 /* end confdefs.h. */
13577 /* Override any GCC internal prototype to avoid an error.
13578 Use char because int might match the return type of a GCC
13579 builtin and then its argument prototype would still apply. */
13583 char SQLConnect ();
13587 return SQLConnect ();
13592 if ac_fn_c_try_link
"$LINENO"; then :
13594 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13595 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'` ;;
13596 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13597 if ${ac_cv_lib_soname_odbc:+false} :; then :
13598 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13602 rm -f core conftest.err conftest.
$ac_objext \
13603 conftest
$ac_exeext conftest.
$ac_ext
13604 LIBS
=$ac_check_soname_save_LIBS
13606 if ${ac_cv_lib_soname_odbc:+false} :; then :
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13608 $as_echo "not found" >&6; }
13609 cat >>confdefs.h
<<_ACEOF
13610 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13615 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13617 cat >>confdefs.h
<<_ACEOF
13618 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13624 if test "x$with_netapi" != "xno"
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13627 $as_echo_n "checking for -lnetapi... " >&6; }
13628 if ${ac_cv_lib_soname_netapi+:} false
; then :
13629 $as_echo_n "(cached) " >&6
13631 ac_check_soname_save_LIBS
=$LIBS
13632 LIBS
="-lnetapi $LIBS"
13633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13634 /* end confdefs.h. */
13636 /* Override any GCC internal prototype to avoid an error.
13637 Use char because int might match the return type of a GCC
13638 builtin and then its argument prototype would still apply. */
13642 char libnetapi_init ();
13646 return libnetapi_init ();
13651 if ac_fn_c_try_link
"$LINENO"; then :
13653 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13654 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'` ;;
13655 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13656 if ${ac_cv_lib_soname_netapi:+false} :; then :
13657 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13661 rm -f core conftest.err conftest.
$ac_objext \
13662 conftest
$ac_exeext conftest.
$ac_ext
13663 LIBS
=$ac_check_soname_save_LIBS
13665 if ${ac_cv_lib_soname_netapi:+false} :; then :
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13667 $as_echo "not found" >&6; }
13668 cat >>confdefs.h
<<_ACEOF
13669 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13674 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13676 cat >>confdefs.h
<<_ACEOF
13677 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13684 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13685 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13686 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13687 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13689 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13690 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13691 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13693 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13699 if test "x${GCC}" = "xyes"
13701 EXTRACFLAGS
="-Wall -pipe"
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13704 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13705 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13706 $as_echo_n "(cached) " >&6
13708 if test "$cross_compiling" = yes; then :
13709 ac_cv_c_gcc_strength_bug
="yes"
13711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13712 /* end confdefs.h. */
13713 int L[4] = {0,1,2,3};
13717 static int Array[3];
13718 unsigned int B = 3;
13720 for(i=0; i<B; i++) Array[i] = i - 3;
13721 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13723 return (Array[1] != -2 || L[2] != 3)
13728 if ac_fn_c_try_run
"$LINENO"; then :
13729 ac_cv_c_gcc_strength_bug
="no"
13731 ac_cv_c_gcc_strength_bug
="yes"
13733 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13734 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13739 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13740 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13742 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13746 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13747 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13748 $as_echo_n "(cached) " >&6
13750 ac_wine_try_cflags_saved
=$CFLAGS
13751 CFLAGS
="$CFLAGS -fno-builtin"
13752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13753 /* end confdefs.h. */
13754 int main(int argc, char **argv) { return 0; }
13756 if ac_fn_c_try_link
"$LINENO"; then :
13757 ac_cv_cflags__fno_builtin
=yes
13759 ac_cv_cflags__fno_builtin
=no
13761 rm -f core conftest.err conftest.
$ac_objext \
13762 conftest
$ac_exeext conftest.
$ac_ext
13763 CFLAGS
=$ac_wine_try_cflags_saved
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13766 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13767 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13768 BUILTINFLAG
="-fno-builtin"
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13772 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13773 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13774 $as_echo_n "(cached) " >&6
13776 ac_wine_try_cflags_saved
=$CFLAGS
13777 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13779 /* end confdefs.h. */
13780 int main(int argc, char **argv) { return 0; }
13782 if ac_fn_c_try_link
"$LINENO"; then :
13783 ac_cv_cflags__fno_strict_aliasing
=yes
13785 ac_cv_cflags__fno_strict_aliasing
=no
13787 rm -f core conftest.err conftest.
$ac_objext \
13788 conftest
$ac_exeext conftest.
$ac_ext
13789 CFLAGS
=$ac_wine_try_cflags_saved
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13792 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13793 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13794 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13796 saved_CFLAGS
=$CFLAGS
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13798 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13799 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13800 $as_echo_n "(cached) " >&6
13802 ac_wine_try_cflags_saved
=$CFLAGS
13803 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13805 /* end confdefs.h. */
13806 int main(int argc, char **argv) { return 0; }
13808 if ac_fn_c_try_link
"$LINENO"; then :
13809 ac_cv_cflags__Werror_unknown_warning_option
=yes
13811 ac_cv_cflags__Werror_unknown_warning_option
=no
13813 rm -f core conftest.err conftest.
$ac_objext \
13814 conftest
$ac_exeext conftest.
$ac_ext
13815 CFLAGS
=$ac_wine_try_cflags_saved
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13818 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13819 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13820 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13823 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13824 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13825 $as_echo_n "(cached) " >&6
13827 ac_wine_try_cflags_saved
=$CFLAGS
13828 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13830 /* end confdefs.h. */
13831 int main(int argc, char **argv) { return 0; }
13833 if ac_fn_c_try_link
"$LINENO"; then :
13834 ac_cv_cflags__Wdeclaration_after_statement
=yes
13836 ac_cv_cflags__Wdeclaration_after_statement
=no
13838 rm -f core conftest.err conftest.
$ac_objext \
13839 conftest
$ac_exeext conftest.
$ac_ext
13840 CFLAGS
=$ac_wine_try_cflags_saved
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13843 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13844 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13845 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13848 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13849 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13850 $as_echo_n "(cached) " >&6
13852 ac_wine_try_cflags_saved
=$CFLAGS
13853 CFLAGS
="$CFLAGS -Wempty-body"
13854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13855 /* end confdefs.h. */
13856 int main(int argc, char **argv) { return 0; }
13858 if ac_fn_c_try_link
"$LINENO"; then :
13859 ac_cv_cflags__Wempty_body
=yes
13861 ac_cv_cflags__Wempty_body
=no
13863 rm -f core conftest.err conftest.
$ac_objext \
13864 conftest
$ac_exeext conftest.
$ac_ext
13865 CFLAGS
=$ac_wine_try_cflags_saved
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13868 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13869 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13870 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13873 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13874 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13875 $as_echo_n "(cached) " >&6
13877 ac_wine_try_cflags_saved
=$CFLAGS
13878 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13880 /* end confdefs.h. */
13881 int main(int argc, char **argv) { return 0; }
13883 if ac_fn_c_try_link
"$LINENO"; then :
13884 ac_cv_cflags__Wignored_qualifiers
=yes
13886 ac_cv_cflags__Wignored_qualifiers
=no
13888 rm -f core conftest.err conftest.
$ac_objext \
13889 conftest
$ac_exeext conftest.
$ac_ext
13890 CFLAGS
=$ac_wine_try_cflags_saved
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13893 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13894 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13895 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13898 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13899 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13900 $as_echo_n "(cached) " >&6
13902 ac_wine_try_cflags_saved
=$CFLAGS
13903 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13906 int main(int argc, char **argv) { return 0; }
13908 if ac_fn_c_try_link
"$LINENO"; then :
13909 ac_cv_cflags__Wstrict_prototypes
=yes
13911 ac_cv_cflags__Wstrict_prototypes
=no
13913 rm -f core conftest.err conftest.
$ac_objext \
13914 conftest
$ac_exeext conftest.
$ac_ext
13915 CFLAGS
=$ac_wine_try_cflags_saved
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13918 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13919 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13920 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13923 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13924 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13925 $as_echo_n "(cached) " >&6
13927 ac_wine_try_cflags_saved
=$CFLAGS
13928 CFLAGS
="$CFLAGS -Wtype-limits"
13929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13930 /* end confdefs.h. */
13931 int main(int argc, char **argv) { return 0; }
13933 if ac_fn_c_try_link
"$LINENO"; then :
13934 ac_cv_cflags__Wtype_limits
=yes
13936 ac_cv_cflags__Wtype_limits
=no
13938 rm -f core conftest.err conftest.
$ac_objext \
13939 conftest
$ac_exeext conftest.
$ac_ext
13940 CFLAGS
=$ac_wine_try_cflags_saved
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13943 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13944 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13945 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13948 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13949 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13950 $as_echo_n "(cached) " >&6
13952 ac_wine_try_cflags_saved
=$CFLAGS
13953 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13955 /* end confdefs.h. */
13956 int main(int argc, char **argv) { return 0; }
13958 if ac_fn_c_try_link
"$LINENO"; then :
13959 ac_cv_cflags__Wunused_but_set_parameter
=yes
13961 ac_cv_cflags__Wunused_but_set_parameter
=no
13963 rm -f core conftest.err conftest.
$ac_objext \
13964 conftest
$ac_exeext conftest.
$ac_ext
13965 CFLAGS
=$ac_wine_try_cflags_saved
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13968 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13969 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13970 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13973 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13974 if ${ac_cv_cflags__Wvla+:} false
; then :
13975 $as_echo_n "(cached) " >&6
13977 ac_wine_try_cflags_saved
=$CFLAGS
13978 CFLAGS
="$CFLAGS -Wvla"
13979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13980 /* end confdefs.h. */
13981 int main(int argc, char **argv) { return 0; }
13983 if ac_fn_c_try_link
"$LINENO"; then :
13984 ac_cv_cflags__Wvla
=yes
13986 ac_cv_cflags__Wvla
=no
13988 rm -f core conftest.err conftest.
$ac_objext \
13989 conftest
$ac_exeext conftest.
$ac_ext
13990 CFLAGS
=$ac_wine_try_cflags_saved
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13993 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13994 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13995 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13998 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13999 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14000 $as_echo_n "(cached) " >&6
14002 ac_wine_try_cflags_saved
=$CFLAGS
14003 CFLAGS
="$CFLAGS -Wwrite-strings"
14004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h. */
14006 int main(int argc, char **argv) { return 0; }
14008 if ac_fn_c_try_link
"$LINENO"; then :
14009 ac_cv_cflags__Wwrite_strings
=yes
14011 ac_cv_cflags__Wwrite_strings
=no
14013 rm -f core conftest.err conftest.
$ac_objext \
14014 conftest
$ac_exeext conftest.
$ac_ext
14015 CFLAGS
=$ac_wine_try_cflags_saved
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14018 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14019 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14020 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14024 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14025 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14026 $as_echo_n "(cached) " >&6
14028 ac_wine_try_cflags_saved
=$CFLAGS
14029 CFLAGS
="$CFLAGS -Wpointer-arith"
14030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14031 /* end confdefs.h. */
14032 int main(int argc, char **argv) { return 0; }
14034 if ac_fn_c_try_link
"$LINENO"; then :
14035 ac_cv_cflags__Wpointer_arith
=yes
14037 ac_cv_cflags__Wpointer_arith
=no
14039 rm -f core conftest.err conftest.
$ac_objext \
14040 conftest
$ac_exeext conftest.
$ac_ext
14041 CFLAGS
=$ac_wine_try_cflags_saved
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14044 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14045 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14046 saved_string_h_CFLAGS
=$CFLAGS
14047 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14049 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14050 if ${ac_cv_c_string_h_warnings+:} false
; then :
14051 $as_echo_n "(cached) " >&6
14053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14054 /* end confdefs.h. */
14055 #include <string.h>
14064 if ac_fn_c_try_compile
"$LINENO"; then :
14065 ac_cv_c_string_h_warnings
=no
14067 ac_cv_c_string_h_warnings
=yes
14069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14072 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14073 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14074 CFLAGS
=$saved_string_h_CFLAGS
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14078 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14079 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14080 $as_echo_n "(cached) " >&6
14082 ac_wine_try_cflags_saved
=$CFLAGS
14083 CFLAGS
="$CFLAGS -Wlogical-op"
14084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14085 /* end confdefs.h. */
14086 int main(int argc, char **argv) { return 0; }
14088 if ac_fn_c_try_link
"$LINENO"; then :
14089 ac_cv_cflags__Wlogical_op
=yes
14091 ac_cv_cflags__Wlogical_op
=no
14093 rm -f core conftest.err conftest.
$ac_objext \
14094 conftest
$ac_exeext conftest.
$ac_ext
14095 CFLAGS
=$ac_wine_try_cflags_saved
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14098 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14099 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14100 saved_string_h_CFLAGS
=$CFLAGS
14101 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14103 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14104 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14105 $as_echo_n "(cached) " >&6
14107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14108 /* end confdefs.h. */
14109 #include <string.h>
14110 char*f(const char *h,char n) {return strchr(h,n);}
14119 if ac_fn_c_try_compile
"$LINENO"; then :
14120 ac_cv_c_logicalop_noisy
=no
14122 ac_cv_c_logicalop_noisy
=yes
14124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14127 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14128 CFLAGS
=$saved_string_h_CFLAGS
14129 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14132 CFLAGS
=$saved_CFLAGS
14134 for ac_flag
in $CFLAGS; do
14136 -g) case $host_os in
14137 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14138 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14139 if ${ac_cv_cflags__gstabsp+:} false
; then :
14140 $as_echo_n "(cached) " >&6
14142 ac_wine_try_cflags_saved
=$CFLAGS
14143 CFLAGS
="$CFLAGS -gstabs+"
14144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14145 /* end confdefs.h. */
14146 int main(int argc, char **argv) { return 0; }
14148 if ac_fn_c_try_link
"$LINENO"; then :
14149 ac_cv_cflags__gstabsp
=yes
14151 ac_cv_cflags__gstabsp
=no
14153 rm -f core conftest.err conftest.
$ac_objext \
14154 conftest
$ac_exeext conftest.
$ac_ext
14155 CFLAGS
=$ac_wine_try_cflags_saved
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14158 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14159 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14160 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14162 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14163 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14164 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14165 $as_echo_n "(cached) " >&6
14167 ac_wine_try_cflags_saved
=$CFLAGS
14168 CFLAGS
="$CFLAGS -gdwarf-2"
14169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14170 /* end confdefs.h. */
14171 int main(int argc, char **argv) { return 0; }
14173 if ac_fn_c_try_link
"$LINENO"; then :
14174 ac_cv_cflags__gdwarf_2
=yes
14176 ac_cv_cflags__gdwarf_2
=no
14178 rm -f core conftest.err conftest.
$ac_objext \
14179 conftest
$ac_exeext conftest.
$ac_ext
14180 CFLAGS
=$ac_wine_try_cflags_saved
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14183 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14184 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14185 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14188 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14189 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14190 $as_echo_n "(cached) " >&6
14192 ac_wine_try_cflags_saved
=$CFLAGS
14193 CFLAGS
="$CFLAGS -gstrict-dwarf"
14194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14196 int main(int argc, char **argv) { return 0; }
14198 if ac_fn_c_try_link
"$LINENO"; then :
14199 ac_cv_cflags__gstrict_dwarf
=yes
14201 ac_cv_cflags__gstrict_dwarf
=no
14203 rm -f core conftest.err conftest.
$ac_objext \
14204 conftest
$ac_exeext conftest.
$ac_ext
14205 CFLAGS
=$ac_wine_try_cflags_saved
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14208 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14209 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14210 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14217 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14218 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14219 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14220 $as_echo_n "(cached) " >&6
14222 ac_wine_try_cflags_saved
=$CFLAGS
14223 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14225 /* end confdefs.h. */
14226 int main(int argc, char **argv) { return 0; }
14228 if ac_fn_c_try_link
"$LINENO"; then :
14229 ac_cv_cflags__fno_omit_frame_pointer
=yes
14231 ac_cv_cflags__fno_omit_frame_pointer
=no
14233 rm -f core conftest.err conftest.
$ac_objext \
14234 conftest
$ac_exeext conftest.
$ac_ext
14235 CFLAGS
=$ac_wine_try_cflags_saved
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14238 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14239 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14240 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14245 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14246 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14247 if ${ac_cv_cflags__Wno_format+:} false
; then :
14248 $as_echo_n "(cached) " >&6
14250 ac_wine_try_cflags_saved
=$CFLAGS
14251 CFLAGS
="$CFLAGS -Wno-format"
14252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14253 /* end confdefs.h. */
14254 int main(int argc, char **argv) { return 0; }
14256 if ac_fn_c_try_link
"$LINENO"; then :
14257 ac_cv_cflags__Wno_format
=yes
14259 ac_cv_cflags__Wno_format
=no
14261 rm -f core conftest.err conftest.
$ac_objext \
14262 conftest
$ac_exeext conftest.
$ac_ext
14263 CFLAGS
=$ac_wine_try_cflags_saved
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14266 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14267 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14268 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14272 if test "x$enable_maintainer_mode" = "xyes"
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14275 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14276 if ${ac_cv_cflags__Werror+:} false
; then :
14277 $as_echo_n "(cached) " >&6
14279 ac_wine_try_cflags_saved
=$CFLAGS
14280 CFLAGS
="$CFLAGS -Werror"
14281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14282 /* end confdefs.h. */
14283 int main(int argc, char **argv) { return 0; }
14285 if ac_fn_c_try_link
"$LINENO"; then :
14286 ac_cv_cflags__Werror
=yes
14288 ac_cv_cflags__Werror
=no
14290 rm -f core conftest.err conftest.
$ac_objext \
14291 conftest
$ac_exeext conftest.
$ac_ext
14292 CFLAGS
=$ac_wine_try_cflags_saved
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14295 $as_echo "$ac_cv_cflags__Werror" >&6; }
14296 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14297 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14301 saved_CFLAGS
="$CFLAGS"
14302 CFLAGS
="$CFLAGS -Werror"
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14304 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14305 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14306 $as_echo_n "(cached) " >&6
14308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14310 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14319 if ac_fn_c_try_compile
"$LINENO"; then :
14320 ac_cv_have_ms_hook_prologue
="yes"
14322 ac_cv_have_ms_hook_prologue
="no"
14324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14327 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14328 CFLAGS
="$saved_CFLAGS"
14329 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14332 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14335 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14342 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14343 if ${ac_cv_c_fortify_enabled+:} false
; then :
14344 $as_echo_n "(cached) " >&6
14346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14347 /* end confdefs.h. */
14348 #include <string.h>
14352 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14353 #error Fortify enabled
14359 if ac_fn_c_try_compile
"$LINENO"; then :
14360 ac_cv_c_fortify_enabled
=no
14362 ac_cv_c_fortify_enabled
=yes
14364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14367 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14368 if test "$ac_cv_c_fortify_enabled" = yes
14370 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14375 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14376 if ${ac_cv_c_extern_prefix+:} false
; then :
14377 $as_echo_n "(cached) " >&6
14379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14380 /* end confdefs.h. */
14381 extern int ac_test;
14385 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14390 if ac_fn_c_try_link
"$LINENO"; then :
14391 ac_cv_c_extern_prefix
="yes"
14393 ac_cv_c_extern_prefix
="no"
14395 rm -f core conftest.err conftest.
$ac_objext \
14396 conftest
$ac_exeext conftest.
$ac_ext
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14399 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14404 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14405 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14406 $as_echo_n "(cached) " >&6
14408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */
14411 #define __stdcall __attribute__((__stdcall__))
14413 int __stdcall ac_test(int i) { return i; }
14417 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14422 if ac_fn_c_try_link
"$LINENO"; then :
14423 ac_cv_c_stdcall_suffix
="yes"
14425 ac_cv_c_stdcall_suffix
="no"
14427 rm -f core conftest.err conftest.
$ac_objext \
14428 conftest
$ac_exeext conftest.
$ac_ext
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14431 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14432 *) ac_cv_c_stdcall_suffix
="no" ;;
14436 if test "$ac_cv_c_extern_prefix" = "yes"
14438 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14440 asm_name_prefix
="_"
14442 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14448 if test "$ac_cv_c_stdcall_suffix" = "yes"
14450 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14453 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14459 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14460 if ${ac_cv_asm_func_def+:} false
; then :
14461 $as_echo_n "(cached) " >&6
14463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14464 /* end confdefs.h. */
14469 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14474 if ac_fn_c_try_link
"$LINENO"; then :
14475 ac_cv_asm_func_def
=".def"
14477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14478 /* end confdefs.h. */
14483 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14488 if ac_fn_c_try_link
"$LINENO"; then :
14489 ac_cv_asm_func_def
=".type @function"
14491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14492 /* end confdefs.h. */
14497 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14502 if ac_fn_c_try_link
"$LINENO"; then :
14503 ac_cv_asm_func_def
=".type 2"
14505 ac_cv_asm_func_def
="unknown"
14507 rm -f core conftest.err conftest.
$ac_objext \
14508 conftest
$ac_exeext conftest.
$ac_ext
14510 rm -f core conftest.err conftest.
$ac_objext \
14511 conftest
$ac_exeext conftest.
$ac_ext
14513 rm -f core conftest.err conftest.
$ac_objext \
14514 conftest
$ac_exeext conftest.
$ac_ext
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14517 $as_echo "$ac_cv_asm_func_def" >&6; }
14520 case "$ac_cv_asm_func_def" in
14522 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14524 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14526 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14528 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14530 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14532 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14534 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14536 asm_func_header
="" ;;
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14540 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14541 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14542 $as_echo_n "(cached) " >&6
14544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14545 /* end confdefs.h. */
14546 asm(".text\n\t.long 0");
14555 if ac_fn_c_try_compile
"$LINENO"; then :
14556 ac_cv_c_asm_outside_funcs
="yes"
14558 ac_cv_c_asm_outside_funcs
="no"
14560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14563 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14566 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14567 if ${ac_cv_c_dot_previous+:} false
; then :
14568 $as_echo_n "(cached) " >&6
14570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14571 /* end confdefs.h. */
14576 asm(".text\nac_test:\t.long 0\n\t.previous");
14581 if ac_fn_c_try_link
"$LINENO"; then :
14582 ac_cv_c_dot_previous
="yes"
14584 ac_cv_c_dot_previous
="no"
14586 rm -f core conftest.err conftest.
$ac_objext \
14587 conftest
$ac_exeext conftest.
$ac_ext
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14590 $as_echo "$ac_cv_c_dot_previous" >&6; }
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14593 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14594 if ${ac_cv_c_cfi_support+:} false
; then :
14595 $as_echo_n "(cached) " >&6
14597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14598 /* end confdefs.h. */
14599 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14608 if ac_fn_c_try_compile
"$LINENO"; then :
14609 ac_cv_c_cfi_support
="yes"
14611 ac_cv_c_cfi_support
="no"
14613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14616 $as_echo "$ac_cv_c_cfi_support" >&6; }
14618 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14619 asm_func_trailer
=""
14620 if test "$ac_cv_c_dot_previous" = "yes"
14622 asm_func_trailer
="\\n\\t.previous"
14624 if test "$ac_cv_c_cfi_support" = "yes"
14626 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14627 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14629 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14631 UNWINDFLAGS
=-fasynchronous-unwind-tables
14634 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14638 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14641 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14643 cat >>confdefs.h
<<_ACEOF
14644 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14648 cat >>confdefs.h
<<_ACEOF
14649 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14654 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14657 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14662 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14669 *i
[3456789]86*|x86_64
*)
14670 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14671 loader_programs
="$loader_programs $wine_binary-preloader"
14672 as_fn_append LOADER_RULES
"
14673 $wine_binary-preloader: preloader.o
14674 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14676 install install-lib:: $wine_binary-preloader
14677 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14680 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14682 preloader_EXTRADEFS = $BUILTINFLAG
14687 as_fn_append LOADER_RULES
"
14688 PROGRAMS = $loader_programs
14692 ac_save_CFLAGS
="$CFLAGS"
14693 CFLAGS
="$CFLAGS $BUILTINFLAG"
14772 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14773 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14774 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14775 cat >>confdefs.h
<<_ACEOF
14776 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14782 CFLAGS
="$ac_save_CFLAGS"
14784 if test "$ac_cv_func_dlopen" = no
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14787 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14788 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14789 $as_echo_n "(cached) " >&6
14791 ac_check_lib_save_LIBS
=$LIBS
14793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14794 /* end confdefs.h. */
14796 /* Override any GCC internal prototype to avoid an error.
14797 Use char because int might match the return type of a GCC
14798 builtin and then its argument prototype would still apply. */
14811 if ac_fn_c_try_link
"$LINENO"; then :
14812 ac_cv_lib_dl_dlopen
=yes
14814 ac_cv_lib_dl_dlopen
=no
14816 rm -f core conftest.err conftest.
$ac_objext \
14817 conftest
$ac_exeext conftest.
$ac_ext
14818 LIBS
=$ac_check_lib_save_LIBS
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14821 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14822 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14823 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14829 ac_wine_check_funcs_save_LIBS
="$LIBS"
14830 LIBS
="$LIBS $DL_LIBS"
14831 for ac_func
in dladdr
14833 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14834 if test "x$ac_cv_func_dladdr" = xyes
; then :
14835 cat >>confdefs.h
<<_ACEOF
14836 #define HAVE_DLADDR 1
14842 LIBS
="$ac_wine_check_funcs_save_LIBS"
14844 if test "$ac_cv_func_poll" = no
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14847 $as_echo_n "checking for poll in -lpoll... " >&6; }
14848 if ${ac_cv_lib_poll_poll+:} false
; then :
14849 $as_echo_n "(cached) " >&6
14851 ac_check_lib_save_LIBS
=$LIBS
14852 LIBS
="-lpoll $LIBS"
14853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14854 /* end confdefs.h. */
14856 /* Override any GCC internal prototype to avoid an error.
14857 Use char because int might match the return type of a GCC
14858 builtin and then its argument prototype would still apply. */
14871 if ac_fn_c_try_link
"$LINENO"; then :
14872 ac_cv_lib_poll_poll
=yes
14874 ac_cv_lib_poll_poll
=no
14876 rm -f core conftest.err conftest.
$ac_objext \
14877 conftest
$ac_exeext conftest.
$ac_ext
14878 LIBS
=$ac_check_lib_save_LIBS
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14881 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14882 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14883 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14891 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14892 if ${ac_cv_search_gethostbyname+:} false
; then :
14893 $as_echo_n "(cached) " >&6
14895 ac_func_search_save_LIBS
=$LIBS
14896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14897 /* end confdefs.h. */
14899 /* Override any GCC internal prototype to avoid an error.
14900 Use char because int might match the return type of a GCC
14901 builtin and then its argument prototype would still apply. */
14905 char gethostbyname ();
14909 return gethostbyname ();
14914 for ac_lib
in '' nsl
; do
14915 if test -z "$ac_lib"; then
14916 ac_res
="none required"
14919 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14921 if ac_fn_c_try_link
"$LINENO"; then :
14922 ac_cv_search_gethostbyname
=$ac_res
14924 rm -f core conftest.err conftest.
$ac_objext \
14926 if ${ac_cv_search_gethostbyname+:} false
; then :
14930 if ${ac_cv_search_gethostbyname+:} false
; then :
14933 ac_cv_search_gethostbyname
=no
14935 rm conftest.
$ac_ext
14936 LIBS
=$ac_func_search_save_LIBS
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14939 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14940 ac_res
=$ac_cv_search_gethostbyname
14941 if test "$ac_res" != no
; then :
14942 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14948 $as_echo_n "checking for library containing connect... " >&6; }
14949 if ${ac_cv_search_connect+:} false
; then :
14950 $as_echo_n "(cached) " >&6
14952 ac_func_search_save_LIBS
=$LIBS
14953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14954 /* end confdefs.h. */
14956 /* Override any GCC internal prototype to avoid an error.
14957 Use char because int might match the return type of a GCC
14958 builtin and then its argument prototype would still apply. */
14971 for ac_lib
in '' socket
; do
14972 if test -z "$ac_lib"; then
14973 ac_res
="none required"
14976 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14978 if ac_fn_c_try_link
"$LINENO"; then :
14979 ac_cv_search_connect
=$ac_res
14981 rm -f core conftest.err conftest.
$ac_objext \
14983 if ${ac_cv_search_connect+:} false
; then :
14987 if ${ac_cv_search_connect+:} false
; then :
14990 ac_cv_search_connect
=no
14992 rm conftest.
$ac_ext
14993 LIBS
=$ac_func_search_save_LIBS
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14996 $as_echo "$ac_cv_search_connect" >&6; }
14997 ac_res
=$ac_cv_search_connect
14998 if test "$ac_res" != no
; then :
14999 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15005 $as_echo_n "checking for library containing inet_aton... " >&6; }
15006 if ${ac_cv_search_inet_aton+:} false
; then :
15007 $as_echo_n "(cached) " >&6
15009 ac_func_search_save_LIBS
=$LIBS
15010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15011 /* end confdefs.h. */
15013 /* Override any GCC internal prototype to avoid an error.
15014 Use char because int might match the return type of a GCC
15015 builtin and then its argument prototype would still apply. */
15023 return inet_aton ();
15028 for ac_lib
in '' resolv
; do
15029 if test -z "$ac_lib"; then
15030 ac_res
="none required"
15033 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15035 if ac_fn_c_try_link
"$LINENO"; then :
15036 ac_cv_search_inet_aton
=$ac_res
15038 rm -f core conftest.err conftest.
$ac_objext \
15040 if ${ac_cv_search_inet_aton+:} false
; then :
15044 if ${ac_cv_search_inet_aton+:} false
; then :
15047 ac_cv_search_inet_aton
=no
15049 rm conftest.
$ac_ext
15050 LIBS
=$ac_func_search_save_LIBS
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15053 $as_echo "$ac_cv_search_inet_aton" >&6; }
15054 ac_res
=$ac_cv_search_inet_aton
15055 if test "$ac_res" != no
; then :
15056 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15076 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15077 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15078 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15079 cat >>confdefs.h
<<_ACEOF
15080 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15089 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15090 if ${ac_cv_search_clock_gettime+:} false
; then :
15091 $as_echo_n "(cached) " >&6
15093 ac_func_search_save_LIBS
=$LIBS
15094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15095 /* end confdefs.h. */
15097 /* Override any GCC internal prototype to avoid an error.
15098 Use char because int might match the return type of a GCC
15099 builtin and then its argument prototype would still apply. */
15103 char clock_gettime ();
15107 return clock_gettime ();
15112 for ac_lib
in '' rt
; do
15113 if test -z "$ac_lib"; then
15114 ac_res
="none required"
15117 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15119 if ac_fn_c_try_link
"$LINENO"; then :
15120 ac_cv_search_clock_gettime
=$ac_res
15122 rm -f core conftest.err conftest.
$ac_objext \
15124 if ${ac_cv_search_clock_gettime+:} false
; then :
15128 if ${ac_cv_search_clock_gettime+:} false
; then :
15131 ac_cv_search_clock_gettime
=no
15133 rm conftest.
$ac_ext
15134 LIBS
=$ac_func_search_save_LIBS
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15137 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15138 ac_res
=$ac_cv_search_clock_gettime
15139 if test "$ac_res" != no
; then :
15140 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15142 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15144 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15152 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15154 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15156 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15158 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15159 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15160 $as_echo_n "(cached) " >&6
15162 ac_check_lib_save_LIBS
=$LIBS
15163 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15167 /* Override any GCC internal prototype to avoid an error.
15168 Use char because int might match the return type of a GCC
15169 builtin and then its argument prototype would still apply. */
15173 char ldap_initialize ();
15177 return ldap_initialize ();
15182 if ac_fn_c_try_link
"$LINENO"; then :
15183 ac_cv_lib_ldap_r_ldap_initialize
=yes
15185 ac_cv_lib_ldap_r_ldap_initialize
=no
15187 rm -f core conftest.err conftest.
$ac_objext \
15188 conftest
$ac_exeext conftest.
$ac_ext
15189 LIBS
=$ac_check_lib_save_LIBS
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15192 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15193 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15195 $as_echo_n "checking for ber_init in -llber... " >&6; }
15196 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15197 $as_echo_n "(cached) " >&6
15199 ac_check_lib_save_LIBS
=$LIBS
15200 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15202 /* end confdefs.h. */
15204 /* Override any GCC internal prototype to avoid an error.
15205 Use char because int might match the return type of a GCC
15206 builtin and then its argument prototype would still apply. */
15214 return ber_init ();
15219 if ac_fn_c_try_link
"$LINENO"; then :
15220 ac_cv_lib_lber_ber_init
=yes
15222 ac_cv_lib_lber_ber_init
=no
15224 rm -f core conftest.err conftest.
$ac_objext \
15225 conftest
$ac_exeext conftest.
$ac_ext
15226 LIBS
=$ac_check_lib_save_LIBS
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15229 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15230 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15232 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15234 LDAP_LIBS
="-lldap_r -llber"
15241 ac_wine_check_funcs_save_LIBS
="$LIBS"
15242 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15244 ldap_count_references \
15245 ldap_first_reference \
15246 ldap_next_reference \
15247 ldap_parse_reference \
15248 ldap_parse_sort_control \
15249 ldap_parse_sortresponse_control \
15250 ldap_parse_vlv_control \
15251 ldap_parse_vlvresponse_control
15253 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15254 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15255 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15256 cat >>confdefs.h
<<_ACEOF
15257 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15263 LIBS
="$ac_wine_check_funcs_save_LIBS"
15265 if test "x$LDAP_LIBS" = "x"; then :
15266 case "x$with_ldap" in
15267 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15269 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15270 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15275 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15276 if ${wine_cv_one_arg_mkdir+:} false
; then :
15277 $as_echo_n "(cached) " >&6
15279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15280 /* end confdefs.h. */
15281 #include <sys/stat.h>
15290 if ac_fn_c_try_compile
"$LINENO"; then :
15291 wine_cv_one_arg_mkdir
=yes
15293 wine_cv_one_arg_mkdir
=no
15295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15298 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15299 if test "$wine_cv_one_arg_mkdir" = "yes"
15302 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15307 $as_echo_n "checking for sched_setaffinity... " >&6; }
15308 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15309 $as_echo_n "(cached) " >&6
15311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15312 /* end confdefs.h. */
15313 #define _GNU_SOURCE
15318 sched_setaffinity(0, 0, 0);
15323 if ac_fn_c_try_link
"$LINENO"; then :
15324 wine_cv_have_sched_setaffinity
=yes
15326 wine_cv_have_sched_setaffinity
=no
15328 rm -f core conftest.err conftest.
$ac_objext \
15329 conftest
$ac_exeext conftest.
$ac_ext
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15332 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15333 if test "$wine_cv_have_sched_setaffinity" = "yes"
15336 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15341 $as_echo_n "checking for fallocate... " >&6; }
15342 if ${wine_cv_have_fallocate+:} false
; then :
15343 $as_echo_n "(cached) " >&6
15345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15346 /* end confdefs.h. */
15347 #define _GNU_SOURCE
15352 fallocate(-1, 0, 0, 0);
15357 if ac_fn_c_try_link
"$LINENO"; then :
15358 wine_cv_have_fallocate
=yes
15360 wine_cv_have_fallocate
=no
15362 rm -f core conftest.err conftest.
$ac_objext \
15363 conftest
$ac_exeext conftest.
$ac_ext
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15366 $as_echo "$wine_cv_have_fallocate" >&6; }
15367 if test "$wine_cv_have_fallocate" = "yes"
15370 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15376 $as_echo_n "checking for inline... " >&6; }
15377 if ${ac_cv_c_inline+:} false
; then :
15378 $as_echo_n "(cached) " >&6
15381 for ac_kw
in inline __inline__ __inline
; do
15382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15383 /* end confdefs.h. */
15384 #ifndef __cplusplus
15386 static $ac_kw foo_t static_foo () {return 0; }
15387 $ac_kw foo_t foo () {return 0; }
15391 if ac_fn_c_try_compile
"$LINENO"; then :
15392 ac_cv_c_inline
=$ac_kw
15394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15395 test "$ac_cv_c_inline" != no
&& break
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15400 $as_echo "$ac_cv_c_inline" >&6; }
15402 case $ac_cv_c_inline in
15405 case $ac_cv_c_inline in
15407 *) ac_val
=$ac_cv_c_inline;;
15409 cat >>confdefs.h
<<_ACEOF
15410 #ifndef __cplusplus
15411 #define inline $ac_val
15417 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15418 if test "x$ac_cv_type_mode_t" = xyes
; then :
15420 cat >>confdefs.h
<<_ACEOF
15421 #define HAVE_MODE_T 1
15426 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15427 if test "x$ac_cv_type_off_t" = xyes
; then :
15429 cat >>confdefs.h
<<_ACEOF
15430 #define HAVE_OFF_T 1
15435 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15436 if test "x$ac_cv_type_pid_t" = xyes
; then :
15438 cat >>confdefs.h
<<_ACEOF
15439 #define HAVE_PID_T 1
15444 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15445 if test "x$ac_cv_type_size_t" = xyes
; then :
15447 cat >>confdefs.h
<<_ACEOF
15448 #define HAVE_SIZE_T 1
15453 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15454 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15456 cat >>confdefs.h
<<_ACEOF
15457 #define HAVE_SSIZE_T 1
15462 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15463 if test "x$ac_cv_type_long_long" = xyes
; then :
15465 cat >>confdefs.h
<<_ACEOF
15466 #define HAVE_LONG_LONG 1
15471 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15472 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15474 cat >>confdefs.h
<<_ACEOF
15475 #define HAVE_FSBLKCNT_T 1
15480 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15481 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15483 cat >>confdefs.h
<<_ACEOF
15484 #define HAVE_FSFILCNT_T 1
15490 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15491 #include <signal.h>
15493 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15495 cat >>confdefs.h
<<_ACEOF
15496 #define HAVE_SIGSET_T 1
15502 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15504 if test "x$ac_cv_type_request_sense" = xyes
; then :
15506 cat >>confdefs.h
<<_ACEOF
15507 #define HAVE_REQUEST_SENSE 1
15514 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15515 #ifdef HAVE_SYS_SOCKET_H
15516 #include <sys/socket.h>
15518 #ifdef HAVE_SYS_SOCKETVAR_H
15519 #include <sys/socketvar.h>
15521 #ifdef HAVE_NET_ROUTE_H
15522 #include <net/route.h>
15524 #ifdef HAVE_NETINET_IN_H
15525 #include <netinet/in.h>
15527 #ifdef HAVE_NETINET_IN_SYSTM_H
15528 #include <netinet/in_systm.h>
15530 #ifdef HAVE_NETINET_IP_H
15531 #include <netinet/ip.h>
15533 #ifdef HAVE_NETINET_IN_PCB_H
15534 #include <netinet/in_pcb.h>
15537 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15539 cat >>confdefs.h
<<_ACEOF
15540 #define HAVE_STRUCT_XINPGEN 1
15547 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15550 #ifdef HAVE_SYS_LINK_H
15551 #include <sys/link.h>
15554 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15556 cat >>confdefs.h
<<_ACEOF
15557 #define HAVE_STRUCT_R_DEBUG 1
15562 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15565 #ifdef HAVE_SYS_LINK_H
15566 #include <sys/link.h>
15569 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15571 cat >>confdefs.h
<<_ACEOF
15572 #define HAVE_STRUCT_LINK_MAP 1
15579 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15580 #include <linux/input.h>
15583 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15585 cat >>confdefs.h
<<_ACEOF
15586 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15594 $as_echo_n "checking for sigaddset... " >&6; }
15595 if ${wine_cv_have_sigaddset+:} false
; then :
15596 $as_echo_n "(cached) " >&6
15598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15599 /* end confdefs.h. */
15600 #include <signal.h>
15604 sigset_t set; sigaddset(&set,SIGTERM);
15609 if ac_fn_c_try_link
"$LINENO"; then :
15610 wine_cv_have_sigaddset
=yes
15612 wine_cv_have_sigaddset
=no
15614 rm -f core conftest.err conftest.
$ac_objext \
15615 conftest
$ac_exeext conftest.
$ac_ext
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15618 $as_echo "$wine_cv_have_sigaddset" >&6; }
15619 if test "$wine_cv_have_sigaddset" = "yes"
15622 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15628 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15629 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15630 $as_echo_n "(cached) " >&6
15632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15633 /* end confdefs.h. */
15641 struct hostent *result;
15648 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15649 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15655 if ac_fn_c_try_link
"$LINENO"; then :
15656 wine_cv_linux_gethostbyname_r_6
=yes
15658 wine_cv_linux_gethostbyname_r_6
=no
15661 rm -f core conftest.err conftest.
$ac_objext \
15662 conftest
$ac_exeext conftest.
$ac_ext
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15666 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15667 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15670 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15674 if test "$ac_cv_header_linux_joystick_h" = "yes"
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15677 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15678 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15679 $as_echo_n "(cached) " >&6
15681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15682 /* end confdefs.h. */
15684 #include <sys/ioctl.h>
15685 #include <sys/types.h>
15686 #include <linux/joystick.h>
15688 struct js_event blub;
15689 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15690 #error "no 2.2 header"
15701 if ac_fn_c_try_compile
"$LINENO"; then :
15702 wine_cv_linux_joystick_22_api
=yes
15704 wine_cv_linux_joystick_22_api
=no
15706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15710 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15711 if test "$wine_cv_linux_joystick_22_api" = "yes"
15714 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15720 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15721 #ifdef HAVE_SYS_PARAM_H
15722 # include <sys/param.h>
15724 #ifdef HAVE_SYS_MOUNT_H
15725 # include <sys/mount.h>
15727 #ifdef HAVE_SYS_VFS_H
15728 # include <sys/vfs.h>
15730 #ifdef HAVE_SYS_STATFS_H
15731 # include <sys/statfs.h>
15734 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15736 cat >>confdefs.h
<<_ACEOF
15737 #define HAVE_STRUCT_STATFS_F_BFREE 1
15742 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15743 #ifdef HAVE_SYS_PARAM_H
15744 # include <sys/param.h>
15746 #ifdef HAVE_SYS_MOUNT_H
15747 # include <sys/mount.h>
15749 #ifdef HAVE_SYS_VFS_H
15750 # include <sys/vfs.h>
15752 #ifdef HAVE_SYS_STATFS_H
15753 # include <sys/statfs.h>
15756 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15758 cat >>confdefs.h
<<_ACEOF
15759 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15764 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15765 #ifdef HAVE_SYS_PARAM_H
15766 # include <sys/param.h>
15768 #ifdef HAVE_SYS_MOUNT_H
15769 # include <sys/mount.h>
15771 #ifdef HAVE_SYS_VFS_H
15772 # include <sys/vfs.h>
15774 #ifdef HAVE_SYS_STATFS_H
15775 # include <sys/statfs.h>
15778 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15780 cat >>confdefs.h
<<_ACEOF
15781 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15786 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15787 #ifdef HAVE_SYS_PARAM_H
15788 # include <sys/param.h>
15790 #ifdef HAVE_SYS_MOUNT_H
15791 # include <sys/mount.h>
15793 #ifdef HAVE_SYS_VFS_H
15794 # include <sys/vfs.h>
15796 #ifdef HAVE_SYS_STATFS_H
15797 # include <sys/statfs.h>
15800 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15802 cat >>confdefs.h
<<_ACEOF
15803 #define HAVE_STRUCT_STATFS_F_FFREE 1
15808 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15809 #ifdef HAVE_SYS_PARAM_H
15810 # include <sys/param.h>
15812 #ifdef HAVE_SYS_MOUNT_H
15813 # include <sys/mount.h>
15815 #ifdef HAVE_SYS_VFS_H
15816 # include <sys/vfs.h>
15818 #ifdef HAVE_SYS_STATFS_H
15819 # include <sys/statfs.h>
15822 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15824 cat >>confdefs.h
<<_ACEOF
15825 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15830 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15831 #ifdef HAVE_SYS_PARAM_H
15832 # include <sys/param.h>
15834 #ifdef HAVE_SYS_MOUNT_H
15835 # include <sys/mount.h>
15837 #ifdef HAVE_SYS_VFS_H
15838 # include <sys/vfs.h>
15840 #ifdef HAVE_SYS_STATFS_H
15841 # include <sys/statfs.h>
15844 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15846 cat >>confdefs.h
<<_ACEOF
15847 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15854 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15855 #include <sys/statvfs.h>
15858 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15860 cat >>confdefs.h
<<_ACEOF
15861 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15868 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15869 #include <dirent.h>
15872 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15874 cat >>confdefs.h
<<_ACEOF
15875 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15882 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15883 #ifdef HAVE_SYS_SOCKET_H
15884 # include <sys/socket.h>
15886 #ifdef HAVE_SYS_UN_H
15887 # include <sys/un.h>
15890 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15892 cat >>confdefs.h
<<_ACEOF
15893 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15898 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15899 #ifdef HAVE_SYS_SOCKET_H
15900 # include <sys/socket.h>
15902 #ifdef HAVE_SYS_UN_H
15903 # include <sys/un.h>
15906 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15908 cat >>confdefs.h
<<_ACEOF
15909 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15914 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15915 #ifdef HAVE_SYS_SOCKET_H
15916 # include <sys/socket.h>
15918 #ifdef HAVE_SYS_UN_H
15919 # include <sys/un.h>
15922 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15924 cat >>confdefs.h
<<_ACEOF
15925 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15932 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15933 #ifdef HAVE_SCSI_SG_H
15934 #include <scsi/sg.h>
15937 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15939 cat >>confdefs.h
<<_ACEOF
15940 #define HAVE_SCSIREQ_T_CMD 1
15945 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>
15946 #ifdef HAVE_SCSI_SG_H
15947 #include <scsi/sg.h>
15950 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15952 cat >>confdefs.h
<<_ACEOF
15953 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15960 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15962 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15964 cat >>confdefs.h
<<_ACEOF
15965 #define HAVE_SIGINFO_T_SI_FD 1
15972 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15973 #ifdef HAVE_SYS_MTIO_H
15974 #include <sys/mtio.h>
15977 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15979 cat >>confdefs.h
<<_ACEOF
15980 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15985 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15986 #ifdef HAVE_SYS_MTIO_H
15987 #include <sys/mtio.h>
15990 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15992 cat >>confdefs.h
<<_ACEOF
15993 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15998 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15999 #ifdef HAVE_SYS_MTIO_H
16000 #include <sys/mtio.h>
16003 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16005 cat >>confdefs.h
<<_ACEOF
16006 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16013 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16014 #include <getopt.h>
16017 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16019 cat >>confdefs.h
<<_ACEOF
16020 #define HAVE_STRUCT_OPTION_NAME 1
16027 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16028 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16030 cat >>confdefs.h
<<_ACEOF
16031 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16036 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16037 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16039 cat >>confdefs.h
<<_ACEOF
16040 #define HAVE_STRUCT_STAT_ST_MTIM 1
16045 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16046 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16048 cat >>confdefs.h
<<_ACEOF
16049 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16054 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16055 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16057 cat >>confdefs.h
<<_ACEOF
16058 #define HAVE_STRUCT_STAT_ST_CTIM 1
16063 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16064 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16066 cat >>confdefs.h
<<_ACEOF
16067 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16072 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16073 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16075 cat >>confdefs.h
<<_ACEOF
16076 #define HAVE_STRUCT_STAT_ST_ATIM 1
16081 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16082 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16084 cat >>confdefs.h
<<_ACEOF
16085 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16090 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16091 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16093 cat >>confdefs.h
<<_ACEOF
16094 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16099 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16100 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16102 cat >>confdefs.h
<<_ACEOF
16103 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16108 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16109 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16111 cat >>confdefs.h
<<_ACEOF
16112 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16117 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16118 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16120 cat >>confdefs.h
<<_ACEOF
16121 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16126 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16127 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16129 cat >>confdefs.h
<<_ACEOF
16130 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16137 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
16138 #include <sys/types.h>
16140 #ifdef HAVE_NETINET_IN_H
16141 #include <netinet/in.h>
16144 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16146 cat >>confdefs.h
<<_ACEOF
16147 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16154 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16155 #include <resolv.h>
16158 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16160 cat >>confdefs.h
<<_ACEOF
16161 #define HAVE_STRUCT___RES_STATE 1
16168 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
16169 #include <resolv.h>
16172 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16174 cat >>confdefs.h
<<_ACEOF
16175 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16182 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16183 #include <sys/types.h>
16185 #ifdef HAVE_NETINET_IN_H
16186 # include <netinet/in.h>
16188 #ifdef HAVE_ARPA_NAMESER_H
16189 # include <arpa/nameser.h>
16192 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16194 cat >>confdefs.h
<<_ACEOF
16195 #define HAVE_NS_MSG__MSG_PTR 1
16202 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16203 #include <sys/types.h>
16205 #ifdef HAVE_NETINET_IP_H
16206 #include <netinet/ip.h>
16208 #ifdef HAVE_NETINET_IP_ICMP_H
16209 #include <netinet/ip_icmp.h>
16211 #ifdef HAVE_NETINET_ICMP_VAR_H
16212 #include <netinet/icmp_var.h>
16215 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16217 cat >>confdefs.h
<<_ACEOF
16218 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16225 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16226 #include <sys/types.h>
16228 #ifdef HAVE_ALIAS_H
16231 #ifdef HAVE_SYS_SOCKET_H
16232 #include <sys/socket.h>
16234 #ifdef HAVE_SYS_SOCKETVAR_H
16235 #include <sys/socketvar.h>
16237 #ifdef HAVE_SYS_TIMEOUT_H
16238 #include <sys/timeout.h>
16240 #ifdef HAVE_NETINET_IN_H
16241 #include <netinet/in.h>
16243 #ifdef HAVE_NETINET_IN_SYSTM_H
16244 #include <netinet/in_systm.h>
16246 #ifdef HAVE_NETINET_IP_H
16247 #include <netinet/ip.h>
16249 #ifdef HAVE_NETINET_IP_VAR_H
16250 #include <netinet/ip_var.h>
16252 #ifdef HAVE_NETINET_IP_ICMP_H
16253 #include <netinet/ip_icmp.h>
16255 #ifdef HAVE_NETINET_ICMP_VAR_H
16256 #include <netinet/icmp_var.h>
16259 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16261 cat >>confdefs.h
<<_ACEOF
16262 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16269 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16270 #include <sys/types.h>
16272 #ifdef HAVE_SYS_SOCKETVAR_H
16273 #include <sys/socketvar.h>
16275 #ifdef HAVE_NETINET_IN_H
16276 #include <netinet/in.h>
16278 #ifdef HAVE_NETINET_IP_VAR_H
16279 #include <netinet/ip_var.h>
16282 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16284 cat >>confdefs.h
<<_ACEOF
16285 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16292 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
16293 #include <netinet/ip_var.h>
16296 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16298 cat >>confdefs.h
<<_ACEOF
16299 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16306 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16307 #include <sys/types.h>
16309 #ifdef HAVE_SYS_SOCKETVAR_H
16310 #include <sys/socketvar.h>
16312 #ifdef HAVE_NETINET_IN_H
16313 #include <netinet/in.h>
16315 #ifdef HAVE_NETINET_TCP_H
16316 #include <netinet/tcp.h>
16318 #ifdef HAVE_NETINET_TCP_VAR_H
16319 #include <netinet/tcp_var.h>
16322 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16324 cat >>confdefs.h
<<_ACEOF
16325 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16332 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
16333 #include <netinet/tcp_var.h>
16336 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16338 cat >>confdefs.h
<<_ACEOF
16339 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16346 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16347 #include <sys/types.h>
16349 #ifdef HAVE_NETINET_IN_H
16350 #include <netinet/in.h>
16352 #ifdef HAVE_NETINET_IP_VAR_H
16353 #include <netinet/ip_var.h>
16355 #ifdef HAVE_NETINET_UDP_H
16356 #include <netinet/udp.h>
16358 #ifdef HAVE_NETINET_UDP_VAR_H
16359 #include <netinet/udp_var.h>
16362 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16364 cat >>confdefs.h
<<_ACEOF
16365 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16372 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16373 #include <sys/types.h>
16375 #ifdef HAVE_NET_IF_H
16376 # include <net/if.h>
16379 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16381 cat >>confdefs.h
<<_ACEOF
16382 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16390 $as_echo_n "checking for timezone variable... " >&6; }
16391 if ${ac_cv_have_timezone+:} false
; then :
16392 $as_echo_n "(cached) " >&6
16394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16395 /* end confdefs.h. */
16405 if ac_fn_c_try_link
"$LINENO"; then :
16406 ac_cv_have_timezone
="yes"
16408 ac_cv_have_timezone
="no"
16410 rm -f core conftest.err conftest.
$ac_objext \
16411 conftest
$ac_exeext conftest.
$ac_ext
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16414 $as_echo "$ac_cv_have_timezone" >&6; }
16415 if test "$ac_cv_have_timezone" = "yes"
16418 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16422 $as_echo_n "checking for daylight variable... " >&6; }
16423 if ${ac_cv_have_daylight+:} false
; then :
16424 $as_echo_n "(cached) " >&6
16426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16427 /* end confdefs.h. */
16437 if ac_fn_c_try_link
"$LINENO"; then :
16438 ac_cv_have_daylight
="yes"
16440 ac_cv_have_daylight
="no"
16442 rm -f core conftest.err conftest.
$ac_objext \
16443 conftest
$ac_exeext conftest.
$ac_ext
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16446 $as_echo "$ac_cv_have_daylight" >&6; }
16447 if test "$ac_cv_have_daylight" = "yes"
16450 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16454 ac_save_LIBS
="$LIBS"
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16457 $as_echo_n "checking for isfinite... " >&6; }
16458 if ${ac_cv_have_isfinite+:} false
; then :
16459 $as_echo_n "(cached) " >&6
16461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16462 /* end confdefs.h. */
16463 #define _GNU_SOURCE
16468 float f = 0.0; return isfinite(f)
16473 if ac_fn_c_try_link
"$LINENO"; then :
16474 ac_cv_have_isfinite
="yes"
16476 ac_cv_have_isfinite
="no"
16478 rm -f core conftest.err conftest.
$ac_objext \
16479 conftest
$ac_exeext conftest.
$ac_ext
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16482 $as_echo "$ac_cv_have_isfinite" >&6; }
16483 if test "$ac_cv_have_isfinite" = "yes"
16486 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16491 $as_echo_n "checking for isinf... " >&6; }
16492 if ${ac_cv_have_isinf+:} false
; then :
16493 $as_echo_n "(cached) " >&6
16495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16496 /* end confdefs.h. */
16501 float f = 0.0; return isinf(f)
16506 if ac_fn_c_try_link
"$LINENO"; then :
16507 ac_cv_have_isinf
="yes"
16509 ac_cv_have_isinf
="no"
16511 rm -f core conftest.err conftest.
$ac_objext \
16512 conftest
$ac_exeext conftest.
$ac_ext
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16515 $as_echo "$ac_cv_have_isinf" >&6; }
16516 if test "$ac_cv_have_isinf" = "yes"
16519 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16524 $as_echo_n "checking for isnan... " >&6; }
16525 if ${ac_cv_have_isnan+:} false
; then :
16526 $as_echo_n "(cached) " >&6
16528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16529 /* end confdefs.h. */
16534 float f = 0.0; return isnan(f)
16539 if ac_fn_c_try_link
"$LINENO"; then :
16540 ac_cv_have_isnan
="yes"
16542 ac_cv_have_isnan
="no"
16544 rm -f core conftest.err conftest.
$ac_objext \
16545 conftest
$ac_exeext conftest.
$ac_ext
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16548 $as_echo "$ac_cv_have_isnan" >&6; }
16549 if test "$ac_cv_have_isnan" = "yes"
16552 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16579 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16580 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16581 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16582 cat >>confdefs.h
<<_ACEOF
16583 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16589 LIBS
="$ac_save_LIBS"
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16592 $as_echo_n "checking for __builtin_clz... " >&6; }
16593 if ${ac_cv_have___builtin_clz+:} false
; then :
16594 $as_echo_n "(cached) " >&6
16596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16597 /* end confdefs.h. */
16602 return __builtin_clz(1)
16607 if ac_fn_c_try_link
"$LINENO"; then :
16608 ac_cv_have___builtin_clz
="yes"
16610 ac_cv_have___builtin_clz
="no"
16612 rm -f core conftest.err conftest.
$ac_objext \
16613 conftest
$ac_exeext conftest.
$ac_ext
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16616 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16617 if test "$ac_cv_have___builtin_clz" = "yes"
16620 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16626 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16627 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16628 if ${ac_cv_cpp_def___i386__+:} false
; then :
16629 $as_echo_n "(cached) " >&6
16631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16632 /* end confdefs.h. */
16637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16638 $EGREP "yes" >/dev
/null
2>&1; then :
16639 ac_cv_cpp_def___i386__
=yes
16641 ac_cv_cpp_def___i386__
=no
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16647 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16648 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16649 CFLAGS
="$CFLAGS -D__i386__"
16650 LINTFLAGS
="$LINTFLAGS -D__i386__"
16652 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16653 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16654 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16655 $as_echo_n "(cached) " >&6
16657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16658 /* end confdefs.h. */
16663 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16664 $EGREP "yes" >/dev
/null
2>&1; then :
16665 ac_cv_cpp_def___x86_64__
=yes
16667 ac_cv_cpp_def___x86_64__
=no
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16673 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16674 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16675 CFLAGS
="$CFLAGS -D__x86_64__"
16676 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16678 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16679 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16680 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16681 $as_echo_n "(cached) " >&6
16683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16684 /* end confdefs.h. */
16685 #ifndef __sparc64__
16689 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16690 $EGREP "yes" >/dev
/null
2>&1; then :
16691 ac_cv_cpp_def___sparc64__
=yes
16693 ac_cv_cpp_def___sparc64__
=no
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16699 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16700 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16701 CFLAGS
="$CFLAGS -D__sparc64__"
16702 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16704 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16705 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16706 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16707 $as_echo_n "(cached) " >&6
16709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16710 /* end confdefs.h. */
16715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16716 $EGREP "yes" >/dev
/null
2>&1; then :
16717 ac_cv_cpp_def___sparc__
=yes
16719 ac_cv_cpp_def___sparc__
=no
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16725 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16726 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16727 CFLAGS
="$CFLAGS -D__sparc__"
16728 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16730 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16731 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16732 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16733 $as_echo_n "(cached) " >&6
16735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16736 /* end confdefs.h. */
16737 #ifndef __powerpc64__
16741 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16742 $EGREP "yes" >/dev
/null
2>&1; then :
16743 ac_cv_cpp_def___powerpc64__
=yes
16745 ac_cv_cpp_def___powerpc64__
=no
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16751 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16752 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16753 CFLAGS
="$CFLAGS -D__powerpc64__"
16754 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16756 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16757 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16758 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16759 $as_echo_n "(cached) " >&6
16761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16762 /* end confdefs.h. */
16763 #ifndef __powerpc__
16767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16768 $EGREP "yes" >/dev
/null
2>&1; then :
16769 ac_cv_cpp_def___powerpc__
=yes
16771 ac_cv_cpp_def___powerpc__
=no
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16777 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16778 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16779 CFLAGS
="$CFLAGS -D__powerpc__"
16780 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16782 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16783 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16784 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16785 $as_echo_n "(cached) " >&6
16787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h. */
16789 #ifndef __aarch64__
16793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16794 $EGREP "yes" >/dev
/null
2>&1; then :
16795 ac_cv_cpp_def___aarch64__
=yes
16797 ac_cv_cpp_def___aarch64__
=no
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16803 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16804 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16805 CFLAGS
="$CFLAGS -D__aarch64__"
16806 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16808 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16809 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16810 if ${ac_cv_cpp_def___arm__+:} false
; then :
16811 $as_echo_n "(cached) " >&6
16813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16814 /* end confdefs.h. */
16819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16820 $EGREP "yes" >/dev
/null
2>&1; then :
16821 ac_cv_cpp_def___arm__
=yes
16823 ac_cv_cpp_def___arm__
=no
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16829 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16830 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16831 CFLAGS
="$CFLAGS -D__arm__"
16832 LINTFLAGS
="$LINTFLAGS -D__arm__"
16836 case $host_vendor in
16837 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16838 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16839 if ${ac_cv_cpp_def___sun__+:} false
; then :
16840 $as_echo_n "(cached) " >&6
16842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16843 /* end confdefs.h. */
16848 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16849 $EGREP "yes" >/dev
/null
2>&1; then :
16850 ac_cv_cpp_def___sun__
=yes
16852 ac_cv_cpp_def___sun__
=no
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16858 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16859 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16860 CFLAGS
="$CFLAGS -D__sun__"
16861 LINTFLAGS
="$LINTFLAGS -D__sun__"
16869 ac_config_commands
="$ac_config_commands include/stamp-h"
16871 $as_echo_n "creating Makefile rules..." >&6
16873 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16874 SOCKET_LIBS = $SOCKET_LIBS
16875 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16876 IOKIT_LIBS = $IOKIT_LIBS
16877 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16878 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16879 CORESERVICES_LIBS = $CORESERVICES_LIBS
16880 APPKIT_LIBS = $APPKIT_LIBS
16881 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16882 SECURITY_LIBS = $SECURITY_LIBS
16883 COREAUDIO_LIBS = $COREAUDIO_LIBS
16884 OPENAL_LIBS = $OPENAL_LIBS
16885 OPENCL_LIBS = $OPENCL_LIBS
16886 QUICKTIME_LIBS = $QUICKTIME_LIBS
16887 CARBON_LIBS = $CARBON_LIBS
16888 PTHREAD_LIBS = $PTHREAD_LIBS
16889 X_CFLAGS = $X_CFLAGS
16890 X_PRE_LIBS = $X_PRE_LIBS
16892 X_EXTRA_LIBS = $X_EXTRA_LIBS
16893 XML2_CFLAGS = $XML2_CFLAGS
16894 XML2_LIBS = $XML2_LIBS
16895 XSLT_CFLAGS = $XSLT_CFLAGS
16896 XSLT_LIBS = $XSLT_LIBS
16897 DBUS_CFLAGS = $DBUS_CFLAGS
16898 DBUS_LIBS = $DBUS_LIBS
16899 HAL_CFLAGS = $HAL_CFLAGS
16900 HAL_LIBS = $HAL_LIBS
16901 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16902 GNUTLS_LIBS = $GNUTLS_LIBS
16903 SANE_CFLAGS = $SANE_CFLAGS
16904 SANE_LIBS = $SANE_LIBS
16905 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16906 GPHOTO2_LIBS = $GPHOTO2_LIBS
16907 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16908 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16909 RESOLV_LIBS = $RESOLV_LIBS
16910 LCMS2_CFLAGS = $LCMS2_CFLAGS
16911 LCMS2_LIBS = $LCMS2_LIBS
16912 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16913 FREETYPE_LIBS = $FREETYPE_LIBS
16915 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16916 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16917 GSTREAMER_LIBS = $GSTREAMER_LIBS
16918 ALSA_LIBS = $ALSA_LIBS
16919 OSS4_CFLAGS = $OSS4_CFLAGS
16920 CAPI20_CFLAGS = $CAPI20_CFLAGS
16921 CAPI20_LIBS = $CAPI20_LIBS
16922 CUPS_CFLAGS = $CUPS_CFLAGS
16923 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16924 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16925 JPEG_CFLAGS = $JPEG_CFLAGS
16926 JPEG_LIBS = $JPEG_LIBS
16927 PNG_CFLAGS = $PNG_CFLAGS
16928 PNG_LIBS = $PNG_LIBS
16929 TIFF_CFLAGS = $TIFF_CFLAGS
16930 TIFF_LIBS = $TIFF_LIBS
16931 MPG123_CFLAGS = $MPG123_CFLAGS
16932 MPG123_LIBS = $MPG123_LIBS
16933 KSTAT_LIBS = $KSTAT_LIBS
16934 PROCSTAT_LIBS = $PROCSTAT_LIBS
16936 POLL_LIBS = $POLL_LIBS
16938 LDAP_LIBS = $LDAP_LIBS
16943 wine_fn_append_rule
"
16944 # Rules automatically generated by configure
16946 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16951 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16952 @./config.status Make.tmp Makefile"
16954 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16955 .gitignore: config.status
16956 @./config.status .gitignore"
16958 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16959 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16961 if test "x$enable_fonts" != xno
; then
16962 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16963 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16964 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16965 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16966 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16968 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16969 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16970 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16971 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16972 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16973 wine_fn_config_symlink wine
16974 if test "x$enable_win64" != xno
; then
16975 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16976 wine_fn_config_symlink wine64
16979 wine_fn_config_dll acledit enable_acledit
16980 wine_fn_config_dll aclui enable_aclui implib
16981 wine_fn_config_dll activeds enable_activeds implib
16982 wine_fn_config_dll actxprxy enable_actxprxy clean
16983 wine_fn_config_lib adsiid
16984 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16985 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16986 wine_fn_config_dll advpack enable_advpack implib
16987 wine_fn_config_test dlls
/advpack
/tests advpack_test
16988 wine_fn_config_dll amstream enable_amstream clean
16989 wine_fn_config_test dlls
/amstream
/tests amstream_test
16990 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16991 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16992 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16993 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16994 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16995 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16996 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16997 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16998 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16999 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17000 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17001 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17002 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17003 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17004 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17005 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17006 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17007 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17008 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17009 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17010 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17011 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17012 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17013 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17014 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17015 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17016 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17017 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17018 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17019 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17021 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17022 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17023 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17026 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17027 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17028 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17029 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17030 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17031 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17032 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17033 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17034 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17035 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17036 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17037 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17038 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17039 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17040 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17041 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17042 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17043 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17044 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17045 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17046 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17047 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17048 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17049 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17050 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17051 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17052 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17053 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17054 wine_fn_config_dll apphelp enable_apphelp
17055 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17056 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17057 wine_fn_config_dll atl enable_atl clean
,implib
17058 wine_fn_config_test dlls
/atl
/tests atl_test
17059 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17060 wine_fn_config_test dlls
/atl100
/tests atl100_test
17061 wine_fn_config_dll atl110 enable_atl110 clean
17062 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17063 wine_fn_config_test dlls
/atl80
/tests atl80_test
17064 wine_fn_config_dll atl90 enable_atl90 clean
17065 wine_fn_config_dll authz enable_authz
17066 wine_fn_config_dll avicap32 enable_avicap32 implib
17067 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17068 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17069 wine_fn_config_dll avifile.dll16 enable_win16
17070 wine_fn_config_dll avrt enable_avrt implib
17071 wine_fn_config_dll bcrypt enable_bcrypt
17072 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17073 wine_fn_config_dll browseui enable_browseui clean
,po
17074 wine_fn_config_test dlls
/browseui
/tests browseui_test
17075 wine_fn_config_dll cabinet enable_cabinet implib
17076 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17077 wine_fn_config_dll capi2032 enable_capi2032 implib
17078 wine_fn_config_dll cards enable_cards implib
17079 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17080 wine_fn_config_dll clusapi enable_clusapi implib
17081 wine_fn_config_dll combase enable_combase
17082 wine_fn_config_test dlls
/combase
/tests combase_test
17083 wine_fn_config_dll comcat enable_comcat
17084 wine_fn_config_test dlls
/comcat
/tests comcat_test
17085 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17086 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17087 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17088 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17089 wine_fn_config_dll
comm.drv16 enable_win16
17090 wine_fn_config_dll commdlg.dll16 enable_win16
17091 wine_fn_config_dll compobj.dll16 enable_win16
17092 wine_fn_config_dll compstui enable_compstui implib
17093 wine_fn_config_dll comsvcs enable_comsvcs implib
17094 wine_fn_config_dll connect enable_connect
17095 wine_fn_config_dll credui enable_credui implib
,po
17096 wine_fn_config_test dlls
/credui
/tests credui_test
17097 wine_fn_config_dll crtdll enable_crtdll implib
17098 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17099 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17100 wine_fn_config_dll cryptdlg enable_cryptdlg po
17101 wine_fn_config_dll cryptdll enable_cryptdll implib
17102 wine_fn_config_dll cryptext enable_cryptext
17103 wine_fn_config_dll cryptnet enable_cryptnet implib
17104 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17105 wine_fn_config_dll cryptui enable_cryptui implib
,po
17106 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17107 wine_fn_config_dll ctapi32 enable_ctapi32
17108 wine_fn_config_dll ctl3d.dll16 enable_win16
17109 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17110 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17111 wine_fn_config_dll d2d1 enable_d2d1 implib
17112 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17113 wine_fn_config_dll d3d10 enable_d3d10 implib
17114 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17115 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17116 wine_fn_config_dll d3d10core enable_d3d10core implib
17117 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17118 wine_fn_config_dll d3d11 enable_d3d11
17119 wine_fn_config_dll d3d8 enable_d3d8 implib
17120 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17121 wine_fn_config_dll d3d9 enable_d3d9 implib
17122 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17123 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17124 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17125 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17126 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17127 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17128 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17129 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17130 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17131 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17132 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17133 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17134 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17135 wine_fn_config_dll d3dim enable_d3dim implib
17136 wine_fn_config_dll d3drm enable_d3drm implib
17137 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17138 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17139 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17140 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17141 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17142 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17143 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17144 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17145 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17146 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17147 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17148 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17149 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17150 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17151 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17152 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17153 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17154 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17155 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17156 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17157 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17158 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17159 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17160 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17161 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17162 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17163 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17164 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17165 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17166 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17167 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17168 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17169 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17170 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17171 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17172 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17173 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17174 wine_fn_config_dll dbgeng enable_dbgeng implib
17175 wine_fn_config_dll dbghelp enable_dbghelp implib
17176 wine_fn_config_dll dciman32 enable_dciman32 implib
17177 wine_fn_config_dll ddeml.dll16 enable_win16
17178 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17179 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17180 wine_fn_config_dll ddrawex enable_ddrawex clean
17181 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17182 wine_fn_config_dll devenum enable_devenum clean
,po
17183 wine_fn_config_test dlls
/devenum
/tests devenum_test
17184 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17185 wine_fn_config_dll difxapi enable_difxapi
17186 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17187 wine_fn_config_test dlls
/dinput
/tests dinput_test
17188 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17189 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17190 wine_fn_config_dll dispdib.dll16 enable_win16
17191 wine_fn_config_dll dispex enable_dispex clean
17192 wine_fn_config_test dlls
/dispex
/tests dispex_test
17193 wine_fn_config_dll display.drv16 enable_win16
17194 wine_fn_config_dll dmband enable_dmband clean
17195 wine_fn_config_test dlls
/dmband
/tests dmband_test
17196 wine_fn_config_dll dmcompos enable_dmcompos clean
17197 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17198 wine_fn_config_dll dmime enable_dmime clean
17199 wine_fn_config_test dlls
/dmime
/tests dmime_test
17200 wine_fn_config_dll dmloader enable_dmloader clean
17201 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17202 wine_fn_config_dll dmscript enable_dmscript clean
17203 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17204 wine_fn_config_dll dmstyle enable_dmstyle clean
17205 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17206 wine_fn_config_dll dmsynth enable_dmsynth clean
17207 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17208 wine_fn_config_dll dmusic enable_dmusic clean
17209 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17210 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17211 wine_fn_config_dll dnsapi enable_dnsapi implib
17212 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17213 wine_fn_config_dll dplay enable_dplay implib
17214 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17215 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17216 wine_fn_config_dll dpnaddr enable_dpnaddr
17217 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17218 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17219 wine_fn_config_dll dpnhpast enable_dpnhpast
17220 wine_fn_config_dll dpnlobby enable_dpnlobby
17221 wine_fn_config_dll dpvoice enable_dpvoice clean
17222 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17223 wine_fn_config_dll dpwsockx enable_dpwsockx
17224 wine_fn_config_dll drmclien enable_drmclien
17225 wine_fn_config_dll dsound enable_dsound clean
,implib
17226 wine_fn_config_test dlls
/dsound
/tests dsound_test
17227 wine_fn_config_dll dssenh enable_dssenh
17228 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17229 wine_fn_config_dll dswave enable_dswave clean
17230 wine_fn_config_test dlls
/dswave
/tests dswave_test
17231 wine_fn_config_dll dwmapi enable_dwmapi implib
17232 wine_fn_config_dll dwrite enable_dwrite implib
17233 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17234 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17235 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17236 wine_fn_config_lib dxerr8
17237 wine_fn_config_lib dxerr9
17238 wine_fn_config_dll dxgi enable_dxgi implib
17239 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17240 wine_fn_config_lib dxguid
17241 wine_fn_config_dll dxva2 enable_dxva2
17242 wine_fn_config_dll evr enable_evr
17243 wine_fn_config_dll explorerframe enable_explorerframe clean
17244 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17245 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17246 wine_fn_config_dll faultrep enable_faultrep implib
17247 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17248 wine_fn_config_dll fltlib enable_fltlib
17249 wine_fn_config_dll fntcache enable_fntcache
17250 wine_fn_config_dll fontsub enable_fontsub
17251 wine_fn_config_dll fusion enable_fusion
17252 wine_fn_config_test dlls
/fusion
/tests fusion_test
17253 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17254 wine_fn_config_dll gameux enable_gameux clean
17255 wine_fn_config_test dlls
/gameux
/tests gameux_test
17256 wine_fn_config_dll gdi.exe16 enable_win16
17257 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17258 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17259 wine_fn_config_dll gdiplus enable_gdiplus implib
17260 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17261 wine_fn_config_dll glu32 enable_glu32 implib
17262 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17263 wine_fn_config_dll gpkcsp enable_gpkcsp
17264 wine_fn_config_dll hal enable_hal
17265 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17266 wine_fn_config_dll hid enable_hid implib
17267 wine_fn_config_dll hlink enable_hlink clean
,implib
17268 wine_fn_config_test dlls
/hlink
/tests hlink_test
17269 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17270 wine_fn_config_dll httpapi enable_httpapi
17271 wine_fn_config_dll iccvid enable_iccvid po
17272 wine_fn_config_dll icmp enable_icmp
17273 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17274 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17275 wine_fn_config_dll ifsmgr.vxd enable_win16
17276 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17277 wine_fn_config_dll imagehlp enable_imagehlp implib
17278 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17279 wine_fn_config_dll imm.dll16 enable_win16
17280 wine_fn_config_dll imm32 enable_imm32 implib
17281 wine_fn_config_test dlls
/imm32
/tests imm32_test
17282 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17283 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17284 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17285 wine_fn_config_dll inetmib1 enable_inetmib1
17286 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17287 wine_fn_config_dll infosoft enable_infosoft clean
17288 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17289 wine_fn_config_dll initpki enable_initpki
17290 wine_fn_config_dll inkobj enable_inkobj
17291 wine_fn_config_dll inseng enable_inseng clean
17292 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17293 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17294 wine_fn_config_dll itircl enable_itircl
17295 wine_fn_config_dll itss enable_itss clean
17296 wine_fn_config_test dlls
/itss
/tests itss_test
17297 wine_fn_config_dll joy.cpl enable_joy_cpl po
17298 wine_fn_config_dll jscript enable_jscript clean
,po
17299 wine_fn_config_test dlls
/jscript
/tests jscript_test
17300 wine_fn_config_dll jsproxy enable_jsproxy implib
17301 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17302 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17303 wine_fn_config_dll keyboard.drv16 enable_win16
17304 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17305 wine_fn_config_dll ksuser enable_ksuser
17306 wine_fn_config_dll ktmw32 enable_ktmw32
17307 wine_fn_config_dll loadperf enable_loadperf implib
17308 wine_fn_config_dll localspl enable_localspl po
17309 wine_fn_config_test dlls
/localspl
/tests localspl_test
17310 wine_fn_config_dll localui enable_localui po
17311 wine_fn_config_test dlls
/localui
/tests localui_test
17312 wine_fn_config_dll lz32 enable_lz32 implib
17313 wine_fn_config_test dlls
/lz32
/tests lz32_test
17314 wine_fn_config_dll lzexpand.dll16 enable_win16
17315 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17316 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17317 wine_fn_config_dll mapistub enable_mapistub
17318 wine_fn_config_dll mciavi32 enable_mciavi32
17319 wine_fn_config_dll mcicda enable_mcicda
17320 wine_fn_config_dll mciqtz32 enable_mciqtz32
17321 wine_fn_config_dll mciseq enable_mciseq
17322 wine_fn_config_dll mciwave enable_mciwave
17323 wine_fn_config_dll mf enable_mf
17324 wine_fn_config_dll mfplat enable_mfplat
17325 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17326 wine_fn_config_dll mgmtapi enable_mgmtapi
17327 wine_fn_config_dll midimap enable_midimap
17328 wine_fn_config_dll mlang enable_mlang clean
,implib
17329 wine_fn_config_test dlls
/mlang
/tests mlang_test
17330 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17331 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17332 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17333 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17334 wine_fn_config_dll mmdevldr.vxd enable_win16
17335 wine_fn_config_dll mmsystem.dll16 enable_win16
17336 wine_fn_config_dll monodebg.vxd enable_win16
17337 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17338 wine_fn_config_dll mouse.drv16 enable_win16
17339 wine_fn_config_dll mpr enable_mpr implib
,po
17340 wine_fn_config_test dlls
/mpr
/tests mpr_test
17341 wine_fn_config_dll mprapi enable_mprapi implib
17342 wine_fn_config_dll msacm.dll16 enable_win16
17343 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17344 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17345 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17346 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17347 wine_fn_config_dll msasn1 enable_msasn1 implib
17348 wine_fn_config_dll mscat32 enable_mscat32
17349 wine_fn_config_dll mscms enable_mscms implib
17350 wine_fn_config_test dlls
/mscms
/tests mscms_test
17351 wine_fn_config_dll mscoree enable_mscoree clean
17352 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17353 wine_fn_config_dll msctf enable_msctf clean
17354 wine_fn_config_test dlls
/msctf
/tests msctf_test
17355 wine_fn_config_dll msdaps enable_msdaps clean
17356 wine_fn_config_dll msdmo enable_msdmo implib
17357 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17358 wine_fn_config_dll msftedit enable_msftedit
17359 wine_fn_config_dll msg711.acm enable_msg711_acm
17360 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17361 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17362 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17363 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17364 wine_fn_config_dll msi enable_msi clean
,implib
,po
17365 wine_fn_config_test dlls
/msi
/tests msi_test
17366 wine_fn_config_dll msident enable_msident clean
17367 wine_fn_config_dll msimg32 enable_msimg32 implib
17368 wine_fn_config_dll msimsg enable_msimsg
17369 wine_fn_config_dll msimtf enable_msimtf clean
17370 wine_fn_config_dll msisip enable_msisip
17371 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17372 wine_fn_config_dll msls31 enable_msls31
17373 wine_fn_config_dll msnet32 enable_msnet32
17374 wine_fn_config_dll mspatcha enable_mspatcha
17375 wine_fn_config_dll msrle32 enable_msrle32 po
17376 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17377 wine_fn_config_dll mssign32 enable_mssign32
17378 wine_fn_config_dll mssip32 enable_mssip32
17379 wine_fn_config_dll mstask enable_mstask clean
17380 wine_fn_config_test dlls
/mstask
/tests mstask_test
17381 wine_fn_config_dll msvcirt enable_msvcirt
17382 wine_fn_config_dll msvcm80 enable_msvcm80
17383 wine_fn_config_dll msvcm90 enable_msvcm90
17384 wine_fn_config_dll msvcp100 enable_msvcp100
17385 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17386 wine_fn_config_dll msvcp110 enable_msvcp110
17387 wine_fn_config_dll msvcp120 enable_msvcp120
17388 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17389 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17390 wine_fn_config_dll msvcp60 enable_msvcp60
17391 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17392 wine_fn_config_dll msvcp70 enable_msvcp70
17393 wine_fn_config_dll msvcp71 enable_msvcp71
17394 wine_fn_config_dll msvcp80 enable_msvcp80
17395 wine_fn_config_dll msvcp90 enable_msvcp90
17396 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17397 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17398 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17399 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17400 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17401 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17402 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17403 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17404 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17405 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17406 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17407 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17408 wine_fn_config_dll msvcrt enable_msvcrt implib
17409 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17410 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17411 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17412 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17413 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17414 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17415 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17416 wine_fn_config_dll msvidc32 enable_msvidc32 po
17417 wine_fn_config_dll msvideo.dll16 enable_win16
17418 wine_fn_config_dll mswsock enable_mswsock implib
17419 wine_fn_config_dll msxml enable_msxml clean
17420 wine_fn_config_dll msxml2 enable_msxml2 clean
17421 wine_fn_config_dll msxml3 enable_msxml3 clean
17422 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17423 wine_fn_config_dll msxml4 enable_msxml4 clean
17424 wine_fn_config_dll msxml6 enable_msxml6 clean
17425 wine_fn_config_dll nddeapi enable_nddeapi implib
17426 wine_fn_config_dll ndis.sys enable_ndis_sys
17427 wine_fn_config_dll netapi32 enable_netapi32 implib
17428 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17429 wine_fn_config_dll netcfgx enable_netcfgx clean
17430 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17431 wine_fn_config_dll netprofm enable_netprofm clean
17432 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17433 wine_fn_config_dll newdev enable_newdev implib
17434 wine_fn_config_dll normaliz enable_normaliz implib
17435 wine_fn_config_dll npmshtml enable_npmshtml
17436 wine_fn_config_dll npptools enable_npptools
17437 wine_fn_config_dll ntdll enable_ntdll implib
17438 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17439 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17440 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17441 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17442 wine_fn_config_dll ntprint enable_ntprint
17443 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17444 wine_fn_config_dll objsel enable_objsel clean
17445 wine_fn_config_dll odbc32 enable_odbc32 implib
17446 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17447 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17448 wine_fn_config_dll odbccu32 enable_odbccu32
17449 wine_fn_config_dll ole2.dll16 enable_win16
17450 wine_fn_config_dll ole2conv.dll16 enable_win16
17451 wine_fn_config_dll ole2disp.dll16 enable_win16
17452 wine_fn_config_dll ole2nls.dll16 enable_win16
17453 wine_fn_config_dll ole2prox.dll16 enable_win16
17454 wine_fn_config_dll ole2thk.dll16 enable_win16
17455 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17456 wine_fn_config_test dlls
/ole32
/tests ole32_test
17457 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17458 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17459 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17460 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17461 wine_fn_config_dll olecli.dll16 enable_win16
17462 wine_fn_config_dll olecli32 enable_olecli32 implib
17463 wine_fn_config_dll oledb32 enable_oledb32 clean
17464 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17465 wine_fn_config_dll oledlg enable_oledlg implib
,po
17466 wine_fn_config_dll olepro32 enable_olepro32 implib
17467 wine_fn_config_dll olesvr.dll16 enable_win16
17468 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17469 wine_fn_config_dll olethk32 enable_olethk32
17470 wine_fn_config_dll openal32 enable_openal32
17471 wine_fn_config_dll opencl enable_opencl
17472 wine_fn_config_dll opengl32 enable_opengl32 implib
17473 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17474 wine_fn_config_dll packager enable_packager clean
17475 wine_fn_config_test dlls
/packager
/tests packager_test
17476 wine_fn_config_dll pdh enable_pdh implib
17477 wine_fn_config_test dlls
/pdh
/tests pdh_test
17478 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17479 wine_fn_config_dll pidgen enable_pidgen
17480 wine_fn_config_dll powrprof enable_powrprof implib
17481 wine_fn_config_dll printui enable_printui
17482 wine_fn_config_dll prntvpt enable_prntvpt
17483 wine_fn_config_dll propsys enable_propsys clean
,implib
17484 wine_fn_config_test dlls
/propsys
/tests propsys_test
17485 wine_fn_config_dll psapi enable_psapi implib
17486 wine_fn_config_test dlls
/psapi
/tests psapi_test
17487 wine_fn_config_dll pstorec enable_pstorec clean
17488 wine_fn_config_dll qcap enable_qcap
17489 wine_fn_config_test dlls
/qcap
/tests qcap_test
17490 wine_fn_config_dll qedit enable_qedit clean
17491 wine_fn_config_test dlls
/qedit
/tests qedit_test
17492 wine_fn_config_dll qmgr enable_qmgr clean
17493 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17494 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17495 wine_fn_config_dll quartz enable_quartz clean
,implib
17496 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17497 wine_fn_config_dll query enable_query
17498 wine_fn_config_dll rasapi16.dll16 enable_win16
17499 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17500 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17501 wine_fn_config_dll rasdlg enable_rasdlg implib
17502 wine_fn_config_dll regapi enable_regapi
17503 wine_fn_config_dll resutils enable_resutils implib
17504 wine_fn_config_dll riched20 enable_riched20 implib
17505 wine_fn_config_test dlls
/riched20
/tests riched20_test
17506 wine_fn_config_dll riched32 enable_riched32
17507 wine_fn_config_test dlls
/riched32
/tests riched32_test
17508 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17509 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17510 wine_fn_config_dll rsabase enable_rsabase
17511 wine_fn_config_dll rsaenh enable_rsaenh implib
17512 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17513 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17514 wine_fn_config_dll rtutils enable_rtutils implib
17515 wine_fn_config_dll samlib enable_samlib
17516 wine_fn_config_dll sane.ds enable_sane_ds po
17517 wine_fn_config_dll scarddlg enable_scarddlg
17518 wine_fn_config_dll sccbase enable_sccbase
17519 wine_fn_config_dll schannel enable_schannel
17520 wine_fn_config_test dlls
/schannel
/tests schannel_test
17521 wine_fn_config_dll schedsvc enable_schedsvc clean
17522 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17523 wine_fn_config_dll scrrun enable_scrrun clean
17524 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17525 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17526 wine_fn_config_dll secur32 enable_secur32 implib
17527 wine_fn_config_test dlls
/secur32
/tests secur32_test
17528 wine_fn_config_dll security enable_security
17529 wine_fn_config_dll sensapi enable_sensapi implib
17530 wine_fn_config_dll serialui enable_serialui implib
,po
17531 wine_fn_config_test dlls
/serialui
/tests serialui_test
17532 wine_fn_config_dll setupapi enable_setupapi implib
,po
17533 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17534 wine_fn_config_dll setupx.dll16 enable_win16
17535 wine_fn_config_dll sfc enable_sfc implib
17536 wine_fn_config_dll sfc_os enable_sfc_os implib
17537 wine_fn_config_dll shdoclc enable_shdoclc po
17538 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17539 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17540 wine_fn_config_dll shell.dll16 enable_win16
17541 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17542 wine_fn_config_test dlls
/shell32
/tests shell32_test
17543 wine_fn_config_dll shfolder enable_shfolder implib
17544 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17545 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17546 wine_fn_config_dll slbcsp enable_slbcsp
17547 wine_fn_config_dll slc enable_slc implib
17548 wine_fn_config_test dlls
/slc
/tests slc_test
17549 wine_fn_config_dll snmpapi enable_snmpapi implib
17550 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17551 wine_fn_config_dll softpub enable_softpub
17552 wine_fn_config_dll sound.drv16 enable_win16
17553 wine_fn_config_dll spoolss enable_spoolss implib
17554 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17555 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17556 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17557 wine_fn_config_dll sti enable_sti clean
,implib
17558 wine_fn_config_test dlls
/sti
/tests sti_test
17559 wine_fn_config_dll storage.dll16 enable_win16
17560 wine_fn_config_dll stress.dll16 enable_win16
17561 wine_fn_config_lib strmbase
17562 wine_fn_config_lib strmiids
17563 wine_fn_config_dll svrapi enable_svrapi
17564 wine_fn_config_dll sxs enable_sxs implib
17565 wine_fn_config_test dlls
/sxs
/tests sxs_test
17566 wine_fn_config_dll system.drv16 enable_win16
17567 wine_fn_config_dll t2embed enable_t2embed
17568 wine_fn_config_dll tapi32 enable_tapi32 implib
17569 wine_fn_config_dll taskschd enable_taskschd clean
17570 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17571 wine_fn_config_dll toolhelp.dll16 enable_win16
17572 wine_fn_config_dll traffic enable_traffic
17573 wine_fn_config_dll twain.dll16 enable_win16
17574 wine_fn_config_dll twain_32 enable_twain_32
17575 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17576 wine_fn_config_dll typelib.dll16 enable_win16
17577 wine_fn_config_dll unicows enable_unicows implib
17578 wine_fn_config_dll updspapi enable_updspapi
17579 wine_fn_config_dll url enable_url implib
17580 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17581 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17582 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17583 wine_fn_config_dll user.exe16 enable_win16
17584 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17585 wine_fn_config_test dlls
/user32
/tests user32_test
17586 wine_fn_config_dll userenv enable_userenv implib
17587 wine_fn_config_test dlls
/userenv
/tests userenv_test
17588 wine_fn_config_dll usp10 enable_usp10 implib
17589 wine_fn_config_test dlls
/usp10
/tests usp10_test
17590 wine_fn_config_lib uuid
17591 wine_fn_config_dll uxtheme enable_uxtheme implib
17592 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17593 wine_fn_config_dll vbscript enable_vbscript clean
17594 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17595 wine_fn_config_dll vcomp enable_vcomp
17596 wine_fn_config_dll vcomp100 enable_vcomp100
17597 wine_fn_config_dll vcomp90 enable_vcomp90
17598 wine_fn_config_dll vdhcp.vxd enable_win16
17599 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17600 wine_fn_config_dll ver.dll16 enable_win16
17601 wine_fn_config_dll version enable_version implib
17602 wine_fn_config_test dlls
/version
/tests version_test
17603 wine_fn_config_dll vmm.vxd enable_win16
17604 wine_fn_config_dll vnbt.vxd enable_win16
17605 wine_fn_config_dll vnetbios.vxd enable_win16
17606 wine_fn_config_dll vssapi enable_vssapi
17607 wine_fn_config_dll vtdapi.vxd enable_win16
17608 wine_fn_config_dll vwin32.vxd enable_win16
17609 wine_fn_config_dll w32skrnl enable_win16
17610 wine_fn_config_dll w32sys.dll16 enable_win16
17611 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17612 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17613 wine_fn_config_dll wbemprox enable_wbemprox clean
17614 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17615 wine_fn_config_dll webservices enable_webservices implib
17616 wine_fn_config_dll wer enable_wer implib
17617 wine_fn_config_test dlls
/wer
/tests wer_test
17618 wine_fn_config_dll wevtapi enable_wevtapi
17619 wine_fn_config_dll wiaservc enable_wiaservc clean
17620 wine_fn_config_dll win32s16.dll16 enable_win16
17621 wine_fn_config_dll win87em.dll16 enable_win16
17622 wine_fn_config_dll winaspi.dll16 enable_win16
17623 wine_fn_config_dll windebug.dll16 enable_win16
17624 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17625 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17626 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17627 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17628 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17629 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17630 wine_fn_config_lib winecrt0
17631 wine_fn_config_dll wined3d enable_wined3d implib
17632 wine_fn_config_dll winegstreamer enable_winegstreamer
17633 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17634 wine_fn_config_dll winemac.drv enable_winemac_drv
17635 wine_fn_config_dll winemapi enable_winemapi
17636 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17637 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17638 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17639 wine_fn_config_dll wineps16.drv16 enable_win16
17640 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17641 wine_fn_config_dll winex11.drv enable_winex11_drv
17642 wine_fn_config_dll wing.dll16 enable_win16
17643 wine_fn_config_dll wing32 enable_wing32
17644 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17645 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17646 wine_fn_config_dll wininet enable_wininet implib
,po
17647 wine_fn_config_test dlls
/wininet
/tests wininet_test
17648 wine_fn_config_dll winmm enable_winmm implib
,po
17649 wine_fn_config_test dlls
/winmm
/tests winmm_test
17650 wine_fn_config_dll winnls.dll16 enable_win16
17651 wine_fn_config_dll winnls32 enable_winnls32 implib
17652 wine_fn_config_dll winscard enable_winscard implib
17653 wine_fn_config_dll winsock.dll16 enable_win16
17654 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17655 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17656 wine_fn_config_dll winsta enable_winsta
17657 wine_fn_config_dll wintab.dll16 enable_win16
17658 wine_fn_config_dll wintab32 enable_wintab32 implib
17659 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17660 wine_fn_config_dll wintrust enable_wintrust implib
17661 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17662 wine_fn_config_dll wlanapi enable_wlanapi
17663 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17664 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17665 wine_fn_config_dll wmi enable_wmi
17666 wine_fn_config_dll wmiutils enable_wmiutils clean
17667 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17668 wine_fn_config_dll wmp enable_wmp clean
17669 wine_fn_config_test dlls
/wmp
/tests wmp_test
17670 wine_fn_config_dll wmvcore enable_wmvcore
17671 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17672 wine_fn_config_dll wow32 enable_win16 implib
17673 wine_fn_config_dll wpcap enable_wpcap
17674 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17675 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17676 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17677 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17678 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17679 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17680 wine_fn_config_dll wsock32 enable_wsock32 implib
17681 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17682 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17683 wine_fn_config_dll wuapi enable_wuapi clean
17684 wine_fn_config_dll wuaueng enable_wuaueng
17685 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17686 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17687 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17688 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17689 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17690 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17691 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17692 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17693 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17694 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17695 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17696 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17697 wine_fn_config_dll xinput1_1 enable_xinput1_1
17698 wine_fn_config_dll xinput1_2 enable_xinput1_2
17699 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17700 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17701 wine_fn_config_dll xinput1_4 enable_xinput1_4
17702 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17703 wine_fn_config_dll xmllite enable_xmllite implib
17704 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17705 wine_fn_config_dll xolehlp enable_xolehlp
17706 wine_fn_config_dll xpsprint enable_xpsprint
17707 wine_fn_config_dll xpssvcs enable_xpssvcs
17708 wine_fn_config_makefile documentation enable_documentation clean
17709 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17710 wine_fn_config_makefile include enable_include clean
,install-dev
17711 wine_fn_config_makefile libs
/port enable_libs_port
17712 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17713 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17714 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17715 wine_fn_config_program arp enable_arp
install
17716 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17717 wine_fn_config_program attrib enable_attrib
install,po
17718 wine_fn_config_program cabarc enable_cabarc
install
17719 wine_fn_config_program cacls enable_cacls
install
17720 wine_fn_config_program
clock enable_clock
install,po
17721 wine_fn_config_program cmd enable_cmd
install,po
17722 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17723 wine_fn_config_program conhost enable_conhost
install
17724 wine_fn_config_program control enable_control
install
17725 wine_fn_config_program cscript enable_cscript clean
,install
17726 wine_fn_config_program dpnsvr enable_dpnsvr
install
17727 wine_fn_config_program dxdiag enable_dxdiag
install,po
17728 wine_fn_config_program eject enable_eject
install
17729 wine_fn_config_program
expand enable_expand
install
17730 wine_fn_config_program explorer enable_explorer
install,po
17731 wine_fn_config_program extrac32 enable_extrac32
install
17732 wine_fn_config_program findstr enable_findstr
install
17733 wine_fn_config_program hh enable_hh
install
17734 wine_fn_config_program hostname enable_hostname
install,po
17735 wine_fn_config_program icinfo enable_icinfo
install
17736 wine_fn_config_program iexplore enable_iexplore
install
17737 wine_fn_config_program ipconfig enable_ipconfig
install,po
17738 wine_fn_config_program lodctr enable_lodctr
install
17739 wine_fn_config_program mofcomp enable_mofcomp
install
17740 wine_fn_config_program mshta enable_mshta
install
17741 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17742 wine_fn_config_program net enable_net
install,po
17743 wine_fn_config_program netsh enable_netsh
install
17744 wine_fn_config_program netstat enable_netstat
install,po
17745 wine_fn_config_program ngen enable_ngen
install
17746 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17747 wine_fn_config_program oleview enable_oleview
install,po
17748 wine_fn_config_program
ping enable_ping
install
17749 wine_fn_config_program plugplay enable_plugplay
install
17750 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17751 wine_fn_config_program progman enable_progman
install,po
17752 wine_fn_config_program reg enable_reg
install,po
17753 wine_fn_config_test programs
/reg
/tests reg.exe_test
17754 wine_fn_config_program regasm enable_regasm
install
17755 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17756 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17757 wine_fn_config_program regsvcs enable_regsvcs
install
17758 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17759 wine_fn_config_program rpcss enable_rpcss clean
,install
17760 wine_fn_config_program rundll.exe16 enable_win16
install
17761 wine_fn_config_program rundll32 enable_rundll32
install
17762 wine_fn_config_program sc enable_sc
install
17763 wine_fn_config_program schtasks enable_schtasks
install
17764 wine_fn_config_program sdbinst enable_sdbinst
install
17765 wine_fn_config_program secedit enable_secedit
install
17766 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17767 wine_fn_config_program services enable_services clean
,install
17768 wine_fn_config_test programs
/services
/tests services.exe_test
17769 wine_fn_config_program spoolsv enable_spoolsv
install
17770 wine_fn_config_program start enable_start
install,po
17771 wine_fn_config_program svchost enable_svchost
install
17772 wine_fn_config_program systeminfo enable_systeminfo
install
17773 wine_fn_config_program taskkill enable_taskkill
install,po
17774 wine_fn_config_program tasklist enable_tasklist
install
17775 wine_fn_config_program taskmgr enable_taskmgr
install,po
17776 wine_fn_config_program termsv enable_termsv
install
17777 wine_fn_config_program uninstaller enable_uninstaller
install,po
17778 wine_fn_config_program unlodctr enable_unlodctr
install
17779 wine_fn_config_program view enable_view
install,po
17780 wine_fn_config_program wevtutil enable_wevtutil
install
17781 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17782 wine_fn_config_program winebrowser enable_winebrowser
install
17783 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17784 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17785 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17786 wine_fn_config_program winedevice enable_winedevice
install
17787 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17788 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17789 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17790 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17791 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17792 wine_fn_config_program winetest enable_winetest clean
17793 wine_fn_config_program winevdm enable_win16
install
17794 wine_fn_config_program winhelp.exe16 enable_win16
install
17795 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17796 wine_fn_config_program winoldap.mod16 enable_win16
install
17797 wine_fn_config_program winver enable_winver
install
17798 wine_fn_config_program wmic enable_wmic
install,po
17799 wine_fn_config_program wordpad enable_wordpad
install,po
17800 wine_fn_config_program
write enable_write
install,po
17801 wine_fn_config_program wscript enable_wscript clean
,install
17802 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17803 wine_fn_config_program wusa enable_wusa
install
17804 wine_fn_config_program xcopy enable_xcopy
install,po
17805 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17806 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17807 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17808 wine_fn_config_tool tools
/sfnt2fon clean
17809 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17810 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17811 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17812 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17813 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17814 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17866 wine_fn_ignore_file
".gitignore"
17867 wine_fn_ignore_file
"Makefile"
17868 wine_fn_ignore_file
"TAGS"
17869 wine_fn_ignore_file
"tags"
17870 wine_fn_ignore_file
"autom4te.cache"
17871 wine_fn_ignore_file
"config.cache"
17872 wine_fn_ignore_file
"config.log"
17873 wine_fn_ignore_file
"config.status"
17874 wine_fn_ignore_file
"configure.lineno"
17875 wine_fn_ignore_file
"include/config.h"
17876 wine_fn_ignore_file
"include/stamp-h"
17877 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17879 if test "x$enable_tools" != xno
17881 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17882 ac_config_commands
="$ac_config_commands tools/makedep"
17886 ac_config_commands
="$ac_config_commands Makefile"
17889 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17893 if test "x$enable_maintainer_mode" = xyes
17895 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17896 autoconf --warnings=all
17897 include/config.h.in: include/stamp-h.in
17898 include/stamp-h.in: configure.ac aclocal.m4
17899 autoheader --warnings=all
17900 @echo timestamp > \$@"
17903 if test "x$with_gettextpo" = xyes
17905 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17906 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17907 \$(LINGUAS:%=po/%.po): po/wine.pot
17908 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17909 po/wine.pot: \$(ALL_POT_FILES)
17910 msgcat -o \$@ \$(ALL_POT_FILES)"
17913 if test "$MSGFMT" != false
17915 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17917 \$(RM) \$(LINGUAS:%=po/%.mo)"
17920 test "$srcdir" = . || posrc
="$srcdir/po"
17923 wine_fn_ignore_file
"po/$i.mo"
17924 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17925 \$(MSGFMT) -o \$@ $posrc/$i.po"
17931 if test "x$enable_tools" != xno
17933 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17934 @./config.status tools/makedep
17935 Makefile: tools/makedep$ac_exeext
17937 \$(RM) tools/makedep$ac_exeext"
17939 wine_fn_append_rule
"\$(MAKEDEP):
17940 @echo \"You need to run make in $TOOLSDIR first\" && false"
17943 if test -n "$with_wine64"
17945 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17946 fonts server tools:
17947 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17948 $with_wine64/loader/wine:
17949 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17950 $with_wine64/loader/wine-preloader:
17951 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17953 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17955 as_fn_append LOADER_RULES
"
17956 install install-lib:: wine.inf install-man-pages
17957 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17958 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17961 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17965 if test "$srcdir" = .
17967 ac_config_commands
="$ac_config_commands .gitignore"
17971 $as_echo " done" >&6
17972 cat >confcache
<<\_ACEOF
17973 # This file is a shell script that caches the results of configure
17974 # tests run on this system so they can be shared between configure
17975 # scripts and configure runs, see configure's option --config-cache.
17976 # It is not useful on other systems. If it contains results you don't
17977 # want to keep, you may remove or edit it.
17979 # config.status only pays attention to the cache file if you give it
17980 # the --recheck option to rerun configure.
17982 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17983 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17984 # following values.
17988 # The following way of writing the cache mishandles newlines in values,
17989 # but we know of no workaround that is simple, portable, and efficient.
17990 # So, we kill variables containing newlines.
17991 # Ultrix sh set writes to stderr and can't be redirected directly,
17992 # and sets the high bit in the cache file unless we assign to the vars.
17994 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17995 eval ac_val
=\$
$ac_var
17999 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18000 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18003 _ | IFS | as_nl
) ;; #(
18004 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18005 *) { eval $ac_var=; unset $ac_var;} ;;
18011 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18012 *${as_nl}ac_space
=\
*)
18013 # `set' does not quote correctly, so add quotes: double-quote
18014 # substitution turns \\\\ into \\, and sed turns \\ into \.
18017 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18020 # `set' quotes correctly as required by POSIX, so do not add quotes.
18021 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18030 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18032 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18034 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18035 if test -w "$cache_file"; then
18036 if test "x$cache_file" != "x/dev/null"; then
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18038 $as_echo "$as_me: updating cache $cache_file" >&6;}
18039 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18040 cat confcache
>"$cache_file"
18042 case $cache_file in #(
18044 mv -f confcache
"$cache_file"$$
&&
18045 mv -f "$cache_file"$$
"$cache_file" ;; #(
18047 mv -f confcache
"$cache_file" ;;
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18053 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18058 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18059 # Let make expand exec_prefix.
18060 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18062 DEFS
=-DHAVE_CONFIG_H
18067 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18068 # 1. Remove the extension, and $U if already installed.
18069 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18070 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18071 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18072 # will be set to the directory where LIBOBJS objects are built.
18073 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18074 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18076 LIBOBJS
=$ac_libobjs
18078 LTLIBOBJS
=$ac_ltlibobjs
18082 : "${CONFIG_STATUS=./config.status}"
18084 ac_clean_files_save
=$ac_clean_files
18085 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18087 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18089 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18091 # Generated by $as_me.
18092 # Run this file to recreate the current configuration.
18093 # Compiler output produced by configure, useful for debugging
18094 # configure, is in config.log if it exists.
18097 ac_cs_recheck=false
18100 SHELL=\${CONFIG_SHELL-$SHELL}
18103 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18104 ## -------------------- ##
18105 ## M4sh Initialization. ##
18106 ## -------------------- ##
18108 # Be more Bourne compatible
18109 DUALCASE
=1; export DUALCASE
# for MKS sh
18110 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18113 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18114 # is contrary to our usage. Disable this feature.
18115 alias -g '${1+"$@"}'='"$@"'
18116 setopt NO_GLOB_SUBST
18118 case `(set -o) 2>/dev/null` in #(
18130 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18131 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18132 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18133 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18134 # Prefer a ksh shell builtin over an external printf program on Solaris,
18135 # but without wasting forks for bash or zsh.
18136 if test -z "$BASH_VERSION$ZSH_VERSION" \
18137 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18138 as_echo='print
-r --'
18139 as_echo_n='print
-rn --'
18140 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18141 as_echo='printf %s
\n'
18142 as_echo_n='printf %s
'
18144 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18145 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18146 as_echo_n='/usr
/ucb
/echo -n'
18148 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18149 as_echo_n_body='eval
18153 expr "X$arg" : "X\\(.*\\)$as_nl";
18154 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18156 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18158 export as_echo_n_body
18159 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18161 export as_echo_body
18162 as_echo='sh
-c $as_echo_body as_echo
'
18165 # The user is always right.
18166 if test "${PATH_SEPARATOR+set}" != set; then
18168 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18169 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18176 # We need space, tab and new line, in precisely that order. Quoting is
18177 # there to prevent editors from complaining about space-tab.
18178 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18179 # splitting by setting IFS to empty value.)
18182 # Find who we are. Look in the path if we contain no directory separator.
18185 *[\\/]* ) as_myself=$0 ;;
18186 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18187 for as_dir in $PATH
18190 test -z "$as_dir" && as_dir=.
18191 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18197 # We did not find ourselves, most probably we were run as `sh COMMAND'
18198 # in which case we are not to be found in the path.
18199 if test "x$as_myself" = x
; then
18202 if test ! -f "$as_myself"; then
18203 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18207 # Unset variables that we do not need and which cause bugs (e.g. in
18208 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18209 # suppresses any "Segmentation fault" message there. '((' could
18210 # trigger a bug in pdksh 5.2.14.
18211 for as_var
in BASH_ENV ENV MAIL MAILPATH
18212 do eval test x\
${$as_var+set} = xset \
18213 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18226 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18229 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18230 # ----------------------------------------
18231 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18232 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18233 # script with STATUS, using 1 if that was 0.
18236 as_status
=$1; test $as_status -eq 0 && as_status
=1
18238 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18239 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18241 $as_echo "$as_me: error: $2" >&2
18242 as_fn_exit
$as_status
18246 # as_fn_set_status STATUS
18247 # -----------------------
18248 # Set $? to STATUS, without forking.
18249 as_fn_set_status
()
18252 } # as_fn_set_status
18254 # as_fn_exit STATUS
18255 # -----------------
18256 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18260 as_fn_set_status
$1
18266 # Portably unset VAR.
18269 { eval $1=; unset $1;}
18271 as_unset
=as_fn_unset
18272 # as_fn_append VAR VALUE
18273 # ----------------------
18274 # Append the text in VALUE to the end of the definition contained in VAR. Take
18275 # advantage of any shell optimizations that allow amortized linear growth over
18276 # repeated appends, instead of the typical quadratic growth present in naive
18278 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18279 eval 'as_fn_append ()
18290 # as_fn_arith ARG...
18291 # ------------------
18292 # Perform arithmetic evaluation on the ARGs, and store the result in the
18293 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18294 # must be portable across $(()) and expr.
18295 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18296 eval 'as_fn_arith ()
18303 as_val
=`expr "$@" || test $? -eq 1`
18308 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18309 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18315 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18316 as_basename
=basename
18321 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18327 as_me
=`$as_basename -- "$0" ||
18328 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18329 X"$0" : 'X\(//\)$' \| \
18330 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18332 sed '/^.*\/\([^/][^/]*\)\/*$/{
18346 # Avoid depending upon Character Ranges.
18347 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18348 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18349 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18350 as_cr_digits
='0123456789'
18351 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18353 ECHO_C
= ECHO_N
= ECHO_T
=
18354 case `echo -n x` in #(((((
18356 case `echo 'xy\c'` in
18357 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18359 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18366 rm -f conf$$ conf$$.exe conf$$.
file
18367 if test -d conf$$.dir
; then
18368 rm -f conf$$.dir
/conf$$.
file
18371 mkdir conf$$.dir
2>/dev
/null
18373 if (echo >conf$$.
file) 2>/dev
/null
; then
18374 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18376 # ... but there are two gotchas:
18377 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18378 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18379 # In both cases, we have to default to `cp -pR'.
18380 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18382 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18390 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18391 rmdir conf$$.dir
2>/dev
/null
18396 # Create "$as_dir" as a directory, including parents if necessary.
18401 -*) as_dir
=.
/$as_dir;;
18403 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18407 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18408 *) as_qdir
=$as_dir;;
18410 as_dirs
="'$as_qdir' $as_dirs"
18411 as_dir
=`$as_dirname -- "$as_dir" ||
18412 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18413 X"$as_dir" : 'X\(//\)[^/]' \| \
18414 X"$as_dir" : 'X\(//\)$' \| \
18415 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18416 $as_echo X"$as_dir" |
18417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18421 /^X\(\/\/\)[^/].*/{
18434 test -d "$as_dir" && break
18436 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18437 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18441 if mkdir
-p .
2>/dev
/null
; then
18442 as_mkdir_p
='mkdir -p "$as_dir"'
18444 test -d .
/-p && rmdir .
/-p
18449 # as_fn_executable_p FILE
18450 # -----------------------
18451 # Test if FILE is an executable regular file.
18452 as_fn_executable_p
()
18454 test -f "$1" && test -x "$1"
18455 } # as_fn_executable_p
18456 as_test_x
='test -x'
18457 as_executable_p
=as_fn_executable_p
18459 # Sed expression to map a string onto a valid CPP name.
18460 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18462 # Sed expression to map a string onto a valid variable name.
18463 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18467 ## ----------------------------------- ##
18468 ## Main body of $CONFIG_STATUS script. ##
18469 ## ----------------------------------- ##
18471 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18474 # Save the log message, to keep $0 and so on meaningful, and to
18475 # report actual input values of CONFIG_FILES etc. instead of their
18476 # values after options handling.
18478 This file was extended by Wine $as_me 1.7.38, which was
18479 generated by GNU Autoconf 2.69. Invocation command line was
18481 CONFIG_FILES = $CONFIG_FILES
18482 CONFIG_HEADERS = $CONFIG_HEADERS
18483 CONFIG_LINKS = $CONFIG_LINKS
18484 CONFIG_COMMANDS = $CONFIG_COMMANDS
18487 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18492 case $ac_config_files in *"
18493 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18496 case $ac_config_headers in *"
18497 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18502 # Files that config.status was made for.
18503 config_files="$ac_config_files"
18504 config_headers="$ac_config_headers"
18505 config_links="$ac_config_links"
18506 config_commands="$ac_config_commands"
18510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18512 \`$as_me' instantiates files and other configuration actions
18513 from templates according to the current configuration. Unless the files
18514 and actions are specified as TAGs, all are instantiated by default.
18516 Usage: $0 [OPTION]... [TAG]...
18518 -h, --help print this help, then exit
18519 -V, --version print version number and configuration settings, then exit
18520 --config print configuration, then exit
18521 -q, --quiet, --silent
18522 do not print progress messages
18523 -d, --debug don't remove temporary files
18524 --recheck update $as_me by reconfiguring in the same conditions
18525 --file=FILE[:TEMPLATE]
18526 instantiate the configuration file FILE
18527 --header=FILE[:TEMPLATE]
18528 instantiate the configuration header FILE
18530 Configuration files:
18533 Configuration headers:
18536 Configuration links:
18539 Configuration commands:
18542 Report bugs to <wine-devel@winehq.org>.
18543 Wine home page: <http://www.winehq.org>."
18546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18547 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18549 Wine config.status 1.7.38
18550 configured by $0, generated by GNU Autoconf 2.69,
18551 with options \\"\$ac_cs_config\\"
18553 Copyright (C) 2012 Free Software Foundation, Inc.
18554 This config.status script is free software; the Free Software Foundation
18555 gives unlimited permission to copy, distribute and modify it."
18559 test -n "\$AWK" || AWK=awk
18562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18563 # The default lists apply if the user does not specify any file.
18569 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18570 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18574 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18586 # Handling of the options.
18587 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18589 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18590 $as_echo "$ac_cs_version"; exit ;;
18591 --config |
--confi |
--conf |
--con |
--co |
--c )
18592 $as_echo "$ac_cs_config"; exit ;;
18593 --debug |
--debu |
--deb |
--de |
--d |
-d )
18595 --file |
--fil |
--fi |
--f )
18598 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18599 '') as_fn_error $?
"missing file argument" ;;
18601 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18602 ac_need_defaults
=false
;;
18603 --header |
--heade |
--head |
--hea )
18606 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18608 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18609 ac_need_defaults
=false
;;
18611 # Conflict between --help and --header
18612 as_fn_error $?
"ambiguous option: \`$1'
18613 Try \`$0 --help' for more information.";;
18614 --help |
--hel |
-h )
18615 $as_echo "$ac_cs_usage"; exit ;;
18616 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18617 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18620 # This is an error.
18621 -*) as_fn_error $?
"unrecognized option: \`$1'
18622 Try \`$0 --help' for more information." ;;
18624 *) as_fn_append ac_config_targets
" $1"
18625 ac_need_defaults
=false
;;
18631 ac_configure_extra_args
=
18633 if $ac_cs_silent; then
18635 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18640 if \$ac_cs_recheck; then
18641 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18643 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18644 CONFIG_SHELL='$SHELL'
18645 export CONFIG_SHELL
18650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18654 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18655 ## Running $as_me. ##
18661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18665 wine_fn_output_makedep ()
18667 as_dir=tools; as_fn_mkdir_p
18668 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18670 wine_fn_output_makefile ()
18672 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18673 `cat $wine_rules_file`
18675 as_fn_error $? "could not create Makefile" "$LINENO" 5
18677 wine_fn_output_gitignore ()
18679 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18682 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18689 # Handling of arguments.
18690 for ac_config_target
in $ac_config_targets
18692 case $ac_config_target in
18693 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18694 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18695 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18696 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18697 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18698 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18699 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18700 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18701 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18702 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18703 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18704 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18705 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18706 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18708 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18713 # If the user did not use the arguments to specify the items to instantiate,
18714 # then the envvar interface is used. Set only those that are not.
18715 # We use the long form for the default assignment because of an extremely
18716 # bizarre bug on SunOS 4.1.3.
18717 if $ac_need_defaults; then
18718 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18719 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18720 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18721 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18724 # Have a temporary directory for convenience. Make it in the build tree
18725 # simply because there is no reason against having it here, and in addition,
18726 # creating and moving files from /tmp can sometimes cause problems.
18727 # Hook for its removal unless debugging.
18728 # Note that there is a small window in which the directory will not be cleaned:
18729 # after its creation but before its name has been assigned to `$tmp'.
18733 trap 'exit_status=$?
18734 : "${ac_tmp:=$tmp}"
18735 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18737 trap 'as_fn_exit 1' 1 2 13 15
18739 # Create a (secure) tmp directory for tmp files.
18742 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18746 tmp
=.
/conf$$
-$RANDOM
18747 (umask 077 && mkdir
"$tmp")
18748 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18751 # Set up the scripts for CONFIG_FILES section.
18752 # No need to generate them if there are no CONFIG_FILES.
18753 # This happens for instance with `./config.status config.h'.
18754 if test -n "$CONFIG_FILES"; then
18757 ac_cr
=`echo X | tr X '\015'`
18758 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18759 # But we know of no other shell where ac_cr would be empty at this
18760 # point, so we can use a bashism as a fallback.
18761 if test "x$ac_cr" = x
; then
18762 eval ac_cr
=\$
\'\\r
\'
18764 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18765 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18768 ac_cs_awk_cr
=$ac_cr
18771 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18776 echo "cat >conf$$subs.awk <<_ACEOF" &&
18777 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18779 } >conf$$subs.sh ||
18780 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18781 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18783 for ac_last_try in false false false false false :; do
18784 . ./conf$$subs.sh ||
18785 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18787 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18788 if test $ac_delim_n = $ac_delim_num; then
18790 elif $ac_last_try; then
18791 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18793 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18796 rm -f conf$$subs.sh
18798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18799 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18803 s/^/S["/; s
/!.
*/"]=/
18813 s/\(.\{148\}\)..*/\1/
18815 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18820 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18827 s/\(.\{148\}\)..*/\1/
18829 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18833 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18838 ' <conf$$subs.awk | sed '
18843 ' >>$CONFIG_STATUS || ac_write_fail=1
18844 rm -f conf$$subs.awk
18845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18847 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18848 for (key in S) S_is_set[key] = 1
18854 nfields = split(line, field, "@
")
18856 len = length(field[1])
18857 for (i = 2; i < nfields; i++) {
18859 keylen = length(key)
18860 if (S_is_set[key]) {
18862 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18863 len += length(value) + length(field[++i])
18874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18875 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18876 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18879 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18880 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18883 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18884 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18885 # trailing colons and then remove the whole line if VPATH becomes empty
18886 # (actually we leave an empty line to preserve line numbers).
18887 if test "x
$srcdir" = x.; then
18888 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18907 fi # test -n "$CONFIG_FILES"
18909 # Set up the scripts for CONFIG_HEADERS section.
18910 # No need to generate them if there are no CONFIG_HEADERS.
18911 # This happens for instance with `./config.status Makefile'.
18912 if test -n "$CONFIG_HEADERS"; then
18913 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18917 # Transform confdefs.h into an awk script `defines.awk', embedded as
18918 # here-document in config.status, that substitutes the proper values into
18919 # config.h.in to produce config.h.
18921 # Create a delimiter string that does not exist in confdefs.h, to ease
18922 # handling of long lines.
18924 for ac_last_try in false false :; do
18925 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18926 if test -z "$ac_tt"; then
18928 elif $ac_last_try; then
18929 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18931 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18935 # For the awk script, D is an array of macro values keyed by name,
18936 # likewise P contains macro parameters if any. Preserve backslash
18937 # newline sequences.
18939 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18941 s/.\{148\}/&'"$ac_delim"'/g
18944 s/^[ ]*#[ ]*define[ ][ ]*/ /
18951 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18953 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18957 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18958 D["\
1"]=" \
3\\\\\\n
"\\/p
18960 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18965 s/.\{148\}/&'"$ac_delim"'/g
18970 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18973 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18975 ' <confdefs.h | sed '
18976 s/'"$ac_delim"'/"\\\
18977 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18980 for (key in D) D_is_set[key] = 1
18983 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18985 split(line, arg, " ")
18986 if (arg[1] == "#") {
18990 defundef
= substr
(arg
[1], 2)
18993 split(mac1
, mac2
, "(") #)
18995 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18996 if (D_is_set
[macro
]) {
18997 # Preserve the white space surrounding the "#".
18998 print prefix
"define", macro P
[macro
] D
[macro
]
19001 # Replace #undef with comments. This is necessary, for example,
19002 # in the case of _POSIX_SOURCE, which is predefined and required
19003 # on some systems where configure will not decide to define it.
19004 if (defundef
== "undef") {
19005 print
"/*", prefix defundef
, macro
, "*/"
19013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19014 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19015 fi # test -n "$CONFIG_HEADERS"
19018 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19023 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19025 case $ac_mode$ac_tag in
19027 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19028 :[FH
]-) ac_tag
=-:-;;
19029 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19046 -) ac_f
="$ac_tmp/stdin";;
19047 *) # Look for the file first in the build tree, then in the source tree
19048 # (if the path is not absolute). The absolute path cannot be DOS-style,
19049 # because $ac_f cannot contain `:'.
19053 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19055 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19057 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19058 as_fn_append ac_file_inputs
" '$ac_f'"
19061 # Let's still pretend it is `configure' which instantiates (i.e., don't
19062 # use $as_me), people would be surprised to read:
19063 # /* config.h. Generated by config.status. */
19064 configure_input
='Generated from '`
19065 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19067 if test x
"$ac_file" != x-
; then
19068 configure_input
="$ac_file. $configure_input"
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19070 $as_echo "$as_me: creating $ac_file" >&6;}
19072 # Neutralize special characters interpreted by sed in replacement strings.
19073 case $configure_input in #(
19074 *\
&* |
*\|
* |
*\\* )
19075 ac_sed_conf_input
=`$as_echo "$configure_input" |
19076 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19077 *) ac_sed_conf_input
=$configure_input;;
19081 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19082 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19087 ac_dir
=`$as_dirname -- "$ac_file" ||
19088 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19089 X"$ac_file" : 'X\(//\)[^/]' \| \
19090 X"$ac_file" : 'X\(//\)$' \| \
19091 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19092 $as_echo X"$ac_file" |
19093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19097 /^X\(\/\/\)[^/].*/{
19110 as_dir
="$ac_dir"; as_fn_mkdir_p
19114 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19116 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19117 # A ".." for each directory in $ac_dir_suffix.
19118 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19119 case $ac_top_builddir_sub in
19120 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19121 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19124 ac_abs_top_builddir
=$ac_pwd
19125 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19126 # for backward compatibility:
19127 ac_top_builddir
=$ac_top_build_prefix
19130 .
) # We are building in place.
19132 ac_top_srcdir
=$ac_top_builddir_sub
19133 ac_abs_top_srcdir
=$ac_pwd ;;
19134 [\\/]* | ?
:[\\/]* ) # Absolute name.
19135 ac_srcdir
=$srcdir$ac_dir_suffix;
19136 ac_top_srcdir
=$srcdir
19137 ac_abs_top_srcdir
=$srcdir ;;
19138 *) # Relative name.
19139 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19140 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19141 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19143 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19155 # If the template does not know about datarootdir, expand it.
19156 # FIXME: This hack should be removed a few years after 2.60.
19157 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19168 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19169 *datarootdir
*) ac_datarootdir_seen
=yes;;
19170 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19172 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19175 ac_datarootdir_hack='
19176 s&@datadir@&$datadir&g
19177 s&@docdir@&$docdir&g
19178 s&@infodir@&$infodir&g
19179 s&@localedir@&$localedir&g
19180 s&@mandir@&$mandir&g
19181 s&\\\${datarootdir}&$datarootdir&g' ;;
19185 # Neutralize VPATH when `$srcdir' = `.'.
19186 # Shell code in configure.ac might set extrasub.
19187 # FIXME: do we really want to maintain this feature?
19188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19189 ac_sed_extra="$ac_vpsub
19192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19194 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19195 s|@configure_input@|
$ac_sed_conf_input|
;t t
19196 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19197 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19198 s
&@srcdir@
&$ac_srcdir&;t t
19199 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19200 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19201 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19202 s
&@builddir@
&$ac_builddir&;t t
19203 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19204 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19205 $ac_datarootdir_hack
19207 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19208 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19210 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19211 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19212 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19213 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19215 which seems to be undefined. Please make sure it is defined" >&5
19216 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19217 which seems to be undefined. Please make sure it is defined" >&2;}
19219 rm -f "$ac_tmp/stdin"
19221 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19222 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19224 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19230 if test x"$ac_file" != x-; then
19232 $as_echo "/* $configure_input */" \
19233 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19234 } >"$ac_tmp/config.h" \
19235 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19236 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19237 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19238 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19241 mv "$ac_tmp/config.h" "$ac_file" \
19242 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19245 $as_echo "/* $configure_input */" \
19246 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19247 || as_fn_error $? "could not create -" "$LINENO" 5
19255 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19258 # Prefer the file from the source tree if names are identical.
19259 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19260 ac_source=$srcdir/$ac_source
19263 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19264 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19266 if test ! -r "$ac_source"; then
19267 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19271 # Try a relative symlink, then a hard link, then a copy.
19273 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19274 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19276 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19277 ln "$ac_source" "$ac_file" 2>/dev/null ||
19278 cp -p "$ac_source" "$ac_file" ||
19279 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19282 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19283 $as_echo "$as_me: executing $ac_file commands" >&6;}
19288 case $ac_file$ac_mode in
19289 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19290 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19291 "Makefile":C) wine_fn_output_makefile Makefile ;;
19292 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19300 ac_clean_files=$ac_clean_files_save
19302 test $ac_write_fail = 0 ||
19303 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19306 # configure is writing to config.log, and then calls config.status.
19307 # config.status does its own redirection, appending to config.log.
19308 # Unfortunately, on DOS this fails, as config.log is still kept open
19309 # by configure, so config.status won't be able to
write to it
; its
19310 # output is simply discarded. So we exec the FD to /dev/null,
19311 # effectively closing config.log, so it can be properly (re)opened and
19312 # appended to by config.status. When coming back to configure, we
19313 # need to make the FD available again.
19314 if test "$no_create" != yes; then
19316 ac_config_status_args
=
19317 test "$silent" = yes &&
19318 ac_config_status_args
="$ac_config_status_args --quiet"
19320 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19322 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19323 # would make configure fail if this is the last instruction.
19324 $ac_cs_success || as_fn_exit
1
19326 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19328 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19332 if test "$no_create" = "yes"
19338 if test "x$wine_notices != "x
; then
19341 for msg
in $wine_notices; do
19343 if ${msg:+false} :; then :
19346 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19347 $as_echo "$as_me: $msg" >&6;}
19352 for msg
in $wine_warnings; do
19354 if ${msg:+false} :; then :
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19359 $as_echo "$as_me: WARNING: $msg" >&2;}
19365 $as_me: Finished. Do '${ac_make}' to compile Wine.