2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.2.
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.2'
584 PACKAGE_STRING
='Wine 1.7.2'
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
703 APPLICATIONSERVICESLIB
794 program_transform_name
805 ac_subst_files
='MAKE_RULES
811 enable_option_checking
815 enable_maintainer_mode
864 ac_precious_vars
='build_alias
911 # Initialize some variables set by options.
913 ac_init_version
=false
914 ac_unrecognized_opts
=
916 # The variables have the same names as the options, with
917 # dashes changed to underlines.
925 program_transform_name
=s
,x
,x
,
933 # Installation directory options.
934 # These are left unexpanded so users can "make install exec_prefix=/foo"
935 # and all the variables that are supposed to be based on exec_prefix
936 # by default will actually change.
937 # Use braces instead of parens because sh, perl, etc. also accept them.
938 # (The list follows the same order as the GNU Coding Standards.)
939 bindir
='${exec_prefix}/bin'
940 sbindir
='${exec_prefix}/sbin'
941 libexecdir
='${exec_prefix}/libexec'
942 datarootdir
='${prefix}/share'
943 datadir
='${datarootdir}'
944 sysconfdir
='${prefix}/etc'
945 sharedstatedir
='${prefix}/com'
946 localstatedir
='${prefix}/var'
947 includedir
='${prefix}/include'
948 oldincludedir
='/usr/include'
949 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
950 infodir
='${datarootdir}/info'
955 libdir
='${exec_prefix}/lib'
956 localedir
='${datarootdir}/locale'
957 mandir
='${datarootdir}/man'
963 # If the previous option needs an argument, assign it.
964 if test -n "$ac_prev"; then
965 eval $ac_prev=\
$ac_option
971 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
976 # Accept the important Cygnus configure options, so we can diagnose typos.
978 case $ac_dashdash$ac_option in
982 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
984 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
987 -build |
--build |
--buil |
--bui |
--bu)
988 ac_prev
=build_alias
;;
989 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
990 build_alias
=$ac_optarg ;;
992 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
993 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
994 ac_prev
=cache_file
;;
995 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
996 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
997 cache_file
=$ac_optarg ;;
1000 cache_file
=config.cache
;;
1002 -datadir |
--datadir |
--datadi |
--datad)
1004 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1005 datadir
=$ac_optarg ;;
1007 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1008 |
--dataroo |
--dataro |
--datar)
1009 ac_prev
=datarootdir
;;
1010 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1011 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1012 datarootdir
=$ac_optarg ;;
1014 -disable-* |
--disable-*)
1015 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1018 as_fn_error $?
"invalid feature name: $ac_useropt"
1019 ac_useropt_orig
=$ac_useropt
1020 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1023 "enable_
$ac_useropt"
1025 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1026 ac_unrecognized_sep
=', ';;
1028 eval enable_
$ac_useropt=no
;;
1030 -docdir |
--docdir |
--docdi |
--doc |
--do)
1032 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1033 docdir
=$ac_optarg ;;
1035 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1037 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1038 dvidir
=$ac_optarg ;;
1040 -enable-* |
--enable-*)
1041 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1044 as_fn_error $?
"invalid feature name: $ac_useropt"
1045 ac_useropt_orig
=$ac_useropt
1046 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047 case $ac_user_opts in
1049 "enable_
$ac_useropt"
1051 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1052 ac_unrecognized_sep
=', ';;
1054 eval enable_
$ac_useropt=\
$ac_optarg ;;
1056 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1057 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1058 |
--exec |
--exe |
--ex)
1059 ac_prev
=exec_prefix
;;
1060 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1061 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1062 |
--exec=* |
--exe=* |
--ex=*)
1063 exec_prefix
=$ac_optarg ;;
1065 -gas |
--gas |
--ga |
--g)
1066 # Obsolete; use --with-gas.
1069 -help |
--help |
--hel |
--he |
-h)
1070 ac_init_help
=long
;;
1071 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1072 ac_init_help
=recursive
;;
1073 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1074 ac_init_help
=short
;;
1076 -host |
--host |
--hos |
--ho)
1077 ac_prev
=host_alias
;;
1078 -host=* |
--host=* |
--hos=* |
--ho=*)
1079 host_alias
=$ac_optarg ;;
1081 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1083 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1085 htmldir
=$ac_optarg ;;
1087 -includedir |
--includedir |
--includedi |
--included |
--include \
1088 |
--includ |
--inclu |
--incl |
--inc)
1089 ac_prev
=includedir
;;
1090 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1091 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1092 includedir
=$ac_optarg ;;
1094 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1096 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1097 infodir
=$ac_optarg ;;
1099 -libdir |
--libdir |
--libdi |
--libd)
1101 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1102 libdir
=$ac_optarg ;;
1104 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1105 |
--libexe |
--libex |
--libe)
1106 ac_prev
=libexecdir
;;
1107 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1108 |
--libexe=* |
--libex=* |
--libe=*)
1109 libexecdir
=$ac_optarg ;;
1111 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1112 ac_prev
=localedir
;;
1113 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1114 localedir
=$ac_optarg ;;
1116 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1117 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1118 ac_prev
=localstatedir
;;
1119 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1120 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1121 localstatedir
=$ac_optarg ;;
1123 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1125 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1126 mandir
=$ac_optarg ;;
1128 -nfp |
--nfp |
--nf)
1129 # Obsolete; use --without-fp.
1132 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1133 |
--no-cr |
--no-c |
-n)
1136 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1137 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1140 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1141 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1142 |
--oldin |
--oldi |
--old |
--ol |
--o)
1143 ac_prev
=oldincludedir
;;
1144 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1145 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1146 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1147 oldincludedir
=$ac_optarg ;;
1149 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1151 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1152 prefix
=$ac_optarg ;;
1154 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1155 |
--program-pre |
--program-pr |
--program-p)
1156 ac_prev
=program_prefix
;;
1157 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1158 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1159 program_prefix
=$ac_optarg ;;
1161 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1162 |
--program-suf |
--program-su |
--program-s)
1163 ac_prev
=program_suffix
;;
1164 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1165 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1166 program_suffix
=$ac_optarg ;;
1168 -program-transform-name |
--program-transform-name \
1169 |
--program-transform-nam |
--program-transform-na \
1170 |
--program-transform-n |
--program-transform- \
1171 |
--program-transform |
--program-transfor \
1172 |
--program-transfo |
--program-transf \
1173 |
--program-trans |
--program-tran \
1174 |
--progr-tra |
--program-tr |
--program-t)
1175 ac_prev
=program_transform_name
;;
1176 -program-transform-name=* |
--program-transform-name=* \
1177 |
--program-transform-nam=* |
--program-transform-na=* \
1178 |
--program-transform-n=* |
--program-transform-=* \
1179 |
--program-transform=* |
--program-transfor=* \
1180 |
--program-transfo=* |
--program-transf=* \
1181 |
--program-trans=* |
--program-tran=* \
1182 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1183 program_transform_name
=$ac_optarg ;;
1185 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1187 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1188 pdfdir
=$ac_optarg ;;
1190 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1192 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1195 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1196 |
-silent |
--silent |
--silen |
--sile |
--sil)
1199 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1201 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1203 sbindir
=$ac_optarg ;;
1205 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1206 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1207 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1209 ac_prev
=sharedstatedir
;;
1210 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1211 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1212 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1214 sharedstatedir
=$ac_optarg ;;
1216 -site |
--site |
--sit)
1218 -site=* |
--site=* |
--sit=*)
1221 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1223 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1224 srcdir
=$ac_optarg ;;
1226 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1227 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1228 ac_prev
=sysconfdir
;;
1229 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1230 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1231 sysconfdir
=$ac_optarg ;;
1233 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1234 ac_prev
=target_alias
;;
1235 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1236 target_alias
=$ac_optarg ;;
1238 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1241 -version |
--version |
--versio |
--versi |
--vers |
-V)
1242 ac_init_version
=: ;;
1245 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1246 # Reject names that are not valid shell variable names.
1247 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1248 as_fn_error $?
"invalid package name: $ac_useropt"
1249 ac_useropt_orig
=$ac_useropt
1250 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1251 case $ac_user_opts in
1255 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1256 ac_unrecognized_sep
=', ';;
1258 eval with_
$ac_useropt=\
$ac_optarg ;;
1260 -without-* |
--without-*)
1261 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1262 # Reject names that are not valid shell variable names.
1263 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1264 as_fn_error $?
"invalid package name: $ac_useropt"
1265 ac_useropt_orig
=$ac_useropt
1266 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1267 case $ac_user_opts in
1271 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1272 ac_unrecognized_sep
=', ';;
1274 eval with_
$ac_useropt=no
;;
1277 # Obsolete; use --with-x.
1280 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1281 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1282 ac_prev
=x_includes
;;
1283 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1284 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1285 x_includes
=$ac_optarg ;;
1287 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1288 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1289 ac_prev
=x_libraries
;;
1290 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1291 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1292 x_libraries
=$ac_optarg ;;
1294 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1295 Try \`$0 --help' for more information"
1299 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1300 # Reject names that are not valid shell variable names.
1301 case $ac_envvar in #(
1302 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1303 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1305 eval $ac_envvar=\
$ac_optarg
1306 export $ac_envvar ;;
1309 # FIXME: should be removed in autoconf 3.0.
1310 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1311 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1312 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1313 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1319 if test -n "$ac_prev"; then
1320 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1321 as_fn_error $?
"missing argument to $ac_option"
1324 if test -n "$ac_unrecognized_opts"; then
1325 case $enable_option_checking in
1327 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1328 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1332 # Check all directory arguments for consistency.
1333 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1334 datadir sysconfdir sharedstatedir localstatedir includedir \
1335 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1336 libdir localedir mandir
1338 eval ac_val
=\$
$ac_var
1339 # Remove trailing slashes.
1342 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1343 eval $ac_var=\
$ac_val;;
1345 # Be sure to have absolute directory names.
1347 [\\/$
]* | ?
:[\\/]* ) continue;;
1348 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1350 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1353 # There might be people who depend on the old broken behavior: `$host'
1354 # used to hold the argument of --host etc.
1355 # FIXME: To remove some day.
1358 target
=$target_alias
1360 # FIXME: To remove some day.
1361 if test "x$host_alias" != x
; then
1362 if test "x$build_alias" = x
; then
1363 cross_compiling
=maybe
1364 elif test "x$build_alias" != "x$host_alias"; then
1370 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1372 test "$silent" = yes && exec 6>/dev
/null
1375 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1376 ac_ls_di
=`ls -di .` &&
1377 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1378 as_fn_error $?
"working directory cannot be determined"
1379 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1380 as_fn_error $?
"pwd does not report name of working directory"
1383 # Find the source files, if location was not specified.
1384 if test -z "$srcdir"; then
1385 ac_srcdir_defaulted
=yes
1386 # Try the directory containing this script, then the parent directory.
1387 ac_confdir
=`$as_dirname -- "$as_myself" ||
1388 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1389 X"$as_myself" : 'X\(//\)[^/]' \| \
1390 X"$as_myself" : 'X\(//\)$' \| \
1391 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1392 $as_echo X"$as_myself" |
1393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1411 if test ! -r "$srcdir/$ac_unique_file"; then
1415 ac_srcdir_defaulted
=no
1417 if test ! -r "$srcdir/$ac_unique_file"; then
1418 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1419 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1421 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1423 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1425 # When building in place, set srcdir=.
1426 if test "$ac_abs_confdir" = "$ac_pwd"; then
1429 # Remove unnecessary trailing slashes from srcdir.
1430 # Double slashes in file names in object file debugging info
1431 # mess up M-x gdb in Emacs.
1433 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1435 for ac_var
in $ac_precious_vars; do
1436 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1437 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1438 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1439 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1443 # Report the --help message.
1445 if test "$ac_init_help" = "long"; then
1446 # Omit some internal or obsolete options to make the list less imposing.
1447 # This message is too long to be a string in the A/UX 3.1 sh.
1449 \`configure' configures Wine 1.7.2 to adapt to many kinds of systems.
1451 Usage: $0 [OPTION]... [VAR=VALUE]...
1453 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1454 VAR=VALUE. See below for descriptions of some of the useful variables.
1456 Defaults for the options are specified in brackets.
1459 -h, --help display this help and exit
1460 --help=short display options specific to this package
1461 --help=recursive display the short help of all the included packages
1462 -V, --version display version information and exit
1463 -q, --quiet, --silent do not print \`checking ...' messages
1464 --cache-file=FILE cache test results in FILE [disabled]
1465 -C, --config-cache alias for \`--cache-file=config.cache'
1466 -n, --no-create do not create output files
1467 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1469 Installation directories:
1470 --prefix=PREFIX install architecture-independent files in PREFIX
1471 [$ac_default_prefix]
1472 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1475 By default, \`make install' will install all the files in
1476 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1477 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1478 for instance \`--prefix=\$HOME'.
1480 For better control, use the options below.
1482 Fine tuning of the installation directories:
1483 --bindir=DIR user executables [EPREFIX/bin]
1484 --sbindir=DIR system admin executables [EPREFIX/sbin]
1485 --libexecdir=DIR program executables [EPREFIX/libexec]
1486 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1487 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1488 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1489 --libdir=DIR object code libraries [EPREFIX/lib]
1490 --includedir=DIR C header files [PREFIX/include]
1491 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1492 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1493 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1494 --infodir=DIR info documentation [DATAROOTDIR/info]
1495 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1496 --mandir=DIR man documentation [DATAROOTDIR/man]
1497 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1498 --htmldir=DIR html documentation [DOCDIR]
1499 --dvidir=DIR dvi documentation [DOCDIR]
1500 --pdfdir=DIR pdf documentation [DOCDIR]
1501 --psdir=DIR ps documentation [DOCDIR]
1507 --x-includes=DIR X include files are
in DIR
1508 --x-libraries=DIR X library files are
in DIR
1511 --build=BUILD configure
for building on BUILD
[guessed
]
1512 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1516 if test -n "$ac_init_help"; then
1517 case $ac_init_help in
1518 short | recursive
) echo "Configuration of Wine 1.7.2:";;
1523 --disable-option-checking ignore unrecognized
--enable/--with options
1524 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1525 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1526 --disable-win16 do not include Win16 support
1527 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1529 --disable-tests do not build the regression tests
1530 --enable-maintainer-mode
1531 enable maintainer-specific build rules
1532 --disable-largefile omit support for large files
1535 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1536 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1537 --without-alsa do not use the Alsa sound support
1538 --without-capi do not use CAPI (ISDN support)
1539 --without-cms do not use CMS (color management support)
1540 --without-coreaudio do not use the CoreAudio sound support
1541 --without-cups do not use CUPS
1542 --without-curses do not use (n)curses
1543 --without-dbus do not use DBus (dynamic device support)
1544 --without-fontconfig do not use fontconfig
1545 --without-freetype do not use the FreeType library
1546 --without-gettext do not use gettext
1547 --with-gettextpo use the GetTextPO library to rebuild po files
1548 --without-gphoto do not use gphoto (Digital Camera support)
1549 --without-glu do not use the GLU library
1550 --without-gnutls do not use GnuTLS (schannel support)
1551 --without-gsm do not use libgsm (GSM 06.10 codec support)
1552 --without-gstreamer do not use GStreamer (codecs support)
1553 --without-hal do not use HAL (dynamic device support)
1554 --without-jpeg do not use JPEG
1555 --without-ldap do not use LDAP
1556 --without-mpg123 do not use the mpg123 library
1557 --without-openal do not use OpenAL
1558 --without-opencl do not use OpenCL
1559 --without-opengl do not use OpenGL
1560 --without-osmesa do not use the OSMesa library
1561 --without-oss do not use the OSS sound support
1562 --without-png do not use PNG
1563 --without-pthread do not use the pthread library
1564 --without-sane do not use SANE (scanner support)
1565 --without-tiff do not use TIFF
1566 --without-v4l do not use v4l1 (v4l support)
1567 --without-xcomposite do not use the Xcomposite extension
1568 --without-xcursor do not use the Xcursor extension
1569 --without-xinerama do not use Xinerama (multi-monitor support)
1570 --without-xinput do not use the Xinput extension
1571 --without-xinput2 do not use the Xinput 2 extension
1572 --without-xml do not use XML
1573 --without-xrandr do not use Xrandr (resolution changes)
1574 --without-xrender do not use the Xrender extension
1575 --without-xshape do not use the Xshape extension
1576 --without-xshm do not use XShm (shared memory extension)
1577 --without-xslt do not use XSLT
1578 --without-xxf86vm do not use XFree video mode extension
1579 --without-zlib do not use Zlib (data compression)
1580 --with-wine-tools=DIR use Wine tools from directory DIR
1581 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1582 --with-x use the X Window System
1584 Some influential environment variables:
1585 CC C compiler command
1586 CFLAGS C compiler flags
1587 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1588 nonstandard directory <lib dir>
1589 LIBS libraries to pass to the linker, e.g. -l<library>
1590 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1591 you have headers in a nonstandard directory <include dir>
1592 CXX C++ compiler command
1593 CXXFLAGS C++ compiler flags
1595 XMKMF Path to xmkmf, Makefile generator for X Window System
1596 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
1597 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
1598 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
1599 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
1600 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
1601 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
1602 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
1603 HAL_LIBS Linker flags for hal, overriding pkg-config
1605 C compiler flags for gnutls, overriding pkg-config
1606 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
1607 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
1608 SANE_LIBS Linker flags for libsane, overriding pkg-config
1610 C compiler flags for libgphoto2, overriding pkg-config
1612 Linker flags for libgphoto2, overriding pkg-config
1614 C compiler flags for libgphoto2_port, overriding pkg-config
1616 Linker flags for libgphoto2_port, overriding pkg-config
1618 C compiler flags for lcms2, overriding pkg-config
1619 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
1621 C compiler flags for freetype2, overriding pkg-config
1623 Linker flags for freetype2, overriding pkg-config
1625 C compiler flags for gstreamer-app-0.10, overriding pkg-config
1627 Linker flags for gstreamer-app-0.10, overriding pkg-config
1629 C compiler flags for capi20, overriding pkg-config
1630 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
1631 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
1632 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
1633 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
1634 PNG_LIBS Linker flags for libpng, overriding pkg-config
1635 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
1636 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
1638 C compiler flags for libmpg123, overriding pkg-config
1639 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
1641 Use these variables to override the choices made by `configure' or to
help
1642 it to
find libraries and programs with nonstandard names
/locations.
1644 Report bugs to
<wine-devel@winehq.org
>.
1645 Wine home page
: <http
://www.winehq.org
>.
1650 if test "$ac_init_help" = "recursive"; then
1651 # If there are subdirs, report their specific --help.
1652 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1653 test -d "$ac_dir" ||
1654 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1659 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1661 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1662 # A ".." for each directory in $ac_dir_suffix.
1663 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1664 case $ac_top_builddir_sub in
1665 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1666 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1669 ac_abs_top_builddir
=$ac_pwd
1670 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1671 # for backward compatibility:
1672 ac_top_builddir
=$ac_top_build_prefix
1675 .
) # We are building in place.
1677 ac_top_srcdir
=$ac_top_builddir_sub
1678 ac_abs_top_srcdir
=$ac_pwd ;;
1679 [\\/]* | ?
:[\\/]* ) # Absolute name.
1680 ac_srcdir
=$srcdir$ac_dir_suffix;
1681 ac_top_srcdir
=$srcdir
1682 ac_abs_top_srcdir
=$srcdir ;;
1684 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1685 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1686 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1688 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1690 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1691 # Check for guested configure.
1692 if test -f "$ac_srcdir/configure.gnu"; then
1694 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1695 elif test -f "$ac_srcdir/configure"; then
1697 $SHELL "$ac_srcdir/configure" --help=recursive
1699 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1701 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1705 test -n "$ac_init_help" && exit $ac_status
1706 if $ac_init_version; then
1708 Wine configure
1.7.2
1709 generated by GNU Autoconf
2.69
1711 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1712 This configure
script is free software
; the Free Software Foundation
1713 gives unlimited permission to copy
, distribute and modify it.
1718 ## ------------------------ ##
1719 ## Autoconf initialization. ##
1720 ## ------------------------ ##
1722 # ac_fn_c_try_compile LINENO
1723 # --------------------------
1724 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1725 ac_fn_c_try_compile
()
1727 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1728 rm -f conftest.
$ac_objext
1729 if { { ac_try
="$ac_compile"
1731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1732 *) ac_try_echo=$ac_try;;
1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_compile") 2>conftest.err
1738 if test -s conftest.err; then
1739 grep -v '^ *+' conftest.err >conftest.er1
1740 cat conftest.er1 >&5
1741 mv -f conftest.er1 conftest.err
1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744 test $ac_status = 0; } && {
1745 test -z "$ac_c_werror_flag" ||
1746 test ! -s conftest.err
1747 } && test -s conftest.$ac_objext; then :
1750 $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1755 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1756 as_fn_set_status $ac_retval
1758 } # ac_fn_c_try_compile
1760 # ac_fn_cxx_try_compile LINENO
1761 # ----------------------------
1762 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1763 ac_fn_cxx_try_compile ()
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 rm -f conftest.$ac_objext
1767 if { { ac_try="$ac_compile"
1769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1770 *) ac_try_echo
=$ac_try;;
1772 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1773 $as_echo "$ac_try_echo"; } >&5
1774 (eval "$ac_compile") 2>conftest.err
1776 if test -s conftest.err
; then
1777 grep -v '^ *+' conftest.err
>conftest.er1
1778 cat conftest.er1
>&5
1779 mv -f conftest.er1 conftest.err
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; } && {
1783 test -z "$ac_cxx_werror_flag" ||
1784 test ! -s conftest.err
1785 } && test -s conftest.
$ac_objext; then :
1788 $as_echo "$as_me: failed program was:" >&5
1789 sed 's/^/| /' conftest.
$ac_ext >&5
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794 as_fn_set_status
$ac_retval
1796 } # ac_fn_cxx_try_compile
1798 # ac_fn_c_try_link LINENO
1799 # -----------------------
1800 # Try to link conftest.$ac_ext, and return whether this succeeded.
1803 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1804 rm -f conftest.
$ac_objext conftest
$ac_exeext
1805 if { { ac_try
="$ac_link"
1807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1808 *) ac_try_echo=$ac_try;;
1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_link") 2>conftest.err
1814 if test -s conftest.err; then
1815 grep -v '^ *+' conftest.err >conftest.er1
1816 cat conftest.er1 >&5
1817 mv -f conftest.er1 conftest.err
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; } && {
1821 test -z "$ac_c_werror_flag" ||
1822 test ! -s conftest.err
1823 } && test -s conftest$ac_exeext && {
1824 test "$cross_compiling" = yes ||
1825 test -x conftest$ac_exeext
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.$ac_ext >&5
1834 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1835 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1836 # interfere with the next link command; also delete a directory that is
1837 # left behind by Apple's compiler. We do this before executing the actions.
1838 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840 as_fn_set_status $ac_retval
1842 } # ac_fn_c_try_link
1844 # ac_fn_c_try_cpp LINENO
1845 # ----------------------
1846 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 if { { ac_try="$ac_cpp conftest.$ac_ext"
1852 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1853 *) ac_try_echo
=$ac_try;;
1855 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1856 $as_echo "$ac_try_echo"; } >&5
1857 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1859 if test -s conftest.err
; then
1860 grep -v '^ *+' conftest.err
>conftest.er1
1861 cat conftest.er1
>&5
1862 mv -f conftest.er1 conftest.err
1864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1865 test $ac_status = 0; } > conftest.i
&& {
1866 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1867 test ! -s conftest.err
1871 $as_echo "$as_me: failed program was:" >&5
1872 sed 's/^/| /' conftest.
$ac_ext >&5
1876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877 as_fn_set_status
$ac_retval
1881 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1882 # -------------------------------------------------------
1883 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1884 # the include files in INCLUDES and setting the cache variable VAR
1886 ac_fn_c_check_header_mongrel
()
1888 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1889 if eval \
${$3+:} false
; then :
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1891 $as_echo_n "checking for $2... " >&6; }
1892 if eval \
${$3+:} false
; then :
1893 $as_echo_n "(cached) " >&6
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1897 $as_echo "$ac_res" >&6; }
1899 # Is the header compilable?
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1901 $as_echo_n "checking $2 usability... " >&6; }
1902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1903 /* end confdefs.h. */
1907 if ac_fn_c_try_compile
"$LINENO"; then :
1908 ac_header_compiler
=yes
1910 ac_header_compiler
=no
1912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1914 $as_echo "$ac_header_compiler" >&6; }
1916 # Is the header present?
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1918 $as_echo_n "checking $2 presence... " >&6; }
1919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1920 /* end confdefs.h. */
1923 if ac_fn_c_try_cpp
"$LINENO"; then :
1924 ac_header_preproc
=yes
1926 ac_header_preproc
=no
1928 rm -f conftest.err conftest.i conftest.
$ac_ext
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1930 $as_echo "$ac_header_preproc" >&6; }
1932 # So? What about this header?
1933 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1936 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1938 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1942 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1944 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1946 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1948 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1950 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1951 ( $as_echo "## ------------------------------------ ##
1952 ## Report this to wine-devel@winehq.org ##
1953 ## ------------------------------------ ##"
1954 ) |
sed "s/^/$as_me: WARNING: /" >&2
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1958 $as_echo_n "checking for $2... " >&6; }
1959 if eval \
${$3+:} false
; then :
1960 $as_echo_n "(cached) " >&6
1962 eval "$3=\$ac_header_compiler"
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1966 $as_echo "$ac_res" >&6; }
1968 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1970 } # ac_fn_c_check_header_mongrel
1972 # ac_fn_c_try_run LINENO
1973 # ----------------------
1974 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1975 # that executables *can* be run.
1978 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1979 if { { ac_try
="$ac_link"
1981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1982 *) ac_try_echo=$ac_try;;
1984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1985 $as_echo "$ac_try_echo"; } >&5
1986 (eval "$ac_link") 2>&5
1988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1989 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1990 { { case "(($ac_try" in
1991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1992 *) ac_try_echo
=$ac_try;;
1994 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1995 $as_echo "$ac_try_echo"; } >&5
1996 (eval "$ac_try") 2>&5
1998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1999 test $ac_status = 0; }; }; then :
2002 $as_echo "$as_me: program exited with status $ac_status" >&5
2003 $as_echo "$as_me: failed program was:" >&5
2004 sed 's/^/| /' conftest.
$ac_ext >&5
2006 ac_retval
=$ac_status
2008 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2009 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2010 as_fn_set_status
$ac_retval
2014 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2015 # -------------------------------------------------------
2016 # Tests whether HEADER exists and can be compiled using the include files in
2017 # INCLUDES, setting the cache variable VAR accordingly.
2018 ac_fn_c_check_header_compile
()
2020 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2022 $as_echo_n "checking for $2... " >&6; }
2023 if eval \
${$3+:} false
; then :
2024 $as_echo_n "(cached) " >&6
2026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2031 if ac_fn_c_try_compile
"$LINENO"; then :
2036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2040 $as_echo "$ac_res" >&6; }
2041 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2043 } # ac_fn_c_check_header_compile
2045 # ac_fn_c_check_func LINENO FUNC VAR
2046 # ----------------------------------
2047 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2048 ac_fn_c_check_func
()
2050 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2052 $as_echo_n "checking for $2... " >&6; }
2053 if eval \
${$3+:} false
; then :
2054 $as_echo_n "(cached) " >&6
2056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2057 /* end confdefs.h. */
2058 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2060 #define $2 innocuous_$2
2062 /* System header to define __stub macros and hopefully few prototypes,
2063 which can conflict with char $2 (); below.
2064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2065 <limits.h> exists even on freestanding compilers. */
2068 # include <limits.h>
2070 # include <assert.h>
2075 /* Override any GCC internal prototype to avoid an error.
2076 Use char because int might match the return type of a GCC
2077 builtin and then its argument prototype would still apply. */
2082 /* The GNU C library defines this for functions which it implements
2083 to always fail with ENOSYS. Some functions are actually named
2084 something starting with __ and the normal name is an alias. */
2085 #if defined __stub_$2 || defined __stub___$2
2097 if ac_fn_c_try_link
"$LINENO"; then :
2102 rm -f core conftest.err conftest.
$ac_objext \
2103 conftest
$ac_exeext conftest.
$ac_ext
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2107 $as_echo "$ac_res" >&6; }
2108 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2110 } # ac_fn_c_check_func
2112 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2113 # ----------------------------------------------------
2114 # Tries to find if the field MEMBER exists in type AGGR, after including
2115 # INCLUDES, setting cache variable VAR accordingly.
2116 ac_fn_c_check_member
()
2118 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2120 $as_echo_n "checking for $2.$3... " >&6; }
2121 if eval \
${$4+:} false
; then :
2122 $as_echo_n "(cached) " >&6
2124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2125 /* end confdefs.h. */
2137 if ac_fn_c_try_compile
"$LINENO"; then :
2140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2141 /* end confdefs.h. */
2147 if (sizeof ac_aggr.$3)
2153 if ac_fn_c_try_compile
"$LINENO"; then :
2158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2164 $as_echo "$ac_res" >&6; }
2165 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2167 } # ac_fn_c_check_member
2169 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2170 # -------------------------------------------
2171 # Tests whether TYPE exists after having included INCLUDES, setting cache
2172 # variable VAR accordingly.
2173 ac_fn_c_check_type
()
2175 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2177 $as_echo_n "checking for $2... " >&6; }
2178 if eval \
${$3+:} false
; then :
2179 $as_echo_n "(cached) " >&6
2182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2183 /* end confdefs.h. */
2194 if ac_fn_c_try_compile
"$LINENO"; then :
2195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2196 /* end confdefs.h. */
2207 if ac_fn_c_try_compile
"$LINENO"; then :
2212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2218 $as_echo "$ac_res" >&6; }
2219 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2221 } # ac_fn_c_check_type
2222 cat >config.log
<<_ACEOF
2223 This file contains any messages produced by compilers while
2224 running configure, to aid debugging if configure makes a mistake.
2226 It was created by Wine $as_me 1.7.2, which was
2227 generated by GNU Autoconf 2.69. Invocation command line was
2239 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2240 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2241 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2242 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2243 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2245 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2246 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2248 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2249 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2250 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2251 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2252 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2253 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2254 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2262 test -z "$as_dir" && as_dir
=.
2263 $as_echo "PATH: $as_dir"
2279 # Keep a trace of the command line.
2280 # Strip out --no-create and --no-recursion so they do not pile up.
2281 # Strip out --silent because we don't want to record it for future runs.
2282 # Also quote any args containing shell meta-characters.
2283 # Make two passes to allow for proper duplicate-argument suppression.
2287 ac_must_keep_next
=false
2293 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2294 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2295 |
-silent |
--silent |
--silen |
--sile |
--sil)
2298 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2301 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2303 as_fn_append ac_configure_args1
" '$ac_arg'"
2304 if test $ac_must_keep_next = true
; then
2305 ac_must_keep_next
=false
# Got value, back to normal.
2308 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2309 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2310 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2311 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2312 case "$ac_configure_args0 " in
2313 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2316 -* ) ac_must_keep_next
=true
;;
2319 as_fn_append ac_configure_args
" '$ac_arg'"
2324 { ac_configure_args0
=; unset ac_configure_args0
;}
2325 { ac_configure_args1
=; unset ac_configure_args1
;}
2327 # When interrupted or exit'd, cleanup temporary files, and complete
2328 # config.log. We remove comments because anyway the quotes in there
2329 # would cause problems or look ugly.
2330 # WARNING: Use '\'' to represent an apostrophe within the trap.
2331 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2332 trap 'exit_status=$?
2333 # Save into config.log some information that might help in debugging.
2337 $as_echo "## ---------------- ##
2338 ## Cache variables. ##
2339 ## ---------------- ##"
2341 # The following way of writing the cache mishandles newlines in values,
2343 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2344 eval ac_val=\$$ac_var
2348 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2349 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2352 _ | IFS | as_nl) ;; #(
2353 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2354 *) { eval $ac_var=; unset $ac_var;} ;;
2359 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2360 *${as_nl}ac_space=\ *)
2362 "s/'\''/'\''\\\\'\'''\''/g;
2363 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2366 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2373 $as_echo "## ----------------- ##
2374 ## Output variables. ##
2375 ## ----------------- ##"
2377 for ac_var in $ac_subst_vars
2379 eval ac_val=\$$ac_var
2381 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2383 $as_echo "$ac_var='\''$ac_val'\''"
2387 if test -n "$ac_subst_files"; then
2388 $as_echo "## ------------------- ##
2389 ## File substitutions. ##
2390 ## ------------------- ##"
2392 for ac_var
in $ac_subst_files
2394 eval ac_val
=\$
$ac_var
2396 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2398 $as_echo "$ac_var='\''$ac_val'\''"
2403 if test -s confdefs.h; then
2404 $as_echo "## ----------- ##
2411 test "$ac_signal" != 0 &&
2412 $as_echo "$as_me: caught signal $ac_signal"
2413 $as_echo "$as_me: exit $exit_status"
2415 rm -f core *.core core.conftest.* &&
2416 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2419 for ac_signal
in 1 2 13 15; do
2420 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2424 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2425 rm -f -r conftest
* confdefs.h
2427 $as_echo "/* confdefs.h */" > confdefs.h
2429 # Predefined preprocessor variables.
2431 cat >>confdefs.h
<<_ACEOF
2432 #define PACKAGE_NAME "$PACKAGE_NAME"
2435 cat >>confdefs.h
<<_ACEOF
2436 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2439 cat >>confdefs.h
<<_ACEOF
2440 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2443 cat >>confdefs.h
<<_ACEOF
2444 #define PACKAGE_STRING "$PACKAGE_STRING"
2447 cat >>confdefs.h
<<_ACEOF
2448 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2451 cat >>confdefs.h
<<_ACEOF
2452 #define PACKAGE_URL "$PACKAGE_URL"
2456 # Let the site file select an alternate cache file if it wants to.
2457 # Prefer an explicitly selected file to automatically selected ones.
2460 if test -n "$CONFIG_SITE"; then
2461 # We do not want a PATH search for config.site.
2462 case $CONFIG_SITE in #((
2463 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2464 */*) ac_site_file1
=$CONFIG_SITE;;
2465 *) ac_site_file1
=.
/$CONFIG_SITE;;
2467 elif test "x$prefix" != xNONE
; then
2468 ac_site_file1
=$prefix/share
/config.site
2469 ac_site_file2
=$prefix/etc
/config.site
2471 ac_site_file1
=$ac_default_prefix/share
/config.site
2472 ac_site_file2
=$ac_default_prefix/etc
/config.site
2474 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2476 test "x$ac_site_file" = xNONE
&& continue
2477 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2479 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2480 sed 's/^/| /' "$ac_site_file" >&5
2482 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2484 as_fn_error $?
"failed to load site script $ac_site_file
2485 See \`config.log' for more details" "$LINENO" 5; }
2489 if test -r "$cache_file"; then
2490 # Some versions of bash will fail to source /dev/null (special files
2491 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2492 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2494 $as_echo "$as_me: loading cache $cache_file" >&6;}
2496 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2497 *) .
"./$cache_file";;
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2502 $as_echo "$as_me: creating cache $cache_file" >&6;}
2506 # Check that the precious variables saved in the cache have kept the same
2508 ac_cache_corrupted
=false
2509 for ac_var
in $ac_precious_vars; do
2510 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2511 eval ac_new_set
=\
$ac_env_${ac_var}_set
2512 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2513 eval ac_new_val
=\
$ac_env_${ac_var}_value
2514 case $ac_old_set,$ac_new_set in
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2517 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2518 ac_cache_corrupted
=: ;;
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2521 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2522 ac_cache_corrupted
=: ;;
2525 if test "x$ac_old_val" != "x$ac_new_val"; then
2526 # differences in whitespace do not lead to failure.
2527 ac_old_val_w
=`echo x $ac_old_val`
2528 ac_new_val_w
=`echo x $ac_new_val`
2529 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2531 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2532 ac_cache_corrupted
=:
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2535 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2536 eval $ac_var=\
$ac_old_val
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2539 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2541 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2544 # Pass precious variables to config.status.
2545 if test "$ac_new_set" = set; then
2547 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2548 *) ac_arg
=$ac_var=$ac_new_val ;;
2550 case " $ac_configure_args " in
2551 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2552 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2556 if $ac_cache_corrupted; then
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2560 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2561 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2563 ## -------------------- ##
2564 ## Main body of script. ##
2565 ## -------------------- ##
2568 ac_cpp
='$CPP $CPPFLAGS'
2569 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2570 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2571 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2575 ac_config_headers
="$ac_config_headers include/config.h"
2578 for ac_dir
in tools
"$srcdir"/tools
; do
2579 if test -f "$ac_dir/install-sh"; then
2581 ac_install_sh
="$ac_aux_dir/install-sh -c"
2583 elif test -f "$ac_dir/install.sh"; then
2585 ac_install_sh
="$ac_aux_dir/install.sh -c"
2587 elif test -f "$ac_dir/shtool"; then
2589 ac_install_sh
="$ac_aux_dir/shtool install -c"
2593 if test -z "$ac_aux_dir"; then
2594 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2597 # These three variables are undocumented and unsupported,
2598 # and are intended to be withdrawn in a future Autoconf release.
2599 # They can cause serious problems if a builder's source tree is in a directory
2600 # whose full name contains unusual characters.
2601 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2602 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2603 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2609 # Check whether --enable-win16 was given.
2610 if test "${enable_win16+set}" = set; then :
2611 enableval
=$enable_win16;
2614 # Check whether --enable-win64 was given.
2615 if test "${enable_win64+set}" = set; then :
2616 enableval
=$enable_win64;
2619 # Check whether --enable-tests was given.
2620 if test "${enable_tests+set}" = set; then :
2621 enableval
=$enable_tests;
2624 # Check whether --enable-maintainer-mode was given.
2625 if test "${enable_maintainer_mode+set}" = set; then :
2626 enableval
=$enable_maintainer_mode;
2631 # Check whether --with-alsa was given.
2632 if test "${with_alsa+set}" = set; then :
2633 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2637 # Check whether --with-capi was given.
2638 if test "${with_capi+set}" = set; then :
2643 # Check whether --with-cms was given.
2644 if test "${with_cms+set}" = set; then :
2649 # Check whether --with-coreaudio was given.
2650 if test "${with_coreaudio+set}" = set; then :
2651 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2655 # Check whether --with-cups was given.
2656 if test "${with_cups+set}" = set; then :
2661 # Check whether --with-curses was given.
2662 if test "${with_curses+set}" = set; then :
2663 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2667 # Check whether --with-dbus was given.
2668 if test "${with_dbus+set}" = set; then :
2673 # Check whether --with-fontconfig was given.
2674 if test "${with_fontconfig+set}" = set; then :
2675 withval
=$with_fontconfig;
2679 # Check whether --with-freetype was given.
2680 if test "${with_freetype+set}" = set; then :
2681 withval
=$with_freetype;
2685 # Check whether --with-gettext was given.
2686 if test "${with_gettext+set}" = set; then :
2687 withval
=$with_gettext;
2691 # Check whether --with-gettextpo was given.
2692 if test "${with_gettextpo+set}" = set; then :
2693 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
2697 # Check whether --with-gphoto was given.
2698 if test "${with_gphoto+set}" = set; then :
2699 withval
=$with_gphoto;
2703 # Check whether --with-glu was given.
2704 if test "${with_glu+set}" = set; then :
2709 # Check whether --with-gnutls was given.
2710 if test "${with_gnutls+set}" = set; then :
2711 withval
=$with_gnutls;
2715 # Check whether --with-gsm was given.
2716 if test "${with_gsm+set}" = set; then :
2717 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2721 # Check whether --with-gstreamer was given.
2722 if test "${with_gstreamer+set}" = set; then :
2723 withval
=$with_gstreamer;
2727 # Check whether --with-hal was given.
2728 if test "${with_hal+set}" = set; then :
2733 # Check whether --with-jpeg was given.
2734 if test "${with_jpeg+set}" = set; then :
2739 # Check whether --with-ldap was given.
2740 if test "${with_ldap+set}" = set; then :
2741 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2745 # Check whether --with-mpg123 was given.
2746 if test "${with_mpg123+set}" = set; then :
2747 withval
=$with_mpg123;
2751 # Check whether --with-openal was given.
2752 if test "${with_openal+set}" = set; then :
2753 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2757 # Check whether --with-opencl was given.
2758 if test "${with_opencl+set}" = set; then :
2759 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
2763 # Check whether --with-opengl was given.
2764 if test "${with_opengl+set}" = set; then :
2765 withval
=$with_opengl;
2769 # Check whether --with-osmesa was given.
2770 if test "${with_osmesa+set}" = set; then :
2771 withval
=$with_osmesa;
2775 # Check whether --with-oss was given.
2776 if test "${with_oss+set}" = set; then :
2781 # Check whether --with-png was given.
2782 if test "${with_png+set}" = set; then :
2787 # Check whether --with-pthread was given.
2788 if test "${with_pthread+set}" = set; then :
2789 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2793 # Check whether --with-sane was given.
2794 if test "${with_sane+set}" = set; then :
2799 # Check whether --with-tiff was given.
2800 if test "${with_tiff+set}" = set; then :
2805 # Check whether --with-v4l was given.
2806 if test "${with_v4l+set}" = set; then :
2811 # Check whether --with-xcomposite was given.
2812 if test "${with_xcomposite+set}" = set; then :
2813 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2817 # Check whether --with-xcursor was given.
2818 if test "${with_xcursor+set}" = set; then :
2819 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2823 # Check whether --with-xinerama was given.
2824 if test "${with_xinerama+set}" = set; then :
2825 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2829 # Check whether --with-xinput was given.
2830 if test "${with_xinput+set}" = set; then :
2831 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2835 # Check whether --with-xinput2 was given.
2836 if test "${with_xinput2+set}" = set; then :
2837 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
2841 # Check whether --with-xml was given.
2842 if test "${with_xml+set}" = set; then :
2847 # Check whether --with-xrandr was given.
2848 if test "${with_xrandr+set}" = set; then :
2849 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2853 # Check whether --with-xrender was given.
2854 if test "${with_xrender+set}" = set; then :
2855 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2859 # Check whether --with-xshape was given.
2860 if test "${with_xshape+set}" = set; then :
2861 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2865 # Check whether --with-xshm was given.
2866 if test "${with_xshm+set}" = set; then :
2867 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2871 # Check whether --with-xslt was given.
2872 if test "${with_xslt+set}" = set; then :
2877 # Check whether --with-xxf86vm was given.
2878 if test "${with_xxf86vm+set}" = set; then :
2879 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
2883 # Check whether --with-zlib was given.
2884 if test "${with_zlib+set}" = set; then :
2885 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
2890 # Check whether --with-wine-tools was given.
2891 if test "${with_wine_tools+set}" = set; then :
2892 withval
=$with_wine_tools;
2896 # Check whether --with-wine64 was given.
2897 if test "${with_wine64+set}" = set; then :
2898 withval
=$with_wine64;
2902 # Make sure we can run config.sub.
2903 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2904 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2907 $as_echo_n "checking build system type... " >&6; }
2908 if ${ac_cv_build+:} false
; then :
2909 $as_echo_n "(cached) " >&6
2911 ac_build_alias
=$build_alias
2912 test "x$ac_build_alias" = x
&&
2913 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2914 test "x$ac_build_alias" = x
&&
2915 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2916 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2917 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2921 $as_echo "$ac_cv_build" >&6; }
2922 case $ac_cv_build in
2924 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2927 ac_save_IFS
=$IFS; IFS
='-'
2933 # Remember, the first character of IFS is used to create $*,
2934 # except with old shells:
2937 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2941 $as_echo_n "checking host system type... " >&6; }
2942 if ${ac_cv_host+:} false
; then :
2943 $as_echo_n "(cached) " >&6
2945 if test "x$host_alias" = x
; then
2946 ac_cv_host
=$ac_cv_build
2948 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2949 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2954 $as_echo "$ac_cv_host" >&6; }
2957 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2960 ac_save_IFS
=$IFS; IFS
='-'
2966 # Remember, the first character of IFS is used to create $*,
2967 # except with old shells:
2970 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2976 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2977 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2978 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2984 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2986 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2987 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2988 $as_echo_n "(cached) " >&6
2990 cat >conftest.
make <<\_ACEOF
2993 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2995 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2996 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2998 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3000 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3004 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3006 $as_echo "yes" >&6; }
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3010 $as_echo "no" >&6; }
3011 SET_MAKE
="MAKE=${MAKE-make}"
3015 ac_cpp
='$CPP $CPPFLAGS'
3016 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3017 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3018 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3019 if test -n "$ac_tool_prefix"; then
3020 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3021 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3023 $as_echo_n "checking for $ac_word... " >&6; }
3024 if ${ac_cv_prog_CC+:} false
; then :
3025 $as_echo_n "(cached) " >&6
3027 if test -n "$CC"; then
3028 ac_cv_prog_CC
="$CC" # Let the user override the test.
3030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3034 test -z "$as_dir" && as_dir
=.
3035 for ac_exec_ext
in '' $ac_executable_extensions; do
3036 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3037 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3048 if test -n "$CC"; then
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3050 $as_echo "$CC" >&6; }
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3053 $as_echo "no" >&6; }
3058 if test -z "$ac_cv_prog_CC"; then
3060 # Extract the first word of "gcc", so it can be a program name with args.
3061 set dummy gcc
; ac_word
=$2
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3063 $as_echo_n "checking for $ac_word... " >&6; }
3064 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3065 $as_echo_n "(cached) " >&6
3067 if test -n "$ac_ct_CC"; then
3068 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3074 test -z "$as_dir" && as_dir
=.
3075 for ac_exec_ext
in '' $ac_executable_extensions; do
3076 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3077 ac_cv_prog_ac_ct_CC
="gcc"
3078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3087 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3088 if test -n "$ac_ct_CC"; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3090 $as_echo "$ac_ct_CC" >&6; }
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3093 $as_echo "no" >&6; }
3096 if test "x$ac_ct_CC" = x
; then
3099 case $cross_compiling:$ac_tool_warned in
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3103 ac_tool_warned
=yes ;;
3111 if test -z "$CC"; then
3112 if test -n "$ac_tool_prefix"; then
3113 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3114 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3116 $as_echo_n "checking for $ac_word... " >&6; }
3117 if ${ac_cv_prog_CC+:} false
; then :
3118 $as_echo_n "(cached) " >&6
3120 if test -n "$CC"; then
3121 ac_cv_prog_CC
="$CC" # Let the user override the test.
3123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3127 test -z "$as_dir" && as_dir
=.
3128 for ac_exec_ext
in '' $ac_executable_extensions; do
3129 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3130 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3141 if test -n "$CC"; then
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3143 $as_echo "$CC" >&6; }
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3146 $as_echo "no" >&6; }
3152 if test -z "$CC"; then
3153 # Extract the first word of "cc", so it can be a program name with args.
3154 set dummy cc
; ac_word
=$2
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3156 $as_echo_n "checking for $ac_word... " >&6; }
3157 if ${ac_cv_prog_CC+:} false
; then :
3158 $as_echo_n "(cached) " >&6
3160 if test -n "$CC"; then
3161 ac_cv_prog_CC
="$CC" # Let the user override the test.
3164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3168 test -z "$as_dir" && as_dir
=.
3169 for ac_exec_ext
in '' $ac_executable_extensions; do
3170 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3171 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3172 ac_prog_rejected
=yes
3176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3183 if test $ac_prog_rejected = yes; then
3184 # We found a bogon in the path, so make sure we never use it.
3185 set dummy
$ac_cv_prog_CC
3187 if test $# != 0; then
3188 # We chose a different compiler from the bogus one.
3189 # However, it has the same basename, so the bogon will be chosen
3190 # first if we set CC to just the basename; use the full file name.
3192 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3198 if test -n "$CC"; then
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3200 $as_echo "$CC" >&6; }
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3203 $as_echo "no" >&6; }
3208 if test -z "$CC"; then
3209 if test -n "$ac_tool_prefix"; then
3210 for ac_prog
in cl.exe
3212 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3213 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3215 $as_echo_n "checking for $ac_word... " >&6; }
3216 if ${ac_cv_prog_CC+:} false
; then :
3217 $as_echo_n "(cached) " >&6
3219 if test -n "$CC"; then
3220 ac_cv_prog_CC
="$CC" # Let the user override the test.
3222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3226 test -z "$as_dir" && as_dir
=.
3227 for ac_exec_ext
in '' $ac_executable_extensions; do
3228 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3229 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3240 if test -n "$CC"; then
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3242 $as_echo "$CC" >&6; }
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3245 $as_echo "no" >&6; }
3249 test -n "$CC" && break
3252 if test -z "$CC"; then
3254 for ac_prog
in cl.exe
3256 # Extract the first word of "$ac_prog", so it can be a program name with args.
3257 set dummy
$ac_prog; ac_word
=$2
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3259 $as_echo_n "checking for $ac_word... " >&6; }
3260 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3261 $as_echo_n "(cached) " >&6
3263 if test -n "$ac_ct_CC"; then
3264 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3270 test -z "$as_dir" && as_dir
=.
3271 for ac_exec_ext
in '' $ac_executable_extensions; do
3272 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3273 ac_cv_prog_ac_ct_CC
="$ac_prog"
3274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3283 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3284 if test -n "$ac_ct_CC"; then
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3286 $as_echo "$ac_ct_CC" >&6; }
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3289 $as_echo "no" >&6; }
3293 test -n "$ac_ct_CC" && break
3296 if test "x$ac_ct_CC" = x
; then
3299 case $cross_compiling:$ac_tool_warned in
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3303 ac_tool_warned
=yes ;;
3312 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3314 as_fn_error $?
"no acceptable C compiler found in \$PATH
3315 See \`config.log' for more details" "$LINENO" 5; }
3317 # Provide some information about the compiler.
3318 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3321 for ac_option
in --version -v -V -qversion; do
3322 { { ac_try
="$ac_compiler $ac_option >&5"
3324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3325 *) ac_try_echo=$ac_try;;
3327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3328 $as_echo "$ac_try_echo"; } >&5
3329 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3331 if test -s conftest.err; then
3333 ... rest of stderr output deleted ...
3334 10q' conftest.err >conftest.er1
3335 cat conftest.er1 >&5
3337 rm -f conftest.er1 conftest.err
3338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3339 test $ac_status = 0; }
3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3353 ac_clean_files_save=$ac_clean_files
3354 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3355 # Try to create an executable without -o first, disregard a.out.
3356 # It will help us diagnose broken compilers, and finding out an intuition
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3359 $as_echo_n "checking whether the C compiler works... " >&6; }
3360 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3362 # The possible output files:
3363 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3366 for ac_file in $ac_files
3369 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3370 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3375 if { { ac_try="$ac_link_default"
3377 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3378 *) ac_try_echo
=$ac_try;;
3380 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3381 $as_echo "$ac_try_echo"; } >&5
3382 (eval "$ac_link_default") 2>&5
3384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3385 test $ac_status = 0; }; then :
3386 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3387 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3388 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3389 # so that the user can short-circuit this test for compilers unknown to
3391 for ac_file
in $ac_files ''
3393 test -f "$ac_file" ||
continue
3395 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3398 # We found the default executable, but exeext='' is most
3402 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3404 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3406 # We set ac_cv_exeext here because the later test for it is not
3407 # safe: cross compilers may not add the suffix if given an `-o'
3408 # argument, so we may need to know it at that point already.
3409 # Even if this section looks crufty: it has the advantage of
3416 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3421 if test -z "$ac_file"; then :
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3423 $as_echo "no" >&6; }
3424 $as_echo "$as_me: failed program was:" >&5
3425 sed 's/^/| /' conftest.
$ac_ext >&5
3427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3429 as_fn_error
77 "C compiler cannot create executables
3430 See \`config.log' for more details" "$LINENO" 5; }
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3433 $as_echo "yes" >&6; }
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3436 $as_echo_n "checking for C compiler default output file name... " >&6; }
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3438 $as_echo "$ac_file" >&6; }
3439 ac_exeext
=$ac_cv_exeext
3441 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3442 ac_clean_files
=$ac_clean_files_save
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3444 $as_echo_n "checking for suffix of executables... " >&6; }
3445 if { { ac_try
="$ac_link"
3447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3448 *) ac_try_echo=$ac_try;;
3450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3451 $as_echo "$ac_try_echo"; } >&5
3452 (eval "$ac_link") 2>&5
3454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3455 test $ac_status = 0; }; then :
3456 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3457 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3458 # work properly (i.e., refer to `conftest.exe'), while it won't with
3460 for ac_file
in conftest.exe conftest conftest.
*; do
3461 test -f "$ac_file" ||
continue
3463 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3464 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3472 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3473 See \`config.log' for more details" "$LINENO" 5; }
3475 rm -f conftest conftest
$ac_cv_exeext
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3477 $as_echo "$ac_cv_exeext" >&6; }
3479 rm -f conftest.
$ac_ext
3480 EXEEXT
=$ac_cv_exeext
3482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3488 FILE *f = fopen ("conftest.out", "w");
3489 return ferror (f) || fclose (f) != 0;
3495 ac_clean_files
="$ac_clean_files conftest.out"
3496 # Check that the compiler produces executables we can run. If not, either
3497 # the compiler is broken, or we cross compile.
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3499 $as_echo_n "checking whether we are cross compiling... " >&6; }
3500 if test "$cross_compiling" != yes; then
3501 { { ac_try
="$ac_link"
3503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3504 *) ac_try_echo=$ac_try;;
3506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3507 $as_echo "$ac_try_echo"; } >&5
3508 (eval "$ac_link") 2>&5
3510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3511 test $ac_status = 0; }
3512 if { ac_try='./conftest$ac_cv_exeext'
3513 { { case "(($ac_try" in
3514 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3515 *) ac_try_echo
=$ac_try;;
3517 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3518 $as_echo "$ac_try_echo"; } >&5
3519 (eval "$ac_try") 2>&5
3521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3522 test $ac_status = 0; }; }; then
3525 if test "$cross_compiling" = maybe
; then
3528 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3530 as_fn_error $?
"cannot run C compiled programs.
3531 If you meant to cross compile, use \`--host'.
3532 See \`config.log' for more details" "$LINENO" 5; }
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3537 $as_echo "$cross_compiling" >&6; }
3539 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3540 ac_clean_files
=$ac_clean_files_save
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3542 $as_echo_n "checking for suffix of object files... " >&6; }
3543 if ${ac_cv_objext+:} false
; then :
3544 $as_echo_n "(cached) " >&6
3546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3547 /* end confdefs.h. */
3557 rm -f conftest.o conftest.obj
3558 if { { ac_try
="$ac_compile"
3560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3561 *) ac_try_echo=$ac_try;;
3563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3564 $as_echo "$ac_try_echo"; } >&5
3565 (eval "$ac_compile") 2>&5
3567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3568 test $ac_status = 0; }; then :
3569 for ac_file in conftest.o conftest.obj conftest.*; do
3570 test -f "$ac_file" || continue;
3572 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3573 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3578 $as_echo "$as_me: failed program was:" >&5
3579 sed 's/^/| /' conftest.$ac_ext >&5
3581 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3583 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3584 See \
`config.log' for more details" "$LINENO" 5; }
3586 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3589 $as_echo "$ac_cv_objext" >&6; }
3590 OBJEXT=$ac_cv_objext
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3593 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3594 if ${ac_cv_c_compiler_gnu+:} false; then :
3595 $as_echo_n "(cached) " >&6
3597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3598 /* end confdefs.h. */
3611 if ac_fn_c_try_compile "$LINENO"; then :
3616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3617 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3621 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3622 if test $ac_compiler_gnu = yes; then
3627 ac_test_CFLAGS=${CFLAGS+set}
3628 ac_save_CFLAGS=$CFLAGS
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3630 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3631 if ${ac_cv_prog_cc_g+:} false; then :
3632 $as_echo_n "(cached) " >&6
3634 ac_save_c_werror_flag=$ac_c_werror_flag
3635 ac_c_werror_flag=yes
3638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3639 /* end confdefs.h. */
3649 if ac_fn_c_try_compile "$LINENO"; then :
3653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3654 /* end confdefs.h. */
3664 if ac_fn_c_try_compile "$LINENO"; then :
3667 ac_c_werror_flag=$ac_save_c_werror_flag
3669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3670 /* end confdefs.h. */
3680 if ac_fn_c_try_compile "$LINENO"; then :
3683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3688 ac_c_werror_flag=$ac_save_c_werror_flag
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3691 $as_echo "$ac_cv_prog_cc_g" >&6; }
3692 if test "$ac_test_CFLAGS" = set; then
3693 CFLAGS=$ac_save_CFLAGS
3694 elif test $ac_cv_prog_cc_g = yes; then
3695 if test "$GCC" = yes; then
3701 if test "$GCC" = yes; then
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3708 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3709 if ${ac_cv_prog_cc_c89+:} false; then :
3710 $as_echo_n "(cached) " >&6
3712 ac_cv_prog_cc_c89=no
3714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3715 /* end confdefs.h. */
3719 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3720 struct buf { int x; };
3721 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3722 static char *e (p, i)
3728 static char *f (char * (*g) (char **, int), char **p, ...)
3733 s = g (p, va_arg (v,int));
3738 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3739 function prototypes and stuff, but not '\xHH' hex character constants.
3740 These don't provoke an error unfortunately, instead are silently treated
3741 as 'x'. The following induces an error, until -std is added to get
3742 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3743 array size at least. It's necessary to write '\x00'==0 to get something
3744 that's true only with -std. */
3745 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3747 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3748 inside strings and character constants. */
3750 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3752 int test (int i, double x);
3753 struct s1 {int (*f) (int a);};
3754 struct s2 {int (*f) (double a);};
3755 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3761 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3766 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3767 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3769 CC="$ac_save_CC $ac_arg"
3770 if ac_fn_c_try_compile "$LINENO"; then :
3771 ac_cv_prog_cc_c89=$ac_arg
3773 rm -f core conftest.err conftest.$ac_objext
3774 test "x$ac_cv_prog_cc_c89" != "xno" && break
3776 rm -f conftest.$ac_ext
3781 case "x$ac_cv_prog_cc_c89" in
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3784 $as_echo "none needed" >&6; } ;;
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3787 $as_echo "unsupported" >&6; } ;;
3789 CC="$CC $ac_cv_prog_cc_c89"
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3791 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3793 if test "x$ac_cv_prog_cc_c89" != xno; then :
3798 ac_cpp='$CPP $CPPFLAGS'
3799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3804 ac_cpp='$CXXCPP $CPPFLAGS'
3805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3808 if test -z "$CXX"; then
3809 if test -n "$CCC"; then
3812 if test -n "$ac_tool_prefix"; then
3813 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3815 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3816 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3818 $as_echo_n "checking for $ac_word... " >&6; }
3819 if ${ac_cv_prog_CXX+:} false; then :
3820 $as_echo_n "(cached) " >&6
3822 if test -n "$CXX"; then
3823 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3829 test -z "$as_dir" && as_dir=.
3830 for ac_exec_ext in '' $ac_executable_extensions; do
3831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3832 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 if test -n "$CXX"; then
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3845 $as_echo "$CXX" >&6; }
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3848 $as_echo "no" >&6; }
3852 test -n "$CXX" && break
3855 if test -z "$CXX"; then
3857 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3859 # Extract the first word of "$ac_prog", so it can be a program name with args.
3860 set dummy $ac_prog; ac_word=$2
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3862 $as_echo_n "checking for $ac_word... " >&6; }
3863 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3864 $as_echo_n "(cached) " >&6
3866 if test -n "$ac_ct_CXX"; then
3867 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3873 test -z "$as_dir" && as_dir=.
3874 for ac_exec_ext in '' $ac_executable_extensions; do
3875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3876 ac_cv_prog_ac_ct_CXX="$ac_prog"
3877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3886 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3887 if test -n "$ac_ct_CXX"; then
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3889 $as_echo "$ac_ct_CXX" >&6; }
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3892 $as_echo "no" >&6; }
3896 test -n "$ac_ct_CXX" && break
3899 if test "x$ac_ct_CXX" = x; then
3902 case $cross_compiling:$ac_tool_warned in
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3906 ac_tool_warned=yes ;;
3914 # Provide some information about the compiler.
3915 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3918 for ac_option in --version -v -V -qversion; do
3919 { { ac_try="$ac_compiler $ac_option >&5"
3921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3922 *) ac_try_echo
=$ac_try;;
3924 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3925 $as_echo "$ac_try_echo"; } >&5
3926 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3928 if test -s conftest.err
; then
3930 ... rest of stderr output deleted ...
3931 10q' conftest.err
>conftest.er1
3932 cat conftest.er1
>&5
3934 rm -f conftest.er1 conftest.err
3935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3936 test $ac_status = 0; }
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3940 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3941 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3942 $as_echo_n "(cached) " >&6
3944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3945 /* end confdefs.h. */
3958 if ac_fn_cxx_try_compile
"$LINENO"; then :
3963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3964 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3968 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3969 if test $ac_compiler_gnu = yes; then
3974 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3975 ac_save_CXXFLAGS
=$CXXFLAGS
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3977 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3978 if ${ac_cv_prog_cxx_g+:} false
; then :
3979 $as_echo_n "(cached) " >&6
3981 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3982 ac_cxx_werror_flag
=yes
3985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3986 /* end confdefs.h. */
3996 if ac_fn_cxx_try_compile
"$LINENO"; then :
3997 ac_cv_prog_cxx_g
=yes
4000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4001 /* end confdefs.h. */
4011 if ac_fn_cxx_try_compile
"$LINENO"; then :
4014 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4017 /* end confdefs.h. */
4027 if ac_fn_cxx_try_compile
"$LINENO"; then :
4028 ac_cv_prog_cxx_g
=yes
4030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4035 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4038 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4039 if test "$ac_test_CXXFLAGS" = set; then
4040 CXXFLAGS
=$ac_save_CXXFLAGS
4041 elif test $ac_cv_prog_cxx_g = yes; then
4042 if test "$GXX" = yes; then
4048 if test "$GXX" = yes; then
4055 ac_cpp
='$CPP $CPPFLAGS'
4056 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4057 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4058 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4060 if test -n "$ac_tool_prefix"; then
4061 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4062 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4064 $as_echo_n "checking for $ac_word... " >&6; }
4065 if ${ac_cv_prog_CPPBIN+:} false
; then :
4066 $as_echo_n "(cached) " >&6
4068 if test -n "$CPPBIN"; then
4069 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4075 test -z "$as_dir" && as_dir
=.
4076 for ac_exec_ext
in '' $ac_executable_extensions; do
4077 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4078 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4088 CPPBIN
=$ac_cv_prog_CPPBIN
4089 if test -n "$CPPBIN"; then
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4091 $as_echo "$CPPBIN" >&6; }
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4094 $as_echo "no" >&6; }
4099 if test -z "$ac_cv_prog_CPPBIN"; then
4100 ac_ct_CPPBIN
=$CPPBIN
4101 # Extract the first word of "cpp", so it can be a program name with args.
4102 set dummy cpp
; ac_word
=$2
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4104 $as_echo_n "checking for $ac_word... " >&6; }
4105 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4106 $as_echo_n "(cached) " >&6
4108 if test -n "$ac_ct_CPPBIN"; then
4109 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4115 test -z "$as_dir" && as_dir
=.
4116 for ac_exec_ext
in '' $ac_executable_extensions; do
4117 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4118 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4128 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4129 if test -n "$ac_ct_CPPBIN"; then
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4131 $as_echo "$ac_ct_CPPBIN" >&6; }
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4134 $as_echo "no" >&6; }
4137 if test "x$ac_ct_CPPBIN" = x
; then
4140 case $cross_compiling:$ac_tool_warned in
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4143 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4144 ac_tool_warned
=yes ;;
4146 CPPBIN
=$ac_ct_CPPBIN
4149 CPPBIN
="$ac_cv_prog_CPPBIN"
4153 cat >>confdefs.h
<<_ACEOF
4154 #define EXEEXT "$ac_exeext"
4160 if test "x$enable_win64" = "xyes"
4165 notice_platform
="64-bit "
4172 notice_platform
="32-bit "
4175 enable_win16
=${enable_win16:-yes}
4177 with_fontconfig
=${with_fontconfig:-no}
4180 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4185 $as_echo_n "checking whether $CC works... " >&6; }
4187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4198 if ac_fn_c_try_link
"$LINENO"; then :
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4200 $as_echo "yes" >&6; }
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4203 $as_echo "no" >&6; }
4204 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4206 rm -f core conftest.err conftest.
$ac_objext \
4207 conftest
$ac_exeext conftest.
$ac_ext
4209 notice_platform
="32-bit "
4212 enable_win16
=${enable_win16:-yes}
4214 if test "x${GCC}" = "xyes"
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4217 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4224 void func(__builtin_ms_va_list *args);
4229 if ac_fn_c_try_compile
"$LINENO"; then :
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4231 $as_echo "yes" >&6; }
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4234 $as_echo "no" >&6; }
4235 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4237 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4245 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4247 /* end confdefs.h. */
4248 int ac_test(int i) { return i; }
4252 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4257 if ac_fn_c_try_link
"$LINENO"; then :
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4259 $as_echo "yes" >&6; }
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4262 $as_echo "no" >&6; }
4263 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4265 rm -f core conftest.err conftest.
$ac_objext \
4266 conftest
$ac_exeext conftest.
$ac_ext
4267 CFLAGS
="$CFLAGS -marm"
4269 *-mingw32*|
*-cygwin*)
4270 enable_win16
=${enable_win16:-no}
4271 CFLAGS
="$CFLAGS -D_WIN32"
4274 enable_win16
=${enable_win16:-yes}
4278 enable_win16
=${enable_win16:-no}
4279 enable_win64
=${enable_win64:-no}
4281 enable_winetest
=${enable_winetest:-$enable_tests}
4283 if test -n "$with_wine64"
4285 if test "x$enable_win64" = "xyes"
4287 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4288 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4292 enable_fonts
=${enable_fonts:-no}
4293 enable_server
=${enable_server:-no}
4294 enable_tools
=${enable_tools:-no}
4295 elif test "x$enable_win64" = "xyes"
4297 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4301 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4302 if ${wine_cv_toolsdir+:} false
; then :
4303 $as_echo_n "(cached) " >&6
4305 wine_cv_toolsdir
="$with_wine_tools"
4306 if test -z "$with_wine_tools"; then
4307 if test "$cross_compiling" = "yes"; then
4308 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4309 elif test -n "$with_wine64"; then
4310 wine_cv_toolsdir
="$with_wine64"
4313 if test -z "$wine_cv_toolsdir"; then
4314 wine_cv_toolsdir
="\$(top_builddir)"
4315 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4316 case "$wine_cv_toolsdir" in
4318 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4321 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4325 $as_echo "$wine_cv_toolsdir" >&6; }
4326 TOOLSDIR
=$wine_cv_toolsdir
4328 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4330 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4336 # Extract the first word of "$ac_prog", so it can be a program name with args.
4337 set dummy
$ac_prog; ac_word
=$2
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4339 $as_echo_n "checking for $ac_word... " >&6; }
4340 if ${ac_cv_prog_FLEX+:} false
; then :
4341 $as_echo_n "(cached) " >&6
4343 if test -n "$FLEX"; then
4344 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4350 test -z "$as_dir" && as_dir
=.
4351 for ac_exec_ext
in '' $ac_executable_extensions; do
4352 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4353 ac_cv_prog_FLEX
="$ac_prog"
4354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4363 FLEX
=$ac_cv_prog_FLEX
4364 if test -n "$FLEX"; then
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4366 $as_echo "$FLEX" >&6; }
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4369 $as_echo "no" >&6; }
4373 test -n "$FLEX" && break
4375 test -n "$FLEX" || FLEX
="none"
4377 if test "$FLEX" = "none"
4379 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4382 $as_echo_n "checking whether flex is recent enough... " >&6; }
4383 cat >conftest.l
<<EOF
4385 #include "prediluvian.h"
4389 if $FLEX -t conftest.l
>/dev
/null
2>&5
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4392 $as_echo "yes" >&6; }
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4395 $as_echo "no" >&6; }
4396 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4399 for ac_prog
in bison
4401 # Extract the first word of "$ac_prog", so it can be a program name with args.
4402 set dummy
$ac_prog; ac_word
=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if ${ac_cv_prog_BISON+:} false
; then :
4406 $as_echo_n "(cached) " >&6
4408 if test -n "$BISON"; then
4409 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4415 test -z "$as_dir" && as_dir
=.
4416 for ac_exec_ext
in '' $ac_executable_extensions; do
4417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4418 ac_cv_prog_BISON
="$ac_prog"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4428 BISON
=$ac_cv_prog_BISON
4429 if test -n "$BISON"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4431 $as_echo "$BISON" >&6; }
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4438 test -n "$BISON" && break
4440 test -n "$BISON" || BISON
="none"
4442 if test "$BISON" = "none"
4444 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4447 if test -n "$ac_tool_prefix"; then
4448 for ac_prog
in ar gar
4450 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4451 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4453 $as_echo_n "checking for $ac_word... " >&6; }
4454 if ${ac_cv_prog_AR+:} false
; then :
4455 $as_echo_n "(cached) " >&6
4457 if test -n "$AR"; then
4458 ac_cv_prog_AR
="$AR" # Let the user override the test.
4460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4464 test -z "$as_dir" && as_dir
=.
4465 for ac_exec_ext
in '' $ac_executable_extensions; do
4466 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4467 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4478 if test -n "$AR"; then
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4480 $as_echo "$AR" >&6; }
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483 $as_echo "no" >&6; }
4487 test -n "$AR" && break
4490 if test -z "$AR"; then
4492 for ac_prog
in ar gar
4494 # Extract the first word of "$ac_prog", so it can be a program name with args.
4495 set dummy
$ac_prog; ac_word
=$2
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4497 $as_echo_n "checking for $ac_word... " >&6; }
4498 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4499 $as_echo_n "(cached) " >&6
4501 if test -n "$ac_ct_AR"; then
4502 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4508 test -z "$as_dir" && as_dir
=.
4509 for ac_exec_ext
in '' $ac_executable_extensions; do
4510 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4511 ac_cv_prog_ac_ct_AR
="$ac_prog"
4512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4521 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4522 if test -n "$ac_ct_AR"; then
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4524 $as_echo "$ac_ct_AR" >&6; }
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4527 $as_echo "no" >&6; }
4531 test -n "$ac_ct_AR" && break
4534 if test "x$ac_ct_AR" = x
; then
4537 case $cross_compiling:$ac_tool_warned in
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4541 ac_tool_warned
=yes ;;
4549 if test -n "$ac_tool_prefix"; then
4550 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4551 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4553 $as_echo_n "checking for $ac_word... " >&6; }
4554 if ${ac_cv_prog_RANLIB+:} false
; then :
4555 $as_echo_n "(cached) " >&6
4557 if test -n "$RANLIB"; then
4558 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4564 test -z "$as_dir" && as_dir
=.
4565 for ac_exec_ext
in '' $ac_executable_extensions; do
4566 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4567 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4577 RANLIB
=$ac_cv_prog_RANLIB
4578 if test -n "$RANLIB"; then
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4580 $as_echo "$RANLIB" >&6; }
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4583 $as_echo "no" >&6; }
4588 if test -z "$ac_cv_prog_RANLIB"; then
4589 ac_ct_RANLIB
=$RANLIB
4590 # Extract the first word of "ranlib", so it can be a program name with args.
4591 set dummy ranlib
; ac_word
=$2
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4593 $as_echo_n "checking for $ac_word... " >&6; }
4594 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4595 $as_echo_n "(cached) " >&6
4597 if test -n "$ac_ct_RANLIB"; then
4598 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4604 test -z "$as_dir" && as_dir
=.
4605 for ac_exec_ext
in '' $ac_executable_extensions; do
4606 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4607 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4617 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4618 if test -n "$ac_ct_RANLIB"; then
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4620 $as_echo "$ac_ct_RANLIB" >&6; }
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4623 $as_echo "no" >&6; }
4626 if test "x$ac_ct_RANLIB" = x
; then
4629 case $cross_compiling:$ac_tool_warned in
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4633 ac_tool_warned
=yes ;;
4635 RANLIB
=$ac_ct_RANLIB
4638 RANLIB
="$ac_cv_prog_RANLIB"
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4642 $as_echo_n "checking whether ln -s works... " >&6; }
4644 if test "$LN_S" = "ln -s"; then
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4646 $as_echo "yes" >&6; }
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4649 $as_echo "no, using $LN_S" >&6; }
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4653 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4654 if ${ac_cv_path_GREP+:} false
; then :
4655 $as_echo_n "(cached) " >&6
4657 if test -z "$GREP"; then
4658 ac_path_GREP_found
=false
4659 # Loop through the user's path and test for each of PROGNAME-LIST
4660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4661 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4664 test -z "$as_dir" && as_dir
=.
4665 for ac_prog
in grep ggrep
; do
4666 for ac_exec_ext
in '' $ac_executable_extensions; do
4667 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4668 as_fn_executable_p
"$ac_path_GREP" ||
continue
4669 # Check for GNU ac_path_GREP and select it if it is found.
4670 # Check for GNU $ac_path_GREP
4671 case `"$ac_path_GREP" --version 2>&1` in
4673 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4676 $as_echo_n 0123456789 >"conftest.in"
4679 cat "conftest.in" "conftest.in" >"conftest.tmp"
4680 mv "conftest.tmp" "conftest.in"
4681 cp "conftest.in" "conftest.nl"
4682 $as_echo 'GREP' >> "conftest.nl"
4683 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4684 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4685 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4686 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4687 # Best one so far, save it but keep looking for a better one
4688 ac_cv_path_GREP
="$ac_path_GREP"
4689 ac_path_GREP_max
=$ac_count
4691 # 10*(2^10) chars as input seems more than enough
4692 test $ac_count -gt 10 && break
4694 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4697 $ac_path_GREP_found && break 3
4702 if test -z "$ac_cv_path_GREP"; then
4703 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4706 ac_cv_path_GREP
=$GREP
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4711 $as_echo "$ac_cv_path_GREP" >&6; }
4712 GREP
="$ac_cv_path_GREP"
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4716 $as_echo_n "checking for egrep... " >&6; }
4717 if ${ac_cv_path_EGREP+:} false
; then :
4718 $as_echo_n "(cached) " >&6
4720 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4721 then ac_cv_path_EGREP
="$GREP -E"
4723 if test -z "$EGREP"; then
4724 ac_path_EGREP_found
=false
4725 # Loop through the user's path and test for each of PROGNAME-LIST
4726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4727 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4730 test -z "$as_dir" && as_dir
=.
4731 for ac_prog
in egrep; do
4732 for ac_exec_ext
in '' $ac_executable_extensions; do
4733 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4734 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4735 # Check for GNU ac_path_EGREP and select it if it is found.
4736 # Check for GNU $ac_path_EGREP
4737 case `"$ac_path_EGREP" --version 2>&1` in
4739 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4742 $as_echo_n 0123456789 >"conftest.in"
4745 cat "conftest.in" "conftest.in" >"conftest.tmp"
4746 mv "conftest.tmp" "conftest.in"
4747 cp "conftest.in" "conftest.nl"
4748 $as_echo 'EGREP' >> "conftest.nl"
4749 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4750 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4751 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4752 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4753 # Best one so far, save it but keep looking for a better one
4754 ac_cv_path_EGREP
="$ac_path_EGREP"
4755 ac_path_EGREP_max
=$ac_count
4757 # 10*(2^10) chars as input seems more than enough
4758 test $ac_count -gt 10 && break
4760 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4763 $ac_path_EGREP_found && break 3
4768 if test -z "$ac_cv_path_EGREP"; then
4769 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4772 ac_cv_path_EGREP
=$EGREP
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4778 $as_echo "$ac_cv_path_EGREP" >&6; }
4779 EGREP
="$ac_cv_path_EGREP"
4782 # Extract the first word of "ldconfig", so it can be a program name with args.
4783 set dummy ldconfig
; ac_word
=$2
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4785 $as_echo_n "checking for $ac_word... " >&6; }
4786 if ${ac_cv_path_LDCONFIG+:} false
; then :
4787 $as_echo_n "(cached) " >&6
4791 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4795 for as_dir
in /sbin
/usr
/sbin
$PATH
4798 test -z "$as_dir" && as_dir
=.
4799 for ac_exec_ext
in '' $ac_executable_extensions; do
4800 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4801 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4809 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4813 LDCONFIG
=$ac_cv_path_LDCONFIG
4814 if test -n "$LDCONFIG"; then
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4816 $as_echo "$LDCONFIG" >&6; }
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4819 $as_echo "no" >&6; }
4823 # Find a good install program. We prefer a C program (faster),
4824 # so one script is as good as another. But avoid the broken or
4825 # incompatible versions:
4826 # SysV /etc/install, /usr/sbin/install
4827 # SunOS /usr/etc/install
4828 # IRIX /sbin/install
4830 # AmigaOS /C/install, which installs bootblocks on floppy discs
4831 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4832 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4833 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4834 # OS/2's system install, which has a completely different semantic
4835 # ./install, which can be erroneously created by make from ./install.sh.
4836 # Reject install programs that cannot install multiple files.
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4838 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4839 if test -z "$INSTALL"; then
4840 if ${ac_cv_path_install+:} false
; then :
4841 $as_echo_n "(cached) " >&6
4843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4847 test -z "$as_dir" && as_dir
=.
4848 # Account for people who put trailing slashes in PATH elements.
4849 case $as_dir/ in #((
4850 .
/ | .
// |
/[cC
]/* | \
4851 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4852 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4855 # OSF1 and SCO ODT 3.0 have their own names for install.
4856 # Don't use installbsd from OSF since it installs stuff as root
4858 for ac_prog
in ginstall scoinst
install; do
4859 for ac_exec_ext
in '' $ac_executable_extensions; do
4860 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4861 if test $ac_prog = install &&
4862 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4863 # AIX install. It has an incompatible calling convention.
4865 elif test $ac_prog = install &&
4866 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4867 # program-specific install script used by HP pwplus--don't use.
4870 rm -rf conftest.one conftest.two conftest.dir
4871 echo one
> conftest.one
4872 echo two
> conftest.two
4874 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4875 test -s conftest.one
&& test -s conftest.two
&&
4876 test -s conftest.dir
/conftest.one
&&
4877 test -s conftest.dir
/conftest.two
4879 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4892 rm -rf conftest.one conftest.two conftest.dir
4895 if test "${ac_cv_path_install+set}" = set; then
4896 INSTALL
=$ac_cv_path_install
4898 # As a last resort, use the slow shell script. Don't cache a
4899 # value for INSTALL within a source directory, because that will
4900 # break other packages using the cache if that directory is
4901 # removed, or if the value is a relative name.
4902 INSTALL
=$ac_install_sh
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4906 $as_echo "$INSTALL" >&6; }
4908 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4909 # It thinks the first close brace ends the variable substitution.
4910 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4912 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4914 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4917 [\\/$
]* | ?
:[\\/]* ) ;;
4918 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4921 for ac_prog
in lclint lint
4923 # Extract the first word of "$ac_prog", so it can be a program name with args.
4924 set dummy
$ac_prog; ac_word
=$2
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 $as_echo_n "checking for $ac_word... " >&6; }
4927 if ${ac_cv_prog_LINT+:} false
; then :
4928 $as_echo_n "(cached) " >&6
4930 if test -n "$LINT"; then
4931 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4937 test -z "$as_dir" && as_dir
=.
4938 for ac_exec_ext
in '' $ac_executable_extensions; do
4939 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4940 ac_cv_prog_LINT
="$ac_prog"
4941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4950 LINT
=$ac_cv_prog_LINT
4951 if test -n "$LINT"; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4953 $as_echo "$LINT" >&6; }
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4960 test -n "$LINT" && break
4963 if test "$LINT" = "lint"
4965 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4969 for ac_prog
in fontforge
4971 # Extract the first word of "$ac_prog", so it can be a program name with args.
4972 set dummy
$ac_prog; ac_word
=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if ${ac_cv_prog_FONTFORGE+:} false
; then :
4976 $as_echo_n "(cached) " >&6
4978 if test -n "$FONTFORGE"; then
4979 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4985 test -z "$as_dir" && as_dir
=.
4986 for ac_exec_ext
in '' $ac_executable_extensions; do
4987 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4988 ac_cv_prog_FONTFORGE
="$ac_prog"
4989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4998 FONTFORGE
=$ac_cv_prog_FONTFORGE
4999 if test -n "$FONTFORGE"; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5001 $as_echo "$FONTFORGE" >&6; }
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5008 test -n "$FONTFORGE" && break
5010 test -n "$FONTFORGE" || FONTFORGE
="false"
5014 # Extract the first word of "$ac_prog", so it can be a program name with args.
5015 set dummy
$ac_prog; ac_word
=$2
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5017 $as_echo_n "checking for $ac_word... " >&6; }
5018 if ${ac_cv_prog_RSVG+:} false
; then :
5019 $as_echo_n "(cached) " >&6
5021 if test -n "$RSVG"; then
5022 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5028 test -z "$as_dir" && as_dir
=.
5029 for ac_exec_ext
in '' $ac_executable_extensions; do
5030 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5031 ac_cv_prog_RSVG
="$ac_prog"
5032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5041 RSVG
=$ac_cv_prog_RSVG
5042 if test -n "$RSVG"; then
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5044 $as_echo "$RSVG" >&6; }
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5047 $as_echo "no" >&6; }
5051 test -n "$RSVG" && break
5053 test -n "$RSVG" || RSVG
="false"
5055 for ac_prog
in convert
5057 # Extract the first word of "$ac_prog", so it can be a program name with args.
5058 set dummy
$ac_prog; ac_word
=$2
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5060 $as_echo_n "checking for $ac_word... " >&6; }
5061 if ${ac_cv_prog_CONVERT+:} false
; then :
5062 $as_echo_n "(cached) " >&6
5064 if test -n "$CONVERT"; then
5065 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5071 test -z "$as_dir" && as_dir
=.
5072 for ac_exec_ext
in '' $ac_executable_extensions; do
5073 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5074 ac_cv_prog_CONVERT
="$ac_prog"
5075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5084 CONVERT
=$ac_cv_prog_CONVERT
5085 if test -n "$CONVERT"; then
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5087 $as_echo "$CONVERT" >&6; }
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090 $as_echo "no" >&6; }
5094 test -n "$CONVERT" && break
5096 test -n "$CONVERT" || CONVERT
="false"
5098 for ac_prog
in icotool
5100 # Extract the first word of "$ac_prog", so it can be a program name with args.
5101 set dummy
$ac_prog; ac_word
=$2
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5103 $as_echo_n "checking for $ac_word... " >&6; }
5104 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5105 $as_echo_n "(cached) " >&6
5107 if test -n "$ICOTOOL"; then
5108 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5114 test -z "$as_dir" && as_dir
=.
5115 for ac_exec_ext
in '' $ac_executable_extensions; do
5116 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5117 ac_cv_prog_ICOTOOL
="$ac_prog"
5118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5127 ICOTOOL
=$ac_cv_prog_ICOTOOL
5128 if test -n "$ICOTOOL"; then
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5130 $as_echo "$ICOTOOL" >&6; }
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5133 $as_echo "no" >&6; }
5137 test -n "$ICOTOOL" && break
5139 test -n "$ICOTOOL" || ICOTOOL
="false"
5141 for ac_prog
in msgfmt
5143 # Extract the first word of "$ac_prog", so it can be a program name with args.
5144 set dummy
$ac_prog; ac_word
=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if ${ac_cv_prog_MSGFMT+:} false
; then :
5148 $as_echo_n "(cached) " >&6
5150 if test -n "$MSGFMT"; then
5151 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5157 test -z "$as_dir" && as_dir
=.
5158 for ac_exec_ext
in '' $ac_executable_extensions; do
5159 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5160 ac_cv_prog_MSGFMT
="$ac_prog"
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5170 MSGFMT
=$ac_cv_prog_MSGFMT
5171 if test -n "$MSGFMT"; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5173 $as_echo "$MSGFMT" >&6; }
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5180 test -n "$MSGFMT" && break
5182 test -n "$MSGFMT" || MSGFMT
="false"
5184 if test -n "$ac_tool_prefix"; then
5185 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5186 set dummy
${ac_tool_prefix}pkg-config
; 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_PKG_CONFIG+:} false
; then :
5190 $as_echo_n "(cached) " >&6
5192 if test -n "$PKG_CONFIG"; then
5193 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # 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_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5212 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5213 if test -n "$PKG_CONFIG"; then
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5215 $as_echo "$PKG_CONFIG" >&6; }
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5218 $as_echo "no" >&6; }
5223 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5224 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
5225 elif test "$cross_compiling" != yes; then
5226 unset ac_cv_prog_PKG_CONFIG
5227 # Extract the first word of "pkg-config", so it can be a program name with args.
5228 set dummy pkg-config
; ac_word
=$2
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5232 $as_echo_n "(cached) " >&6
5234 if test -n "$PKG_CONFIG"; then
5235 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5241 test -z "$as_dir" && as_dir
=.
5242 for ac_exec_ext
in '' $ac_executable_extensions; do
5243 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_PKG_CONFIG
="pkg-config"
5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5255 if test -n "$PKG_CONFIG"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5257 $as_echo "$PKG_CONFIG" >&6; }
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5266 if test "x$enable_maintainer_mode" != "xyes"
5271 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5272 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5274 if test "$CONVERT" = false
5276 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5279 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5280 convert_version
=`convert --version | head -n1`
5281 if test "x$convert_version" != "x"
5283 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5284 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5285 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5290 if test "$CONVERT" = false
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5293 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5294 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5297 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5301 if test "$ICOTOOL" = false
5303 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5306 $as_echo_n "checking for recent enough icotool... " >&6; }
5307 icotool_version
=`icotool --version | head -n1`
5308 if test "x$icotool_version" != "x"
5310 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5311 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5312 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5315 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5318 if test "$ICOTOOL" = false
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5321 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5322 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5325 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5331 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5334 test "x$with_gettext" != xno || MSGFMT
=false
5335 if test "$MSGFMT" != "false"
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5338 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5339 cat >conftest.po
<<EOF
5345 if $MSGFMT -o /dev
/null conftest.po
2>&5
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5348 $as_echo "yes" >&6; }
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5351 $as_echo "no" >&6; }
5355 if test "$MSGFMT" = false
; then :
5356 case "x$with_gettext" in
5357 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5359 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5360 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5366 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5367 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5368 $as_echo_n "(cached) " >&6
5370 ac_check_lib_save_LIBS
=$LIBS
5372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5373 /* end confdefs.h. */
5375 /* Override any GCC internal prototype to avoid an error.
5376 Use char because int might match the return type of a GCC
5377 builtin and then its argument prototype would still apply. */
5381 char i386_set_ldt ();
5385 return i386_set_ldt ();
5390 if ac_fn_c_try_link
"$LINENO"; then :
5391 ac_cv_lib_i386_i386_set_ldt
=yes
5393 ac_cv_lib_i386_i386_set_ldt
=no
5395 rm -f core conftest.err conftest.
$ac_objext \
5396 conftest
$ac_exeext conftest.
$ac_ext
5397 LIBS
=$ac_check_lib_save_LIBS
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5400 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5401 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5402 cat >>confdefs.h
<<_ACEOF
5403 #define HAVE_LIBI386 1
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5411 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5412 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5413 $as_echo_n "(cached) " >&6
5415 ac_check_lib_save_LIBS
=$LIBS
5416 LIBS
="-lossaudio $LIBS"
5417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5420 /* Override any GCC internal prototype to avoid an error.
5421 Use char because int might match the return type of a GCC
5422 builtin and then its argument prototype would still apply. */
5430 return _oss_ioctl ();
5435 if ac_fn_c_try_link
"$LINENO"; then :
5436 ac_cv_lib_ossaudio__oss_ioctl
=yes
5438 ac_cv_lib_ossaudio__oss_ioctl
=no
5440 rm -f core conftest.err conftest.
$ac_objext \
5441 conftest
$ac_exeext conftest.
$ac_ext
5442 LIBS
=$ac_check_lib_save_LIBS
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5445 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5446 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5447 cat >>confdefs.h
<<_ACEOF
5448 #define HAVE_LIBOSSAUDIO 1
5451 LIBS
="-lossaudio $LIBS"
5462 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
5464 # Check whether --enable-largefile was given.
5465 if test "${enable_largefile+set}" = set; then :
5466 enableval
=$enable_largefile;
5469 if test "$enable_largefile" != no
; then
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5472 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5473 if ${ac_cv_sys_largefile_CC+:} false
; then :
5474 $as_echo_n "(cached) " >&6
5476 ac_cv_sys_largefile_CC
=no
5477 if test "$GCC" != yes; then
5480 # IRIX 6.2 and later do not support large files by default,
5481 # so use the C compiler's -n32 option if that helps.
5482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5483 /* end confdefs.h. */
5484 #include <sys/types.h>
5485 /* Check that off_t can represent 2**63 - 1 correctly.
5486 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5487 since some C++ compilers masquerading as C compilers
5488 incorrectly reject 9223372036854775807. */
5489 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5490 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5491 && LARGE_OFF_T % 2147483647 == 1)
5501 if ac_fn_c_try_compile
"$LINENO"; then :
5504 rm -f core conftest.err conftest.
$ac_objext
5506 if ac_fn_c_try_compile
"$LINENO"; then :
5507 ac_cv_sys_largefile_CC
=' -n32'; break
5509 rm -f core conftest.err conftest.
$ac_objext
5513 rm -f conftest.
$ac_ext
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5517 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5518 if test "$ac_cv_sys_largefile_CC" != no
; then
5519 CC
=$CC$ac_cv_sys_largefile_CC
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5523 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5524 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5525 $as_echo_n "(cached) " >&6
5528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5529 /* end confdefs.h. */
5530 #include <sys/types.h>
5531 /* Check that off_t can represent 2**63 - 1 correctly.
5532 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5533 since some C++ compilers masquerading as C compilers
5534 incorrectly reject 9223372036854775807. */
5535 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5536 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5537 && LARGE_OFF_T % 2147483647 == 1)
5547 if ac_fn_c_try_compile
"$LINENO"; then :
5548 ac_cv_sys_file_offset_bits
=no
; break
5550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5552 /* end confdefs.h. */
5553 #define _FILE_OFFSET_BITS 64
5554 #include <sys/types.h>
5555 /* Check that off_t can represent 2**63 - 1 correctly.
5556 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5557 since some C++ compilers masquerading as C compilers
5558 incorrectly reject 9223372036854775807. */
5559 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5560 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5561 && LARGE_OFF_T % 2147483647 == 1)
5571 if ac_fn_c_try_compile
"$LINENO"; then :
5572 ac_cv_sys_file_offset_bits
=64; break
5574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5575 ac_cv_sys_file_offset_bits
=unknown
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5580 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5581 case $ac_cv_sys_file_offset_bits in #(
5584 cat >>confdefs.h
<<_ACEOF
5585 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5590 if test $ac_cv_sys_file_offset_bits = unknown
; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5592 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5593 if ${ac_cv_sys_large_files+:} false
; then :
5594 $as_echo_n "(cached) " >&6
5597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5598 /* end confdefs.h. */
5599 #include <sys/types.h>
5600 /* Check that off_t can represent 2**63 - 1 correctly.
5601 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5602 since some C++ compilers masquerading as C compilers
5603 incorrectly reject 9223372036854775807. */
5604 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5605 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5606 && LARGE_OFF_T % 2147483647 == 1)
5616 if ac_fn_c_try_compile
"$LINENO"; then :
5617 ac_cv_sys_large_files
=no
; break
5619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5621 /* end confdefs.h. */
5622 #define _LARGE_FILES 1
5623 #include <sys/types.h>
5624 /* Check that off_t can represent 2**63 - 1 correctly.
5625 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5626 since some C++ compilers masquerading as C compilers
5627 incorrectly reject 9223372036854775807. */
5628 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5629 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5630 && LARGE_OFF_T % 2147483647 == 1)
5640 if ac_fn_c_try_compile
"$LINENO"; then :
5641 ac_cv_sys_large_files
=1; break
5643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5644 ac_cv_sys_large_files
=unknown
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5649 $as_echo "$ac_cv_sys_large_files" >&6; }
5650 case $ac_cv_sys_large_files in #(
5653 cat >>confdefs.h
<<_ACEOF
5654 #define _LARGE_FILES $ac_cv_sys_large_files
5666 ac_cpp
='$CPP $CPPFLAGS'
5667 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5668 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5669 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5671 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5672 # On Suns, sometimes $CPP names a directory.
5673 if test -n "$CPP" && test -d "$CPP"; then
5676 if test -z "$CPP"; then
5677 if ${ac_cv_prog_CPP+:} false
; then :
5678 $as_echo_n "(cached) " >&6
5680 # Double quotes because CPP needs to be expanded
5681 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5684 for ac_c_preproc_warn_flag
in '' yes
5686 # Use a header file that comes with gcc, so configuring glibc
5687 # with a fresh cross-compiler works.
5688 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5689 # <limits.h> exists even on freestanding compilers.
5690 # On the NeXT, cc -E runs the code through the compiler's parser,
5691 # not just through cpp. "Syntax error" is here to catch this case.
5692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5693 /* end confdefs.h. */
5695 # include <limits.h>
5697 # include <assert.h>
5701 if ac_fn_c_try_cpp
"$LINENO"; then :
5704 # Broken: fails on valid input.
5707 rm -f conftest.err conftest.i conftest.
$ac_ext
5709 # OK, works on sane cases. Now check whether nonexistent headers
5710 # can be detected and how.
5711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5712 /* end confdefs.h. */
5713 #include <ac_nonexistent.h>
5715 if ac_fn_c_try_cpp
"$LINENO"; then :
5716 # Broken: success on invalid input.
5719 # Passes both tests.
5723 rm -f conftest.err conftest.i conftest.
$ac_ext
5726 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5727 rm -f conftest.i conftest.err conftest.
$ac_ext
5728 if $ac_preproc_ok; then :
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5741 $as_echo "$CPP" >&6; }
5743 for ac_c_preproc_warn_flag
in '' yes
5745 # Use a header file that comes with gcc, so configuring glibc
5746 # with a fresh cross-compiler works.
5747 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5748 # <limits.h> exists even on freestanding compilers.
5749 # On the NeXT, cc -E runs the code through the compiler's parser,
5750 # not just through cpp. "Syntax error" is here to catch this case.
5751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5752 /* end confdefs.h. */
5754 # include <limits.h>
5756 # include <assert.h>
5760 if ac_fn_c_try_cpp
"$LINENO"; then :
5763 # Broken: fails on valid input.
5766 rm -f conftest.err conftest.i conftest.
$ac_ext
5768 # OK, works on sane cases. Now check whether nonexistent headers
5769 # can be detected and how.
5770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5771 /* end confdefs.h. */
5772 #include <ac_nonexistent.h>
5774 if ac_fn_c_try_cpp
"$LINENO"; then :
5775 # Broken: success on invalid input.
5778 # Passes both tests.
5782 rm -f conftest.err conftest.i conftest.
$ac_ext
5785 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5786 rm -f conftest.i conftest.err conftest.
$ac_ext
5787 if $ac_preproc_ok; then :
5790 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5792 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5793 See \`config.log' for more details" "$LINENO" 5; }
5797 ac_cpp
='$CPP $CPPFLAGS'
5798 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5799 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5800 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5804 $as_echo_n "checking for ANSI C header files... " >&6; }
5805 if ${ac_cv_header_stdc+:} false
; then :
5806 $as_echo_n "(cached) " >&6
5808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5809 /* end confdefs.h. */
5823 if ac_fn_c_try_compile
"$LINENO"; then :
5824 ac_cv_header_stdc
=yes
5826 ac_cv_header_stdc
=no
5828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5830 if test $ac_cv_header_stdc = yes; then
5831 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5833 /* end confdefs.h. */
5837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5838 $EGREP "memchr" >/dev
/null
2>&1; then :
5841 ac_cv_header_stdc
=no
5847 if test $ac_cv_header_stdc = yes; then
5848 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5850 /* end confdefs.h. */
5854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5855 $EGREP "free" >/dev
/null
2>&1; then :
5858 ac_cv_header_stdc
=no
5864 if test $ac_cv_header_stdc = yes; then
5865 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5866 if test "$cross_compiling" = yes; then :
5869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5870 /* end confdefs.h. */
5873 #if ((' ' & 0x0FF) == 0x020)
5874 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5875 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5877 # define ISLOWER(c) \
5878 (('a' <= (c) && (c) <= 'i') \
5879 || ('j' <= (c) && (c) <= 'r') \
5880 || ('s' <= (c) && (c) <= 'z'))
5881 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5884 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5889 for (i = 0; i < 256; i++)
5890 if (XOR (islower (i), ISLOWER (i))
5891 || toupper (i) != TOUPPER (i))
5896 if ac_fn_c_try_run
"$LINENO"; then :
5899 ac_cv_header_stdc
=no
5901 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5902 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5908 $as_echo "$ac_cv_header_stdc" >&6; }
5909 if test $ac_cv_header_stdc = yes; then
5911 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5915 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5916 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5917 inttypes.h stdint.h unistd.h
5919 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5920 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5922 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5923 cat >>confdefs.h
<<_ACEOF
5924 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5934 ApplicationServices
/ApplicationServices.h \
5935 AudioToolbox
/AudioConverter.h \
5936 AudioUnit
/AudioUnit.h \
5937 AudioUnit
/AudioComponent.h \
5940 CoreAudio
/CoreAudio.h \
5941 CoreServices
/CoreServices.h \
5942 DiskArbitration
/DiskArbitration.h \
5944 IOKit
/hid
/IOHIDLib.h \
5947 QuickTime
/ImageCompression.h \
5948 Security
/Security.h \
5962 fontconfig
/fontconfig.h \
6000 netinet
/in_systm.h \
6061 valgrind
/memcheck.h \
6062 valgrind
/valgrind.h \
6066 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6067 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6068 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6069 cat >>confdefs.h
<<_ACEOF
6070 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6078 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6079 if ${ac_cv_header_stat_broken+:} false
; then :
6080 $as_echo_n "(cached) " >&6
6082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6083 /* end confdefs.h. */
6084 #include <sys/types.h>
6085 #include <sys/stat.h>
6087 #if defined S_ISBLK && defined S_IFDIR
6088 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6091 #if defined S_ISBLK && defined S_IFCHR
6092 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6095 #if defined S_ISLNK && defined S_IFREG
6096 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6099 #if defined S_ISSOCK && defined S_IFREG
6100 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6104 if ac_fn_c_try_compile
"$LINENO"; then :
6105 ac_cv_header_stat_broken
=no
6107 ac_cv_header_stat_broken
=yes
6109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6112 $as_echo "$ac_cv_header_stat_broken" >&6; }
6113 if test $ac_cv_header_stat_broken = yes; then
6115 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6121 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6123 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6124 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6125 #ifdef HAVE_SYS_PARAM_H
6126 # include <sys/param.h>
6129 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6130 cat >>confdefs.h
<<_ACEOF
6131 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6146 netinet
/if_ether.h \
6147 netinet
/if_inarp.h \
6156 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6157 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6158 #ifdef HAVE_SYS_SOCKET_H
6159 # include <sys/socket.h>
6161 #ifdef HAVE_SYS_SOCKETVAR_H
6162 # include <sys/socketvar.h>
6164 #ifdef HAVE_NET_ROUTE_H
6165 # include <net/route.h>
6167 #ifdef HAVE_NETINET_IN_H
6168 # include <netinet/in.h>
6170 #ifdef HAVE_NETINET_IN_SYSTM_H
6171 # include <netinet/in_systm.h>
6173 #ifdef HAVE_NET_IF_H
6174 # include <net/if.h>
6176 #ifdef HAVE_NETINET_IP_H
6177 # include <netinet/ip.h>
6180 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6181 cat >>confdefs.h
<<_ACEOF
6182 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6190 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6192 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6193 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6197 #ifdef HAVE_SYS_SOCKET_H
6198 # include <sys/socket.h>
6200 #ifdef HAVE_SYS_SOCKETVAR_H
6201 # include <sys/socketvar.h>
6203 #ifdef HAVE_SYS_TIMEOUT_H
6204 # include <sys/timeout.h>
6206 #ifdef HAVE_NETINET_IN_H
6207 # include <netinet/in.h>
6209 #ifdef HAVE_NETINET_IN_SYSTM_H
6210 # include <netinet/in_systm.h>
6212 #ifdef HAVE_NETINET_IP_H
6213 # include <netinet/ip.h>
6215 #ifdef HAVE_NETINET_IP_VAR_H
6216 # include <netinet/ip_var.h>
6218 #ifdef HAVE_NETINET_IP_ICMP_H
6219 # include <netinet/ip_icmp.h>
6221 #ifdef HAVE_NETINET_UDP_H
6222 # include <netinet/udp.h>
6224 #ifdef HAVE_NETINET_TCP_H
6225 # include <netinet/tcp.h>
6227 #ifdef HAVE_NETINET_TCP_TIMER_H
6228 #include <netinet/tcp_timer.h>
6231 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6232 cat >>confdefs.h
<<_ACEOF
6233 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6241 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6243 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6244 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6245 #ifdef HAVE_ASM_TYPES_H
6246 # include <asm/types.h>
6248 #ifdef HAVE_SYS_SOCKET_H
6249 # include <sys/socket.h>
6251 #ifdef HAVE_LINUX_TYPES_H
6252 # include <linux/types.h>
6255 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6256 cat >>confdefs.h
<<_ACEOF
6257 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6265 for ac_header
in mach-o
/dyld_images.h
6267 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6268 # include <stdbool.h>
6270 #ifdef HAVE_STDINT_H
6271 # include <stdint.h>
6274 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6275 cat >>confdefs.h
<<_ACEOF
6276 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6284 for ac_header
in resolv.h
6286 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6287 #ifdef HAVE_SYS_SOCKET_H
6288 # include <sys/socket.h>
6290 #ifdef HAVE_NETINET_IN_H
6291 # include <netinet/in.h>
6293 #ifdef HAVE_ARPA_NAMESER_H
6294 # include <arpa/nameser.h>
6297 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6298 cat >>confdefs.h
<<_ACEOF
6299 #define HAVE_RESOLV_H 1
6307 for ac_header
in ifaddrs.h
6309 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6311 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6312 cat >>confdefs.h
<<_ACEOF
6313 #define HAVE_IFADDRS_H 1
6321 for ac_header
in ucontext.h
6323 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6325 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6326 cat >>confdefs.h
<<_ACEOF
6327 #define HAVE_UCONTEXT_H 1
6335 for ac_header
in sys
/thr.h
6337 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6338 #ifdef HAVE_UCONTEXT_H
6339 #include <ucontext.h>
6342 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6343 cat >>confdefs.h
<<_ACEOF
6344 #define HAVE_SYS_THR_H 1
6352 for ac_header
in pthread_np.h
6354 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6355 #include <pthread.h>
6358 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6359 cat >>confdefs.h
<<_ACEOF
6360 #define HAVE_PTHREAD_NP_H 1
6368 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6370 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6371 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6372 #include <sys/time.h>
6374 #include <sys/types.h>
6375 #ifdef HAVE_ASM_TYPES_H
6376 #include <asm/types.h>
6379 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6380 cat >>confdefs.h
<<_ACEOF
6381 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6389 for ac_header
in libprocstat.h
6391 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6392 #include <sys/param.h>
6394 #ifdef HAVE_SYS_QUEUE_H
6395 #include <sys/queue.h>
6397 #ifdef HAVE_SYS_SOCKET_H
6398 #include <sys/socket.h>
6401 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6402 cat >>confdefs.h
<<_ACEOF
6403 #define HAVE_LIBPROCSTAT_H 1
6412 dlldir
="\${libdir}/wine"
6418 DLLFLAGS
="-D_REENTRANT"
6427 STATIC_IMPLIBEXT
="def.a"
6428 # Extract the first word of "ldd", so it can be a program name with args.
6429 set dummy ldd
; ac_word
=$2
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6431 $as_echo_n "checking for $ac_word... " >&6; }
6432 if ${ac_cv_path_LDD+:} false
; then :
6433 $as_echo_n "(cached) " >&6
6437 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6441 as_dummy
="/sbin:/usr/sbin:$PATH"
6442 for as_dir
in $as_dummy
6445 test -z "$as_dir" && as_dir
=.
6446 for ac_exec_ext
in '' $ac_executable_extensions; do
6447 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6448 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6456 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6461 if test -n "$LDD"; then
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6463 $as_echo "$LDD" >&6; }
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6466 $as_echo "no" >&6; }
6470 if test -n "$ac_tool_prefix"; then
6471 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6472 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 $as_echo_n "checking for $ac_word... " >&6; }
6475 if ${ac_cv_prog_READELF+:} false
; then :
6476 $as_echo_n "(cached) " >&6
6478 if test -n "$READELF"; then
6479 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6485 test -z "$as_dir" && as_dir
=.
6486 for ac_exec_ext
in '' $ac_executable_extensions; do
6487 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6488 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6498 READELF
=$ac_cv_prog_READELF
6499 if test -n "$READELF"; then
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6501 $as_echo "$READELF" >&6; }
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504 $as_echo "no" >&6; }
6509 if test -z "$ac_cv_prog_READELF"; then
6510 ac_ct_READELF
=$READELF
6511 # Extract the first word of "readelf", so it can be a program name with args.
6512 set dummy readelf
; ac_word
=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
6516 $as_echo_n "(cached) " >&6
6518 if test -n "$ac_ct_READELF"; then
6519 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
6521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6525 test -z "$as_dir" && as_dir
=.
6526 for ac_exec_ext
in '' $ac_executable_extensions; do
6527 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6528 ac_cv_prog_ac_ct_READELF
="readelf"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6538 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
6539 if test -n "$ac_ct_READELF"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6541 $as_echo "$ac_ct_READELF" >&6; }
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6547 if test "x$ac_ct_READELF" = x
; then
6550 case $cross_compiling:$ac_tool_warned in
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6554 ac_tool_warned
=yes ;;
6556 READELF
=$ac_ct_READELF
6559 READELF
="$ac_cv_prog_READELF"
6565 if test -n "$ac_tool_prefix"; then
6566 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6567 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6569 $as_echo_n "checking for $ac_word... " >&6; }
6570 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6571 $as_echo_n "(cached) " >&6
6573 if test -n "$DLLTOOL"; then
6574 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6580 test -z "$as_dir" && as_dir
=.
6581 for ac_exec_ext
in '' $ac_executable_extensions; do
6582 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6583 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6593 DLLTOOL
=$ac_cv_prog_DLLTOOL
6594 if test -n "$DLLTOOL"; then
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6596 $as_echo "$DLLTOOL" >&6; }
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6599 $as_echo "no" >&6; }
6604 if test -z "$ac_cv_prog_DLLTOOL"; then
6605 ac_ct_DLLTOOL
=$DLLTOOL
6606 # Extract the first word of "dlltool", so it can be a program name with args.
6607 set dummy dlltool
; ac_word
=$2
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6609 $as_echo_n "checking for $ac_word... " >&6; }
6610 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6611 $as_echo_n "(cached) " >&6
6613 if test -n "$ac_ct_DLLTOOL"; then
6614 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6620 test -z "$as_dir" && as_dir
=.
6621 for ac_exec_ext
in '' $ac_executable_extensions; do
6622 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6623 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6633 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6634 if test -n "$ac_ct_DLLTOOL"; then
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6636 $as_echo "$ac_ct_DLLTOOL" >&6; }
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6639 $as_echo "no" >&6; }
6642 if test "x$ac_ct_DLLTOOL" = x
; then
6645 case $cross_compiling:$ac_tool_warned in
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6649 ac_tool_warned
=yes ;;
6651 DLLTOOL
=$ac_ct_DLLTOOL
6654 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6659 STATIC_IMPLIBEXT
="a"
6660 enable_iphlpapi
=${enable_iphlpapi:-no}
6661 enable_kernel32
=${enable_kernel32:-no}
6662 enable_msvcrt
=${enable_msvcrt:-no}
6663 enable_ntdll
=${enable_ntdll:-no}
6664 enable_ws2_32
=${enable_ws2_32:-no}
6665 enable_loader
=${enable_loader:-no}
6666 enable_server
=${enable_server:-no}
6667 with_x
=${with_x:-no}
6668 with_pthread
=${with_pthread:-no}
6674 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
6679 all: libwine.dll libwine.a
6682 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
6684 libwine.dll: \$(OBJS) wine.def Makefile.in
6685 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
6687 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
6688 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
6690 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
6691 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
6694 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
6697 \$(RM) libwine.dll version.c
6705 DLLFLAGS
="$DLLFLAGS -fPIC"
6706 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6707 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6708 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
6709 COREFOUNDATIONLIB
="-framework CoreFoundation"
6711 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6713 FORCEFEEDBACKLIB
="-framework ForceFeedback -framework CoreFoundation"
6715 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
6717 CORESERVICESLIB
="-framework CoreServices"
6719 APPKITLIB
="-framework AppKit"
6723 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6726 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6729 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6731 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6734 if test "$ac_cv_header_Security_Security_h" = "yes"
6736 SECURITYLIB
="-framework Security -framework CoreFoundation"
6738 ac_save_LIBS
="$LIBS"
6739 LIBS
="$LIBS $SECURITYLIB"
6740 for ac_func
in SSLCopyPeerCertificates
6742 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6743 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
6744 cat >>confdefs.h
<<_ACEOF
6745 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6751 LIBS
="$ac_save_LIBS"
6752 with_gnutls
=${with_gnutls:-no}
6754 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6756 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6758 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6761 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6764 ac_save_LIBS
="$LIBS"
6765 LIBS
="$LIBS $COREAUDIO"
6766 for ac_func
in AUGraphAddNode
6768 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6769 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
6770 cat >>confdefs.h
<<_ACEOF
6771 #define HAVE_AUGRAPHADDNODE 1
6777 LIBS
="$ac_save_LIBS"
6779 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6781 FRAMEWORK_OPENAL
="-framework OpenAL"
6784 cat >>confdefs.h
<<_ACEOF
6785 #define HAVE_OPENAL 1
6788 ac_cv_lib_openal
=yes
6790 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6792 LIBOPENCL
="-framework OpenCL"
6794 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6796 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6798 ac_save_LIBS
="$LIBS"
6799 LIBS
="$LIBS $IOKITLIB"
6800 for ac_func
in IOHIDManagerCreate
6802 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6803 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
6804 cat >>confdefs.h
<<_ACEOF
6805 #define HAVE_IOHIDMANAGERCREATE 1
6811 LIBS
="$ac_save_LIBS"
6813 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6815 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6817 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6819 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6821 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6823 CARBONLIB
="-framework Carbon"
6827 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6829 ac_save_LIBS
="$LIBS"
6830 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
6831 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6832 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
6833 enable_winemac_drv
=${enable_winemac_drv:-yes}
6836 LIBS
="$ac_save_LIBS"
6839 if test "x$enable_win16" = "xyes"
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6842 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6843 if test "$cross_compiling" = yes; then :
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6845 $as_echo "cross-compiling, assuming yes" >&6; }
6847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6848 /* end confdefs.h. */
6851 "good:\tnop;nop\n\t"
6852 ".globl _testfunc\n"
6853 "_testfunc:\tcallw good");
6854 extern void testfunc();
6858 unsigned short *p = (unsigned short *)testfunc;
6859 return p[0] != 0xe866 || p[1] != 0xfffa
6864 if ac_fn_c_try_run
"$LINENO"; then :
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6866 $as_echo "yes" >&6; }
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6869 $as_echo "no" >&6; }
6870 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
6872 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6873 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6881 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
6882 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
6884 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
6885 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
6887 libwine.dylib: libwine.\$(SOVERSION).dylib
6888 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
6890 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
6891 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
6892 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6894 install install-dev:: \$(DESTDIR)\$(libdir) dummy
6895 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
6898 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6901 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
6907 DLLFLAGS
="$DLLFLAGS -fPIC"
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6912 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6913 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
6914 $as_echo_n "(cached) " >&6
6916 ac_wine_try_cflags_saved
=$CFLAGS
6917 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6919 /* end confdefs.h. */
6920 int main(int argc, char **argv) { return 0; }
6922 if ac_fn_c_try_link
"$LINENO"; then :
6923 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6925 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6927 rm -f core conftest.err conftest.
$ac_objext \
6928 conftest
$ac_exeext conftest.
$ac_ext
6929 CFLAGS
=$ac_wine_try_cflags_saved
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6932 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6933 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6934 LDEXECFLAGS
="-Wl,--export-dynamic"
6937 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6939 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6940 if eval \
${$as_ac_var+:} false
; then :
6941 $as_echo_n "(cached) " >&6
6943 ac_wine_try_cflags_saved
=$CFLAGS
6944 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6946 /* end confdefs.h. */
6947 int main(int argc, char **argv) { return 0; }
6949 if ac_fn_c_try_link
"$LINENO"; then :
6950 eval "$as_ac_var=yes"
6952 eval "$as_ac_var=no"
6954 rm -f core conftest.err conftest.
$ac_objext \
6955 conftest
$ac_exeext conftest.
$ac_ext
6956 CFLAGS
=$ac_wine_try_cflags_saved
6958 eval ac_res
=\$
$as_ac_var
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6960 $as_echo "$ac_res" >&6; }
6961 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6962 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6963 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6965 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6967 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6968 if eval \
${$as_ac_var+:} false
; then :
6969 $as_echo_n "(cached) " >&6
6971 ac_wine_try_cflags_saved
=$CFLAGS
6972 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6974 /* end confdefs.h. */
6975 int main(int argc, char **argv) { return 0; }
6977 if ac_fn_c_try_link
"$LINENO"; then :
6978 eval "$as_ac_var=yes"
6980 eval "$as_ac_var=no"
6982 rm -f core conftest.err conftest.
$ac_objext \
6983 conftest
$ac_exeext conftest.
$ac_ext
6984 CFLAGS
=$ac_wine_try_cflags_saved
6986 eval ac_res
=\$
$as_ac_var
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6988 $as_echo "$ac_res" >&6; }
6989 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6990 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6991 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6996 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6997 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
6998 $as_echo_n "(cached) " >&6
7000 ac_wine_try_cflags_saved
=$CFLAGS
7001 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7003 /* end confdefs.h. */
7004 int main(int argc, char **argv) { return 0; }
7006 if ac_fn_c_try_link
"$LINENO"; then :
7007 ac_cv_cflags__Wl___enable_new_dtags
=yes
7009 ac_cv_cflags__Wl___enable_new_dtags
=no
7011 rm -f core conftest.err conftest.
$ac_objext \
7012 conftest
$ac_exeext conftest.
$ac_ext
7013 CFLAGS
=$ac_wine_try_cflags_saved
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7016 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7017 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7018 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7022 *i
[3456789]86* | x86_64
)
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7024 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7025 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7026 $as_echo_n "(cached) " >&6
7028 ac_wine_try_cflags_saved
=$CFLAGS
7029 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7031 /* end confdefs.h. */
7032 int main(int argc, char **argv) { return 0; }
7034 if ac_fn_c_try_link
"$LINENO"; then :
7035 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7037 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7039 rm -f core conftest.err conftest.
$ac_objext \
7040 conftest
$ac_exeext conftest.
$ac_ext
7041 CFLAGS
=$ac_wine_try_cflags_saved
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7044 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7045 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7046 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7054 libwine.so: \$(OBJS) Makefile.in
7055 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7057 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7058 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7061 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7064 \$(RM) libwine.so version.c
7070 DLLFLAGS
="$DLLFLAGS -fPIC"
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7073 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7074 if ${ac_cv_c_dll_gnuelf+:} false
; then :
7075 $as_echo_n "(cached) " >&6
7077 ac_wine_try_cflags_saved
=$CFLAGS
7078 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7080 /* end confdefs.h. */
7083 if ac_fn_c_try_link
"$LINENO"; then :
7084 ac_cv_c_dll_gnuelf
="yes"
7086 ac_cv_c_dll_gnuelf
="no"
7088 rm -f core conftest.err conftest.
$ac_objext \
7089 conftest
$ac_exeext conftest.
$ac_ext
7090 CFLAGS
=$ac_wine_try_cflags_saved
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7093 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7094 if test "$ac_cv_c_dll_gnuelf" = "yes"
7096 LDSHARED
="\$(CC) -shared"
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7098 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7099 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
7100 $as_echo_n "(cached) " >&6
7102 ac_wine_try_cflags_saved
=$CFLAGS
7103 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7105 /* end confdefs.h. */
7106 int main(int argc, char **argv) { return 0; }
7108 if ac_fn_c_try_link
"$LINENO"; then :
7109 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
7111 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
7113 rm -f core conftest.err conftest.
$ac_objext \
7114 conftest
$ac_exeext conftest.
$ac_ext
7115 CFLAGS
=$ac_wine_try_cflags_saved
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7118 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7119 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7120 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7123 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7124 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
7125 $as_echo_n "(cached) " >&6
7127 ac_wine_try_cflags_saved
=$CFLAGS
7128 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7130 /* end confdefs.h. */
7131 int main(int argc, char **argv) { return 0; }
7133 if ac_fn_c_try_link
"$LINENO"; then :
7134 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
7136 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
7138 rm -f core conftest.err conftest.
$ac_objext \
7139 conftest
$ac_exeext conftest.
$ac_ext
7140 CFLAGS
=$ac_wine_try_cflags_saved
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7143 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7144 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7145 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7149 echo '{ global: *; };' >conftest.map
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7151 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7152 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
7153 $as_echo_n "(cached) " >&6
7155 ac_wine_try_cflags_saved
=$CFLAGS
7156 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7158 /* end confdefs.h. */
7159 int main(int argc, char **argv) { return 0; }
7161 if ac_fn_c_try_link
"$LINENO"; then :
7162 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
7164 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
7166 rm -f core conftest.err conftest.
$ac_objext \
7167 conftest
$ac_exeext conftest.
$ac_ext
7168 CFLAGS
=$ac_wine_try_cflags_saved
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7171 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7172 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7173 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7178 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7179 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7180 $as_echo_n "(cached) " >&6
7182 ac_wine_try_cflags_saved
=$CFLAGS
7183 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7185 /* end confdefs.h. */
7186 int main(int argc, char **argv) { return 0; }
7188 if ac_fn_c_try_link
"$LINENO"; then :
7189 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7191 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7193 rm -f core conftest.err conftest.
$ac_objext \
7194 conftest
$ac_exeext conftest.
$ac_ext
7195 CFLAGS
=$ac_wine_try_cflags_saved
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7198 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7199 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7200 LDEXECFLAGS
="-Wl,--export-dynamic"
7204 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7206 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7207 if eval \
${$as_ac_var+:} false
; then :
7208 $as_echo_n "(cached) " >&6
7210 ac_wine_try_cflags_saved
=$CFLAGS
7211 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7213 /* end confdefs.h. */
7214 int main(int argc, char **argv) { return 0; }
7216 if ac_fn_c_try_link
"$LINENO"; then :
7217 eval "$as_ac_var=yes"
7219 eval "$as_ac_var=no"
7221 rm -f core conftest.err conftest.
$ac_objext \
7222 conftest
$ac_exeext conftest.
$ac_ext
7223 CFLAGS
=$ac_wine_try_cflags_saved
7225 eval ac_res
=\$
$as_ac_var
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7227 $as_echo "$ac_res" >&6; }
7228 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7229 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7230 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7232 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7234 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7235 if eval \
${$as_ac_var+:} false
; then :
7236 $as_echo_n "(cached) " >&6
7238 ac_wine_try_cflags_saved
=$CFLAGS
7239 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7241 /* end confdefs.h. */
7242 int main(int argc, char **argv) { return 0; }
7244 if ac_fn_c_try_link
"$LINENO"; then :
7245 eval "$as_ac_var=yes"
7247 eval "$as_ac_var=no"
7249 rm -f core conftest.err conftest.
$ac_objext \
7250 conftest
$ac_exeext conftest.
$ac_ext
7251 CFLAGS
=$ac_wine_try_cflags_saved
7253 eval ac_res
=\$
$as_ac_var
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7255 $as_echo "$ac_res" >&6; }
7256 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7257 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7258 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7263 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7264 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7265 $as_echo_n "(cached) " >&6
7267 ac_wine_try_cflags_saved
=$CFLAGS
7268 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7270 /* end confdefs.h. */
7271 int main(int argc, char **argv) { return 0; }
7273 if ac_fn_c_try_link
"$LINENO"; then :
7274 ac_cv_cflags__Wl___enable_new_dtags
=yes
7276 ac_cv_cflags__Wl___enable_new_dtags
=no
7278 rm -f core conftest.err conftest.
$ac_objext \
7279 conftest
$ac_exeext conftest.
$ac_ext
7280 CFLAGS
=$ac_wine_try_cflags_saved
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7283 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7284 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7285 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7289 *i
[3456789]86* | x86_64
)
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7291 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7292 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7293 $as_echo_n "(cached) " >&6
7295 ac_wine_try_cflags_saved
=$CFLAGS
7296 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7298 /* end confdefs.h. */
7299 int main(int argc, char **argv) { return 0; }
7301 if ac_fn_c_try_link
"$LINENO"; then :
7302 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7304 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7306 rm -f core conftest.err conftest.
$ac_objext \
7307 conftest
$ac_exeext conftest.
$ac_ext
7308 CFLAGS
=$ac_wine_try_cflags_saved
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7311 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7312 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7314 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7315 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7319 # Extract the first word of "prelink", so it can be a program name with args.
7320 set dummy prelink
; ac_word
=$2
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7322 $as_echo_n "checking for $ac_word... " >&6; }
7323 if ${ac_cv_path_PRELINK+:} false
; then :
7324 $as_echo_n "(cached) " >&6
7328 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7332 for as_dir
in /sbin
/usr
/sbin
$PATH
7335 test -z "$as_dir" && as_dir
=.
7336 for ac_exec_ext
in '' $ac_executable_extensions; do
7337 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7338 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7346 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7350 PRELINK
=$ac_cv_path_PRELINK
7351 if test -n "$PRELINK"; then
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7353 $as_echo "$PRELINK" >&6; }
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 $as_echo "no" >&6; }
7360 if test "x$PRELINK" = xfalse
7362 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7369 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7370 if ${ac_cv_c_dll_unixware+:} false
; then :
7371 $as_echo_n "(cached) " >&6
7373 ac_wine_try_cflags_saved
=$CFLAGS
7374 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7376 /* end confdefs.h. */
7379 if ac_fn_c_try_link
"$LINENO"; then :
7380 ac_cv_c_dll_unixware
="yes"
7382 ac_cv_c_dll_unixware
="no"
7384 rm -f core conftest.err conftest.
$ac_objext \
7385 conftest
$ac_exeext conftest.
$ac_ext
7386 CFLAGS
=$ac_wine_try_cflags_saved
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7389 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7390 if test "$ac_cv_c_dll_unixware" = "yes"
7392 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7398 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7399 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7401 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7402 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7404 libwine.so: libwine.so.\$(SOVERSION)
7405 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7407 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
7408 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
7409 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7411 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7412 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
7415 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7418 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
7424 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7425 enable_winemac_drv
=${enable_winemac_drv:-no}
7427 CROSSTEST_DISABLE
=\
#
7429 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7433 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
7436 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 " ;;
7438 ac_prefix_list
="" ;;
7440 for ac_prog
in $ac_prefix_list
7442 # Extract the first word of "$ac_prog", so it can be a program name with args.
7443 set dummy
$ac_prog; ac_word
=$2
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7445 $as_echo_n "checking for $ac_word... " >&6; }
7446 if ${ac_cv_prog_CROSSCC+:} false
; then :
7447 $as_echo_n "(cached) " >&6
7449 if test -n "$CROSSCC"; then
7450 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7456 test -z "$as_dir" && as_dir
=.
7457 for ac_exec_ext
in '' $ac_executable_extensions; do
7458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7459 ac_cv_prog_CROSSCC
="$ac_prog"
7460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7469 CROSSCC
=$ac_cv_prog_CROSSCC
7470 if test -n "$CROSSCC"; then
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7472 $as_echo "$CROSSCC" >&6; }
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7475 $as_echo "no" >&6; }
7479 test -n "$CROSSCC" && break
7481 test -n "$CROSSCC" || CROSSCC
="false"
7483 if test "$CROSSCC" != "false"
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7488 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7490 /* end confdefs.h. */
7500 if ac_fn_c_try_compile
"$LINENO"; then :
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7502 $as_echo "yes" >&6; }
7509 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7513 if test -n "$target"
7515 CROSSTEST_DISABLE
=""
7516 CROSSTARGET
="$target"
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7521 $as_echo "no" >&6; }
7523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7529 if test "$ac_cv_header_pthread_h" = "yes"
7531 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7532 if test "x$ac_cv_func_pthread_create" = xyes
; then :
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7536 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7537 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
7538 $as_echo_n "(cached) " >&6
7540 ac_check_lib_save_LIBS
=$LIBS
7541 LIBS
="-lpthread $LIBS"
7542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7543 /* end confdefs.h. */
7545 /* Override any GCC internal prototype to avoid an error.
7546 Use char because int might match the return type of a GCC
7547 builtin and then its argument prototype would still apply. */
7551 char pthread_create ();
7555 return pthread_create ();
7560 if ac_fn_c_try_link
"$LINENO"; then :
7561 ac_cv_lib_pthread_pthread_create
=yes
7563 ac_cv_lib_pthread_pthread_create
=no
7565 rm -f core conftest.err conftest.
$ac_objext \
7566 conftest
$ac_exeext conftest.
$ac_ext
7567 LIBS
=$ac_check_lib_save_LIBS
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7570 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7571 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
7572 LIBPTHREAD
="-lpthread"
7579 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
7580 case "x$with_pthread" in
7582 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7583 Wine cannot support threads without libpthread.
7584 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7590 $as_echo_n "checking for X... " >&6; }
7593 # Check whether --with-x was given.
7594 if test "${with_x+set}" = set; then :
7598 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7599 if test "x$with_x" = xno
; then
7600 # The user explicitly disabled X.
7603 case $x_includes,$x_libraries in #(
7604 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
7605 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
7606 $as_echo_n "(cached) " >&6
7608 # One or both of the vars are not set, and there is no cached value.
7609 ac_x_includes
=no ac_x_libraries
=no
7610 rm -f -r conftest.dir
7611 if mkdir conftest.dir
; then
7613 cat >Imakefile
<<'_ACEOF'
7615 @echo incroot='${INCROOT}'
7617 @echo usrlibdir='${USRLIBDIR}'
7619 @echo libdir='${LIBDIR}'
7621 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7622 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7623 for ac_var
in incroot usrlibdir libdir
; do
7624 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7626 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7627 for ac_extension
in a so sl dylib la dll
; do
7628 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7629 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7630 ac_im_usrlibdir
=$ac_im_libdir; break
7633 # Screen out bogus values from the imake configuration. They are
7634 # bogus both because they are the default anyway, and because
7635 # using them would break gcc on systems where it needs fixed includes.
7636 case $ac_im_incroot in
7637 /usr
/include
) ac_x_includes
= ;;
7638 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7640 case $ac_im_usrlibdir in
7641 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7642 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7646 rm -f -r conftest.dir
7649 # Standard set of common directories for X headers.
7650 # Check X11 before X11Rn because it is often a symlink to the current release.
7664 /usr/local/X11/include
7665 /usr/local/X11R7/include
7666 /usr/local/X11R6/include
7667 /usr/local/X11R5/include
7668 /usr/local/X11R4/include
7670 /usr/local/include/X11
7671 /usr/local/include/X11R7
7672 /usr/local/include/X11R6
7673 /usr/local/include/X11R5
7674 /usr/local/include/X11R4
7678 /usr/XFree86/include/X11
7682 /usr/unsupported/include
7684 /usr/local/x11r5/include
7685 /usr/lpp/Xamples/include
7687 /usr/openwin/include
7688 /usr/openwin/share/include'
7690 if test "$ac_x_includes" = no
; then
7691 # Guess where to find include files, by looking for Xlib.h.
7692 # First, try using that file with no special directory specified.
7693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7694 /* end confdefs.h. */
7695 #include <X11/Xlib.h>
7697 if ac_fn_c_try_cpp
"$LINENO"; then :
7698 # We can compile using X headers with no special include directory.
7701 for ac_dir
in $ac_x_header_dirs; do
7702 if test -r "$ac_dir/X11/Xlib.h"; then
7703 ac_x_includes
=$ac_dir
7708 rm -f conftest.err conftest.i conftest.
$ac_ext
7709 fi # $ac_x_includes = no
7711 if test "$ac_x_libraries" = no
; then
7712 # Check for the libraries.
7713 # See if we find them without any special options.
7714 # Don't add to $LIBS permanently.
7717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7718 /* end confdefs.h. */
7719 #include <X11/Xlib.h>
7728 if ac_fn_c_try_link
"$LINENO"; then :
7730 # We can link X programs with no special library path.
7734 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7736 # Don't even attempt the hair of trying to link an X program!
7737 for ac_extension
in a so sl dylib la dll
; do
7738 if test -r "$ac_dir/libX11.$ac_extension"; then
7739 ac_x_libraries
=$ac_dir
7745 rm -f core conftest.err conftest.
$ac_objext \
7746 conftest
$ac_exeext conftest.
$ac_ext
7747 fi # $ac_x_libraries = no
7749 case $ac_x_includes,$ac_x_libraries in #(
7751 # Didn't find X, or a directory has "'" in its name.
7752 ac_cv_have_x
="have_x=no";; #(
7754 # Record where we found X for the cache.
7755 ac_cv_have_x
="have_x=yes\
7756 ac_x_includes='$ac_x_includes'\
7757 ac_x_libraries='$ac_x_libraries'"
7763 eval "$ac_cv_have_x"
7766 if test "$have_x" != yes; then
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7768 $as_echo "$have_x" >&6; }
7771 # If each of the values was on the command line, it overrides each guess.
7772 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7773 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7774 # Update the cache value to reflect the command line values.
7775 ac_cv_have_x
="have_x=yes\
7776 ac_x_includes='$x_includes'\
7777 ac_x_libraries='$x_libraries'"
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7779 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7782 if test "$no_x" = yes; then
7783 # Not all programs may use this symbol, but it does not hurt to define it.
7785 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7787 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7789 if test -n "$x_includes"; then
7790 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7793 # It would also be nice to do this for all -L options, not just this one.
7794 if test -n "$x_libraries"; then
7795 X_LIBS
="$X_LIBS -L$x_libraries"
7796 # For Solaris; some versions of Sun CC require a space after -R and
7797 # others require no space. Words are not sufficient . . . .
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7799 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7800 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7801 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7802 ac_c_werror_flag
=yes
7803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7804 /* end confdefs.h. */
7814 if ac_fn_c_try_link
"$LINENO"; then :
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7816 $as_echo "no" >&6; }
7817 X_LIBS
="$X_LIBS -R$x_libraries"
7819 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7821 /* end confdefs.h. */
7831 if ac_fn_c_try_link
"$LINENO"; then :
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7833 $as_echo "yes" >&6; }
7834 X_LIBS
="$X_LIBS -R $x_libraries"
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7837 $as_echo "neither works" >&6; }
7839 rm -f core conftest.err conftest.
$ac_objext \
7840 conftest
$ac_exeext conftest.
$ac_ext
7842 rm -f core conftest.err conftest.
$ac_objext \
7843 conftest
$ac_exeext conftest.
$ac_ext
7844 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7848 # Check for system-dependent libraries X programs must link with.
7849 # Do this before checking for the system-independent R6 libraries
7850 # (-lICE), since we may need -lsocket or whatever for X linking.
7852 if test "$ISC" = yes; then
7853 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7855 # Martyn Johnson says this is needed for Ultrix, if the X
7856 # libraries were built with DECnet support. And Karl Berry says
7857 # the Alpha needs dnet_stub (dnet does not exist).
7858 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7860 /* end confdefs.h. */
7862 /* Override any GCC internal prototype to avoid an error.
7863 Use char because int might match the return type of a GCC
7864 builtin and then its argument prototype would still apply. */
7868 char XOpenDisplay ();
7872 return XOpenDisplay ();
7877 if ac_fn_c_try_link
"$LINENO"; then :
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7881 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7882 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
7883 $as_echo_n "(cached) " >&6
7885 ac_check_lib_save_LIBS
=$LIBS
7887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7888 /* end confdefs.h. */
7890 /* Override any GCC internal prototype to avoid an error.
7891 Use char because int might match the return type of a GCC
7892 builtin and then its argument prototype would still apply. */
7900 return dnet_ntoa ();
7905 if ac_fn_c_try_link
"$LINENO"; then :
7906 ac_cv_lib_dnet_dnet_ntoa
=yes
7908 ac_cv_lib_dnet_dnet_ntoa
=no
7910 rm -f core conftest.err conftest.
$ac_objext \
7911 conftest
$ac_exeext conftest.
$ac_ext
7912 LIBS
=$ac_check_lib_save_LIBS
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7915 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7916 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
7917 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7920 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7922 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7923 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
7924 $as_echo_n "(cached) " >&6
7926 ac_check_lib_save_LIBS
=$LIBS
7927 LIBS
="-ldnet_stub $LIBS"
7928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7929 /* end confdefs.h. */
7931 /* Override any GCC internal prototype to avoid an error.
7932 Use char because int might match the return type of a GCC
7933 builtin and then its argument prototype would still apply. */
7941 return dnet_ntoa ();
7946 if ac_fn_c_try_link
"$LINENO"; then :
7947 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7949 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7951 rm -f core conftest.err conftest.
$ac_objext \
7952 conftest
$ac_exeext conftest.
$ac_ext
7953 LIBS
=$ac_check_lib_save_LIBS
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7956 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7957 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
7958 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7963 rm -f core conftest.err conftest.
$ac_objext \
7964 conftest
$ac_exeext conftest.
$ac_ext
7965 LIBS
="$ac_xsave_LIBS"
7967 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7968 # to get the SysV transport functions.
7969 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7971 # The nsl library prevents programs from opening the X display
7972 # on Irix 5.2, according to T.E. Dickey.
7973 # The functions gethostbyname, getservbyname, and inet_addr are
7974 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7975 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7976 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
7980 if test $ac_cv_func_gethostbyname = no
; then
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7982 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7983 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
7984 $as_echo_n "(cached) " >&6
7986 ac_check_lib_save_LIBS
=$LIBS
7988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7989 /* end confdefs.h. */
7991 /* Override any GCC internal prototype to avoid an error.
7992 Use char because int might match the return type of a GCC
7993 builtin and then its argument prototype would still apply. */
7997 char gethostbyname ();
8001 return gethostbyname ();
8006 if ac_fn_c_try_link
"$LINENO"; then :
8007 ac_cv_lib_nsl_gethostbyname
=yes
8009 ac_cv_lib_nsl_gethostbyname
=no
8011 rm -f core conftest.err conftest.
$ac_objext \
8012 conftest
$ac_exeext conftest.
$ac_ext
8013 LIBS
=$ac_check_lib_save_LIBS
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8016 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8017 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8018 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8021 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8023 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8024 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8025 $as_echo_n "(cached) " >&6
8027 ac_check_lib_save_LIBS
=$LIBS
8029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8030 /* end confdefs.h. */
8032 /* Override any GCC internal prototype to avoid an error.
8033 Use char because int might match the return type of a GCC
8034 builtin and then its argument prototype would still apply. */
8038 char gethostbyname ();
8042 return gethostbyname ();
8047 if ac_fn_c_try_link
"$LINENO"; then :
8048 ac_cv_lib_bsd_gethostbyname
=yes
8050 ac_cv_lib_bsd_gethostbyname
=no
8052 rm -f core conftest.err conftest.
$ac_objext \
8053 conftest
$ac_exeext conftest.
$ac_ext
8054 LIBS
=$ac_check_lib_save_LIBS
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8057 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8058 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
8059 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8065 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8066 # socket/setsockopt and other routines are undefined under SCO ODT
8067 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8068 # on later versions), says Simon Leinen: it contains gethostby*
8069 # variants that don't use the name server (or something). -lsocket
8070 # must be given before -lnsl if both are needed. We assume that
8071 # if connect needs -lnsl, so does gethostbyname.
8072 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
8073 if test "x$ac_cv_func_connect" = xyes
; then :
8077 if test $ac_cv_func_connect = no
; then
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8079 $as_echo_n "checking for connect in -lsocket... " >&6; }
8080 if ${ac_cv_lib_socket_connect+:} false
; then :
8081 $as_echo_n "(cached) " >&6
8083 ac_check_lib_save_LIBS
=$LIBS
8084 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8086 /* end confdefs.h. */
8088 /* Override any GCC internal prototype to avoid an error.
8089 Use char because int might match the return type of a GCC
8090 builtin and then its argument prototype would still apply. */
8103 if ac_fn_c_try_link
"$LINENO"; then :
8104 ac_cv_lib_socket_connect
=yes
8106 ac_cv_lib_socket_connect
=no
8108 rm -f core conftest.err conftest.
$ac_objext \
8109 conftest
$ac_exeext conftest.
$ac_ext
8110 LIBS
=$ac_check_lib_save_LIBS
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8113 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8114 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
8115 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8120 # Guillermo Gomez says -lposix is necessary on A/UX.
8121 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
8122 if test "x$ac_cv_func_remove" = xyes
; then :
8126 if test $ac_cv_func_remove = no
; then
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8128 $as_echo_n "checking for remove in -lposix... " >&6; }
8129 if ${ac_cv_lib_posix_remove+:} false
; then :
8130 $as_echo_n "(cached) " >&6
8132 ac_check_lib_save_LIBS
=$LIBS
8133 LIBS
="-lposix $LIBS"
8134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8135 /* end confdefs.h. */
8137 /* Override any GCC internal prototype to avoid an error.
8138 Use char because int might match the return type of a GCC
8139 builtin and then its argument prototype would still apply. */
8152 if ac_fn_c_try_link
"$LINENO"; then :
8153 ac_cv_lib_posix_remove
=yes
8155 ac_cv_lib_posix_remove
=no
8157 rm -f core conftest.err conftest.
$ac_objext \
8158 conftest
$ac_exeext conftest.
$ac_ext
8159 LIBS
=$ac_check_lib_save_LIBS
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8162 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8163 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
8164 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8169 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8170 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
8171 if test "x$ac_cv_func_shmat" = xyes
; then :
8175 if test $ac_cv_func_shmat = no
; then
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8177 $as_echo_n "checking for shmat in -lipc... " >&6; }
8178 if ${ac_cv_lib_ipc_shmat+:} false
; then :
8179 $as_echo_n "(cached) " >&6
8181 ac_check_lib_save_LIBS
=$LIBS
8183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8184 /* end confdefs.h. */
8186 /* Override any GCC internal prototype to avoid an error.
8187 Use char because int might match the return type of a GCC
8188 builtin and then its argument prototype would still apply. */
8201 if ac_fn_c_try_link
"$LINENO"; then :
8202 ac_cv_lib_ipc_shmat
=yes
8204 ac_cv_lib_ipc_shmat
=no
8206 rm -f core conftest.err conftest.
$ac_objext \
8207 conftest
$ac_exeext conftest.
$ac_ext
8208 LIBS
=$ac_check_lib_save_LIBS
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8211 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8212 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
8213 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8219 # Check for libraries that X11R6 Xt/Xaw programs need.
8220 ac_save_LDFLAGS
=$LDFLAGS
8221 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8222 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8223 # check for ICE first), but we must link in the order -lSM -lICE or
8224 # we get undefined symbols. So assume we have SM if we have ICE.
8225 # These have to be linked with before -lX11, unlike the other
8226 # libraries we check for below, so use a different variable.
8227 # John Interrante, Karl Berry
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8229 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8230 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
8231 $as_echo_n "(cached) " >&6
8233 ac_check_lib_save_LIBS
=$LIBS
8234 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8236 /* end confdefs.h. */
8238 /* Override any GCC internal prototype to avoid an error.
8239 Use char because int might match the return type of a GCC
8240 builtin and then its argument prototype would still apply. */
8244 char IceConnectionNumber ();
8248 return IceConnectionNumber ();
8253 if ac_fn_c_try_link
"$LINENO"; then :
8254 ac_cv_lib_ICE_IceConnectionNumber
=yes
8256 ac_cv_lib_ICE_IceConnectionNumber
=no
8258 rm -f core conftest.err conftest.
$ac_objext \
8259 conftest
$ac_exeext conftest.
$ac_ext
8260 LIBS
=$ac_check_lib_save_LIBS
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8263 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8264 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
8265 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8268 LDFLAGS
=$ac_save_LDFLAGS
8273 if test "$have_x" = "yes"
8276 ac_save_CPPFLAGS
="$CPPFLAGS"
8277 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8280 $as_echo_n "checking for -lX11... " >&6; }
8281 if ${ac_cv_lib_soname_X11+:} false
; then :
8282 $as_echo_n "(cached) " >&6
8284 ac_check_soname_save_LIBS
=$LIBS
8285 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8287 /* end confdefs.h. */
8289 /* Override any GCC internal prototype to avoid an error.
8290 Use char because int might match the return type of a GCC
8291 builtin and then its argument prototype would still apply. */
8295 char XCreateWindow ();
8299 return XCreateWindow ();
8304 if ac_fn_c_try_link
"$LINENO"; then :
8306 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8307 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'` ;;
8308 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8309 if test "x$ac_cv_lib_soname_X11" = x
; then :
8310 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8314 rm -f core conftest.err conftest.
$ac_objext \
8315 conftest
$ac_exeext conftest.
$ac_ext
8316 LIBS
=$ac_check_soname_save_LIBS
8318 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8320 $as_echo "not found" >&6; }
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8324 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8326 cat >>confdefs.h
<<_ACEOF
8327 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8333 $as_echo_n "checking for -lXext... " >&6; }
8334 if ${ac_cv_lib_soname_Xext+:} false
; then :
8335 $as_echo_n "(cached) " >&6
8337 ac_check_soname_save_LIBS
=$LIBS
8338 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8342 /* Override any GCC internal prototype to avoid an error.
8343 Use char because int might match the return type of a GCC
8344 builtin and then its argument prototype would still apply. */
8348 char XextCreateExtension ();
8352 return XextCreateExtension ();
8357 if ac_fn_c_try_link
"$LINENO"; then :
8359 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8360 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'` ;;
8361 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8362 if test "x$ac_cv_lib_soname_Xext" = x
; then :
8363 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8367 rm -f core conftest.err conftest.
$ac_objext \
8368 conftest
$ac_exeext conftest.
$ac_ext
8369 LIBS
=$ac_check_soname_save_LIBS
8371 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8373 $as_echo "not found" >&6; }
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8377 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8379 cat >>confdefs.h
<<_ACEOF
8380 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8386 for ac_header
in X11
/Xlib.h \
8389 X11
/Xcursor
/Xcursor.h \
8390 X11
/extensions
/shape.h \
8391 X11
/extensions
/XInput.h \
8392 X11
/extensions
/XInput2.h \
8393 X11
/extensions
/XShm.h \
8394 X11
/extensions
/Xcomposite.h \
8395 X11
/extensions
/Xinerama.h \
8396 X11
/extensions
/Xrandr.h \
8397 X11
/extensions
/Xrender.h \
8398 X11
/extensions
/xf86vmode.h \
8399 X11
/extensions
/xf86vmproto.h
8401 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8402 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8403 # include <X11/Xlib.h>
8405 #ifdef HAVE_X11_XUTIL_H
8406 # include <X11/Xutil.h>
8409 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8410 cat >>confdefs.h
<<_ACEOF
8411 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8419 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8422 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8423 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
8424 $as_echo_n "(cached) " >&6
8426 ac_check_lib_save_LIBS
=$LIBS
8427 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8429 /* end confdefs.h. */
8431 /* Override any GCC internal prototype to avoid an error.
8432 Use char because int might match the return type of a GCC
8433 builtin and then its argument prototype would still apply. */
8437 char XkbQueryExtension ();
8441 return XkbQueryExtension ();
8446 if ac_fn_c_try_link
"$LINENO"; then :
8447 ac_cv_lib_X11_XkbQueryExtension
=yes
8449 ac_cv_lib_X11_XkbQueryExtension
=no
8451 rm -f core conftest.err conftest.
$ac_objext \
8452 conftest
$ac_exeext conftest.
$ac_ext
8453 LIBS
=$ac_check_lib_save_LIBS
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8456 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8457 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
8459 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8465 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8468 $as_echo_n "checking for -lXcursor... " >&6; }
8469 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
8470 $as_echo_n "(cached) " >&6
8472 ac_check_soname_save_LIBS
=$LIBS
8473 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8475 /* end confdefs.h. */
8477 /* Override any GCC internal prototype to avoid an error.
8478 Use char because int might match the return type of a GCC
8479 builtin and then its argument prototype would still apply. */
8483 char XcursorImageLoadCursor ();
8487 return XcursorImageLoadCursor ();
8492 if ac_fn_c_try_link
"$LINENO"; then :
8494 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8495 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'` ;;
8496 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8497 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
8498 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8502 rm -f core conftest.err conftest.
$ac_objext \
8503 conftest
$ac_exeext conftest.
$ac_ext
8504 LIBS
=$ac_check_soname_save_LIBS
8506 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8508 $as_echo "not found" >&6; }
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8512 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8514 cat >>confdefs.h
<<_ACEOF
8515 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8521 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8522 case "x$with_xcursor" in
8523 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8525 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8526 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8530 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8533 $as_echo_n "checking for -lXi... " >&6; }
8534 if ${ac_cv_lib_soname_Xi+:} false
; then :
8535 $as_echo_n "(cached) " >&6
8537 ac_check_soname_save_LIBS
=$LIBS
8538 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8540 /* end confdefs.h. */
8542 /* Override any GCC internal prototype to avoid an error.
8543 Use char because int might match the return type of a GCC
8544 builtin and then its argument prototype would still apply. */
8548 char XOpenDevice ();
8552 return XOpenDevice ();
8557 if ac_fn_c_try_link
"$LINENO"; then :
8559 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8560 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'` ;;
8561 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8562 if test "x$ac_cv_lib_soname_Xi" = x
; then :
8563 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8567 rm -f core conftest.err conftest.
$ac_objext \
8568 conftest
$ac_exeext conftest.
$ac_ext
8569 LIBS
=$ac_check_soname_save_LIBS
8571 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8573 $as_echo "not found" >&6; }
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8577 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8579 cat >>confdefs.h
<<_ACEOF
8580 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8586 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8587 case "x$with_xinput" in
8588 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8590 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8591 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8595 if test "x$ac_cv_lib_soname_Xi" != x
8597 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8598 case "x$with_xinput2" in
8599 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8601 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
8602 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8607 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8610 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8611 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
8612 $as_echo_n "(cached) " >&6
8614 ac_check_lib_save_LIBS
=$LIBS
8615 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8617 /* end confdefs.h. */
8619 /* Override any GCC internal prototype to avoid an error.
8620 Use char because int might match the return type of a GCC
8621 builtin and then its argument prototype would still apply. */
8625 char XShmQueryExtension ();
8629 return XShmQueryExtension ();
8634 if ac_fn_c_try_link
"$LINENO"; then :
8635 ac_cv_lib_Xext_XShmQueryExtension
=yes
8637 ac_cv_lib_Xext_XShmQueryExtension
=no
8639 rm -f core conftest.err conftest.
$ac_objext \
8640 conftest
$ac_exeext conftest.
$ac_ext
8641 LIBS
=$ac_check_lib_save_LIBS
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8644 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8645 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
8647 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8652 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8653 case "x$with_xshm" in
8654 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8656 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8657 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8661 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8664 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8665 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
8666 $as_echo_n "(cached) " >&6
8668 ac_check_lib_save_LIBS
=$LIBS
8669 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8671 /* end confdefs.h. */
8673 /* Override any GCC internal prototype to avoid an error.
8674 Use char because int might match the return type of a GCC
8675 builtin and then its argument prototype would still apply. */
8679 char XShapeQueryExtension ();
8683 return XShapeQueryExtension ();
8688 if ac_fn_c_try_link
"$LINENO"; then :
8689 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8691 ac_cv_lib_Xext_XShapeQueryExtension
=no
8693 rm -f core conftest.err conftest.
$ac_objext \
8694 conftest
$ac_exeext conftest.
$ac_ext
8695 LIBS
=$ac_check_lib_save_LIBS
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8698 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8699 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
8701 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8706 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8707 case "x$with_xshape" in
8708 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8710 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8711 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8715 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8718 $as_echo_n "checking for -lXxf86vm... " >&6; }
8719 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
8720 $as_echo_n "(cached) " >&6
8722 ac_check_soname_save_LIBS
=$LIBS
8723 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8725 /* end confdefs.h. */
8727 /* Override any GCC internal prototype to avoid an error.
8728 Use char because int might match the return type of a GCC
8729 builtin and then its argument prototype would still apply. */
8733 char XF86VidModeQueryExtension ();
8737 return XF86VidModeQueryExtension ();
8742 if ac_fn_c_try_link
"$LINENO"; then :
8744 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8745 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'` ;;
8746 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8747 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
8748 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8752 rm -f core conftest.err conftest.
$ac_objext \
8753 conftest
$ac_exeext conftest.
$ac_ext
8754 LIBS
=$ac_check_soname_save_LIBS
8756 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8758 $as_echo "not found" >&6; }
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8762 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8764 cat >>confdefs.h
<<_ACEOF
8765 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8771 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8772 case "x$with_xxf86vm" in
8773 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8775 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8776 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8780 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8783 $as_echo_n "checking for -lXrender... " >&6; }
8784 if ${ac_cv_lib_soname_Xrender+:} false
; then :
8785 $as_echo_n "(cached) " >&6
8787 ac_check_soname_save_LIBS
=$LIBS
8788 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8790 /* end confdefs.h. */
8792 /* Override any GCC internal prototype to avoid an error.
8793 Use char because int might match the return type of a GCC
8794 builtin and then its argument prototype would still apply. */
8798 char XRenderQueryExtension ();
8802 return XRenderQueryExtension ();
8807 if ac_fn_c_try_link
"$LINENO"; then :
8809 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8810 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'` ;;
8811 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8812 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
8813 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8817 rm -f core conftest.err conftest.
$ac_objext \
8818 conftest
$ac_exeext conftest.
$ac_ext
8819 LIBS
=$ac_check_soname_save_LIBS
8821 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8823 $as_echo "not found" >&6; }
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8827 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8829 cat >>confdefs.h
<<_ACEOF
8830 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8834 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8835 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
8836 $as_echo_n "(cached) " >&6
8838 ac_check_lib_save_LIBS
=$LIBS
8839 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h. */
8843 /* Override any GCC internal prototype to avoid an error.
8844 Use char because int might match the return type of a GCC
8845 builtin and then its argument prototype would still apply. */
8849 char XRenderSetPictureTransform ();
8853 return XRenderSetPictureTransform ();
8858 if ac_fn_c_try_link
"$LINENO"; then :
8859 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8861 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8863 rm -f core conftest.err conftest.
$ac_objext \
8864 conftest
$ac_exeext conftest.
$ac_ext
8865 LIBS
=$ac_check_lib_save_LIBS
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8868 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8869 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
8871 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8876 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8877 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
8878 $as_echo_n "(cached) " >&6
8880 ac_check_lib_save_LIBS
=$LIBS
8881 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8883 /* end confdefs.h. */
8885 /* Override any GCC internal prototype to avoid an error.
8886 Use char because int might match the return type of a GCC
8887 builtin and then its argument prototype would still apply. */
8891 char XRenderCreateLinearGradient ();
8895 return XRenderCreateLinearGradient ();
8900 if ac_fn_c_try_link
"$LINENO"; then :
8901 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
8903 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
8905 rm -f core conftest.err conftest.
$ac_objext \
8906 conftest
$ac_exeext conftest.
$ac_ext
8907 LIBS
=$ac_check_lib_save_LIBS
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8910 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8911 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
8913 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8920 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8921 case "x$with_xrender" in
8922 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8924 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8925 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8929 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8932 /* end confdefs.h. */
8933 #include <X11/Xlib.h>
8934 #include <X11/extensions/Xrandr.h>
8938 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8943 if ac_fn_c_try_compile
"$LINENO"; then :
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8945 $as_echo_n "checking for -lXrandr... " >&6; }
8946 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
8947 $as_echo_n "(cached) " >&6
8949 ac_check_soname_save_LIBS
=$LIBS
8950 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8952 /* end confdefs.h. */
8954 /* Override any GCC internal prototype to avoid an error.
8955 Use char because int might match the return type of a GCC
8956 builtin and then its argument prototype would still apply. */
8960 char XRRQueryExtension ();
8964 return XRRQueryExtension ();
8969 if ac_fn_c_try_link
"$LINENO"; then :
8971 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8972 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'` ;;
8973 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8974 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
8975 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8979 rm -f core conftest.err conftest.
$ac_objext \
8980 conftest
$ac_exeext conftest.
$ac_ext
8981 LIBS
=$ac_check_soname_save_LIBS
8983 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8985 $as_echo "not found" >&6; }
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8989 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8991 cat >>confdefs.h
<<_ACEOF
8992 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8996 /* end confdefs.h. */
8997 #include <X11/Xlib.h>
8998 #include <X11/extensions/Xrandr.h>
9002 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9007 if ac_fn_c_try_compile
"$LINENO"; then :
9009 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9017 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9018 case "x$with_xrandr" in
9019 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9021 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9022 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9026 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9029 /* end confdefs.h. */
9030 #include <X11/Xlib.h>
9031 #include <X11/extensions/Xinerama.h>
9035 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9040 if ac_fn_c_try_compile
"$LINENO"; then :
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9042 $as_echo_n "checking for -lXinerama... " >&6; }
9043 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
9044 $as_echo_n "(cached) " >&6
9046 ac_check_soname_save_LIBS
=$LIBS
9047 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9049 /* end confdefs.h. */
9051 /* Override any GCC internal prototype to avoid an error.
9052 Use char because int might match the return type of a GCC
9053 builtin and then its argument prototype would still apply. */
9057 char XineramaQueryScreens ();
9061 return XineramaQueryScreens ();
9066 if ac_fn_c_try_link
"$LINENO"; then :
9068 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9069 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'` ;;
9070 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9071 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
9072 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9076 rm -f core conftest.err conftest.
$ac_objext \
9077 conftest
$ac_exeext conftest.
$ac_ext
9078 LIBS
=$ac_check_soname_save_LIBS
9080 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9082 $as_echo "not found" >&6; }
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9086 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9088 cat >>confdefs.h
<<_ACEOF
9089 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9097 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9098 case "x$with_xinerama" in
9099 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9101 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9102 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9106 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9109 $as_echo_n "checking for -lXcomposite... " >&6; }
9110 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
9111 $as_echo_n "(cached) " >&6
9113 ac_check_soname_save_LIBS
=$LIBS
9114 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9116 /* end confdefs.h. */
9118 /* Override any GCC internal prototype to avoid an error.
9119 Use char because int might match the return type of a GCC
9120 builtin and then its argument prototype would still apply. */
9124 char XCompositeRedirectWindow ();
9128 return XCompositeRedirectWindow ();
9133 if ac_fn_c_try_link
"$LINENO"; then :
9135 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9136 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'` ;;
9137 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9138 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
9139 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9143 rm -f core conftest.err conftest.
$ac_objext \
9144 conftest
$ac_exeext conftest.
$ac_ext
9145 LIBS
=$ac_check_soname_save_LIBS
9147 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9149 $as_echo "not found" >&6; }
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9153 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9155 cat >>confdefs.h
<<_ACEOF
9156 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9162 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9163 case "x$with_xcomposite" in
9164 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9166 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9167 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9171 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9172 #include <X11/Xlib.h>
9175 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
9177 cat >>confdefs.h
<<_ACEOF
9178 #define HAVE_XICCALLBACK_CALLBACK 1
9183 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9184 #include <X11/Xlib.h>
9187 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
9189 cat >>confdefs.h
<<_ACEOF
9190 #define HAVE_XEVENT_XCOOKIE 1
9199 if test "x$with_opengl" != "xno"
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9202 $as_echo_n "checking for -lGL... " >&6; }
9203 if ${ac_cv_lib_soname_GL+:} false
; then :
9204 $as_echo_n "(cached) " >&6
9206 ac_check_soname_save_LIBS
=$LIBS
9207 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9209 /* end confdefs.h. */
9211 /* Override any GCC internal prototype to avoid an error.
9212 Use char because int might match the return type of a GCC
9213 builtin and then its argument prototype would still apply. */
9217 char glXCreateContext ();
9221 return glXCreateContext ();
9226 if ac_fn_c_try_link
"$LINENO"; then :
9228 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9229 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'` ;;
9230 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9231 if test "x$ac_cv_lib_soname_GL" = x
; then :
9232 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9236 rm -f core conftest.err conftest.
$ac_objext \
9237 conftest
$ac_exeext conftest.
$ac_ext
9238 LIBS
=$ac_check_soname_save_LIBS
9240 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9242 $as_echo "not found" >&6; }
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9244 $as_echo_n "checking for -lGL... " >&6; }
9245 if ${ac_cv_lib_soname_GL+:} false
; then :
9246 $as_echo_n "(cached) " >&6
9248 ac_check_soname_save_LIBS
=$LIBS
9249 LIBS
="-lGL $X_LIBS $XLIB -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"
9250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9251 /* end confdefs.h. */
9253 /* Override any GCC internal prototype to avoid an error.
9254 Use char because int might match the return type of a GCC
9255 builtin and then its argument prototype would still apply. */
9259 char glXCreateContext ();
9263 return glXCreateContext ();
9268 if ac_fn_c_try_link
"$LINENO"; then :
9270 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9271 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'` ;;
9272 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9273 if test "x$ac_cv_lib_soname_GL" = x
; then :
9274 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9278 rm -f core conftest.err conftest.
$ac_objext \
9279 conftest
$ac_exeext conftest.
$ac_ext
9280 LIBS
=$ac_check_soname_save_LIBS
9282 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9284 $as_echo "not found" >&6; }
9285 if test -f /usr
/X11R
6/lib
/libGL.a
9287 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
9288 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9290 opengl_msg
="No OpenGL library found on this system."
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9294 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9296 cat >>confdefs.h
<<_ACEOF
9297 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9300 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"
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9304 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9306 cat >>confdefs.h
<<_ACEOF
9307 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9312 if test "x$with_glu" != "xno"
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9315 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9316 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9317 $as_echo_n "(cached) " >&6
9319 ac_check_lib_save_LIBS
=$LIBS
9320 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9322 /* end confdefs.h. */
9324 /* Override any GCC internal prototype to avoid an error.
9325 Use char because int might match the return type of a GCC
9326 builtin and then its argument prototype would still apply. */
9334 return gluLookAt ();
9339 if ac_fn_c_try_link
"$LINENO"; then :
9340 ac_cv_lib_GLU_gluLookAt
=yes
9342 ac_cv_lib_GLU_gluLookAt
=no
9344 rm -f core conftest.err conftest.
$ac_objext \
9345 conftest
$ac_exeext conftest.
$ac_ext
9346 LIBS
=$ac_check_lib_save_LIBS
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9349 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9350 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
9354 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
9355 case "x$with_glu" in
9356 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9358 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9359 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9364 if test "x$with_osmesa" != "xno"
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9367 $as_echo_n "checking for -lOSMesa... " >&6; }
9368 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9369 $as_echo_n "(cached) " >&6
9371 ac_check_soname_save_LIBS
=$LIBS
9372 LIBS
="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9374 /* end confdefs.h. */
9376 /* Override any GCC internal prototype to avoid an error.
9377 Use char because int might match the return type of a GCC
9378 builtin and then its argument prototype would still apply. */
9391 if ac_fn_c_try_link
"$LINENO"; then :
9393 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9394 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'` ;;
9395 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9396 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
9397 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9401 rm -f core conftest.err conftest.
$ac_objext \
9402 conftest
$ac_exeext conftest.
$ac_ext
9403 LIBS
=$ac_check_soname_save_LIBS
9405 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9407 $as_echo "not found" >&6; }
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9411 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9413 cat >>confdefs.h
<<_ACEOF
9414 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9419 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9420 case "x$with_osmesa" in
9421 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9423 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9424 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9429 if test -n "$opengl_msg"; then :
9430 case "x$with_opengl" in
9431 x
) as_fn_append wine_warnings
"|$opengl_msg
9432 OpenGL and Direct3D won't be supported." ;;
9434 *) as_fn_error $?
"$opengl_msg
9435 OpenGL and Direct3D won't be supported.
9436 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9440 CPPFLAGS
="$ac_save_CPPFLAGS"
9445 enable_winex11_drv
=${enable_winex11_drv:-no}
9447 if test "x$XLIB" = "x"; then :
9450 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
9451 without X support, which probably isn't what you want. You will need
9452 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9453 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9457 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
9459 if test "$ac_cv_header_CL_cl_h" = "yes"
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9462 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9463 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
9464 $as_echo_n "(cached) " >&6
9466 ac_check_lib_save_LIBS
=$LIBS
9467 LIBS
="-lOpenCL $LIBS"
9468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9471 /* Override any GCC internal prototype to avoid an error.
9472 Use char because int might match the return type of a GCC
9473 builtin and then its argument prototype would still apply. */
9477 char clGetPlatformInfo ();
9481 return clGetPlatformInfo ();
9486 if ac_fn_c_try_link
"$LINENO"; then :
9487 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9489 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9491 rm -f core conftest.err conftest.
$ac_objext \
9492 conftest
$ac_exeext conftest.
$ac_ext
9493 LIBS
=$ac_check_lib_save_LIBS
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9496 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9497 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
9498 LIBOPENCL
="-lOpenCL"
9503 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9504 case "x$with_opencl" in
9505 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9507 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9508 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9511 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9514 if test "x$with_xml" != "xno"
9516 if test -n "$XML2_CFLAGS"; then :
9518 elif test -n "$PKG_CONFIG"; then :
9519 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
9521 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
9522 if test -n "$XML2_LIBS"; then :
9524 elif test -n "$PKG_CONFIG"; then :
9525 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
9527 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
9528 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
9529 ac_save_CPPFLAGS
=$CPPFLAGS
9530 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
9531 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
9533 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9534 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9535 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9536 cat >>confdefs.h
<<_ACEOF
9537 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9544 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"
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9547 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9548 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
9549 $as_echo_n "(cached) " >&6
9551 ac_check_lib_save_LIBS
=$LIBS
9552 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9554 /* end confdefs.h. */
9556 /* Override any GCC internal prototype to avoid an error.
9557 Use char because int might match the return type of a GCC
9558 builtin and then its argument prototype would still apply. */
9562 char xmlParseMemory ();
9566 return xmlParseMemory ();
9571 if ac_fn_c_try_link
"$LINENO"; then :
9572 ac_cv_lib_xml2_xmlParseMemory
=yes
9574 ac_cv_lib_xml2_xmlParseMemory
=no
9576 rm -f core conftest.err conftest.
$ac_objext \
9577 conftest
$ac_exeext conftest.
$ac_ext
9578 LIBS
=$ac_check_lib_save_LIBS
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9581 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9582 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
9584 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9591 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9592 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
9593 $as_echo_n "(cached) " >&6
9595 ac_check_lib_save_LIBS
=$LIBS
9596 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9598 /* end confdefs.h. */
9600 /* Override any GCC internal prototype to avoid an error.
9601 Use char because int might match the return type of a GCC
9602 builtin and then its argument prototype would still apply. */
9606 char xmlReadMemory ();
9610 return xmlReadMemory ();
9615 if ac_fn_c_try_link
"$LINENO"; then :
9616 ac_cv_lib_xml2_xmlReadMemory
=yes
9618 ac_cv_lib_xml2_xmlReadMemory
=no
9620 rm -f core conftest.err conftest.
$ac_objext \
9621 conftest
$ac_exeext conftest.
$ac_ext
9622 LIBS
=$ac_check_lib_save_LIBS
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9625 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9626 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
9628 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9633 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9634 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
9635 $as_echo_n "(cached) " >&6
9637 ac_check_lib_save_LIBS
=$LIBS
9638 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9640 /* end confdefs.h. */
9642 /* Override any GCC internal prototype to avoid an error.
9643 Use char because int might match the return type of a GCC
9644 builtin and then its argument prototype would still apply. */
9648 char xmlNewDocPI ();
9652 return xmlNewDocPI ();
9657 if ac_fn_c_try_link
"$LINENO"; then :
9658 ac_cv_lib_xml2_xmlNewDocPI
=yes
9660 ac_cv_lib_xml2_xmlNewDocPI
=no
9662 rm -f core conftest.err conftest.
$ac_objext \
9663 conftest
$ac_exeext conftest.
$ac_ext
9664 LIBS
=$ac_check_lib_save_LIBS
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9667 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9668 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
9670 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9675 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9676 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
9677 $as_echo_n "(cached) " >&6
9679 ac_check_lib_save_LIBS
=$LIBS
9680 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9682 /* end confdefs.h. */
9684 /* Override any GCC internal prototype to avoid an error.
9685 Use char because int might match the return type of a GCC
9686 builtin and then its argument prototype would still apply. */
9690 char xmlSchemaSetParserStructuredErrors ();
9694 return xmlSchemaSetParserStructuredErrors ();
9699 if ac_fn_c_try_link
"$LINENO"; then :
9700 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9702 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9704 rm -f core conftest.err conftest.
$ac_objext \
9705 conftest
$ac_exeext conftest.
$ac_ext
9706 LIBS
=$ac_check_lib_save_LIBS
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9709 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9710 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
9712 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9717 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9718 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
9719 $as_echo_n "(cached) " >&6
9721 ac_check_lib_save_LIBS
=$LIBS
9722 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9724 /* end confdefs.h. */
9726 /* Override any GCC internal prototype to avoid an error.
9727 Use char because int might match the return type of a GCC
9728 builtin and then its argument prototype would still apply. */
9732 char xmlSchemaSetValidStructuredErrors ();
9736 return xmlSchemaSetValidStructuredErrors ();
9741 if ac_fn_c_try_link
"$LINENO"; then :
9742 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9744 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9746 rm -f core conftest.err conftest.
$ac_objext \
9747 conftest
$ac_exeext conftest.
$ac_ext
9748 LIBS
=$ac_check_lib_save_LIBS
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9751 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9752 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
9754 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9759 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9760 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
9761 $as_echo_n "(cached) " >&6
9763 ac_check_lib_save_LIBS
=$LIBS
9764 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9766 /* end confdefs.h. */
9768 /* Override any GCC internal prototype to avoid an error.
9769 Use char because int might match the return type of a GCC
9770 builtin and then its argument prototype would still apply. */
9774 char xmlFirstElementChild ();
9778 return xmlFirstElementChild ();
9783 if ac_fn_c_try_link
"$LINENO"; then :
9784 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9786 ac_cv_lib_xml2_xmlFirstElementChild
=no
9788 rm -f core conftest.err conftest.
$ac_objext \
9789 conftest
$ac_exeext conftest.
$ac_ext
9790 LIBS
=$ac_check_lib_save_LIBS
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9793 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9794 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
9796 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9800 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9802 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
9804 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9812 CPPFLAGS
=$ac_save_CPPFLAGS
9813 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
9814 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
9817 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9818 case "x$with_xml" in
9819 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9821 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9822 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9826 if test "x$with_xslt" != "xno"
9828 if test -n "$XSLT_CFLAGS"; then :
9830 elif test -n "$PKG_CONFIG"; then :
9831 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
9833 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
9834 if test -n "$XSLT_LIBS"; then :
9836 elif test -n "$PKG_CONFIG"; then :
9837 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
9839 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
9840 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
9841 ac_save_CPPFLAGS
=$CPPFLAGS
9842 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
9843 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9845 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9846 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9847 # include <libxslt/pattern.h>
9850 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9851 cat >>confdefs.h
<<_ACEOF
9852 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9859 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9862 $as_echo_n "checking for -lxslt... " >&6; }
9863 if ${ac_cv_lib_soname_xslt+:} false
; then :
9864 $as_echo_n "(cached) " >&6
9866 ac_check_soname_save_LIBS
=$LIBS
9867 LIBS
="-lxslt $XSLT_LIBS $LIBS"
9868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9869 /* end confdefs.h. */
9871 /* Override any GCC internal prototype to avoid an error.
9872 Use char because int might match the return type of a GCC
9873 builtin and then its argument prototype would still apply. */
9877 char xsltCompilePattern ();
9881 return xsltCompilePattern ();
9886 if ac_fn_c_try_link
"$LINENO"; then :
9888 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9889 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'` ;;
9890 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9891 if test "x$ac_cv_lib_soname_xslt" = x
; then :
9892 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9896 rm -f core conftest.err conftest.
$ac_objext \
9897 conftest
$ac_exeext conftest.
$ac_ext
9898 LIBS
=$ac_check_soname_save_LIBS
9900 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9902 $as_echo "not found" >&6; }
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9906 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9908 cat >>confdefs.h
<<_ACEOF
9909 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9917 CPPFLAGS
=$ac_save_CPPFLAGS
9918 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
9919 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
9922 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9923 case "x$with_xslt" in
9924 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9926 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
9927 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9931 if test "x$with_dbus" != "xno"
9933 if test -n "$DBUS_CFLAGS"; then :
9935 elif test -n "$PKG_CONFIG"; then :
9936 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
9939 if test -n "$DBUS_LIBS"; then :
9941 elif test -n "$PKG_CONFIG"; then :
9942 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
9946 ac_save_CPPFLAGS
=$CPPFLAGS
9947 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
9948 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
9949 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
9951 $as_echo_n "checking for -ldbus-1... " >&6; }
9952 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
9953 $as_echo_n "(cached) " >&6
9955 ac_check_soname_save_LIBS
=$LIBS
9956 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
9957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9958 /* end confdefs.h. */
9960 /* Override any GCC internal prototype to avoid an error.
9961 Use char because int might match the return type of a GCC
9962 builtin and then its argument prototype would still apply. */
9966 char dbus_connection_close ();
9970 return dbus_connection_close ();
9975 if ac_fn_c_try_link
"$LINENO"; then :
9977 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9978 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'` ;;
9979 *) 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'`
9980 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
9981 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9985 rm -f core conftest.err conftest.
$ac_objext \
9986 conftest
$ac_exeext conftest.
$ac_ext
9987 LIBS
=$ac_check_soname_save_LIBS
9989 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9991 $as_echo "not found" >&6; }
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
9995 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
9997 cat >>confdefs.h
<<_ACEOF
9998 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10008 CPPFLAGS
=$ac_save_CPPFLAGS
10009 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10010 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10013 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10014 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10015 case "x$with_dbus" in
10016 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10018 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10019 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10023 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10025 if test -n "$HAL_CFLAGS"; then :
10027 elif test -n "$PKG_CONFIG"; then :
10028 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
10031 if test -n "$HAL_LIBS"; then :
10033 elif test -n "$PKG_CONFIG"; then :
10034 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
10037 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
10038 ac_save_CPPFLAGS
=$CPPFLAGS
10039 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
10040 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10041 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10043 $as_echo_n "checking for -lhal... " >&6; }
10044 if ${ac_cv_lib_soname_hal+:} false
; then :
10045 $as_echo_n "(cached) " >&6
10047 ac_check_soname_save_LIBS
=$LIBS
10048 LIBS
="-lhal $HAL_LIBS $LIBS"
10049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10050 /* end confdefs.h. */
10052 /* Override any GCC internal prototype to avoid an error.
10053 Use char because int might match the return type of a GCC
10054 builtin and then its argument prototype would still apply. */
10058 char libhal_ctx_new ();
10062 return libhal_ctx_new ();
10067 if ac_fn_c_try_link
"$LINENO"; then :
10069 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10070 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'` ;;
10071 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10072 if test "x$ac_cv_lib_soname_hal" = x
; then :
10073 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10077 rm -f core conftest.err conftest.
$ac_objext \
10078 conftest
$ac_exeext conftest.
$ac_ext
10079 LIBS
=$ac_check_soname_save_LIBS
10081 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10083 $as_echo "not found" >&6; }
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10087 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10089 cat >>confdefs.h
<<_ACEOF
10090 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10100 CPPFLAGS
=$ac_save_CPPFLAGS
10101 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10102 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10104 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10105 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10106 case "x$with_hal" in
10107 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10109 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
10110 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10115 if test "x$with_gnutls" != "xno"
10117 if test -n "$GNUTLS_CFLAGS"; then :
10119 elif test -n "$PKG_CONFIG"; then :
10120 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10123 if test -n "$GNUTLS_LIBS"; then :
10125 elif test -n "$PKG_CONFIG"; then :
10126 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10130 ac_save_CPPFLAGS
=$CPPFLAGS
10131 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
10132 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10133 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
10134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10135 /* end confdefs.h. */
10136 #include <gnutls/gnutls.h>
10137 #include <gnutls/crypto.h>
10141 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10146 if ac_fn_c_try_compile
"$LINENO"; then :
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10148 $as_echo_n "checking for -lgnutls... " >&6; }
10149 if ${ac_cv_lib_soname_gnutls+:} false
; then :
10150 $as_echo_n "(cached) " >&6
10152 ac_check_soname_save_LIBS
=$LIBS
10153 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
10154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h. */
10157 /* Override any GCC internal prototype to avoid an error.
10158 Use char because int might match the return type of a GCC
10159 builtin and then its argument prototype would still apply. */
10163 char gnutls_global_init ();
10167 return gnutls_global_init ();
10172 if ac_fn_c_try_link
"$LINENO"; then :
10174 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10175 dylib
) ac_cv_lib_soname_gnutls
=`otool -L conftest$ac_exeext | grep "libgnutls\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10176 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10177 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
10178 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10182 rm -f core conftest.err conftest.
$ac_objext \
10183 conftest
$ac_exeext conftest.
$ac_ext
10184 LIBS
=$ac_check_soname_save_LIBS
10186 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10188 $as_echo "not found" >&6; }
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10192 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10194 cat >>confdefs.h
<<_ACEOF
10195 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10207 CPPFLAGS
=$ac_save_CPPFLAGS
10208 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10209 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10212 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10213 case "x$with_gnutls" in
10214 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10216 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
10217 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10222 if test "$ac_cv_header_ncurses_h" = "yes"
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10225 $as_echo_n "checking for -lncurses... " >&6; }
10226 if ${ac_cv_lib_soname_ncurses+:} false
; then :
10227 $as_echo_n "(cached) " >&6
10229 ac_check_soname_save_LIBS
=$LIBS
10230 LIBS
="-lncurses $LIBS"
10231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10232 /* end confdefs.h. */
10234 /* Override any GCC internal prototype to avoid an error.
10235 Use char because int might match the return type of a GCC
10236 builtin and then its argument prototype would still apply. */
10249 if ac_fn_c_try_link
"$LINENO"; then :
10251 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10252 dylib
) ac_cv_lib_soname_ncurses
=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10253 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10254 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
10255 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10259 rm -f core conftest.err conftest.
$ac_objext \
10260 conftest
$ac_exeext conftest.
$ac_ext
10261 LIBS
=$ac_check_soname_save_LIBS
10263 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10265 $as_echo "not found" >&6; }
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10269 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10271 cat >>confdefs.h
<<_ACEOF
10272 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10275 CURSESLIBS
="-lncurses"
10277 elif test "$ac_cv_header_curses_h" = "yes"
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10280 $as_echo_n "checking for -lcurses... " >&6; }
10281 if ${ac_cv_lib_soname_curses+:} false
; then :
10282 $as_echo_n "(cached) " >&6
10284 ac_check_soname_save_LIBS
=$LIBS
10285 LIBS
="-lcurses $LIBS"
10286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10287 /* end confdefs.h. */
10289 /* Override any GCC internal prototype to avoid an error.
10290 Use char because int might match the return type of a GCC
10291 builtin and then its argument prototype would still apply. */
10304 if ac_fn_c_try_link
"$LINENO"; then :
10306 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10307 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'` ;;
10308 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10309 if test "x$ac_cv_lib_soname_curses" = x
; then :
10310 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10314 rm -f core conftest.err conftest.
$ac_objext \
10315 conftest
$ac_exeext conftest.
$ac_ext
10316 LIBS
=$ac_check_soname_save_LIBS
10318 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10320 $as_echo "not found" >&6; }
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10324 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10326 cat >>confdefs.h
<<_ACEOF
10327 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10330 CURSESLIBS
="-lcurses"
10333 ac_save_LIBS
="$LIBS"
10334 LIBS
="$LIBS $CURSESLIBS"
10335 for ac_func
in mousemask
10337 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
10338 if test "x$ac_cv_func_mousemask" = xyes
; then :
10339 cat >>confdefs.h
<<_ACEOF
10340 #define HAVE_MOUSEMASK 1
10346 LIBS
="$ac_save_LIBS"
10347 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10348 case "x$with_curses" in
10349 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10351 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10352 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10356 if test "x$with_sane" != "xno"
10358 if test -n "$SANE_CFLAGS"; then :
10360 elif test -n "$PKG_CONFIG"; then :
10361 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10363 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10364 if test -n "$SANE_LIBS"; then :
10366 elif test -n "$PKG_CONFIG"; then :
10367 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
10369 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10371 ac_save_CPPFLAGS
=$CPPFLAGS
10372 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
10373 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10374 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10376 $as_echo_n "checking for -lsane... " >&6; }
10377 if ${ac_cv_lib_soname_sane+:} false
; then :
10378 $as_echo_n "(cached) " >&6
10380 ac_check_soname_save_LIBS
=$LIBS
10381 LIBS
="-lsane $SANE_LIBS $LIBS"
10382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10383 /* end confdefs.h. */
10385 /* Override any GCC internal prototype to avoid an error.
10386 Use char because int might match the return type of a GCC
10387 builtin and then its argument prototype would still apply. */
10395 return sane_init ();
10400 if ac_fn_c_try_link
"$LINENO"; then :
10402 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10403 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'` ;;
10404 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10405 if test "x$ac_cv_lib_soname_sane" = x
; then :
10406 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10410 rm -f core conftest.err conftest.
$ac_objext \
10411 conftest
$ac_exeext conftest.
$ac_ext
10412 LIBS
=$ac_check_soname_save_LIBS
10414 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10416 $as_echo "not found" >&6; }
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10420 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10422 cat >>confdefs.h
<<_ACEOF
10423 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10433 CPPFLAGS
=$ac_save_CPPFLAGS
10434 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10435 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10438 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10439 case "x$with_sane" in
10440 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10442 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
10443 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10447 if test "x$with_v4l" != "xno"
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10450 $as_echo_n "checking for -lv4l1... " >&6; }
10451 if ${ac_cv_lib_soname_v4l1+:} false
; then :
10452 $as_echo_n "(cached) " >&6
10454 ac_check_soname_save_LIBS
=$LIBS
10455 LIBS
="-lv4l1 $LIBS"
10456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10459 /* Override any GCC internal prototype to avoid an error.
10460 Use char because int might match the return type of a GCC
10461 builtin and then its argument prototype would still apply. */
10469 return v4l1_open ();
10474 if ac_fn_c_try_link
"$LINENO"; then :
10476 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10477 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'` ;;
10478 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10479 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
10480 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10484 rm -f core conftest.err conftest.
$ac_objext \
10485 conftest
$ac_exeext conftest.
$ac_ext
10486 LIBS
=$ac_check_soname_save_LIBS
10488 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10490 $as_echo "not found" >&6; }
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10494 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10496 cat >>confdefs.h
<<_ACEOF
10497 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10503 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10504 case "x$with_v4l" in
10505 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
10507 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
10508 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10512 if test "x$with_gphoto" != "xno"
10514 if test -n "$GPHOTO2_CFLAGS"; then :
10516 elif test -n "$PKG_CONFIG"; then :
10517 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
10519 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
10520 if test -n "$GPHOTO2_LIBS"; then :
10522 elif test -n "$PKG_CONFIG"; then :
10523 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
10525 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
10526 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
10527 ac_save_CPPFLAGS
=$CPPFLAGS
10528 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
10529 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10530 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10532 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10533 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
10534 $as_echo_n "(cached) " >&6
10536 ac_check_lib_save_LIBS
=$LIBS
10537 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
10538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10541 /* Override any GCC internal prototype to avoid an error.
10542 Use char because int might match the return type of a GCC
10543 builtin and then its argument prototype would still apply. */
10547 char gp_camera_new ();
10551 return gp_camera_new ();
10556 if ac_fn_c_try_link
"$LINENO"; then :
10557 ac_cv_lib_gphoto2_gp_camera_new
=yes
10559 ac_cv_lib_gphoto2_gp_camera_new
=no
10561 rm -f core conftest.err conftest.
$ac_objext \
10562 conftest
$ac_exeext conftest.
$ac_ext
10563 LIBS
=$ac_check_lib_save_LIBS
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10566 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10567 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
10569 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10572 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
10576 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
10580 CPPFLAGS
=$ac_save_CPPFLAGS
10581 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10582 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10584 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
10586 elif test -n "$PKG_CONFIG"; then :
10587 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
10589 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
10590 if test -n "$GPHOTO2_PORT_LIBS"; then :
10592 elif test -n "$PKG_CONFIG"; then :
10593 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
10595 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
10596 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
10597 ac_save_CPPFLAGS
=$CPPFLAGS
10598 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
10599 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
10600 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
10602 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
10603 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
10604 $as_echo_n "(cached) " >&6
10606 ac_check_lib_save_LIBS
=$LIBS
10607 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
10608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10609 /* end confdefs.h. */
10611 /* Override any GCC internal prototype to avoid an error.
10612 Use char because int might match the return type of a GCC
10613 builtin and then its argument prototype would still apply. */
10617 char gp_port_info_list_new ();
10621 return gp_port_info_list_new ();
10626 if ac_fn_c_try_link
"$LINENO"; then :
10627 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
10629 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
10631 rm -f core conftest.err conftest.
$ac_objext \
10632 conftest
$ac_exeext conftest.
$ac_ext
10633 LIBS
=$ac_check_lib_save_LIBS
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
10636 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
10637 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
10639 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
10642 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
10646 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
10650 CPPFLAGS
=$ac_save_CPPFLAGS
10651 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10652 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10655 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10656 case "x$with_gphoto" in
10657 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10659 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10660 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10663 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
10664 case "x$with_gphoto" in
10665 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
10667 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
10668 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10673 if test "$ac_cv_header_resolv_h" = "yes"
10675 ac_save_LIBS
="$LIBS"
10676 for lib
in '' -lresolv
10678 LIBS
="$lib $ac_save_LIBS"
10679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10680 /* end confdefs.h. */
10681 #ifdef HAVE_NETINET_IN_H
10682 #include <netinet/in.h>
10684 #include <resolv.h>
10688 res_query("foo",ns_c_in,0,0,0);
10693 if ac_fn_c_try_link
"$LINENO"; then :
10695 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10700 rm -f core conftest.err conftest.
$ac_objext \
10701 conftest
$ac_exeext conftest.
$ac_ext
10702 if test "${RESOLVLIBS+set}" = set; then
10706 LIBS
="$ac_save_LIBS"
10709 if test "x$with_lcms2" != "xno"
10711 if test -n "$LCMS2_CFLAGS"; then :
10713 elif test -n "$PKG_CONFIG"; then :
10714 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
10717 if test -n "$LCMS2_LIBS"; then :
10719 elif test -n "$PKG_CONFIG"; then :
10720 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
10723 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
10724 ac_save_CPPFLAGS
=$CPPFLAGS
10725 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
10726 for ac_header
in lcms2.h
10728 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
10729 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
10730 cat >>confdefs.h
<<_ACEOF
10731 #define HAVE_LCMS2_H 1
10738 if test "$ac_cv_header_lcms2_h" = "yes"
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
10741 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
10742 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
10743 $as_echo_n "(cached) " >&6
10745 ac_check_lib_save_LIBS
=$LIBS
10746 LIBS
="-llcms2 $LIBS"
10747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10750 /* Override any GCC internal prototype to avoid an error.
10751 Use char because int might match the return type of a GCC
10752 builtin and then its argument prototype would still apply. */
10756 char cmsOpenProfileFromFile ();
10760 return cmsOpenProfileFromFile ();
10765 if ac_fn_c_try_link
"$LINENO"; then :
10766 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
10768 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
10770 rm -f core conftest.err conftest.
$ac_objext \
10771 conftest
$ac_exeext conftest.
$ac_ext
10772 LIBS
=$ac_check_lib_save_LIBS
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
10775 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
10776 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
10778 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
10788 CPPFLAGS
=$ac_save_CPPFLAGS
10789 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10790 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10793 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
10794 case "x$with_cms" in
10795 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
10797 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
10798 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10802 if test "x$with_freetype" != "xno"
10804 if test -n "$FREETYPE_CFLAGS"; then :
10806 elif test -n "$PKG_CONFIG"; then :
10807 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
10809 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
10810 if test -n "$FREETYPE_LIBS"; then :
10812 elif test -n "$PKG_CONFIG"; then :
10813 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
10815 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
10816 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
10817 ac_save_CPPFLAGS
=$CPPFLAGS
10818 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10820 $as_echo_n "checking for -lfreetype... " >&6; }
10821 if ${ac_cv_lib_soname_freetype+:} false
; then :
10822 $as_echo_n "(cached) " >&6
10824 ac_check_soname_save_LIBS
=$LIBS
10825 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
10826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10827 /* end confdefs.h. */
10829 /* Override any GCC internal prototype to avoid an error.
10830 Use char because int might match the return type of a GCC
10831 builtin and then its argument prototype would still apply. */
10835 char FT_Init_FreeType ();
10839 return FT_Init_FreeType ();
10844 if ac_fn_c_try_link
"$LINENO"; then :
10846 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10847 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'` ;;
10848 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10849 if test "x$ac_cv_lib_soname_freetype" = x
; then :
10850 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10854 rm -f core conftest.err conftest.
$ac_objext \
10855 conftest
$ac_exeext conftest.
$ac_ext
10856 LIBS
=$ac_check_soname_save_LIBS
10858 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10860 $as_echo "not found" >&6; }
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10864 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10866 cat >>confdefs.h
<<_ACEOF
10867 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10872 if test "$ft_lib" = "yes"
10874 for ac_header
in ft2build.h \
10875 freetype
/freetype.h \
10876 freetype
/ftglyph.h \
10877 freetype
/fttypes.h \
10878 freetype
/tttables.h \
10879 freetype
/ftsnames.h \
10880 freetype
/ttnameid.h \
10881 freetype
/ftoutln.h \
10882 freetype
/ftwinfnt.h \
10883 freetype
/ftmodapi.h \
10884 freetype
/ftlcdfil.h
10886 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10887 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10888 # include <ft2build.h>
10891 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10892 cat >>confdefs.h
<<_ACEOF
10893 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10901 /* end confdefs.h. */
10902 #include <ft2build.h>
10903 #include <freetype/fttrigon.h>
10905 if ac_fn_c_try_cpp
"$LINENO"; then :
10907 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10909 wine_cv_fttrigon
=yes
10911 wine_cv_fttrigon
=no
10913 rm -f conftest.err conftest.i conftest.
$ac_ext
10914 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10916 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
10918 cat >>confdefs.h
<<_ACEOF
10919 #define HAVE_FT_TRUETYPEENGINETYPE 1
10925 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10928 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10936 CPPFLAGS
=$ac_save_CPPFLAGS
10937 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10938 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10941 if test "x$ac_cv_header_freetype_freetype_h" != xyes
-o "x$wine_cv_fttrigon" != xyes
; then :
10942 case "x$with_freetype" in
10944 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10945 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10948 test "x$ac_cv_header_freetype_freetype_h" = xyes
-a "x$wine_cv_fttrigon" = xyes || enable_fonts
=${enable_fonts:-no}
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10951 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10952 if ${ac_cv_c_ppdev+:} false
; then :
10953 $as_echo_n "(cached) " >&6
10955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10956 /* end confdefs.h. */
10957 #ifdef HAVE_SYS_IOCTL_H
10958 # include <sys/ioctl.h>
10960 #include <linux/ppdev.h>
10964 ioctl (1,PPCLAIM,0)
10969 if ac_fn_c_try_compile
"$LINENO"; then :
10970 ac_cv_c_ppdev
="yes"
10974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10977 $as_echo "$ac_cv_c_ppdev" >&6; }
10978 if test "$ac_cv_c_ppdev" = "yes"
10981 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10985 ac_wine_check_funcs_save_LIBS
="$LIBS"
10986 LIBS
="$LIBS $LIBPTHREAD"
10988 pthread_attr_get_np \
10989 pthread_getattr_np \
10990 pthread_getthreadid_np \
10991 pthread_get_stackaddr_np \
10992 pthread_get_stacksize_np
10994 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10995 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10996 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10997 cat >>confdefs.h
<<_ACEOF
10998 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11004 LIBS
="$ac_wine_check_funcs_save_LIBS"
11006 if test "$ac_cv_header_zlib_h" = "yes"
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11009 $as_echo_n "checking for inflate in -lz... " >&6; }
11010 if ${ac_cv_lib_z_inflate+:} false
; then :
11011 $as_echo_n "(cached) " >&6
11013 ac_check_lib_save_LIBS
=$LIBS
11015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11016 /* end confdefs.h. */
11018 /* Override any GCC internal prototype to avoid an error.
11019 Use char because int might match the return type of a GCC
11020 builtin and then its argument prototype would still apply. */
11033 if ac_fn_c_try_link
"$LINENO"; then :
11034 ac_cv_lib_z_inflate
=yes
11036 ac_cv_lib_z_inflate
=no
11038 rm -f core conftest.err conftest.
$ac_objext \
11039 conftest
$ac_exeext conftest.
$ac_ext
11040 LIBS
=$ac_check_lib_save_LIBS
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11043 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11044 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
11046 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11053 if test "x$ZLIB" = "x"; then :
11054 case "x$with_zlib" in
11055 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11057 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
11058 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11062 if test "x$enable_tools" != xno
11064 if test "$ac_cv_header_gettext_po_h" = "yes"
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11067 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11068 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
11069 $as_echo_n "(cached) " >&6
11071 ac_check_lib_save_LIBS
=$LIBS
11072 LIBS
="-lgettextpo $LIBS"
11073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11074 /* end confdefs.h. */
11076 /* Override any GCC internal prototype to avoid an error.
11077 Use char because int might match the return type of a GCC
11078 builtin and then its argument prototype would still apply. */
11082 char po_message_msgctxt ();
11086 return po_message_msgctxt ();
11091 if ac_fn_c_try_link
"$LINENO"; then :
11092 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
11094 ac_cv_lib_gettextpo_po_message_msgctxt
=no
11096 rm -f core conftest.err conftest.
$ac_objext \
11097 conftest
$ac_exeext conftest.
$ac_ext
11098 LIBS
=$ac_check_lib_save_LIBS
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11101 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11102 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
11104 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11106 LIBGETTEXTPO
="-lgettextpo"
11111 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
11112 case "x$with_gettextpo" in
11113 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11115 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11116 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11121 if test "x$with_gstreamer" != "xno"
11123 if test -n "$GSTREAMER_CFLAGS"; then :
11125 elif test -n "$PKG_CONFIG"; then :
11126 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11129 if test -n "$GSTREAMER_LIBS"; then :
11131 elif test -n "$PKG_CONFIG"; then :
11132 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11136 ac_save_CPPFLAGS
=$CPPFLAGS
11137 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
11139 for i
in $GSTREAMER_CFLAGS
11142 -I*) ac_gst_incl
="$ac_gst_incl $i";;
11145 GSTREAMER_CFLAGS
=$ac_gst_incl
11146 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11147 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11148 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
11149 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11150 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11152 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11154 /* end confdefs.h. */
11155 #include <gst/app/gstappsink.h>
11159 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11164 if ac_fn_c_try_compile
"$LINENO"; then :
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11166 $as_echo "yes" >&6; }
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11168 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11169 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
11170 $as_echo_n "(cached) " >&6
11172 ac_check_lib_save_LIBS
=$LIBS
11173 LIBS
="-lgstreamer-0.10 $LIBS"
11174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11175 /* end confdefs.h. */
11177 /* Override any GCC internal prototype to avoid an error.
11178 Use char because int might match the return type of a GCC
11179 builtin and then its argument prototype would still apply. */
11183 char gst_pad_get_caps_reffed ();
11187 return gst_pad_get_caps_reffed ();
11192 if ac_fn_c_try_link
"$LINENO"; then :
11193 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
11195 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
11197 rm -f core conftest.err conftest.
$ac_objext \
11198 conftest
$ac_exeext conftest.
$ac_ext
11199 LIBS
=$ac_check_lib_save_LIBS
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11202 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11203 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11205 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11206 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
11207 $as_echo_n "(cached) " >&6
11209 ac_check_lib_save_LIBS
=$LIBS
11210 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h. */
11214 /* Override any GCC internal prototype to avoid an error.
11215 Use char because int might match the return type of a GCC
11216 builtin and then its argument prototype would still apply. */
11220 char gst_app_buffer_new ();
11224 return gst_app_buffer_new ();
11229 if ac_fn_c_try_link
"$LINENO"; then :
11230 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
11232 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
11234 rm -f core conftest.err conftest.
$ac_objext \
11235 conftest
$ac_exeext conftest.
$ac_ext
11236 LIBS
=$ac_check_lib_save_LIBS
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11239 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11240 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11248 $as_echo "no" >&6; }
11250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11255 GSTREAMER_CFLAGS
=""
11259 CPPFLAGS
=$ac_save_CPPFLAGS
11260 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11261 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11264 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
11265 case "x$with_gstreamer" in
11266 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11268 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11269 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11272 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
11276 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11279 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11280 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
11281 $as_echo_n "(cached) " >&6
11283 ac_check_lib_save_LIBS
=$LIBS
11284 LIBS
="-lasound $LIBS"
11285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11286 /* end confdefs.h. */
11288 /* Override any GCC internal prototype to avoid an error.
11289 Use char because int might match the return type of a GCC
11290 builtin and then its argument prototype would still apply. */
11294 char snd_pcm_hw_params_get_access_mask ();
11298 return snd_pcm_hw_params_get_access_mask ();
11303 if ac_fn_c_try_link
"$LINENO"; then :
11304 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
11306 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
11308 rm -f core conftest.err conftest.
$ac_objext \
11309 conftest
$ac_exeext conftest.
$ac_ext
11310 LIBS
=$ac_check_lib_save_LIBS
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11313 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11314 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
11315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h. */
11317 #ifdef HAVE_ALSA_ASOUNDLIB_H
11318 #include <alsa/asoundlib.h>
11319 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11320 #include <sys/asoundlib.h>
11325 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11330 if ac_fn_c_try_compile
"$LINENO"; then :
11331 ALSALIBS
="-lasound"
11333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11338 if test "x$with_oss" != xno
11340 ac_save_CPPFLAGS
="$CPPFLAGS"
11341 if test -f /etc
/oss.conf
11345 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11346 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
11347 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11348 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
11349 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11351 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
11353 cat >>confdefs.h
<<_ACEOF
11354 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11357 OSS4INCL
="$ac_oss_incl"
11364 CPPFLAGS
="$ac_save_CPPFLAGS"
11365 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11367 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11371 if test "x$with_capi" != "xno"
11373 if test -n "$CAPI20_CFLAGS"; then :
11375 elif test -n "$PKG_CONFIG"; then :
11376 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
11379 if test -n "$CAPI20_LIBS"; then :
11381 elif test -n "$PKG_CONFIG"; then :
11382 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
11386 ac_save_CPPFLAGS
=$CPPFLAGS
11387 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
11388 for ac_header
in capi20.h linux
/capi.h
11390 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11391 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
11393 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11394 cat >>confdefs.h
<<_ACEOF
11395 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11402 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11405 $as_echo_n "checking for -lcapi20... " >&6; }
11406 if ${ac_cv_lib_soname_capi20+:} false
; then :
11407 $as_echo_n "(cached) " >&6
11409 ac_check_soname_save_LIBS
=$LIBS
11410 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
11411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11412 /* end confdefs.h. */
11414 /* Override any GCC internal prototype to avoid an error.
11415 Use char because int might match the return type of a GCC
11416 builtin and then its argument prototype would still apply. */
11420 char capi20_register ();
11424 return capi20_register ();
11429 if ac_fn_c_try_link
"$LINENO"; then :
11431 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11432 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'` ;;
11433 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11434 if test "x$ac_cv_lib_soname_capi20" = x
; then :
11435 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11439 rm -f core conftest.err conftest.
$ac_objext \
11440 conftest
$ac_exeext conftest.
$ac_ext
11441 LIBS
=$ac_check_soname_save_LIBS
11443 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11445 $as_echo "not found" >&6; }
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11449 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11451 cat >>confdefs.h
<<_ACEOF
11452 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11458 CPPFLAGS
=$ac_save_CPPFLAGS
11459 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11460 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11463 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11464 case "x$with_capi" in
11465 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11467 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11468 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11474 if test "x$with_cups" != "xno"
11476 ac_save_CPPFLAGS
="$CPPFLAGS"
11477 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
11478 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
11479 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
11480 for ac_header
in cups
/cups.h
11482 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11483 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
11484 cat >>confdefs.h
<<_ACEOF
11485 #define HAVE_CUPS_CUPS_H 1
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11488 $as_echo_n "checking for -lcups... " >&6; }
11489 if ${ac_cv_lib_soname_cups+:} false
; then :
11490 $as_echo_n "(cached) " >&6
11492 ac_check_soname_save_LIBS
=$LIBS
11493 LIBS
="-lcups $ac_cups_libs $LIBS"
11494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11497 /* Override any GCC internal prototype to avoid an error.
11498 Use char because int might match the return type of a GCC
11499 builtin and then its argument prototype would still apply. */
11503 char cupsGetDefault ();
11507 return cupsGetDefault ();
11512 if ac_fn_c_try_link
"$LINENO"; then :
11514 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11515 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'` ;;
11516 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11517 if test "x$ac_cv_lib_soname_cups" = x
; then :
11518 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11522 rm -f core conftest.err conftest.
$ac_objext \
11523 conftest
$ac_exeext conftest.
$ac_ext
11524 LIBS
=$ac_check_soname_save_LIBS
11526 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11528 $as_echo "not found" >&6; }
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11532 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11534 cat >>confdefs.h
<<_ACEOF
11535 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11538 CUPSINCL
="$ac_cups_cflags"
11544 CPPFLAGS
="$ac_save_CPPFLAGS"
11546 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11547 case "x$with_cups" in
11548 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11550 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
11551 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11555 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11558 $as_echo_n "checking for -lfontconfig... " >&6; }
11559 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11560 $as_echo_n "(cached) " >&6
11562 ac_check_soname_save_LIBS
=$LIBS
11563 LIBS
="-lfontconfig $LIBS"
11564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11565 /* end confdefs.h. */
11567 /* Override any GCC internal prototype to avoid an error.
11568 Use char because int might match the return type of a GCC
11569 builtin and then its argument prototype would still apply. */
11582 if ac_fn_c_try_link
"$LINENO"; then :
11584 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11585 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'` ;;
11586 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11587 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11588 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11592 rm -f core conftest.err conftest.
$ac_objext \
11593 conftest
$ac_exeext conftest.
$ac_ext
11594 LIBS
=$ac_check_soname_save_LIBS
11596 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11598 $as_echo "not found" >&6; }
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11602 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11604 cat >>confdefs.h
<<_ACEOF
11605 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11610 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11612 ac_save_CPPFLAGS
="$CPPFLAGS"
11613 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11614 $as_unset ac_cv_header_fontconfig_fontconfig_h
11615 for ac_header
in fontconfig
/fontconfig.h
11617 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11618 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
11619 cat >>confdefs.h
<<_ACEOF
11620 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11627 CPPFLAGS
="$ac_save_CPPFLAGS"
11628 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11630 FONTCONFIGINCL
="$X_CFLAGS"
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11633 $as_echo_n "checking for -lfontconfig... " >&6; }
11634 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11635 $as_echo_n "(cached) " >&6
11637 ac_check_soname_save_LIBS
=$LIBS
11638 LIBS
="-lfontconfig $X_LIBS $LIBS"
11639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11642 /* Override any GCC internal prototype to avoid an error.
11643 Use char because int might match the return type of a GCC
11644 builtin and then its argument prototype would still apply. */
11657 if ac_fn_c_try_link
"$LINENO"; then :
11659 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11660 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'` ;;
11661 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11662 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11663 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11667 rm -f core conftest.err conftest.
$ac_objext \
11668 conftest
$ac_exeext conftest.
$ac_ext
11669 LIBS
=$ac_check_soname_save_LIBS
11671 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11673 $as_echo "not found" >&6; }
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11677 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11679 cat >>confdefs.h
<<_ACEOF
11680 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11687 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11688 case "x$with_fontconfig" in
11689 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11691 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11692 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11696 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11699 $as_echo_n "checking for -lgsm... " >&6; }
11700 if ${ac_cv_lib_soname_gsm+:} false
; then :
11701 $as_echo_n "(cached) " >&6
11703 ac_check_soname_save_LIBS
=$LIBS
11705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11706 /* end confdefs.h. */
11708 /* Override any GCC internal prototype to avoid an error.
11709 Use char because int might match the return type of a GCC
11710 builtin and then its argument prototype would still apply. */
11714 char gsm_create ();
11718 return gsm_create ();
11723 if ac_fn_c_try_link
"$LINENO"; then :
11725 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11726 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'` ;;
11727 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11728 if test "x$ac_cv_lib_soname_gsm" = x
; then :
11729 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11733 rm -f core conftest.err conftest.
$ac_objext \
11734 conftest
$ac_exeext conftest.
$ac_ext
11735 LIBS
=$ac_check_soname_save_LIBS
11737 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11739 $as_echo "not found" >&6; }
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11743 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11745 cat >>confdefs.h
<<_ACEOF
11746 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11752 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11753 case "x$with_gsm" in
11754 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11756 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11757 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11761 if test "x$with_jpeg" != "xno"
11763 if test -n "$JPEG_CFLAGS"; then :
11765 elif test -n "$PKG_CONFIG"; then :
11766 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
11769 if test -n "$JPEG_LIBS"; then :
11771 elif test -n "$PKG_CONFIG"; then :
11772 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
11776 ac_save_CPPFLAGS
=$CPPFLAGS
11777 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
11778 for ac_header
in jpeglib.h
11780 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
11781 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
11782 cat >>confdefs.h
<<_ACEOF
11783 #define HAVE_JPEGLIB_H 1
11790 if test "$ac_cv_header_jpeglib_h" = "yes"
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11793 $as_echo_n "checking for -ljpeg... " >&6; }
11794 if ${ac_cv_lib_soname_jpeg+:} false
; then :
11795 $as_echo_n "(cached) " >&6
11797 ac_check_soname_save_LIBS
=$LIBS
11798 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
11799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11800 /* end confdefs.h. */
11802 /* Override any GCC internal prototype to avoid an error.
11803 Use char because int might match the return type of a GCC
11804 builtin and then its argument prototype would still apply. */
11808 char jpeg_start_decompress ();
11812 return jpeg_start_decompress ();
11817 if ac_fn_c_try_link
"$LINENO"; then :
11819 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11820 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'` ;;
11821 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11822 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
11823 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11827 rm -f core conftest.err conftest.
$ac_objext \
11828 conftest
$ac_exeext conftest.
$ac_ext
11829 LIBS
=$ac_check_soname_save_LIBS
11831 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11833 $as_echo "not found" >&6; }
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11837 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11839 cat >>confdefs.h
<<_ACEOF
11840 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11848 CPPFLAGS
=$ac_save_CPPFLAGS
11849 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11850 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11853 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11854 case "x$with_jpeg" in
11855 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11857 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11858 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11862 if test "x$with_png" != "xno"
11864 if test -n "$PNG_CFLAGS"; then :
11866 elif test -n "$PKG_CONFIG"; then :
11867 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
11869 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
11870 if test -n "$PNG_LIBS"; then :
11872 elif test -n "$PKG_CONFIG"; then :
11873 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
11875 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
11877 ac_save_CPPFLAGS
=$CPPFLAGS
11878 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
11879 for ac_header
in png.h
11881 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11882 if test "x$ac_cv_header_png_h" = xyes
; then :
11883 cat >>confdefs.h
<<_ACEOF
11884 #define HAVE_PNG_H 1
11891 if test "$ac_cv_header_png_h" = "yes"
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11894 $as_echo_n "checking for -lpng... " >&6; }
11895 if ${ac_cv_lib_soname_png+:} false
; then :
11896 $as_echo_n "(cached) " >&6
11898 ac_check_soname_save_LIBS
=$LIBS
11899 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
11900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11901 /* end confdefs.h. */
11903 /* Override any GCC internal prototype to avoid an error.
11904 Use char because int might match the return type of a GCC
11905 builtin and then its argument prototype would still apply. */
11909 char png_create_read_struct ();
11913 return png_create_read_struct ();
11918 if ac_fn_c_try_link
"$LINENO"; then :
11920 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11921 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'` ;;
11922 *) 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'`
11923 if test "x$ac_cv_lib_soname_png" = x
; then :
11924 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11928 rm -f core conftest.err conftest.
$ac_objext \
11929 conftest
$ac_exeext conftest.
$ac_ext
11930 LIBS
=$ac_check_soname_save_LIBS
11932 if test "x$ac_cv_lib_soname_png" = "x"; then :
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11934 $as_echo "not found" >&6; }
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11938 $as_echo "$ac_cv_lib_soname_png" >&6; }
11940 cat >>confdefs.h
<<_ACEOF
11941 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11945 /* end confdefs.h. */
11950 typeof(png_set_expand_gray_1_2_4_to_8) *p
11955 if ac_fn_c_try_compile
"$LINENO"; then :
11957 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11965 CPPFLAGS
=$ac_save_CPPFLAGS
11966 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11967 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11970 if test "x$ac_cv_lib_soname_png" = "x"; then :
11971 case "x$with_png" in
11972 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11974 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
11975 This is an error since --with-png was requested." "$LINENO" 5 ;;
11979 if test "x$with_tiff" != "xno"
11981 if test -n "$TIFF_CFLAGS"; then :
11983 elif test -n "$PKG_CONFIG"; then :
11984 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
11987 if test -n "$TIFF_LIBS"; then :
11989 elif test -n "$PKG_CONFIG"; then :
11990 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
11994 ac_save_CPPFLAGS
=$CPPFLAGS
11995 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
11996 for ac_header
in tiffio.h
11998 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
11999 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12000 cat >>confdefs.h
<<_ACEOF
12001 #define HAVE_TIFFIO_H 1
12008 if test "$ac_cv_header_tiffio_h" = "yes"
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12011 $as_echo_n "checking for -ltiff... " >&6; }
12012 if ${ac_cv_lib_soname_tiff+:} false
; then :
12013 $as_echo_n "(cached) " >&6
12015 ac_check_soname_save_LIBS
=$LIBS
12016 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12018 /* end confdefs.h. */
12020 /* Override any GCC internal prototype to avoid an error.
12021 Use char because int might match the return type of a GCC
12022 builtin and then its argument prototype would still apply. */
12026 char TIFFClientOpen ();
12030 return TIFFClientOpen ();
12035 if ac_fn_c_try_link
"$LINENO"; then :
12037 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12038 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'` ;;
12039 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12040 if test "x$ac_cv_lib_soname_tiff" = x
; then :
12041 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12045 rm -f core conftest.err conftest.
$ac_objext \
12046 conftest
$ac_exeext conftest.
$ac_ext
12047 LIBS
=$ac_check_soname_save_LIBS
12049 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12051 $as_echo "not found" >&6; }
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12055 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12057 cat >>confdefs.h
<<_ACEOF
12058 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12064 CPPFLAGS
=$ac_save_CPPFLAGS
12065 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12066 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12069 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12070 case "x$with_tiff" in
12071 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12073 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
12074 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12078 if test "x$with_mpg123" != "xno"
12080 if test -n "$MPG123_CFLAGS"; then :
12082 elif test -n "$PKG_CONFIG"; then :
12083 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12086 if test -n "$MPG123_LIBS"; then :
12088 elif test -n "$PKG_CONFIG"; then :
12089 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12092 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
12093 ac_save_CPPFLAGS
=$CPPFLAGS
12094 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
12095 for ac_header
in mpg123.h
12097 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12098 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
12099 cat >>confdefs.h
<<_ACEOF
12100 #define HAVE_MPG123_H 1
12107 if test "$ac_cv_header_mpg123_h" = "yes"
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12110 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12111 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
12112 $as_echo_n "(cached) " >&6
12114 ac_check_lib_save_LIBS
=$LIBS
12115 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
12116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12117 /* end confdefs.h. */
12119 /* Override any GCC internal prototype to avoid an error.
12120 Use char because int might match the return type of a GCC
12121 builtin and then its argument prototype would still apply. */
12125 char mpg123_feed ();
12129 return mpg123_feed ();
12134 if ac_fn_c_try_link
"$LINENO"; then :
12135 ac_cv_lib_mpg123_mpg123_feed
=yes
12137 ac_cv_lib_mpg123_mpg123_feed
=no
12139 rm -f core conftest.err conftest.
$ac_objext \
12140 conftest
$ac_exeext conftest.
$ac_ext
12141 LIBS
=$ac_check_lib_save_LIBS
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12144 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12145 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
12155 CPPFLAGS
=$ac_save_CPPFLAGS
12156 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12157 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12160 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
12161 case "x$with_mpg123" in
12162 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12164 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12165 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12168 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}
12170 if test "$ac_cv_header_AL_al_h" = "yes"
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12173 $as_echo_n "checking for -lopenal... " >&6; }
12174 if ${ac_cv_lib_soname_openal+:} false
; then :
12175 $as_echo_n "(cached) " >&6
12177 ac_check_soname_save_LIBS
=$LIBS
12178 LIBS
="-lopenal $LIBS"
12179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12180 /* end confdefs.h. */
12182 /* Override any GCC internal prototype to avoid an error.
12183 Use char because int might match the return type of a GCC
12184 builtin and then its argument prototype would still apply. */
12188 char alGetSource3i ();
12192 return alGetSource3i ();
12197 if ac_fn_c_try_link
"$LINENO"; then :
12199 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12200 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'` ;;
12201 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12202 if test "x$ac_cv_lib_soname_openal" = x
; then :
12203 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12207 rm -f core conftest.err conftest.
$ac_objext \
12208 conftest
$ac_exeext conftest.
$ac_ext
12209 LIBS
=$ac_check_soname_save_LIBS
12211 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12213 $as_echo "not found" >&6; }
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12217 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12219 cat >>confdefs.h
<<_ACEOF
12220 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12223 LIBOPENAL
="-lopenal"
12225 ac_cv_lib_openal
=yes
12227 cat >>confdefs.h
<<_ACEOF
12228 #define HAVE_OPENAL 1
12233 if test "x$ac_cv_lib_openal" != xyes
; then :
12234 case "x$with_openal" in
12235 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12237 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12238 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12241 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
12243 if test "$ac_cv_header_kstat_h" = "yes"
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12246 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12247 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
12248 $as_echo_n "(cached) " >&6
12250 ac_check_lib_save_LIBS
=$LIBS
12251 LIBS
="-lkstat $LIBS"
12252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12253 /* end confdefs.h. */
12255 /* Override any GCC internal prototype to avoid an error.
12256 Use char because int might match the return type of a GCC
12257 builtin and then its argument prototype would still apply. */
12261 char kstat_open ();
12265 return kstat_open ();
12270 if ac_fn_c_try_link
"$LINENO"; then :
12271 ac_cv_lib_kstat_kstat_open
=yes
12273 ac_cv_lib_kstat_kstat_open
=no
12275 rm -f core conftest.err conftest.
$ac_objext \
12276 conftest
$ac_exeext conftest.
$ac_ext
12277 LIBS
=$ac_check_lib_save_LIBS
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12280 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12281 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
12283 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12291 if test "$ac_cv_header_libprocstat_h" = "yes"
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
12294 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
12295 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
12296 $as_echo_n "(cached) " >&6
12298 ac_check_lib_save_LIBS
=$LIBS
12299 LIBS
="-lprocstat $LIBS"
12300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12301 /* end confdefs.h. */
12303 /* Override any GCC internal prototype to avoid an error.
12304 Use char because int might match the return type of a GCC
12305 builtin and then its argument prototype would still apply. */
12309 char procstat_open_sysctl ();
12313 return procstat_open_sysctl ();
12318 if ac_fn_c_try_link
"$LINENO"; then :
12319 ac_cv_lib_procstat_procstat_open_sysctl
=yes
12321 ac_cv_lib_procstat_procstat_open_sysctl
=no
12323 rm -f core conftest.err conftest.
$ac_objext \
12324 conftest
$ac_exeext conftest.
$ac_ext
12325 LIBS
=$ac_check_lib_save_LIBS
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
12328 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
12329 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
12331 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
12333 LIBPROCSTAT
="-lprocstat"
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12340 $as_echo_n "checking for -lodbc... " >&6; }
12341 if ${ac_cv_lib_soname_odbc+:} false
; then :
12342 $as_echo_n "(cached) " >&6
12344 ac_check_soname_save_LIBS
=$LIBS
12345 LIBS
="-lodbc $LIBS"
12346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12347 /* end confdefs.h. */
12349 /* Override any GCC internal prototype to avoid an error.
12350 Use char because int might match the return type of a GCC
12351 builtin and then its argument prototype would still apply. */
12355 char SQLConnect ();
12359 return SQLConnect ();
12364 if ac_fn_c_try_link
"$LINENO"; then :
12366 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12367 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'` ;;
12368 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12369 if test "x$ac_cv_lib_soname_odbc" = x
; then :
12370 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12374 rm -f core conftest.err conftest.
$ac_objext \
12375 conftest
$ac_exeext conftest.
$ac_ext
12376 LIBS
=$ac_check_soname_save_LIBS
12378 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12380 $as_echo "not found" >&6; }
12381 cat >>confdefs.h
<<_ACEOF
12382 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12387 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12389 cat >>confdefs.h
<<_ACEOF
12390 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12396 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12397 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
12398 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
12399 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
12401 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12402 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
12403 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12405 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
12411 if test "x${GCC}" = "xyes"
12413 EXTRACFLAGS
="-Wall -pipe"
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12416 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12417 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
12418 $as_echo_n "(cached) " >&6
12420 if test "$cross_compiling" = yes; then :
12421 ac_cv_c_gcc_strength_bug
="yes"
12423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12424 /* end confdefs.h. */
12425 int L[4] = {0,1,2,3};
12429 static int Array[3];
12430 unsigned int B = 3;
12432 for(i=0; i<B; i++) Array[i] = i - 3;
12433 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12435 return (Array[1] != -2 || L[2] != 3)
12440 if ac_fn_c_try_run
"$LINENO"; then :
12441 ac_cv_c_gcc_strength_bug
="no"
12443 ac_cv_c_gcc_strength_bug
="yes"
12445 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12446 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12451 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12452 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12454 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12458 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12459 if ${ac_cv_cflags__fno_builtin+:} false
; then :
12460 $as_echo_n "(cached) " >&6
12462 ac_wine_try_cflags_saved
=$CFLAGS
12463 CFLAGS
="$CFLAGS -fno-builtin"
12464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12465 /* end confdefs.h. */
12466 int main(int argc, char **argv) { return 0; }
12468 if ac_fn_c_try_link
"$LINENO"; then :
12469 ac_cv_cflags__fno_builtin
=yes
12471 ac_cv_cflags__fno_builtin
=no
12473 rm -f core conftest.err conftest.
$ac_objext \
12474 conftest
$ac_exeext conftest.
$ac_ext
12475 CFLAGS
=$ac_wine_try_cflags_saved
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12478 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12479 if test $ac_cv_cflags__fno_builtin = yes; then :
12480 BUILTINFLAG
="-fno-builtin"
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12484 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12485 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
12486 $as_echo_n "(cached) " >&6
12488 ac_wine_try_cflags_saved
=$CFLAGS
12489 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12492 int main(int argc, char **argv) { return 0; }
12494 if ac_fn_c_try_link
"$LINENO"; then :
12495 ac_cv_cflags__fno_strict_aliasing
=yes
12497 ac_cv_cflags__fno_strict_aliasing
=no
12499 rm -f core conftest.err conftest.
$ac_objext \
12500 conftest
$ac_exeext conftest.
$ac_ext
12501 CFLAGS
=$ac_wine_try_cflags_saved
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12504 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12505 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12506 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12508 saved_CFLAGS
=$CFLAGS
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
12510 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
12511 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
12512 $as_echo_n "(cached) " >&6
12514 ac_wine_try_cflags_saved
=$CFLAGS
12515 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
12516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12517 /* end confdefs.h. */
12518 int main(int argc, char **argv) { return 0; }
12520 if ac_fn_c_try_link
"$LINENO"; then :
12521 ac_cv_cflags__Werror_unknown_warning_option
=yes
12523 ac_cv_cflags__Werror_unknown_warning_option
=no
12525 rm -f core conftest.err conftest.
$ac_objext \
12526 conftest
$ac_exeext conftest.
$ac_ext
12527 CFLAGS
=$ac_wine_try_cflags_saved
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
12530 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
12531 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
12532 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12535 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12536 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
12537 $as_echo_n "(cached) " >&6
12539 ac_wine_try_cflags_saved
=$CFLAGS
12540 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12543 int main(int argc, char **argv) { return 0; }
12545 if ac_fn_c_try_link
"$LINENO"; then :
12546 ac_cv_cflags__Wdeclaration_after_statement
=yes
12548 ac_cv_cflags__Wdeclaration_after_statement
=no
12550 rm -f core conftest.err conftest.
$ac_objext \
12551 conftest
$ac_exeext conftest.
$ac_ext
12552 CFLAGS
=$ac_wine_try_cflags_saved
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12555 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12556 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12557 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12560 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12561 if ${ac_cv_cflags__Wempty_body+:} false
; then :
12562 $as_echo_n "(cached) " >&6
12564 ac_wine_try_cflags_saved
=$CFLAGS
12565 CFLAGS
="$CFLAGS -Wempty-body"
12566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12568 int main(int argc, char **argv) { return 0; }
12570 if ac_fn_c_try_link
"$LINENO"; then :
12571 ac_cv_cflags__Wempty_body
=yes
12573 ac_cv_cflags__Wempty_body
=no
12575 rm -f core conftest.err conftest.
$ac_objext \
12576 conftest
$ac_exeext conftest.
$ac_ext
12577 CFLAGS
=$ac_wine_try_cflags_saved
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12580 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12581 if test $ac_cv_cflags__Wempty_body = yes; then :
12582 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12585 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12586 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
12587 $as_echo_n "(cached) " >&6
12589 ac_wine_try_cflags_saved
=$CFLAGS
12590 CFLAGS
="$CFLAGS -Wignored-qualifiers"
12591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12592 /* end confdefs.h. */
12593 int main(int argc, char **argv) { return 0; }
12595 if ac_fn_c_try_link
"$LINENO"; then :
12596 ac_cv_cflags__Wignored_qualifiers
=yes
12598 ac_cv_cflags__Wignored_qualifiers
=no
12600 rm -f core conftest.err conftest.
$ac_objext \
12601 conftest
$ac_exeext conftest.
$ac_ext
12602 CFLAGS
=$ac_wine_try_cflags_saved
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12605 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12606 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12607 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12610 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12611 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
12612 $as_echo_n "(cached) " >&6
12614 ac_wine_try_cflags_saved
=$CFLAGS
12615 CFLAGS
="$CFLAGS -Wstrict-prototypes"
12616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12617 /* end confdefs.h. */
12618 int main(int argc, char **argv) { return 0; }
12620 if ac_fn_c_try_link
"$LINENO"; then :
12621 ac_cv_cflags__Wstrict_prototypes
=yes
12623 ac_cv_cflags__Wstrict_prototypes
=no
12625 rm -f core conftest.err conftest.
$ac_objext \
12626 conftest
$ac_exeext conftest.
$ac_ext
12627 CFLAGS
=$ac_wine_try_cflags_saved
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12630 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12631 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12632 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12635 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12636 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
12637 $as_echo_n "(cached) " >&6
12639 ac_wine_try_cflags_saved
=$CFLAGS
12640 CFLAGS
="$CFLAGS -Wtype-limits"
12641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12642 /* end confdefs.h. */
12643 int main(int argc, char **argv) { return 0; }
12645 if ac_fn_c_try_link
"$LINENO"; then :
12646 ac_cv_cflags__Wtype_limits
=yes
12648 ac_cv_cflags__Wtype_limits
=no
12650 rm -f core conftest.err conftest.
$ac_objext \
12651 conftest
$ac_exeext conftest.
$ac_ext
12652 CFLAGS
=$ac_wine_try_cflags_saved
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12655 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12656 if test $ac_cv_cflags__Wtype_limits = yes; then :
12657 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12660 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12661 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
12662 $as_echo_n "(cached) " >&6
12664 ac_wine_try_cflags_saved
=$CFLAGS
12665 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
12666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12667 /* end confdefs.h. */
12668 int main(int argc, char **argv) { return 0; }
12670 if ac_fn_c_try_link
"$LINENO"; then :
12671 ac_cv_cflags__Wunused_but_set_parameter
=yes
12673 ac_cv_cflags__Wunused_but_set_parameter
=no
12675 rm -f core conftest.err conftest.
$ac_objext \
12676 conftest
$ac_exeext conftest.
$ac_ext
12677 CFLAGS
=$ac_wine_try_cflags_saved
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12680 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12681 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12682 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12685 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12686 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
12687 $as_echo_n "(cached) " >&6
12689 ac_wine_try_cflags_saved
=$CFLAGS
12690 CFLAGS
="$CFLAGS -Wwrite-strings"
12691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12692 /* end confdefs.h. */
12693 int main(int argc, char **argv) { return 0; }
12695 if ac_fn_c_try_link
"$LINENO"; then :
12696 ac_cv_cflags__Wwrite_strings
=yes
12698 ac_cv_cflags__Wwrite_strings
=no
12700 rm -f core conftest.err conftest.
$ac_objext \
12701 conftest
$ac_exeext conftest.
$ac_ext
12702 CFLAGS
=$ac_wine_try_cflags_saved
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12705 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12706 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12707 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
12711 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
12712 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
12713 $as_echo_n "(cached) " >&6
12715 ac_wine_try_cflags_saved
=$CFLAGS
12716 CFLAGS
="$CFLAGS -Wpointer-arith"
12717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12718 /* end confdefs.h. */
12719 int main(int argc, char **argv) { return 0; }
12721 if ac_fn_c_try_link
"$LINENO"; then :
12722 ac_cv_cflags__Wpointer_arith
=yes
12724 ac_cv_cflags__Wpointer_arith
=no
12726 rm -f core conftest.err conftest.
$ac_objext \
12727 conftest
$ac_exeext conftest.
$ac_ext
12728 CFLAGS
=$ac_wine_try_cflags_saved
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
12731 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
12732 if test $ac_cv_cflags__Wpointer_arith = yes; then :
12733 saved_string_h_CFLAGS
=$CFLAGS
12734 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12736 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12737 if ${ac_cv_c_string_h_warnings+:} false
; then :
12738 $as_echo_n "(cached) " >&6
12740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12741 /* end confdefs.h. */
12742 #include <string.h>
12751 if ac_fn_c_try_compile
"$LINENO"; then :
12752 ac_cv_c_string_h_warnings
=no
12754 ac_cv_c_string_h_warnings
=yes
12756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12759 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12760 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12761 CFLAGS
=$saved_string_h_CFLAGS
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
12765 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
12766 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
12767 $as_echo_n "(cached) " >&6
12769 ac_wine_try_cflags_saved
=$CFLAGS
12770 CFLAGS
="$CFLAGS -Wlogical-op"
12771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12773 int main(int argc, char **argv) { return 0; }
12775 if ac_fn_c_try_link
"$LINENO"; then :
12776 ac_cv_cflags__Wlogical_op
=yes
12778 ac_cv_cflags__Wlogical_op
=no
12780 rm -f core conftest.err conftest.
$ac_objext \
12781 conftest
$ac_exeext conftest.
$ac_ext
12782 CFLAGS
=$ac_wine_try_cflags_saved
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
12785 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
12786 if test $ac_cv_cflags__Wlogical_op = yes; then :
12787 saved_string_h_CFLAGS
=$CFLAGS
12788 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12790 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12791 if ${ac_cv_c_logicalop_noisy+:} false
; then :
12792 $as_echo_n "(cached) " >&6
12794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12795 /* end confdefs.h. */
12796 #include <string.h>
12797 char*f(const char *h,char n) {return strchr(h,n);}
12806 if ac_fn_c_try_compile
"$LINENO"; then :
12807 ac_cv_c_logicalop_noisy
=no
12809 ac_cv_c_logicalop_noisy
=yes
12811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12814 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12815 CFLAGS
=$saved_string_h_CFLAGS
12816 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12819 CFLAGS
=$saved_CFLAGS
12821 for ac_flag
in $CFLAGS; do
12823 -g) case $host_os in
12824 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12825 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12826 if ${ac_cv_cflags__gstabsp+:} false
; then :
12827 $as_echo_n "(cached) " >&6
12829 ac_wine_try_cflags_saved
=$CFLAGS
12830 CFLAGS
="$CFLAGS -gstabs+"
12831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12832 /* end confdefs.h. */
12833 int main(int argc, char **argv) { return 0; }
12835 if ac_fn_c_try_link
"$LINENO"; then :
12836 ac_cv_cflags__gstabsp
=yes
12838 ac_cv_cflags__gstabsp
=no
12840 rm -f core conftest.err conftest.
$ac_objext \
12841 conftest
$ac_exeext conftest.
$ac_ext
12842 CFLAGS
=$ac_wine_try_cflags_saved
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12845 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12846 if test $ac_cv_cflags__gstabsp = yes; then :
12847 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12849 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12850 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12851 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
12852 $as_echo_n "(cached) " >&6
12854 ac_wine_try_cflags_saved
=$CFLAGS
12855 CFLAGS
="$CFLAGS -gdwarf-2"
12856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12857 /* end confdefs.h. */
12858 int main(int argc, char **argv) { return 0; }
12860 if ac_fn_c_try_link
"$LINENO"; then :
12861 ac_cv_cflags__gdwarf_2
=yes
12863 ac_cv_cflags__gdwarf_2
=no
12865 rm -f core conftest.err conftest.
$ac_objext \
12866 conftest
$ac_exeext conftest.
$ac_ext
12867 CFLAGS
=$ac_wine_try_cflags_saved
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12870 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12871 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12872 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12875 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12876 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
12877 $as_echo_n "(cached) " >&6
12879 ac_wine_try_cflags_saved
=$CFLAGS
12880 CFLAGS
="$CFLAGS -gstrict-dwarf"
12881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12882 /* end confdefs.h. */
12883 int main(int argc, char **argv) { return 0; }
12885 if ac_fn_c_try_link
"$LINENO"; then :
12886 ac_cv_cflags__gstrict_dwarf
=yes
12888 ac_cv_cflags__gstrict_dwarf
=no
12890 rm -f core conftest.err conftest.
$ac_objext \
12891 conftest
$ac_exeext conftest.
$ac_ext
12892 CFLAGS
=$ac_wine_try_cflags_saved
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12895 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12896 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12897 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
12904 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12905 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12906 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
12907 $as_echo_n "(cached) " >&6
12909 ac_wine_try_cflags_saved
=$CFLAGS
12910 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
12911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12912 /* end confdefs.h. */
12913 int main(int argc, char **argv) { return 0; }
12915 if ac_fn_c_try_link
"$LINENO"; then :
12916 ac_cv_cflags__fno_omit_frame_pointer
=yes
12918 ac_cv_cflags__fno_omit_frame_pointer
=no
12920 rm -f core conftest.err conftest.
$ac_objext \
12921 conftest
$ac_exeext conftest.
$ac_ext
12922 CFLAGS
=$ac_wine_try_cflags_saved
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12925 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12926 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12927 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
12932 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12933 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12934 if ${ac_cv_cflags__Wno_format+:} false
; then :
12935 $as_echo_n "(cached) " >&6
12937 ac_wine_try_cflags_saved
=$CFLAGS
12938 CFLAGS
="$CFLAGS -Wno-format"
12939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12941 int main(int argc, char **argv) { return 0; }
12943 if ac_fn_c_try_link
"$LINENO"; then :
12944 ac_cv_cflags__Wno_format
=yes
12946 ac_cv_cflags__Wno_format
=no
12948 rm -f core conftest.err conftest.
$ac_objext \
12949 conftest
$ac_exeext conftest.
$ac_ext
12950 CFLAGS
=$ac_wine_try_cflags_saved
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12953 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12954 if test $ac_cv_cflags__Wno_format = yes; then :
12955 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
12959 if test "x$enable_maintainer_mode" = "xyes"
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12962 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12963 if ${ac_cv_cflags__Werror+:} false
; then :
12964 $as_echo_n "(cached) " >&6
12966 ac_wine_try_cflags_saved
=$CFLAGS
12967 CFLAGS
="$CFLAGS -Werror"
12968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12969 /* end confdefs.h. */
12970 int main(int argc, char **argv) { return 0; }
12972 if ac_fn_c_try_link
"$LINENO"; then :
12973 ac_cv_cflags__Werror
=yes
12975 ac_cv_cflags__Werror
=no
12977 rm -f core conftest.err conftest.
$ac_objext \
12978 conftest
$ac_exeext conftest.
$ac_ext
12979 CFLAGS
=$ac_wine_try_cflags_saved
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12982 $as_echo "$ac_cv_cflags__Werror" >&6; }
12983 if test $ac_cv_cflags__Werror = yes; then :
12984 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12988 saved_CFLAGS
="$CFLAGS"
12989 CFLAGS
="$CFLAGS -Werror"
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12991 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12992 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
12993 $as_echo_n "(cached) " >&6
12995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12996 /* end confdefs.h. */
12997 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13006 if ac_fn_c_try_compile
"$LINENO"; then :
13007 ac_cv_have_ms_hook_prologue
="yes"
13009 ac_cv_have_ms_hook_prologue
="no"
13011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13014 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13015 CFLAGS
="$saved_CFLAGS"
13016 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13019 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13022 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13029 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13030 if ${ac_cv_c_fortify_enabled+:} false
; then :
13031 $as_echo_n "(cached) " >&6
13033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13034 /* end confdefs.h. */
13035 #include <string.h>
13039 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13040 #error Fortify enabled
13046 if ac_fn_c_try_compile
"$LINENO"; then :
13047 ac_cv_c_fortify_enabled
=no
13049 ac_cv_c_fortify_enabled
=yes
13051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13054 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13055 if test "$ac_cv_c_fortify_enabled" = yes
13057 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13062 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13063 if ${ac_cv_c_extern_prefix+:} false
; then :
13064 $as_echo_n "(cached) " >&6
13066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13067 /* end confdefs.h. */
13068 extern int ac_test;
13072 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13077 if ac_fn_c_try_link
"$LINENO"; then :
13078 ac_cv_c_extern_prefix
="yes"
13080 ac_cv_c_extern_prefix
="no"
13082 rm -f core conftest.err conftest.
$ac_objext \
13083 conftest
$ac_exeext conftest.
$ac_ext
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13086 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13091 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13092 if ${ac_cv_c_stdcall_suffix+:} false
; then :
13093 $as_echo_n "(cached) " >&6
13095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13096 /* end confdefs.h. */
13098 #define __stdcall __attribute__((__stdcall__))
13100 int __stdcall ac_test(int i) { return i; }
13104 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13109 if ac_fn_c_try_link
"$LINENO"; then :
13110 ac_cv_c_stdcall_suffix
="yes"
13112 ac_cv_c_stdcall_suffix
="no"
13114 rm -f core conftest.err conftest.
$ac_objext \
13115 conftest
$ac_exeext conftest.
$ac_ext
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13118 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13119 *) ac_cv_c_stdcall_suffix
="no" ;;
13123 if test "$ac_cv_c_extern_prefix" = "yes"
13125 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13127 asm_name_prefix
="_"
13129 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13135 if test "$ac_cv_c_stdcall_suffix" = "yes"
13137 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13140 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13146 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13147 if ${ac_cv_asm_func_def+:} false
; then :
13148 $as_echo_n "(cached) " >&6
13150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13151 /* end confdefs.h. */
13156 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13161 if ac_fn_c_try_link
"$LINENO"; then :
13162 ac_cv_asm_func_def
=".def"
13164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13165 /* end confdefs.h. */
13170 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13175 if ac_fn_c_try_link
"$LINENO"; then :
13176 ac_cv_asm_func_def
=".type @function"
13178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13179 /* end confdefs.h. */
13184 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13189 if ac_fn_c_try_link
"$LINENO"; then :
13190 ac_cv_asm_func_def
=".type 2"
13192 ac_cv_asm_func_def
="unknown"
13194 rm -f core conftest.err conftest.
$ac_objext \
13195 conftest
$ac_exeext conftest.
$ac_ext
13197 rm -f core conftest.err conftest.
$ac_objext \
13198 conftest
$ac_exeext conftest.
$ac_ext
13200 rm -f core conftest.err conftest.
$ac_objext \
13201 conftest
$ac_exeext conftest.
$ac_ext
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13204 $as_echo "$ac_cv_asm_func_def" >&6; }
13207 case "$ac_cv_asm_func_def" in
13209 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13211 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13213 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13215 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
13217 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13219 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
13221 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13223 asm_func_header
="" ;;
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13227 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13228 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
13229 $as_echo_n "(cached) " >&6
13231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13232 /* end confdefs.h. */
13233 asm(".text\n\t.long 0");
13242 if ac_fn_c_try_compile
"$LINENO"; then :
13243 ac_cv_c_asm_outside_funcs
="yes"
13245 ac_cv_c_asm_outside_funcs
="no"
13247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13250 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13253 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13254 if ${ac_cv_c_dot_previous+:} false
; then :
13255 $as_echo_n "(cached) " >&6
13257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13258 /* end confdefs.h. */
13263 asm(".text\nac_test:\t.long 0\n\t.previous");
13268 if ac_fn_c_try_link
"$LINENO"; then :
13269 ac_cv_c_dot_previous
="yes"
13271 ac_cv_c_dot_previous
="no"
13273 rm -f core conftest.err conftest.
$ac_objext \
13274 conftest
$ac_exeext conftest.
$ac_ext
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13277 $as_echo "$ac_cv_c_dot_previous" >&6; }
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13280 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13281 if ${ac_cv_c_cfi_support+:} false
; then :
13282 $as_echo_n "(cached) " >&6
13284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13285 /* end confdefs.h. */
13286 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13295 if ac_fn_c_try_compile
"$LINENO"; then :
13296 ac_cv_c_cfi_support
="yes"
13298 ac_cv_c_cfi_support
="no"
13300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13303 $as_echo "$ac_cv_c_cfi_support" >&6; }
13305 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13306 asm_func_trailer
=""
13307 if test "$ac_cv_c_dot_previous" = "yes"
13309 asm_func_trailer
="\\n\\t.previous"
13311 if test "$ac_cv_c_cfi_support" = "yes"
13313 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
13314 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
13316 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13318 UNWINDFLAGS
=-fasynchronous-unwind-tables
13321 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13325 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
13328 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13330 cat >>confdefs.h
<<_ACEOF
13331 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13335 cat >>confdefs.h
<<_ACEOF
13336 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13341 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13344 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13354 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13359 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13365 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
13370 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
13372 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
13379 ac_save_CFLAGS
="$CFLAGS"
13380 CFLAGS
="$CFLAGS $BUILTINFLAG"
13458 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13459 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13460 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13461 cat >>confdefs.h
<<_ACEOF
13462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13468 CFLAGS
="$ac_save_CFLAGS"
13470 if test "$ac_cv_func_dlopen" = no
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13473 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13474 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13475 $as_echo_n "(cached) " >&6
13477 ac_check_lib_save_LIBS
=$LIBS
13479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13480 /* end confdefs.h. */
13482 /* Override any GCC internal prototype to avoid an error.
13483 Use char because int might match the return type of a GCC
13484 builtin and then its argument prototype would still apply. */
13497 if ac_fn_c_try_link
"$LINENO"; then :
13498 ac_cv_lib_dl_dlopen
=yes
13500 ac_cv_lib_dl_dlopen
=no
13502 rm -f core conftest.err conftest.
$ac_objext \
13503 conftest
$ac_exeext conftest.
$ac_ext
13504 LIBS
=$ac_check_lib_save_LIBS
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13507 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13508 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13509 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13515 ac_wine_check_funcs_save_LIBS
="$LIBS"
13516 LIBS
="$LIBS $LIBDL"
13517 for ac_func
in dladdr
13519 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
13520 if test "x$ac_cv_func_dladdr" = xyes
; then :
13521 cat >>confdefs.h
<<_ACEOF
13522 #define HAVE_DLADDR 1
13528 LIBS
="$ac_wine_check_funcs_save_LIBS"
13530 if test "$ac_cv_func_poll" = no
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13533 $as_echo_n "checking for poll in -lpoll... " >&6; }
13534 if ${ac_cv_lib_poll_poll+:} false
; then :
13535 $as_echo_n "(cached) " >&6
13537 ac_check_lib_save_LIBS
=$LIBS
13538 LIBS
="-lpoll $LIBS"
13539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13540 /* end confdefs.h. */
13542 /* Override any GCC internal prototype to avoid an error.
13543 Use char because int might match the return type of a GCC
13544 builtin and then its argument prototype would still apply. */
13557 if ac_fn_c_try_link
"$LINENO"; then :
13558 ac_cv_lib_poll_poll
=yes
13560 ac_cv_lib_poll_poll
=no
13562 rm -f core conftest.err conftest.
$ac_objext \
13563 conftest
$ac_exeext conftest.
$ac_ext
13564 LIBS
=$ac_check_lib_save_LIBS
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13567 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13568 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
13569 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13577 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13578 if ${ac_cv_search_gethostbyname+:} false
; then :
13579 $as_echo_n "(cached) " >&6
13581 ac_func_search_save_LIBS
=$LIBS
13582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13583 /* end confdefs.h. */
13585 /* Override any GCC internal prototype to avoid an error.
13586 Use char because int might match the return type of a GCC
13587 builtin and then its argument prototype would still apply. */
13591 char gethostbyname ();
13595 return gethostbyname ();
13600 for ac_lib
in '' nsl
; do
13601 if test -z "$ac_lib"; then
13602 ac_res
="none required"
13605 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13607 if ac_fn_c_try_link
"$LINENO"; then :
13608 ac_cv_search_gethostbyname
=$ac_res
13610 rm -f core conftest.err conftest.
$ac_objext \
13612 if ${ac_cv_search_gethostbyname+:} false
; then :
13616 if ${ac_cv_search_gethostbyname+:} false
; then :
13619 ac_cv_search_gethostbyname
=no
13621 rm conftest.
$ac_ext
13622 LIBS
=$ac_func_search_save_LIBS
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13625 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13626 ac_res
=$ac_cv_search_gethostbyname
13627 if test "$ac_res" != no
; then :
13628 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13634 $as_echo_n "checking for library containing connect... " >&6; }
13635 if ${ac_cv_search_connect+:} false
; then :
13636 $as_echo_n "(cached) " >&6
13638 ac_func_search_save_LIBS
=$LIBS
13639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13640 /* end confdefs.h. */
13642 /* Override any GCC internal prototype to avoid an error.
13643 Use char because int might match the return type of a GCC
13644 builtin and then its argument prototype would still apply. */
13657 for ac_lib
in '' socket
; do
13658 if test -z "$ac_lib"; then
13659 ac_res
="none required"
13662 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13664 if ac_fn_c_try_link
"$LINENO"; then :
13665 ac_cv_search_connect
=$ac_res
13667 rm -f core conftest.err conftest.
$ac_objext \
13669 if ${ac_cv_search_connect+:} false
; then :
13673 if ${ac_cv_search_connect+:} false
; then :
13676 ac_cv_search_connect
=no
13678 rm conftest.
$ac_ext
13679 LIBS
=$ac_func_search_save_LIBS
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13682 $as_echo "$ac_cv_search_connect" >&6; }
13683 ac_res
=$ac_cv_search_connect
13684 if test "$ac_res" != no
; then :
13685 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13691 $as_echo_n "checking for library containing inet_aton... " >&6; }
13692 if ${ac_cv_search_inet_aton+:} false
; then :
13693 $as_echo_n "(cached) " >&6
13695 ac_func_search_save_LIBS
=$LIBS
13696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13699 /* Override any GCC internal prototype to avoid an error.
13700 Use char because int might match the return type of a GCC
13701 builtin and then its argument prototype would still apply. */
13709 return inet_aton ();
13714 for ac_lib
in '' resolv
; do
13715 if test -z "$ac_lib"; then
13716 ac_res
="none required"
13719 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13721 if ac_fn_c_try_link
"$LINENO"; then :
13722 ac_cv_search_inet_aton
=$ac_res
13724 rm -f core conftest.err conftest.
$ac_objext \
13726 if ${ac_cv_search_inet_aton+:} false
; then :
13730 if ${ac_cv_search_inet_aton+:} false
; then :
13733 ac_cv_search_inet_aton
=no
13735 rm conftest.
$ac_ext
13736 LIBS
=$ac_func_search_save_LIBS
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13739 $as_echo "$ac_cv_search_inet_aton" >&6; }
13740 ac_res
=$ac_cv_search_inet_aton
13741 if test "$ac_res" != no
; then :
13742 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13761 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13762 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13763 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13764 cat >>confdefs.h
<<_ACEOF
13765 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
13774 $as_echo_n "checking for library containing clock_gettime... " >&6; }
13775 if ${ac_cv_search_clock_gettime+:} false
; then :
13776 $as_echo_n "(cached) " >&6
13778 ac_func_search_save_LIBS
=$LIBS
13779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13780 /* end confdefs.h. */
13782 /* Override any GCC internal prototype to avoid an error.
13783 Use char because int might match the return type of a GCC
13784 builtin and then its argument prototype would still apply. */
13788 char clock_gettime ();
13792 return clock_gettime ();
13797 for ac_lib
in '' rt
; do
13798 if test -z "$ac_lib"; then
13799 ac_res
="none required"
13802 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13804 if ac_fn_c_try_link
"$LINENO"; then :
13805 ac_cv_search_clock_gettime
=$ac_res
13807 rm -f core conftest.err conftest.
$ac_objext \
13809 if ${ac_cv_search_clock_gettime+:} false
; then :
13813 if ${ac_cv_search_clock_gettime+:} false
; then :
13816 ac_cv_search_clock_gettime
=no
13818 rm conftest.
$ac_ext
13819 LIBS
=$ac_func_search_save_LIBS
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
13822 $as_echo "$ac_cv_search_clock_gettime" >&6; }
13823 ac_res
=$ac_cv_search_clock_gettime
13824 if test "$ac_res" != no
; then :
13825 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13827 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13829 test "$ac_res" = "none required" || LIBRT
="$ac_res"
13837 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13839 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13841 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13843 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13844 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
13845 $as_echo_n "(cached) " >&6
13847 ac_check_lib_save_LIBS
=$LIBS
13848 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13850 /* end confdefs.h. */
13852 /* Override any GCC internal prototype to avoid an error.
13853 Use char because int might match the return type of a GCC
13854 builtin and then its argument prototype would still apply. */
13858 char ldap_initialize ();
13862 return ldap_initialize ();
13867 if ac_fn_c_try_link
"$LINENO"; then :
13868 ac_cv_lib_ldap_r_ldap_initialize
=yes
13870 ac_cv_lib_ldap_r_ldap_initialize
=no
13872 rm -f core conftest.err conftest.
$ac_objext \
13873 conftest
$ac_exeext conftest.
$ac_ext
13874 LIBS
=$ac_check_lib_save_LIBS
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13877 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13878 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13880 $as_echo_n "checking for ber_init in -llber... " >&6; }
13881 if ${ac_cv_lib_lber_ber_init+:} false
; then :
13882 $as_echo_n "(cached) " >&6
13884 ac_check_lib_save_LIBS
=$LIBS
13885 LIBS
="-llber $LIBPTHREAD $LIBS"
13886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13889 /* Override any GCC internal prototype to avoid an error.
13890 Use char because int might match the return type of a GCC
13891 builtin and then its argument prototype would still apply. */
13899 return ber_init ();
13904 if ac_fn_c_try_link
"$LINENO"; then :
13905 ac_cv_lib_lber_ber_init
=yes
13907 ac_cv_lib_lber_ber_init
=no
13909 rm -f core conftest.err conftest.
$ac_objext \
13910 conftest
$ac_exeext conftest.
$ac_ext
13911 LIBS
=$ac_check_lib_save_LIBS
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13914 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13915 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
13917 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13919 LDAPLIBS
="-lldap_r -llber"
13926 ac_wine_check_funcs_save_LIBS
="$LIBS"
13927 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13929 ldap_count_references \
13930 ldap_first_reference \
13931 ldap_next_reference \
13932 ldap_parse_reference \
13933 ldap_parse_sort_control \
13934 ldap_parse_sortresponse_control \
13935 ldap_parse_vlv_control \
13936 ldap_parse_vlvresponse_control
13938 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13939 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13940 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13941 cat >>confdefs.h
<<_ACEOF
13942 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13948 LIBS
="$ac_wine_check_funcs_save_LIBS"
13950 if test "x$LDAPLIBS" = "x"; then :
13951 case "x$with_ldap" in
13952 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13954 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13955 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13960 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13961 if ${wine_cv_one_arg_mkdir+:} false
; then :
13962 $as_echo_n "(cached) " >&6
13964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13965 /* end confdefs.h. */
13966 #include <sys/stat.h>
13975 if ac_fn_c_try_compile
"$LINENO"; then :
13976 wine_cv_one_arg_mkdir
=yes
13978 wine_cv_one_arg_mkdir
=no
13980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13983 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13984 if test "$wine_cv_one_arg_mkdir" = "yes"
13987 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13992 $as_echo_n "checking for sched_setaffinity... " >&6; }
13993 if ${wine_cv_have_sched_setaffinity+:} false
; then :
13994 $as_echo_n "(cached) " >&6
13996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13997 /* end confdefs.h. */
13998 #define _GNU_SOURCE
14003 sched_setaffinity(0, 0, 0);
14008 if ac_fn_c_try_link
"$LINENO"; then :
14009 wine_cv_have_sched_setaffinity
=yes
14011 wine_cv_have_sched_setaffinity
=no
14013 rm -f core conftest.err conftest.
$ac_objext \
14014 conftest
$ac_exeext conftest.
$ac_ext
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14017 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14018 if test "$wine_cv_have_sched_setaffinity" = "yes"
14021 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14026 $as_echo_n "checking for fallocate... " >&6; }
14027 if ${wine_cv_have_fallocate+:} false
; then :
14028 $as_echo_n "(cached) " >&6
14030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14031 /* end confdefs.h. */
14032 #define _GNU_SOURCE
14037 fallocate(-1, 0, 0, 0);
14042 if ac_fn_c_try_link
"$LINENO"; then :
14043 wine_cv_have_fallocate
=yes
14045 wine_cv_have_fallocate
=no
14047 rm -f core conftest.err conftest.
$ac_objext \
14048 conftest
$ac_exeext conftest.
$ac_ext
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14051 $as_echo "$wine_cv_have_fallocate" >&6; }
14052 if test "$wine_cv_have_fallocate" = "yes"
14055 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14061 $as_echo_n "checking for inline... " >&6; }
14062 if ${ac_cv_c_inline+:} false
; then :
14063 $as_echo_n "(cached) " >&6
14066 for ac_kw
in inline __inline__ __inline
; do
14067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14069 #ifndef __cplusplus
14071 static $ac_kw foo_t static_foo () {return 0; }
14072 $ac_kw foo_t foo () {return 0; }
14076 if ac_fn_c_try_compile
"$LINENO"; then :
14077 ac_cv_c_inline
=$ac_kw
14079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14080 test "$ac_cv_c_inline" != no
&& break
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14085 $as_echo "$ac_cv_c_inline" >&6; }
14087 case $ac_cv_c_inline in
14090 case $ac_cv_c_inline in
14092 *) ac_val
=$ac_cv_c_inline;;
14094 cat >>confdefs.h
<<_ACEOF
14095 #ifndef __cplusplus
14096 #define inline $ac_val
14102 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14103 if test "x$ac_cv_type_mode_t" = xyes
; then :
14105 cat >>confdefs.h
<<_ACEOF
14106 #define HAVE_MODE_T 1
14111 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14112 if test "x$ac_cv_type_off_t" = xyes
; then :
14114 cat >>confdefs.h
<<_ACEOF
14115 #define HAVE_OFF_T 1
14120 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14121 if test "x$ac_cv_type_pid_t" = xyes
; then :
14123 cat >>confdefs.h
<<_ACEOF
14124 #define HAVE_PID_T 1
14129 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14130 if test "x$ac_cv_type_size_t" = xyes
; then :
14132 cat >>confdefs.h
<<_ACEOF
14133 #define HAVE_SIZE_T 1
14138 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14139 if test "x$ac_cv_type_ssize_t" = xyes
; then :
14141 cat >>confdefs.h
<<_ACEOF
14142 #define HAVE_SSIZE_T 1
14147 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14148 if test "x$ac_cv_type_long_long" = xyes
; then :
14150 cat >>confdefs.h
<<_ACEOF
14151 #define HAVE_LONG_LONG 1
14156 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14157 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
14159 cat >>confdefs.h
<<_ACEOF
14160 #define HAVE_FSBLKCNT_T 1
14165 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14166 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
14168 cat >>confdefs.h
<<_ACEOF
14169 #define HAVE_FSFILCNT_T 1
14175 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14176 #include <signal.h>
14178 if test "x$ac_cv_type_sigset_t" = xyes
; then :
14180 cat >>confdefs.h
<<_ACEOF
14181 #define HAVE_SIGSET_T 1
14187 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14189 if test "x$ac_cv_type_request_sense" = xyes
; then :
14191 cat >>confdefs.h
<<_ACEOF
14192 #define HAVE_REQUEST_SENSE 1
14199 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14200 #ifdef HAVE_SYS_SOCKET_H
14201 #include <sys/socket.h>
14203 #ifdef HAVE_SYS_SOCKETVAR_H
14204 #include <sys/socketvar.h>
14206 #ifdef HAVE_NET_ROUTE_H
14207 #include <net/route.h>
14209 #ifdef HAVE_NETINET_IN_H
14210 #include <netinet/in.h>
14212 #ifdef HAVE_NETINET_IN_SYSTM_H
14213 #include <netinet/in_systm.h>
14215 #ifdef HAVE_NETINET_IP_H
14216 #include <netinet/ip.h>
14218 #ifdef HAVE_NETINET_IN_PCB_H
14219 #include <netinet/in_pcb.h>
14222 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
14224 cat >>confdefs.h
<<_ACEOF
14225 #define HAVE_STRUCT_XINPGEN 1
14232 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
14235 #ifdef HAVE_SYS_LINK_H
14236 #include <sys/link.h>
14239 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
14241 cat >>confdefs.h
<<_ACEOF
14242 #define HAVE_STRUCT_R_DEBUG 1
14247 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
14250 #ifdef HAVE_SYS_LINK_H
14251 #include <sys/link.h>
14254 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
14256 cat >>confdefs.h
<<_ACEOF
14257 #define HAVE_STRUCT_LINK_MAP 1
14264 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14265 #include <linux/input.h>
14268 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
14270 cat >>confdefs.h
<<_ACEOF
14271 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14279 $as_echo_n "checking for sigaddset... " >&6; }
14280 if ${wine_cv_have_sigaddset+:} false
; then :
14281 $as_echo_n "(cached) " >&6
14283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14285 #include <signal.h>
14289 sigset_t set; sigaddset(&set,SIGTERM);
14294 if ac_fn_c_try_link
"$LINENO"; then :
14295 wine_cv_have_sigaddset
=yes
14297 wine_cv_have_sigaddset
=no
14299 rm -f core conftest.err conftest.
$ac_objext \
14300 conftest
$ac_exeext conftest.
$ac_ext
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14303 $as_echo "$wine_cv_have_sigaddset" >&6; }
14304 if test "$wine_cv_have_sigaddset" = "yes"
14307 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14313 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14314 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
14315 $as_echo_n "(cached) " >&6
14317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14318 /* end confdefs.h. */
14326 struct hostent *result;
14333 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14334 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14340 if ac_fn_c_try_link
"$LINENO"; then :
14341 wine_cv_linux_gethostbyname_r_6
=yes
14343 wine_cv_linux_gethostbyname_r_6
=no
14346 rm -f core conftest.err conftest.
$ac_objext \
14347 conftest
$ac_exeext conftest.
$ac_ext
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14351 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14352 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14355 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14359 if test "$ac_cv_header_linux_joystick_h" = "yes"
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14362 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14363 if ${wine_cv_linux_joystick_22_api+:} false
; then :
14364 $as_echo_n "(cached) " >&6
14366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14367 /* end confdefs.h. */
14369 #include <sys/ioctl.h>
14370 #include <sys/types.h>
14371 #include <linux/joystick.h>
14373 struct js_event blub;
14374 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14375 #error "no 2.2 header"
14386 if ac_fn_c_try_compile
"$LINENO"; then :
14387 wine_cv_linux_joystick_22_api
=yes
14389 wine_cv_linux_joystick_22_api
=no
14391 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14395 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14396 if test "$wine_cv_linux_joystick_22_api" = "yes"
14399 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14405 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14406 #ifdef HAVE_SYS_PARAM_H
14407 # include <sys/param.h>
14409 #ifdef HAVE_SYS_MOUNT_H
14410 # include <sys/mount.h>
14412 #ifdef HAVE_SYS_VFS_H
14413 # include <sys/vfs.h>
14415 #ifdef HAVE_SYS_STATFS_H
14416 # include <sys/statfs.h>
14419 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
14421 cat >>confdefs.h
<<_ACEOF
14422 #define HAVE_STRUCT_STATFS_F_BFREE 1
14427 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
14428 #ifdef HAVE_SYS_PARAM_H
14429 # include <sys/param.h>
14431 #ifdef HAVE_SYS_MOUNT_H
14432 # include <sys/mount.h>
14434 #ifdef HAVE_SYS_VFS_H
14435 # include <sys/vfs.h>
14437 #ifdef HAVE_SYS_STATFS_H
14438 # include <sys/statfs.h>
14441 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
14443 cat >>confdefs.h
<<_ACEOF
14444 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
14449 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
14450 #ifdef HAVE_SYS_PARAM_H
14451 # include <sys/param.h>
14453 #ifdef HAVE_SYS_MOUNT_H
14454 # include <sys/mount.h>
14456 #ifdef HAVE_SYS_VFS_H
14457 # include <sys/vfs.h>
14459 #ifdef HAVE_SYS_STATFS_H
14460 # include <sys/statfs.h>
14463 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
14465 cat >>confdefs.h
<<_ACEOF
14466 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
14471 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
14472 #ifdef HAVE_SYS_PARAM_H
14473 # include <sys/param.h>
14475 #ifdef HAVE_SYS_MOUNT_H
14476 # include <sys/mount.h>
14478 #ifdef HAVE_SYS_VFS_H
14479 # include <sys/vfs.h>
14481 #ifdef HAVE_SYS_STATFS_H
14482 # include <sys/statfs.h>
14485 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
14487 cat >>confdefs.h
<<_ACEOF
14488 #define HAVE_STRUCT_STATFS_F_FFREE 1
14493 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
14494 #ifdef HAVE_SYS_PARAM_H
14495 # include <sys/param.h>
14497 #ifdef HAVE_SYS_MOUNT_H
14498 # include <sys/mount.h>
14500 #ifdef HAVE_SYS_VFS_H
14501 # include <sys/vfs.h>
14503 #ifdef HAVE_SYS_STATFS_H
14504 # include <sys/statfs.h>
14507 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
14509 cat >>confdefs.h
<<_ACEOF
14510 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
14515 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
14516 #ifdef HAVE_SYS_PARAM_H
14517 # include <sys/param.h>
14519 #ifdef HAVE_SYS_MOUNT_H
14520 # include <sys/mount.h>
14522 #ifdef HAVE_SYS_VFS_H
14523 # include <sys/vfs.h>
14525 #ifdef HAVE_SYS_STATFS_H
14526 # include <sys/statfs.h>
14529 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
14531 cat >>confdefs.h
<<_ACEOF
14532 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14539 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14540 #include <sys/statvfs.h>
14543 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
14545 cat >>confdefs.h
<<_ACEOF
14546 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14553 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14554 #include <dirent.h>
14557 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
14559 cat >>confdefs.h
<<_ACEOF
14560 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14567 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14568 #ifdef HAVE_SYS_SOCKET_H
14569 # include <sys/socket.h>
14571 #ifdef HAVE_SYS_UN_H
14572 # include <sys/un.h>
14575 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
14577 cat >>confdefs.h
<<_ACEOF
14578 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14583 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14584 #ifdef HAVE_SYS_SOCKET_H
14585 # include <sys/socket.h>
14587 #ifdef HAVE_SYS_UN_H
14588 # include <sys/un.h>
14591 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
14593 cat >>confdefs.h
<<_ACEOF
14594 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14599 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14600 #ifdef HAVE_SYS_SOCKET_H
14601 # include <sys/socket.h>
14603 #ifdef HAVE_SYS_UN_H
14604 # include <sys/un.h>
14607 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
14609 cat >>confdefs.h
<<_ACEOF
14610 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14617 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14618 #ifdef HAVE_SCSI_SG_H
14619 #include <scsi/sg.h>
14622 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
14624 cat >>confdefs.h
<<_ACEOF
14625 #define HAVE_SCSIREQ_T_CMD 1
14630 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>
14631 #ifdef HAVE_SCSI_SG_H
14632 #include <scsi/sg.h>
14635 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
14637 cat >>confdefs.h
<<_ACEOF
14638 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14645 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14647 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
14649 cat >>confdefs.h
<<_ACEOF
14650 #define HAVE_SIGINFO_T_SI_FD 1
14657 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14658 #ifdef HAVE_SYS_MTIO_H
14659 #include <sys/mtio.h>
14662 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
14664 cat >>confdefs.h
<<_ACEOF
14665 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14670 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14671 #ifdef HAVE_SYS_MTIO_H
14672 #include <sys/mtio.h>
14675 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
14677 cat >>confdefs.h
<<_ACEOF
14678 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14683 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14684 #ifdef HAVE_SYS_MTIO_H
14685 #include <sys/mtio.h>
14688 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
14690 cat >>confdefs.h
<<_ACEOF
14691 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14698 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14699 #include <getopt.h>
14702 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
14704 cat >>confdefs.h
<<_ACEOF
14705 #define HAVE_STRUCT_OPTION_NAME 1
14712 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14713 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
14715 cat >>confdefs.h
<<_ACEOF
14716 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14721 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14722 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
14724 cat >>confdefs.h
<<_ACEOF
14725 #define HAVE_STRUCT_STAT_ST_MTIM 1
14730 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14731 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
14733 cat >>confdefs.h
<<_ACEOF
14734 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14739 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14740 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
14742 cat >>confdefs.h
<<_ACEOF
14743 #define HAVE_STRUCT_STAT_ST_CTIM 1
14748 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14749 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
14751 cat >>confdefs.h
<<_ACEOF
14752 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14757 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14758 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
14760 cat >>confdefs.h
<<_ACEOF
14761 #define HAVE_STRUCT_STAT_ST_ATIM 1
14766 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14767 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
14769 cat >>confdefs.h
<<_ACEOF
14770 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14775 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14776 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
14778 cat >>confdefs.h
<<_ACEOF
14779 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14784 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14785 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
14787 cat >>confdefs.h
<<_ACEOF
14788 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14793 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14794 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
14796 cat >>confdefs.h
<<_ACEOF
14797 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14802 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14803 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
14805 cat >>confdefs.h
<<_ACEOF
14806 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14811 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14812 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
14814 cat >>confdefs.h
<<_ACEOF
14815 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14822 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
14823 #include <sys/types.h>
14825 #ifdef HAVE_NETINET_IN_H
14826 #include <netinet/in.h>
14829 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
14831 cat >>confdefs.h
<<_ACEOF
14832 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14839 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
14840 #include <resolv.h>
14843 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
14845 cat >>confdefs.h
<<_ACEOF
14846 #define HAVE_STRUCT___RES_STATE 1
14853 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
14854 #include <resolv.h>
14857 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
14859 cat >>confdefs.h
<<_ACEOF
14860 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
14867 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14868 #include <sys/types.h>
14870 #ifdef HAVE_NETINET_IN_H
14871 # include <netinet/in.h>
14873 #ifdef HAVE_ARPA_NAMESER_H
14874 # include <arpa/nameser.h>
14877 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
14879 cat >>confdefs.h
<<_ACEOF
14880 #define HAVE_NS_MSG__MSG_PTR 1
14887 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14888 #include <sys/types.h>
14890 #ifdef HAVE_NETINET_IP_H
14891 #include <netinet/ip.h>
14893 #ifdef HAVE_NETINET_IP_ICMP_H
14894 #include <netinet/ip_icmp.h>
14896 #ifdef HAVE_NETINET_ICMP_VAR_H
14897 #include <netinet/icmp_var.h>
14900 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
14902 cat >>confdefs.h
<<_ACEOF
14903 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14910 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14911 #include <sys/types.h>
14913 #ifdef HAVE_ALIAS_H
14916 #ifdef HAVE_SYS_SOCKET_H
14917 #include <sys/socket.h>
14919 #ifdef HAVE_SYS_SOCKETVAR_H
14920 #include <sys/socketvar.h>
14922 #ifdef HAVE_SYS_TIMEOUT_H
14923 #include <sys/timeout.h>
14925 #ifdef HAVE_NETINET_IN_H
14926 #include <netinet/in.h>
14928 #ifdef HAVE_NETINET_IN_SYSTM_H
14929 #include <netinet/in_systm.h>
14931 #ifdef HAVE_NETINET_IP_H
14932 #include <netinet/ip.h>
14934 #ifdef HAVE_NETINET_IP_VAR_H
14935 #include <netinet/ip_var.h>
14937 #ifdef HAVE_NETINET_IP_ICMP_H
14938 #include <netinet/ip_icmp.h>
14940 #ifdef HAVE_NETINET_ICMP_VAR_H
14941 #include <netinet/icmp_var.h>
14944 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
14946 cat >>confdefs.h
<<_ACEOF
14947 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14954 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14955 #include <sys/types.h>
14957 #ifdef HAVE_SYS_SOCKETVAR_H
14958 #include <sys/socketvar.h>
14960 #ifdef HAVE_NETINET_IN_H
14961 #include <netinet/in.h>
14963 #ifdef HAVE_NETINET_IP_VAR_H
14964 #include <netinet/ip_var.h>
14967 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
14969 cat >>confdefs.h
<<_ACEOF
14970 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14977 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
14978 #include <netinet/ip_var.h>
14981 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
14983 cat >>confdefs.h
<<_ACEOF
14984 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14991 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14992 #include <sys/types.h>
14994 #ifdef HAVE_SYS_SOCKETVAR_H
14995 #include <sys/socketvar.h>
14997 #ifdef HAVE_NETINET_IN_H
14998 #include <netinet/in.h>
15000 #ifdef HAVE_NETINET_TCP_H
15001 #include <netinet/tcp.h>
15003 #ifdef HAVE_NETINET_TCP_VAR_H
15004 #include <netinet/tcp_var.h>
15007 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
15009 cat >>confdefs.h
<<_ACEOF
15010 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15017 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
15018 #include <netinet/tcp_var.h>
15021 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
15023 cat >>confdefs.h
<<_ACEOF
15024 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15031 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
15032 #include <sys/types.h>
15034 #ifdef HAVE_NETINET_IN_H
15035 #include <netinet/in.h>
15037 #ifdef HAVE_NETINET_IP_VAR_H
15038 #include <netinet/ip_var.h>
15040 #ifdef HAVE_NETINET_UDP_H
15041 #include <netinet/udp.h>
15043 #ifdef HAVE_NETINET_UDP_VAR_H
15044 #include <netinet/udp_var.h>
15047 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
15049 cat >>confdefs.h
<<_ACEOF
15050 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15057 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15058 #include <sys/types.h>
15060 #ifdef HAVE_NET_IF_H
15061 # include <net/if.h>
15064 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
15066 cat >>confdefs.h
<<_ACEOF
15067 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15075 $as_echo_n "checking for timezone variable... " >&6; }
15076 if ${ac_cv_have_timezone+:} false
; then :
15077 $as_echo_n "(cached) " >&6
15079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15080 /* end confdefs.h. */
15090 if ac_fn_c_try_link
"$LINENO"; then :
15091 ac_cv_have_timezone
="yes"
15093 ac_cv_have_timezone
="no"
15095 rm -f core conftest.err conftest.
$ac_objext \
15096 conftest
$ac_exeext conftest.
$ac_ext
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15099 $as_echo "$ac_cv_have_timezone" >&6; }
15100 if test "$ac_cv_have_timezone" = "yes"
15103 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15107 $as_echo_n "checking for daylight variable... " >&6; }
15108 if ${ac_cv_have_daylight+:} false
; then :
15109 $as_echo_n "(cached) " >&6
15111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15112 /* end confdefs.h. */
15122 if ac_fn_c_try_link
"$LINENO"; then :
15123 ac_cv_have_daylight
="yes"
15125 ac_cv_have_daylight
="no"
15127 rm -f core conftest.err conftest.
$ac_objext \
15128 conftest
$ac_exeext conftest.
$ac_ext
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15131 $as_echo "$ac_cv_have_daylight" >&6; }
15132 if test "$ac_cv_have_daylight" = "yes"
15135 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15139 ac_save_LIBS
="$LIBS"
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15142 $as_echo_n "checking for isinf... " >&6; }
15143 if ${ac_cv_have_isinf+:} false
; then :
15144 $as_echo_n "(cached) " >&6
15146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15147 /* end confdefs.h. */
15152 float f = 0.0; return isinf(f)
15157 if ac_fn_c_try_link
"$LINENO"; then :
15158 ac_cv_have_isinf
="yes"
15160 ac_cv_have_isinf
="no"
15162 rm -f core conftest.err conftest.
$ac_objext \
15163 conftest
$ac_exeext conftest.
$ac_ext
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15166 $as_echo "$ac_cv_have_isinf" >&6; }
15167 if test "$ac_cv_have_isinf" = "yes"
15170 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15175 $as_echo_n "checking for isnan... " >&6; }
15176 if ${ac_cv_have_isnan+:} false
; then :
15177 $as_echo_n "(cached) " >&6
15179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15185 float f = 0.0; return isnan(f)
15190 if ac_fn_c_try_link
"$LINENO"; then :
15191 ac_cv_have_isnan
="yes"
15193 ac_cv_have_isnan
="no"
15195 rm -f core conftest.err conftest.
$ac_objext \
15196 conftest
$ac_exeext conftest.
$ac_ext
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15199 $as_echo "$ac_cv_have_isnan" >&6; }
15200 if test "$ac_cv_have_isnan" = "yes"
15203 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15206 LIBS
="$ac_save_LIBS"
15210 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15211 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15212 if ${ac_cv_cpp_def___i386__+:} false
; then :
15213 $as_echo_n "(cached) " >&6
15215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15216 /* end confdefs.h. */
15221 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15222 $EGREP "yes" >/dev
/null
2>&1; then :
15223 ac_cv_cpp_def___i386__
=yes
15225 ac_cv_cpp_def___i386__
=no
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15231 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15232 if test $ac_cv_cpp_def___i386__ = yes; then :
15233 CFLAGS
="$CFLAGS -D__i386__"
15234 LINTFLAGS
="$LINTFLAGS -D__i386__"
15236 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15237 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15238 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
15239 $as_echo_n "(cached) " >&6
15241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15242 /* end confdefs.h. */
15247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15248 $EGREP "yes" >/dev
/null
2>&1; then :
15249 ac_cv_cpp_def___x86_64__
=yes
15251 ac_cv_cpp_def___x86_64__
=no
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15257 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15258 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15259 CFLAGS
="$CFLAGS -D__x86_64__"
15260 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
15262 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15263 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15264 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
15265 $as_echo_n "(cached) " >&6
15267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15268 /* end confdefs.h. */
15269 #ifndef __sparc64__
15273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15274 $EGREP "yes" >/dev
/null
2>&1; then :
15275 ac_cv_cpp_def___sparc64__
=yes
15277 ac_cv_cpp_def___sparc64__
=no
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15283 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15284 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15285 CFLAGS
="$CFLAGS -D__sparc64__"
15286 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
15288 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15289 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15290 if ${ac_cv_cpp_def___sparc__+:} false
; then :
15291 $as_echo_n "(cached) " >&6
15293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15294 /* end confdefs.h. */
15299 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15300 $EGREP "yes" >/dev
/null
2>&1; then :
15301 ac_cv_cpp_def___sparc__
=yes
15303 ac_cv_cpp_def___sparc__
=no
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15309 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15310 if test $ac_cv_cpp_def___sparc__ = yes; then :
15311 CFLAGS
="$CFLAGS -D__sparc__"
15312 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15314 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15315 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15316 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
15317 $as_echo_n "(cached) " >&6
15319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15320 /* end confdefs.h. */
15321 #ifndef __powerpc64__
15325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15326 $EGREP "yes" >/dev
/null
2>&1; then :
15327 ac_cv_cpp_def___powerpc64__
=yes
15329 ac_cv_cpp_def___powerpc64__
=no
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15335 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15336 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15337 CFLAGS
="$CFLAGS -D__powerpc64__"
15338 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
15340 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15341 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15342 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
15343 $as_echo_n "(cached) " >&6
15345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15346 /* end confdefs.h. */
15347 #ifndef __powerpc__
15351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15352 $EGREP "yes" >/dev
/null
2>&1; then :
15353 ac_cv_cpp_def___powerpc__
=yes
15355 ac_cv_cpp_def___powerpc__
=no
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15361 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15362 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15363 CFLAGS
="$CFLAGS -D__powerpc__"
15364 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
15366 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15367 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15368 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
15369 $as_echo_n "(cached) " >&6
15371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15372 /* end confdefs.h. */
15373 #ifndef __aarch64__
15377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15378 $EGREP "yes" >/dev
/null
2>&1; then :
15379 ac_cv_cpp_def___aarch64__
=yes
15381 ac_cv_cpp_def___aarch64__
=no
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15387 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15388 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15389 CFLAGS
="$CFLAGS -D__aarch64__"
15390 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
15392 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15393 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15394 if ${ac_cv_cpp_def___arm__+:} false
; then :
15395 $as_echo_n "(cached) " >&6
15397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15398 /* end confdefs.h. */
15403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15404 $EGREP "yes" >/dev
/null
2>&1; then :
15405 ac_cv_cpp_def___arm__
=yes
15407 ac_cv_cpp_def___arm__
=no
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15413 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15414 if test $ac_cv_cpp_def___arm__ = yes; then :
15415 CFLAGS
="$CFLAGS -D__arm__"
15416 LINTFLAGS
="$LINTFLAGS -D__arm__"
15420 case $host_vendor in
15421 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
15422 $as_echo_n "checking whether we need to define __sun__... " >&6; }
15423 if ${ac_cv_cpp_def___sun__+:} false
; then :
15424 $as_echo_n "(cached) " >&6
15426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15427 /* end confdefs.h. */
15432 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15433 $EGREP "yes" >/dev
/null
2>&1; then :
15434 ac_cv_cpp_def___sun__
=yes
15436 ac_cv_cpp_def___sun__
=no
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
15442 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
15443 if test $ac_cv_cpp_def___sun__ = yes; then :
15444 CFLAGS
="$CFLAGS -D__sun__"
15445 LINTFLAGS
="$LINTFLAGS -D__sun__"
15453 ac_config_commands
="$ac_config_commands include/stamp-h"
15456 wine_rules_file
=conf$
$rules.
make
15457 rm -f $wine_rules_file
15459 ALL_TEST_RESOURCES
=""
15462 wine_fn_append_file
()
15464 as_fn_append
$1 " \\$as_nl $2"
15467 wine_fn_append_rule
()
15469 $as_echo "$1" >>$wine_rules_file
15472 wine_fn_has_flag
()
15474 expr ",$2," : ".*,$1,.*" >/dev
/null
15477 wine_fn_all_dir_rules
()
15481 ac_makedep
="\$(MAKEDEP)"
15482 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
15483 if test $ac_dir != tools
15485 ac_alldeps
="$2 $ac_makedep"
15487 ac_alldeps
="$2 include/config.h"
15490 *.
in) ac_input
=$ac_input:$2 ;;
15491 *) ac_makedep
="$2 $ac_makedep" ;;
15494 wine_fn_append_rule \
15495 "__clean__: $ac_dir/__clean__
15496 .PHONY: $ac_dir/__clean__
15497 $ac_dir/__clean__: $ac_dir/Makefile
15498 @cd $ac_dir && \$(MAKE) clean
15499 \$(RM) $ac_dir/Makefile
15500 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
15501 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
15502 depend: $ac_dir/__depend__
15503 .PHONY: $ac_dir/__depend__
15504 $ac_dir/__depend__: $ac_makedep dummy
15505 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
15508 wine_fn_pot_rules
()
15513 test "x$with_gettextpo" = xyes ||
return
15515 if wine_fn_has_flag mc
$ac_flags
15517 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
15518 wine_fn_append_rule \
15519 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
15520 @cd $ac_dir && \$(MAKE) msg.pot
15521 $ac_dir/msg.pot: tools/wmc include"
15523 if wine_fn_has_flag po
$ac_flags
15525 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
15526 wine_fn_append_rule \
15527 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
15528 @cd $ac_dir && \$(MAKE) rsrc.pot
15529 $ac_dir/rsrc.pot: tools/wrc include"
15533 wine_fn_config_makefile
()
15539 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15543 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
15544 wine_fn_append_rule \
15547 $ac_dir: $ac_dir/Makefile dummy
15548 @cd $ac_dir && \$(MAKE)"
15550 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
15552 wine_fn_append_rule \
15553 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15554 $ac_dir/__install__:: $ac_dir
15555 @cd $ac_dir && \$(MAKE) install
15556 $ac_dir/__uninstall__:: $ac_dir/Makefile
15557 @cd $ac_dir && \$(MAKE) uninstall
15558 install:: $ac_dir/__install__
15559 __uninstall__: $ac_dir/__uninstall__"
15561 if wine_fn_has_flag install-lib
$ac_flags
15563 wine_fn_append_rule \
15564 ".PHONY: $ac_dir/__install-lib__
15565 $ac_dir/__install-lib__:: $ac_dir
15566 @cd $ac_dir && \$(MAKE) install-lib
15567 install-lib:: $ac_dir/__install-lib__"
15570 if wine_fn_has_flag install-dev
$ac_flags
15572 wine_fn_append_rule \
15573 ".PHONY: $ac_dir/__install-dev
15574 $ac_dir/__install-dev__:: $ac_dir
15575 @cd $ac_dir && \$(MAKE) install-dev
15576 install-dev:: $ac_dir/__install-dev__"
15580 wine_fn_config_lib
()
15584 ac_dir
=dlls
/$ac_name
15585 wine_fn_config_makefile
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
15587 if wine_fn_has_flag install-dev
$ac_flags
15590 wine_fn_append_rule \
15591 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15592 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15593 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15594 $ac_dir/__uninstall__::
15595 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15596 install install-dev:: $ac_dir/__install__
15597 __uninstall__: $ac_dir/__uninstall__"
15600 wine_fn_append_rule \
15601 "__builddeps__: $ac_dir
15602 $ac_dir: tools/widl tools/winebuild tools/winegcc include"
15605 wine_fn_config_dll
()
15608 ac_dir
=dlls
/$ac_name
15611 ac_implib
=${4:-$ac_name}
15612 ac_file
=$ac_dir/lib
$ac_implib
15614 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
15618 *16) ac_implibflags
=" -m16" ;;
15620 *) ac_dll
=$ac_dll.dll
;;
15623 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
15625 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15626 test "$ac_enable" != enable_win16 ||
return 0
15627 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
15629 wine_fn_append_rule \
15630 "$ac_dir: __builddeps__
15631 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15632 @cd $ac_dir && \$(MAKE) \$@"
15634 if wine_fn_has_flag install-lib
$ac_flags
15637 wine_fn_append_rule \
15638 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15639 install install-lib:: $ac_dir/__install-lib__
15640 __uninstall__: $ac_dir/__uninstall__"
15641 if test -n "$DLLEXT"
15643 wine_fn_append_rule \
15644 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15645 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
15646 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15647 $ac_dir/__uninstall__::
15648 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15650 wine_fn_append_rule \
15651 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15652 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15653 $ac_dir/__uninstall__::
15654 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15658 wine_fn_pot_rules
$ac_dir $ac_flags
15661 if wine_fn_has_flag staticimplib
$ac_flags
15663 wine_fn_append_rule \
15664 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15665 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15666 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15667 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15668 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15669 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15670 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15671 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15672 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15673 $ac_dir/__uninstall__::
15674 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15675 install install-dev:: $ac_dir/__install-dev__
15676 __uninstall__: $ac_dir/__uninstall__"
15678 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15680 wine_fn_append_rule \
15681 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15682 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15683 $ac_dir/__uninstall__::
15684 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15687 if test "x$CROSSTEST_DISABLE" = x
15689 wine_fn_append_rule \
15690 "__builddeps__: $ac_file.cross.a
15691 $ac_file.cross.a: $ac_dir/Makefile dummy
15692 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15695 elif wine_fn_has_flag implib
$ac_flags
15697 wine_fn_append_rule \
15698 "__builddeps__: $ac_file.$IMPLIBEXT
15699 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15700 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15701 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15702 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15703 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15704 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15705 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15706 $ac_dir/__uninstall__::
15707 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15708 install install-dev:: $ac_dir/__install-dev__
15709 __uninstall__: $ac_dir/__uninstall__"
15710 if test "x$CROSSTEST_DISABLE" = x
15712 wine_fn_append_rule \
15713 "__builddeps__: $ac_file.cross.a
15714 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15715 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15718 if test "$ac_name" != "$ac_implib"
15720 wine_fn_append_rule \
15721 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15722 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15723 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15725 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15726 if test "x$CROSSTEST_DISABLE" = x
15728 wine_fn_append_rule \
15729 "__builddeps__: dlls/lib$ac_implib.cross.a
15730 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15731 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15737 wine_fn_config_program
()
15740 ac_dir
=programs
/$ac_name
15743 ac_program
=$ac_name
15747 *) ac_program
=$ac_program.exe
;;
15750 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
15752 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15755 wine_fn_append_rule
"$ac_dir: __builddeps__"
15757 wine_fn_pot_rules
$ac_dir $ac_flags
15759 wine_fn_has_flag
install $ac_flags ||
return
15760 wine_fn_append_rule \
15761 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15762 install install-lib:: $ac_dir/__install__
15763 __uninstall__: $ac_dir/__uninstall__"
15765 if test -n "$DLLEXT"
15767 wine_fn_append_rule \
15768 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15769 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
15770 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15771 $ac_dir/__uninstall__::
15772 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15774 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
15776 wine_fn_append_rule \
15777 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15778 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15779 $ac_dir/__uninstall__::
15780 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15783 wine_fn_append_rule \
15784 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15785 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15786 $ac_dir/__uninstall__::
15787 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15790 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
15792 wine_fn_append_rule \
15793 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15794 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15795 $ac_dir/__uninstall__::
15796 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15801 wine_fn_config_test
()
15806 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
15807 wine_fn_all_dir_rules
$ac_dir Maketest.rules
15809 if test "x$enable_tests" = xno
; then :
15812 wine_fn_append_rule \
15815 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15816 @cd $ac_dir && \$(MAKE)
15817 programs/winetest: $ac_dir
15818 check test: $ac_dir/__test__
15819 .PHONY: $ac_dir/__test__
15820 $ac_dir/__test__: dummy
15821 @cd $ac_dir && \$(MAKE) test
15823 \$(RM) $ac_dir/*.ok"
15825 if test "x$CROSSTEST_DISABLE" = x
15827 wine_fn_append_rule \
15828 "crosstest: $ac_dir/__crosstest__
15829 .PHONY: $ac_dir/__crosstest__
15830 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15831 @cd $ac_dir && \$(MAKE) crosstest"
15836 wine_fn_config_tool
()
15840 if test "x$enable_tools" = xno
; then :
15844 wine_fn_config_makefile
$ac_dir enable_tools
$ac_flags
15846 wine_fn_append_rule
"__tooldeps__: $ac_dir"
15847 wine_fn_append_rule
"$ac_dir: libs/port"
15849 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
15853 wine_fn_config_makerules
()
15857 wine_fn_append_rule \
15858 "$ac_rules: $ac_rules.in $ac_deps config.status
15859 @./config.status $ac_rules
15864 wine_fn_config_symlink
()
15867 if test "x$1" = "x-d"
15873 wine_fn_append_rule \
15875 @./config.status \$@
15878 test -n "$ac_linkdir" ||
return
15879 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/__depend__: $ac_links"
15882 if test "x$CROSSTEST_DISABLE" != x
15884 wine_fn_append_rule \
15886 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15888 wine_fn_append_rule
"
15889 # Rules automatically generated by configure
15894 Makefile: Makefile.in Make.vars.in Make.rules config.status
15895 @./config.status Make.tmp Makefile"
15897 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15898 wine_fn_config_symlink
-d dlls
/shell32 dlls
/shell32
/AUTHORS
15899 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15900 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
15901 if test "x$enable_fonts" != xno
; then
15902 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15903 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15904 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15905 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15906 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
15908 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
15909 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
15910 if test "x$enable_tools" != xno
; then
15911 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15912 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
15914 ac_config_links
="$ac_config_links wine:tools/winewrapper"
15915 wine_fn_config_symlink wine
15916 if test "x$enable_win64" != xno
; then
15917 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
15918 wine_fn_config_symlink wine64
15921 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
15923 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
15925 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
15927 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
15929 ac_config_commands
="$ac_config_commands dlls/user32/resources"
15931 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
15933 ac_config_commands
="$ac_config_commands include/wine"
15936 wine_fn_config_makerules Make.rules
15937 MAKE_RULES
=Make.rules
15938 ac_config_files
="$ac_config_files Make.rules"
15940 wine_fn_config_makerules Maketest.rules Make.rules
15941 MAKE_TEST_RULES
=Maketest.rules
15942 ac_config_files
="$ac_config_files Maketest.rules"
15944 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
15945 MAKE_DLL_RULES
=dlls
/Makedll.rules
15946 ac_config_files
="$ac_config_files dlls/Makedll.rules"
15948 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
15949 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
15950 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
15952 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
15953 MAKE_PROG_RULES
=programs
/Makeprog.rules
15954 ac_config_files
="$ac_config_files programs/Makeprog.rules"
15957 wine_fn_config_dll acledit enable_acledit
15958 wine_fn_config_dll aclui enable_aclui implib
15959 wine_fn_config_dll activeds enable_activeds implib
15960 wine_fn_config_dll actxprxy enable_actxprxy
15961 wine_fn_config_lib adsiid
15962 wine_fn_config_dll advapi32 enable_advapi32 implib
15963 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
15964 wine_fn_config_dll advpack enable_advpack implib
15965 wine_fn_config_test dlls
/advpack
/tests advpack_test
15966 wine_fn_config_dll amstream enable_amstream
15967 wine_fn_config_test dlls
/amstream
/tests amstream_test
15968 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
15969 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
15970 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15971 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15972 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15973 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15974 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15975 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15976 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15977 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15978 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15979 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15980 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15981 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15982 wine_fn_config_dll apphelp enable_apphelp
15983 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
15984 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15985 wine_fn_config_dll atl enable_atl implib
15986 wine_fn_config_test dlls
/atl
/tests atl_test
15987 wine_fn_config_dll atl100 enable_atl100 implib
15988 wine_fn_config_test dlls
/atl100
/tests atl100_test
15989 wine_fn_config_dll atl110 enable_atl110
15990 wine_fn_config_dll atl80 enable_atl80 implib
15991 wine_fn_config_test dlls
/atl80
/tests atl80_test
15992 wine_fn_config_dll authz enable_authz
15993 wine_fn_config_dll avicap32 enable_avicap32 implib
15994 wine_fn_config_dll avifil32 enable_avifil32 implib
,po
15995 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
15996 wine_fn_config_dll avifile.dll16 enable_win16
15997 wine_fn_config_dll avrt enable_avrt implib
15998 wine_fn_config_dll bcrypt enable_bcrypt
15999 wine_fn_config_dll browseui enable_browseui po
16000 wine_fn_config_test dlls
/browseui
/tests browseui_test
16001 wine_fn_config_dll cabinet enable_cabinet implib
16002 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16003 wine_fn_config_dll capi2032 enable_capi2032 implib
16004 wine_fn_config_dll cards enable_cards implib
16005 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16006 wine_fn_config_dll clusapi enable_clusapi implib
16007 wine_fn_config_dll comcat enable_comcat
16008 wine_fn_config_test dlls
/comcat
/tests comcat_test
16009 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16010 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16011 wine_fn_config_dll comdlg32 enable_comdlg32 implib
,po
16012 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16013 wine_fn_config_dll
comm.drv16 enable_win16
16014 wine_fn_config_dll commdlg.dll16 enable_win16
16015 wine_fn_config_dll compobj.dll16 enable_win16
16016 wine_fn_config_dll compstui enable_compstui implib
16017 wine_fn_config_dll comsvcs enable_comsvcs implib
16018 wine_fn_config_dll credui enable_credui implib
,po
16019 wine_fn_config_test dlls
/credui
/tests credui_test
16020 wine_fn_config_dll crtdll enable_crtdll implib
16021 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16022 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16023 wine_fn_config_dll cryptdlg enable_cryptdlg po
16024 wine_fn_config_dll cryptdll enable_cryptdll implib
16025 wine_fn_config_dll cryptnet enable_cryptnet implib
16026 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16027 wine_fn_config_dll cryptui enable_cryptui implib
,po
16028 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16029 wine_fn_config_dll ctapi32 enable_ctapi32
16030 wine_fn_config_dll ctl3d.dll16 enable_win16
16031 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16032 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16033 wine_fn_config_dll d3d10 enable_d3d10 implib
16034 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16035 wine_fn_config_dll d3d10core enable_d3d10core implib
16036 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16037 wine_fn_config_dll d3d11 enable_d3d11
16038 wine_fn_config_dll d3d8 enable_d3d8 implib
16039 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16040 wine_fn_config_dll d3d9 enable_d3d9 implib
16041 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16042 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16043 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16044 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16045 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16046 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16047 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16048 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16049 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16050 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16051 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16052 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16053 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16054 wine_fn_config_dll d3dim enable_d3dim implib
16055 wine_fn_config_dll d3drm enable_d3drm implib
16056 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16057 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16058 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16059 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16060 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16061 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16062 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16063 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16064 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16065 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16066 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16067 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16068 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16069 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16070 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16071 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16072 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16073 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16074 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16075 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16076 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16077 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16078 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16079 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16080 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16081 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16082 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16083 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16084 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16085 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16086 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16087 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16088 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16089 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16090 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16091 wine_fn_config_dll d3dxof enable_d3dxof implib
16092 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16093 wine_fn_config_dll dbgeng enable_dbgeng implib
16094 wine_fn_config_dll dbghelp enable_dbghelp implib
16095 wine_fn_config_dll dciman32 enable_dciman32 implib
16096 wine_fn_config_dll ddeml.dll16 enable_win16
16097 wine_fn_config_dll ddraw enable_ddraw implib
16098 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16099 wine_fn_config_dll ddrawex enable_ddrawex
16100 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16101 wine_fn_config_dll devenum enable_devenum po
16102 wine_fn_config_test dlls
/devenum
/tests devenum_test
16103 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16104 wine_fn_config_dll difxapi enable_difxapi
16105 wine_fn_config_dll dinput enable_dinput implib
,po
,staticimplib
16106 wine_fn_config_test dlls
/dinput
/tests dinput_test
16107 wine_fn_config_dll dinput8 enable_dinput8 implib
16108 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16109 wine_fn_config_dll dispdib.dll16 enable_win16
16110 wine_fn_config_dll dispex enable_dispex
16111 wine_fn_config_test dlls
/dispex
/tests dispex_test
16112 wine_fn_config_dll display.drv16 enable_win16
16113 wine_fn_config_dll dmband enable_dmband
16114 wine_fn_config_test dlls
/dmband
/tests dmband_test
16115 wine_fn_config_dll dmcompos enable_dmcompos
16116 wine_fn_config_dll dmime enable_dmime
16117 wine_fn_config_test dlls
/dmime
/tests dmime_test
16118 wine_fn_config_dll dmloader enable_dmloader
16119 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16120 wine_fn_config_dll dmscript enable_dmscript
16121 wine_fn_config_dll dmstyle enable_dmstyle
16122 wine_fn_config_dll dmsynth enable_dmsynth
16123 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16124 wine_fn_config_dll dmusic enable_dmusic
16125 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16126 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16127 wine_fn_config_dll dnsapi enable_dnsapi implib
16128 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16129 wine_fn_config_dll dplay enable_dplay implib
16130 wine_fn_config_dll dplayx enable_dplayx implib
16131 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16132 wine_fn_config_dll dpnaddr enable_dpnaddr
16133 wine_fn_config_dll dpnet enable_dpnet implib
16134 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16135 wine_fn_config_dll dpnhpast enable_dpnhpast
16136 wine_fn_config_dll dpnlobby enable_dpnlobby
16137 wine_fn_config_dll dpwsockx enable_dpwsockx
16138 wine_fn_config_dll drmclien enable_drmclien
16139 wine_fn_config_dll dsound enable_dsound implib
16140 wine_fn_config_test dlls
/dsound
/tests dsound_test
16141 wine_fn_config_dll dssenh enable_dssenh
16142 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16143 wine_fn_config_dll dswave enable_dswave
16144 wine_fn_config_dll dwmapi enable_dwmapi implib
16145 wine_fn_config_dll dwrite enable_dwrite implib
16146 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16147 wine_fn_config_dll dxdiagn enable_dxdiagn po
16148 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16149 wine_fn_config_lib dxerr8
16150 wine_fn_config_lib dxerr9
16151 wine_fn_config_dll dxgi enable_dxgi implib
16152 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16153 wine_fn_config_lib dxguid
16154 wine_fn_config_dll explorerframe enable_explorerframe
16155 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16156 wine_fn_config_dll faultrep enable_faultrep implib
16157 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16158 wine_fn_config_dll fltlib enable_fltlib
16159 wine_fn_config_dll fusion enable_fusion
16160 wine_fn_config_test dlls
/fusion
/tests fusion_test
16161 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16162 wine_fn_config_dll gameux enable_gameux
16163 wine_fn_config_test dlls
/gameux
/tests gameux_test
16164 wine_fn_config_dll gdi.exe16 enable_win16
16165 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
16166 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16167 wine_fn_config_dll gdiplus enable_gdiplus implib
16168 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16169 wine_fn_config_dll glu32 enable_glu32 implib
16170 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16171 wine_fn_config_dll gpkcsp enable_gpkcsp
16172 wine_fn_config_dll hal enable_hal
16173 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib
,po htmlhelp
16174 wine_fn_config_dll hid enable_hid implib
16175 wine_fn_config_dll hlink enable_hlink implib
16176 wine_fn_config_test dlls
/hlink
/tests hlink_test
16177 wine_fn_config_dll hnetcfg enable_hnetcfg
16178 wine_fn_config_dll httpapi enable_httpapi
16179 wine_fn_config_dll iccvid enable_iccvid po
16180 wine_fn_config_dll icmp enable_icmp
16181 wine_fn_config_dll ieframe enable_ieframe implib
,po
16182 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16183 wine_fn_config_dll ifsmgr.vxd enable_win16
16184 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16185 wine_fn_config_dll imagehlp enable_imagehlp implib
16186 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16187 wine_fn_config_dll imm.dll16 enable_win16
16188 wine_fn_config_dll imm32 enable_imm32 implib
16189 wine_fn_config_test dlls
/imm32
/tests imm32_test
16190 wine_fn_config_dll inetcomm enable_inetcomm implib
16191 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16192 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16193 wine_fn_config_dll inetmib1 enable_inetmib1
16194 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16195 wine_fn_config_dll infosoft enable_infosoft
16196 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16197 wine_fn_config_dll initpki enable_initpki
16198 wine_fn_config_dll inkobj enable_inkobj
16199 wine_fn_config_dll inseng enable_inseng
16200 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16201 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16202 wine_fn_config_dll itircl enable_itircl
16203 wine_fn_config_dll itss enable_itss
16204 wine_fn_config_test dlls
/itss
/tests itss_test
16205 wine_fn_config_dll joy.cpl enable_joy_cpl po
16206 wine_fn_config_dll jscript enable_jscript po
16207 wine_fn_config_test dlls
/jscript
/tests jscript_test
16208 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
16209 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16210 wine_fn_config_dll keyboard.drv16 enable_win16
16211 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16212 wine_fn_config_dll ktmw32 enable_ktmw32
16213 wine_fn_config_dll loadperf enable_loadperf implib
16214 wine_fn_config_dll localspl enable_localspl po
16215 wine_fn_config_test dlls
/localspl
/tests localspl_test
16216 wine_fn_config_dll localui enable_localui po
16217 wine_fn_config_test dlls
/localui
/tests localui_test
16218 wine_fn_config_dll lz32 enable_lz32 implib
16219 wine_fn_config_test dlls
/lz32
/tests lz32_test
16220 wine_fn_config_dll lzexpand.dll16 enable_win16
16221 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16222 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16223 wine_fn_config_dll mapistub enable_mapistub
16224 wine_fn_config_dll mciavi32 enable_mciavi32
16225 wine_fn_config_dll mcicda enable_mcicda
16226 wine_fn_config_dll mciqtz32 enable_mciqtz32
16227 wine_fn_config_dll mciseq enable_mciseq
16228 wine_fn_config_dll mciwave enable_mciwave
16229 wine_fn_config_dll mgmtapi enable_mgmtapi
16230 wine_fn_config_dll midimap enable_midimap
16231 wine_fn_config_dll mlang enable_mlang implib
16232 wine_fn_config_test dlls
/mlang
/tests mlang_test
16233 wine_fn_config_dll mmcndmgr enable_mmcndmgr
16234 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16235 wine_fn_config_dll mmdevapi enable_mmdevapi
16236 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16237 wine_fn_config_dll mmdevldr.vxd enable_win16
16238 wine_fn_config_dll mmsystem.dll16 enable_win16
16239 wine_fn_config_dll monodebg.vxd enable_win16
16240 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16241 wine_fn_config_dll mouse.drv16 enable_win16
16242 wine_fn_config_dll mpr enable_mpr implib
,po
16243 wine_fn_config_test dlls
/mpr
/tests mpr_test
16244 wine_fn_config_dll mprapi enable_mprapi implib
16245 wine_fn_config_dll msacm.dll16 enable_win16
16246 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16247 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16248 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16249 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16250 wine_fn_config_dll mscat32 enable_mscat32
16251 wine_fn_config_dll mscms enable_mscms implib
16252 wine_fn_config_test dlls
/mscms
/tests mscms_test
16253 wine_fn_config_dll mscoree enable_mscoree
16254 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16255 wine_fn_config_dll msctf enable_msctf
16256 wine_fn_config_test dlls
/msctf
/tests msctf_test
16257 wine_fn_config_dll msdaps enable_msdaps
16258 wine_fn_config_dll msdmo enable_msdmo implib
16259 wine_fn_config_dll msftedit enable_msftedit
16260 wine_fn_config_dll msg711.acm enable_msg711_acm
16261 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16262 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
16263 wine_fn_config_dll mshtml enable_mshtml implib
,po
16264 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
16265 wine_fn_config_dll msi enable_msi implib
,po
16266 wine_fn_config_test dlls
/msi
/tests msi_test
16267 wine_fn_config_dll msident enable_msident
16268 wine_fn_config_dll msimg32 enable_msimg32 implib
16269 wine_fn_config_dll msimsg enable_msimsg
16270 wine_fn_config_dll msimtf enable_msimtf
16271 wine_fn_config_dll msisip enable_msisip
16272 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16273 wine_fn_config_dll msls31 enable_msls31
16274 wine_fn_config_dll msnet32 enable_msnet32
16275 wine_fn_config_dll mspatcha enable_mspatcha
16276 wine_fn_config_dll msrle32 enable_msrle32 po
16277 wine_fn_config_dll mssign32 enable_mssign32
16278 wine_fn_config_dll mssip32 enable_mssip32
16279 wine_fn_config_dll mstask enable_mstask
16280 wine_fn_config_test dlls
/mstask
/tests mstask_test
16281 wine_fn_config_dll msvcirt enable_msvcirt
16282 wine_fn_config_dll msvcm80 enable_msvcm80
16283 wine_fn_config_dll msvcm90 enable_msvcm90
16284 wine_fn_config_dll msvcp100 enable_msvcp100
16285 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16286 wine_fn_config_dll msvcp110 enable_msvcp110
16287 wine_fn_config_dll msvcp60 enable_msvcp60
16288 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16289 wine_fn_config_dll msvcp70 enable_msvcp70
16290 wine_fn_config_dll msvcp71 enable_msvcp71
16291 wine_fn_config_dll msvcp80 enable_msvcp80
16292 wine_fn_config_dll msvcp90 enable_msvcp90
16293 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16294 wine_fn_config_dll msvcr100 enable_msvcr100
16295 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16296 wine_fn_config_dll msvcr110 enable_msvcr110
16297 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16298 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16299 wine_fn_config_dll msvcr80 enable_msvcr80
16300 wine_fn_config_dll msvcr90 enable_msvcr90
16301 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16302 wine_fn_config_dll msvcrt enable_msvcrt implib
16303 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16304 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16305 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16306 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16307 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
16308 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
16309 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
16310 wine_fn_config_dll msvidc32 enable_msvidc32 po
16311 wine_fn_config_dll msvideo.dll16 enable_win16
16312 wine_fn_config_dll mswsock enable_mswsock implib
16313 wine_fn_config_dll msxml enable_msxml
16314 wine_fn_config_dll msxml2 enable_msxml2
16315 wine_fn_config_dll msxml3 enable_msxml3
16316 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
16317 wine_fn_config_dll msxml4 enable_msxml4
16318 wine_fn_config_dll msxml6 enable_msxml6
16319 wine_fn_config_dll nddeapi enable_nddeapi implib
16320 wine_fn_config_dll netapi32 enable_netapi32 implib
16321 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
16322 wine_fn_config_dll netcfgx enable_netcfgx
16323 wine_fn_config_dll newdev enable_newdev implib
16324 wine_fn_config_dll normaliz enable_normaliz implib
16325 wine_fn_config_dll npmshtml enable_npmshtml
16326 wine_fn_config_dll ntdll enable_ntdll implib
16327 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
16328 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16329 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
16330 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16331 wine_fn_config_dll ntprint enable_ntprint
16332 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
16333 wine_fn_config_dll objsel enable_objsel
16334 wine_fn_config_dll odbc32 enable_odbc32 implib
16335 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16336 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
16337 wine_fn_config_dll odbccu32 enable_odbccu32
16338 wine_fn_config_dll ole2.dll16 enable_win16
16339 wine_fn_config_dll ole2conv.dll16 enable_win16
16340 wine_fn_config_dll ole2disp.dll16 enable_win16
16341 wine_fn_config_dll ole2nls.dll16 enable_win16
16342 wine_fn_config_dll ole2prox.dll16 enable_win16
16343 wine_fn_config_dll ole2thk.dll16 enable_win16
16344 wine_fn_config_dll ole32 enable_ole32 implib
16345 wine_fn_config_test dlls
/ole32
/tests ole32_test
16346 wine_fn_config_dll oleacc enable_oleacc implib
,po
16347 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
16348 wine_fn_config_dll oleaut32 enable_oleaut32 implib
,po
16349 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
16350 wine_fn_config_dll olecli.dll16 enable_win16
16351 wine_fn_config_dll olecli32 enable_olecli32 implib
16352 wine_fn_config_dll oledb32 enable_oledb32
16353 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
16354 wine_fn_config_dll oledlg enable_oledlg implib
,po
16355 wine_fn_config_dll olepro32 enable_olepro32 implib
16356 wine_fn_config_dll olesvr.dll16 enable_win16
16357 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16358 wine_fn_config_dll olethk32 enable_olethk32
16359 wine_fn_config_dll openal32 enable_openal32
16360 wine_fn_config_dll opencl enable_opencl
16361 wine_fn_config_dll opengl32 enable_opengl32 implib
16362 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
16363 wine_fn_config_dll pdh enable_pdh implib
16364 wine_fn_config_test dlls
/pdh
/tests pdh_test
16365 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16366 wine_fn_config_dll pidgen enable_pidgen
16367 wine_fn_config_dll powrprof enable_powrprof implib
16368 wine_fn_config_dll printui enable_printui
16369 wine_fn_config_dll propsys enable_propsys implib
16370 wine_fn_config_test dlls
/propsys
/tests propsys_test
16371 wine_fn_config_dll psapi enable_psapi implib
16372 wine_fn_config_test dlls
/psapi
/tests psapi_test
16373 wine_fn_config_dll pstorec enable_pstorec
16374 wine_fn_config_dll qcap enable_qcap
16375 wine_fn_config_test dlls
/qcap
/tests qcap_test
16376 wine_fn_config_dll qedit enable_qedit
16377 wine_fn_config_test dlls
/qedit
/tests qedit_test
16378 wine_fn_config_dll qmgr enable_qmgr
16379 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
16380 wine_fn_config_dll qmgrprxy enable_qmgrprxy
16381 wine_fn_config_dll quartz enable_quartz implib
16382 wine_fn_config_test dlls
/quartz
/tests quartz_test
16383 wine_fn_config_dll query enable_query
16384 wine_fn_config_dll rasapi16.dll16 enable_win16
16385 wine_fn_config_dll rasapi32 enable_rasapi32 implib
16386 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
16387 wine_fn_config_dll rasdlg enable_rasdlg implib
16388 wine_fn_config_dll regapi enable_regapi
16389 wine_fn_config_dll resutils enable_resutils implib
16390 wine_fn_config_dll riched20 enable_riched20 implib
16391 wine_fn_config_test dlls
/riched20
/tests riched20_test
16392 wine_fn_config_dll riched32 enable_riched32
16393 wine_fn_config_test dlls
/riched32
/tests riched32_test
16394 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
16395 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
16396 wine_fn_config_dll rsabase enable_rsabase
16397 wine_fn_config_dll rsaenh enable_rsaenh implib
16398 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
16399 wine_fn_config_dll rstrtmgr enable_rstrtmgr
16400 wine_fn_config_dll rtutils enable_rtutils implib
16401 wine_fn_config_dll samlib enable_samlib
16402 wine_fn_config_dll sane.ds enable_sane_ds po
16403 wine_fn_config_dll scarddlg enable_scarddlg
16404 wine_fn_config_dll sccbase enable_sccbase
16405 wine_fn_config_dll schannel enable_schannel
16406 wine_fn_config_test dlls
/schannel
/tests schannel_test
16407 wine_fn_config_dll scrrun enable_scrrun
16408 wine_fn_config_test dlls
/scrrun
/tests scrrun_test
16409 wine_fn_config_dll scsiport.sys enable_scsiport_sys
16410 wine_fn_config_dll secur32 enable_secur32 implib
16411 wine_fn_config_test dlls
/secur32
/tests secur32_test
16412 wine_fn_config_dll security enable_security
16413 wine_fn_config_dll sensapi enable_sensapi implib
16414 wine_fn_config_dll serialui enable_serialui implib
,po
16415 wine_fn_config_test dlls
/serialui
/tests serialui_test
16416 wine_fn_config_dll setupapi enable_setupapi implib
,po
16417 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
16418 wine_fn_config_dll setupx.dll16 enable_win16
16419 wine_fn_config_dll sfc enable_sfc implib
16420 wine_fn_config_dll sfc_os enable_sfc_os implib
16421 wine_fn_config_dll shdoclc enable_shdoclc po
16422 wine_fn_config_dll shdocvw enable_shdocvw implib
16423 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
16424 wine_fn_config_dll shell.dll16 enable_win16
16425 wine_fn_config_dll shell32 enable_shell32 implib
,po
16426 wine_fn_config_test dlls
/shell32
/tests shell32_test
16427 wine_fn_config_dll shfolder enable_shfolder implib
16428 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
16429 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
16430 wine_fn_config_dll slbcsp enable_slbcsp
16431 wine_fn_config_dll slc enable_slc implib
16432 wine_fn_config_dll snmpapi enable_snmpapi implib
16433 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
16434 wine_fn_config_dll softpub enable_softpub
16435 wine_fn_config_dll sound.drv16 enable_win16
16436 wine_fn_config_dll spoolss enable_spoolss implib
16437 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
16438 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
16439 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
16440 wine_fn_config_dll sti enable_sti implib
16441 wine_fn_config_test dlls
/sti
/tests sti_test
16442 wine_fn_config_dll storage.dll16 enable_win16
16443 wine_fn_config_dll stress.dll16 enable_win16
16444 wine_fn_config_lib strmbase
16445 wine_fn_config_lib strmiids
16446 wine_fn_config_dll svrapi enable_svrapi
16447 wine_fn_config_dll sxs enable_sxs implib
16448 wine_fn_config_test dlls
/sxs
/tests sxs_test
16449 wine_fn_config_dll system.drv16 enable_win16
16450 wine_fn_config_dll t2embed enable_t2embed
16451 wine_fn_config_dll tapi32 enable_tapi32 implib
16452 wine_fn_config_dll toolhelp.dll16 enable_win16
16453 wine_fn_config_dll traffic enable_traffic
16454 wine_fn_config_dll twain.dll16 enable_win16
16455 wine_fn_config_dll twain_32 enable_twain_32
16456 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
16457 wine_fn_config_dll typelib.dll16 enable_win16
16458 wine_fn_config_dll unicows enable_unicows implib
16459 wine_fn_config_dll updspapi enable_updspapi
16460 wine_fn_config_dll url enable_url implib
16461 wine_fn_config_dll urlmon enable_urlmon implib
,po
16462 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
16463 wine_fn_config_dll usbd.sys enable_usbd_sys implib
16464 wine_fn_config_dll user.exe16 enable_win16
16465 wine_fn_config_dll user32 enable_user32 implib
,po
16466 wine_fn_config_test dlls
/user32
/tests user32_test
16467 wine_fn_config_dll userenv enable_userenv implib
16468 wine_fn_config_test dlls
/userenv
/tests userenv_test
16469 wine_fn_config_dll usp10 enable_usp10 implib
16470 wine_fn_config_test dlls
/usp10
/tests usp10_test
16471 wine_fn_config_lib uuid
16472 wine_fn_config_dll uxtheme enable_uxtheme implib
16473 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
16474 wine_fn_config_dll vbscript enable_vbscript
16475 wine_fn_config_test dlls
/vbscript
/tests vbscript_test
16476 wine_fn_config_dll vcomp enable_vcomp
16477 wine_fn_config_dll vcomp100 enable_vcomp100
16478 wine_fn_config_dll vcomp90 enable_vcomp90
16479 wine_fn_config_dll vdhcp.vxd enable_win16
16480 wine_fn_config_dll vdmdbg enable_vdmdbg implib
16481 wine_fn_config_dll ver.dll16 enable_win16
16482 wine_fn_config_dll version enable_version implib
16483 wine_fn_config_test dlls
/version
/tests version_test
16484 wine_fn_config_dll vmm.vxd enable_win16
16485 wine_fn_config_dll vnbt.vxd enable_win16
16486 wine_fn_config_dll vnetbios.vxd enable_win16
16487 wine_fn_config_dll vtdapi.vxd enable_win16
16488 wine_fn_config_dll vwin32.vxd enable_win16
16489 wine_fn_config_dll w32skrnl enable_win16
16490 wine_fn_config_dll w32sys.dll16 enable_win16
16491 wine_fn_config_dll wbemdisp enable_wbemdisp
16492 wine_fn_config_dll wbemprox enable_wbemprox
16493 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
16494 wine_fn_config_dll webservices enable_webservices implib
16495 wine_fn_config_dll wer enable_wer implib
16496 wine_fn_config_test dlls
/wer
/tests wer_test
16497 wine_fn_config_dll wevtapi enable_wevtapi
16498 wine_fn_config_dll wiaservc enable_wiaservc
16499 wine_fn_config_dll win32s16.dll16 enable_win16
16500 wine_fn_config_dll win87em.dll16 enable_win16
16501 wine_fn_config_dll winaspi.dll16 enable_win16
16502 wine_fn_config_dll windebug.dll16 enable_win16
16503 wine_fn_config_dll windowscodecs enable_windowscodecs implib
16504 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
16505 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
16506 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
16507 wine_fn_config_dll winealsa.drv enable_winealsa_drv
16508 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
16509 wine_fn_config_lib winecrt0
16510 wine_fn_config_dll wined3d enable_wined3d implib
16511 wine_fn_config_dll winegstreamer enable_winegstreamer
16512 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
16513 wine_fn_config_dll winemac.drv enable_winemac_drv
16514 wine_fn_config_dll winemapi enable_winemapi
16515 wine_fn_config_dll winemp3.acm enable_winemp3_acm
16516 wine_fn_config_dll wineoss.drv enable_wineoss_drv
16517 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
16518 wine_fn_config_dll wineps16.drv16 enable_win16
16519 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
16520 wine_fn_config_dll winex11.drv enable_winex11_drv
16521 wine_fn_config_dll wing.dll16 enable_win16
16522 wine_fn_config_dll wing32 enable_wing32
16523 wine_fn_config_dll winhttp enable_winhttp implib
16524 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
16525 wine_fn_config_dll wininet enable_wininet implib
,po
16526 wine_fn_config_test dlls
/wininet
/tests wininet_test
16527 wine_fn_config_dll winmm enable_winmm implib
,po
16528 wine_fn_config_test dlls
/winmm
/tests winmm_test
16529 wine_fn_config_dll winnls.dll16 enable_win16
16530 wine_fn_config_dll winnls32 enable_winnls32 implib
16531 wine_fn_config_dll winscard enable_winscard implib
16532 wine_fn_config_dll winsock.dll16 enable_win16
16533 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
16534 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
16535 wine_fn_config_dll winsta enable_winsta
16536 wine_fn_config_dll wintab.dll16 enable_win16
16537 wine_fn_config_dll wintab32 enable_wintab32 implib
16538 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
16539 wine_fn_config_dll wintrust enable_wintrust implib
16540 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
16541 wine_fn_config_dll wlanapi enable_wlanapi
16542 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
16543 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
16544 wine_fn_config_dll wmi enable_wmi
16545 wine_fn_config_dll wmiutils enable_wmiutils
16546 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
16547 wine_fn_config_dll wmvcore enable_wmvcore
16548 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
16549 wine_fn_config_dll wow32 enable_win16 implib
16550 wine_fn_config_dll ws2_32 enable_ws2_32 implib
16551 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
16552 wine_fn_config_dll wshom.ocx enable_wshom_ocx
16553 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test
16554 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
16555 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
16556 wine_fn_config_dll wsock32 enable_wsock32 implib
16557 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
16558 wine_fn_config_dll wuapi enable_wuapi
16559 wine_fn_config_dll wuaueng enable_wuaueng
16560 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
16561 wine_fn_config_dll xinput1_1 enable_xinput1_1
16562 wine_fn_config_dll xinput1_2 enable_xinput1_2
16563 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
16564 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
16565 wine_fn_config_dll xinput1_4 enable_xinput1_4
16566 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
16567 wine_fn_config_dll xmllite enable_xmllite
16568 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
16569 wine_fn_config_dll xolehlp enable_xolehlp
16570 wine_fn_config_dll xpsprint enable_xpsprint
16571 wine_fn_config_dll xpssvcs enable_xpssvcs
16572 wine_fn_config_makefile documentation enable_documentation
16573 wine_fn_config_makefile fonts enable_fonts install-lib
16574 wine_fn_config_makefile include enable_include install-dev
16575 wine_fn_config_makefile libs
/port enable_libs_port
16576 wine_fn_config_makefile libs
/wine enable_libs_wine install-dev
,install-lib
16577 wine_fn_config_makefile libs
/wpp enable_libs_wpp
16578 wine_fn_config_makefile loader enable_loader install-lib
,manpage
16579 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
16580 wine_fn_config_program attrib enable_attrib
install,po
16581 wine_fn_config_program cabarc enable_cabarc
install
16582 wine_fn_config_program cacls enable_cacls
install
16583 wine_fn_config_program
clock enable_clock
install,po
16584 wine_fn_config_program cmd enable_cmd
install,po
16585 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
16586 wine_fn_config_program conhost enable_conhost
install
16587 wine_fn_config_program control enable_control
install
16588 wine_fn_config_program cscript enable_cscript
install
16589 wine_fn_config_program dxdiag enable_dxdiag
install,po
16590 wine_fn_config_program eject enable_eject
install
16591 wine_fn_config_program
expand enable_expand
install
16592 wine_fn_config_program explorer enable_explorer
install,po
16593 wine_fn_config_program extrac32 enable_extrac32
install
16594 wine_fn_config_program findstr enable_findstr
install
16595 wine_fn_config_program hh enable_hh
install
16596 wine_fn_config_program hostname enable_hostname
install,po
16597 wine_fn_config_program icinfo enable_icinfo
install
16598 wine_fn_config_program iexplore enable_iexplore
install
16599 wine_fn_config_program ipconfig enable_ipconfig
install,po
16600 wine_fn_config_program lodctr enable_lodctr
install
16601 wine_fn_config_program mofcomp enable_mofcomp
install
16602 wine_fn_config_program mshta enable_mshta
install
16603 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
16604 wine_fn_config_program net enable_net
install,po
16605 wine_fn_config_program netsh enable_netsh
install
16606 wine_fn_config_program netstat enable_netstat
install,po
16607 wine_fn_config_program ngen enable_ngen
install
16608 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
16609 wine_fn_config_program oleview enable_oleview
install,po
16610 wine_fn_config_program
ping enable_ping
install
16611 wine_fn_config_program plugplay enable_plugplay
install
16612 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
16613 wine_fn_config_program progman enable_progman
install,po
16614 wine_fn_config_program reg enable_reg
install,po
16615 wine_fn_config_program regasm enable_regasm
install
16616 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
16617 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
16618 wine_fn_config_program regsvcs enable_regsvcs
install
16619 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
16620 wine_fn_config_program rpcss enable_rpcss
install
16621 wine_fn_config_program rundll.exe16 enable_win16
install
16622 wine_fn_config_program rundll32 enable_rundll32
install
16623 wine_fn_config_program sc enable_sc
install
16624 wine_fn_config_program schtasks enable_schtasks
install
16625 wine_fn_config_program secedit enable_secedit
install
16626 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
16627 wine_fn_config_program services enable_services
install
16628 wine_fn_config_test programs
/services
/tests services.exe_test
16629 wine_fn_config_program spoolsv enable_spoolsv
install
16630 wine_fn_config_program start enable_start
install,po
16631 wine_fn_config_program svchost enable_svchost
install
16632 wine_fn_config_program taskkill enable_taskkill
install,po
16633 wine_fn_config_program tasklist enable_tasklist
install
16634 wine_fn_config_program taskmgr enable_taskmgr
install,po
16635 wine_fn_config_program termsv enable_termsv
install
16636 wine_fn_config_program uninstaller enable_uninstaller
install,po
16637 wine_fn_config_program unlodctr enable_unlodctr
install
16638 wine_fn_config_program view enable_view
install,po
16639 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
16640 wine_fn_config_program winebrowser enable_winebrowser
install
16641 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
16642 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
16643 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
16644 wine_fn_config_program winedevice enable_winedevice
install
16645 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
16646 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
16647 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
16648 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
16649 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
16650 wine_fn_config_program winetest enable_winetest
16651 wine_fn_config_program winevdm enable_win16
install
16652 wine_fn_config_program winhelp.exe16 enable_win16
install
16653 wine_fn_config_program winhlp32 enable_winhlp32
install,po
16654 wine_fn_config_program winoldap.mod16 enable_win16
install
16655 wine_fn_config_program winver enable_winver
install
16656 wine_fn_config_program wmic enable_wmic
install,po
16657 wine_fn_config_program wordpad enable_wordpad
install,po
16658 wine_fn_config_program
write enable_write
install,po
16659 wine_fn_config_program wscript enable_wscript
install
16660 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
16661 wine_fn_config_program wusa enable_wusa
install
16662 wine_fn_config_program xcopy enable_xcopy
install,po
16663 wine_fn_config_makefile server enable_server install-lib
,manpage
16664 wine_fn_config_tool tools install-dev
,install-lib
,manpage
16665 wine_fn_config_tool tools
/widl install-dev
,manpage
16666 wine_fn_config_tool tools
/winebuild install-dev
,manpage
16667 wine_fn_config_tool tools
/winedump install-dev
,manpage
16668 wine_fn_config_tool tools
/winegcc install-dev
,manpage
16669 wine_fn_config_tool tools
/wmc install-dev
,manpage
16670 wine_fn_config_tool tools
/wrc install-dev
,manpage
16721 ac_config_commands
="$ac_config_commands Makefile"
16724 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16728 if test "x$enable_maintainer_mode" = xyes
16730 wine_fn_append_rule
"\$(srcdir)/configure: configure.ac aclocal.m4
16731 cd \$(srcdir) && autoconf --warnings=all
16732 \$(srcdir)/include/config.h.in: include/stamp-h.in
16733 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16734 cd \$(srcdir) && autoheader --warnings=all
16735 @echo timestamp > \$@"
16738 if test "x$with_gettextpo" = xyes
16740 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16741 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
16742 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16743 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16744 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16745 msgcat -o \$@ \$(ALL_POT_FILES)"
16748 if test "$MSGFMT" != false
16750 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
16752 wine_fn_append_rule
"__builddeps__: \$(ALL_MO_FILES)"
16757 if test "x$enable_tools" != xno
16759 wine_fn_append_rule
"\$(MAKEDEP): tools/Makefile
16761 \$(RM) tools/makedep\$(EXEEXT)"
16764 if test -n "$with_wine64"
16766 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16767 fonts server tools:
16768 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16769 $with_wine64/loader/wine:
16770 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16771 $with_wine64/loader/wine-preloader:
16772 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16774 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16777 cat >confcache
<<\_ACEOF
16778 # This file is a shell script that caches the results of configure
16779 # tests run on this system so they can be shared between configure
16780 # scripts and configure runs, see configure's option --config-cache.
16781 # It is not useful on other systems. If it contains results you don't
16782 # want to keep, you may remove or edit it.
16784 # config.status only pays attention to the cache file if you give it
16785 # the --recheck option to rerun configure.
16787 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16788 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16789 # following values.
16793 # The following way of writing the cache mishandles newlines in values,
16794 # but we know of no workaround that is simple, portable, and efficient.
16795 # So, we kill variables containing newlines.
16796 # Ultrix sh set writes to stderr and can't be redirected directly,
16797 # and sets the high bit in the cache file unless we assign to the vars.
16799 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16800 eval ac_val
=\$
$ac_var
16804 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16805 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16808 _ | IFS | as_nl
) ;; #(
16809 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16810 *) { eval $ac_var=; unset $ac_var;} ;;
16816 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16817 *${as_nl}ac_space
=\
*)
16818 # `set' does not quote correctly, so add quotes: double-quote
16819 # substitution turns \\\\ into \\, and sed turns \\ into \.
16822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16825 # `set' quotes correctly as required by POSIX, so do not add quotes.
16826 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16835 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16837 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16839 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16840 if test -w "$cache_file"; then
16841 if test "x$cache_file" != "x/dev/null"; then
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16843 $as_echo "$as_me: updating cache $cache_file" >&6;}
16844 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16845 cat confcache
>"$cache_file"
16847 case $cache_file in #(
16849 mv -f confcache
"$cache_file"$$
&&
16850 mv -f "$cache_file"$$
"$cache_file" ;; #(
16852 mv -f confcache
"$cache_file" ;;
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16858 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16863 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16864 # Let make expand exec_prefix.
16865 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16867 DEFS
=-DHAVE_CONFIG_H
16872 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16873 # 1. Remove the extension, and $U if already installed.
16874 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16875 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16876 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16877 # will be set to the directory where LIBOBJS objects are built.
16878 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16879 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16881 LIBOBJS
=$ac_libobjs
16883 LTLIBOBJS
=$ac_ltlibobjs
16887 : "${CONFIG_STATUS=./config.status}"
16889 ac_clean_files_save
=$ac_clean_files
16890 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16892 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16894 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16896 # Generated by $as_me.
16897 # Run this file to recreate the current configuration.
16898 # Compiler output produced by configure, useful for debugging
16899 # configure, is in config.log if it exists.
16902 ac_cs_recheck=false
16905 SHELL=\${CONFIG_SHELL-$SHELL}
16908 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16909 ## -------------------- ##
16910 ## M4sh Initialization. ##
16911 ## -------------------- ##
16913 # Be more Bourne compatible
16914 DUALCASE
=1; export DUALCASE
# for MKS sh
16915 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16918 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16919 # is contrary to our usage. Disable this feature.
16920 alias -g '${1+"$@"}'='"$@"'
16921 setopt NO_GLOB_SUBST
16923 case `(set -o) 2>/dev/null` in #(
16935 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16936 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16937 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16938 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16939 # Prefer a ksh shell builtin over an external printf program on Solaris,
16940 # but without wasting forks for bash or zsh.
16941 if test -z "$BASH_VERSION$ZSH_VERSION" \
16942 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16943 as_echo='print
-r --'
16944 as_echo_n='print
-rn --'
16945 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16946 as_echo='printf %s
\n'
16947 as_echo_n='printf %s
'
16949 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16950 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16951 as_echo_n='/usr
/ucb
/echo -n'
16953 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16954 as_echo_n_body='eval
16958 expr "X$arg" : "X\\(.*\\)$as_nl";
16959 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16961 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16963 export as_echo_n_body
16964 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16966 export as_echo_body
16967 as_echo='sh
-c $as_echo_body as_echo
'
16970 # The user is always right.
16971 if test "${PATH_SEPARATOR+set}" != set; then
16973 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16974 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16981 # We need space, tab and new line, in precisely that order. Quoting is
16982 # there to prevent editors from complaining about space-tab.
16983 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16984 # splitting by setting IFS to empty value.)
16987 # Find who we are. Look in the path if we contain no directory separator.
16990 *[\\/]* ) as_myself=$0 ;;
16991 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16992 for as_dir in $PATH
16995 test -z "$as_dir" && as_dir=.
16996 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17002 # We did not find ourselves, most probably we were run as `sh COMMAND'
17003 # in which case we are not to be found in the path.
17004 if test "x$as_myself" = x
; then
17007 if test ! -f "$as_myself"; then
17008 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17012 # Unset variables that we do not need and which cause bugs (e.g. in
17013 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17014 # suppresses any "Segmentation fault" message there. '((' could
17015 # trigger a bug in pdksh 5.2.14.
17016 for as_var
in BASH_ENV ENV MAIL MAILPATH
17017 do eval test x\
${$as_var+set} = xset \
17018 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17031 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17034 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17035 # ----------------------------------------
17036 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17037 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17038 # script with STATUS, using 1 if that was 0.
17041 as_status
=$1; test $as_status -eq 0 && as_status
=1
17043 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17044 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17046 $as_echo "$as_me: error: $2" >&2
17047 as_fn_exit
$as_status
17051 # as_fn_set_status STATUS
17052 # -----------------------
17053 # Set $? to STATUS, without forking.
17054 as_fn_set_status
()
17057 } # as_fn_set_status
17059 # as_fn_exit STATUS
17060 # -----------------
17061 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17065 as_fn_set_status
$1
17071 # Portably unset VAR.
17074 { eval $1=; unset $1;}
17076 as_unset
=as_fn_unset
17077 # as_fn_append VAR VALUE
17078 # ----------------------
17079 # Append the text in VALUE to the end of the definition contained in VAR. Take
17080 # advantage of any shell optimizations that allow amortized linear growth over
17081 # repeated appends, instead of the typical quadratic growth present in naive
17083 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17084 eval 'as_fn_append ()
17095 # as_fn_arith ARG...
17096 # ------------------
17097 # Perform arithmetic evaluation on the ARGs, and store the result in the
17098 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17099 # must be portable across $(()) and expr.
17100 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17101 eval 'as_fn_arith ()
17108 as_val
=`expr "$@" || test $? -eq 1`
17113 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17114 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17120 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17121 as_basename
=basename
17126 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17132 as_me
=`$as_basename -- "$0" ||
17133 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17134 X"$0" : 'X\(//\)$' \| \
17135 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17137 sed '/^.*\/\([^/][^/]*\)\/*$/{
17151 # Avoid depending upon Character Ranges.
17152 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17153 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17154 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17155 as_cr_digits
='0123456789'
17156 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17158 ECHO_C
= ECHO_N
= ECHO_T
=
17159 case `echo -n x` in #(((((
17161 case `echo 'xy\c'` in
17162 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17164 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17171 rm -f conf$$ conf$$.exe conf$$.
file
17172 if test -d conf$$.dir
; then
17173 rm -f conf$$.dir
/conf$$.
file
17176 mkdir conf$$.dir
2>/dev
/null
17178 if (echo >conf$$.
file) 2>/dev
/null
; then
17179 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17181 # ... but there are two gotchas:
17182 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17183 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17184 # In both cases, we have to default to `cp -pR'.
17185 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17187 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17195 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17196 rmdir conf$$.dir
2>/dev
/null
17201 # Create "$as_dir" as a directory, including parents if necessary.
17206 -*) as_dir
=.
/$as_dir;;
17208 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17212 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17213 *) as_qdir
=$as_dir;;
17215 as_dirs
="'$as_qdir' $as_dirs"
17216 as_dir
=`$as_dirname -- "$as_dir" ||
17217 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17218 X"$as_dir" : 'X\(//\)[^/]' \| \
17219 X"$as_dir" : 'X\(//\)$' \| \
17220 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17221 $as_echo X"$as_dir" |
17222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17226 /^X\(\/\/\)[^/].*/{
17239 test -d "$as_dir" && break
17241 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17242 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17246 if mkdir
-p .
2>/dev
/null
; then
17247 as_mkdir_p
='mkdir -p "$as_dir"'
17249 test -d .
/-p && rmdir .
/-p
17254 # as_fn_executable_p FILE
17255 # -----------------------
17256 # Test if FILE is an executable regular file.
17257 as_fn_executable_p
()
17259 test -f "$1" && test -x "$1"
17260 } # as_fn_executable_p
17261 as_test_x
='test -x'
17262 as_executable_p
=as_fn_executable_p
17264 # Sed expression to map a string onto a valid CPP name.
17265 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17267 # Sed expression to map a string onto a valid variable name.
17268 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17272 ## ----------------------------------- ##
17273 ## Main body of $CONFIG_STATUS script. ##
17274 ## ----------------------------------- ##
17276 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17279 # Save the log message, to keep $0 and so on meaningful, and to
17280 # report actual input values of CONFIG_FILES etc. instead of their
17281 # values after options handling.
17283 This file was extended by Wine $as_me 1.7.2, which was
17284 generated by GNU Autoconf 2.69. Invocation command line was
17286 CONFIG_FILES = $CONFIG_FILES
17287 CONFIG_HEADERS = $CONFIG_HEADERS
17288 CONFIG_LINKS = $CONFIG_LINKS
17289 CONFIG_COMMANDS = $CONFIG_COMMANDS
17292 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17297 case $ac_config_files in *"
17298 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17301 case $ac_config_headers in *"
17302 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17307 # Files that config.status was made for.
17308 config_files="$ac_config_files"
17309 config_headers="$ac_config_headers"
17310 config_links="$ac_config_links"
17311 config_commands="$ac_config_commands"
17315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17317 \`$as_me' instantiates files and other configuration actions
17318 from templates according to the current configuration. Unless the files
17319 and actions are specified as TAGs, all are instantiated by default.
17321 Usage: $0 [OPTION]... [TAG]...
17323 -h, --help print this help, then exit
17324 -V, --version print version number and configuration settings, then exit
17325 --config print configuration, then exit
17326 -q, --quiet, --silent
17327 do not print progress messages
17328 -d, --debug don't remove temporary files
17329 --recheck update $as_me by reconfiguring in the same conditions
17330 --file=FILE[:TEMPLATE]
17331 instantiate the configuration file FILE
17332 --header=FILE[:TEMPLATE]
17333 instantiate the configuration header FILE
17335 Configuration files:
17338 Configuration headers:
17341 Configuration links:
17344 Configuration commands:
17347 Report bugs to <wine-devel@winehq.org>.
17348 Wine home page: <http://www.winehq.org>."
17351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17352 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17354 Wine config.status 1.7.2
17355 configured by $0, generated by GNU Autoconf 2.69,
17356 with options \\"\$ac_cs_config\\"
17358 Copyright (C) 2012 Free Software Foundation, Inc.
17359 This config.status script is free software; the Free Software Foundation
17360 gives unlimited permission to copy, distribute and modify it."
17365 test -n "\$AWK" || AWK=awk
17368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17369 # The default lists apply if the user does not specify any file.
17375 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17376 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17380 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17392 # Handling of the options.
17393 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17395 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17396 $as_echo "$ac_cs_version"; exit ;;
17397 --config |
--confi |
--conf |
--con |
--co |
--c )
17398 $as_echo "$ac_cs_config"; exit ;;
17399 --debug |
--debu |
--deb |
--de |
--d |
-d )
17401 --file |
--fil |
--fi |
--f )
17404 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17405 '') as_fn_error $?
"missing file argument" ;;
17407 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17408 ac_need_defaults
=false
;;
17409 --header |
--heade |
--head |
--hea )
17412 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17414 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17415 ac_need_defaults
=false
;;
17417 # Conflict between --help and --header
17418 as_fn_error $?
"ambiguous option: \`$1'
17419 Try \`$0 --help' for more information.";;
17420 --help |
--hel |
-h )
17421 $as_echo "$ac_cs_usage"; exit ;;
17422 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17423 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17426 # This is an error.
17427 -*) as_fn_error $?
"unrecognized option: \`$1'
17428 Try \`$0 --help' for more information." ;;
17430 *) as_fn_append ac_config_targets
" $1"
17431 ac_need_defaults
=false
;;
17437 ac_configure_extra_args
=
17439 if $ac_cs_silent; then
17441 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17446 if \$ac_cs_recheck; then
17447 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17449 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17450 CONFIG_SHELL='$SHELL'
17451 export CONFIG_SHELL
17456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17460 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17461 ## Running $as_me. ##
17467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17471 wine_fn_output_makefile ()
17473 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
17474 `cat $wine_rules_file`
17476 as_fn_error $? "could not create Makefile" "$LINENO" 5
17481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17483 # Handling of arguments.
17484 for ac_config_target
in $ac_config_targets
17486 case $ac_config_target in
17487 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
17488 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
17489 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
17490 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
17491 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17492 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17493 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17494 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
17495 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
17496 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
17497 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
17498 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
17499 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
17500 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17501 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
17502 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
17503 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
17504 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17505 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
17506 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
17507 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
17508 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
17509 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
17510 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
17511 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
17512 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
17514 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17519 # If the user did not use the arguments to specify the items to instantiate,
17520 # then the envvar interface is used. Set only those that are not.
17521 # We use the long form for the default assignment because of an extremely
17522 # bizarre bug on SunOS 4.1.3.
17523 if $ac_need_defaults; then
17524 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17525 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17526 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
17527 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17530 # Have a temporary directory for convenience. Make it in the build tree
17531 # simply because there is no reason against having it here, and in addition,
17532 # creating and moving files from /tmp can sometimes cause problems.
17533 # Hook for its removal unless debugging.
17534 # Note that there is a small window in which the directory will not be cleaned:
17535 # after its creation but before its name has been assigned to `$tmp'.
17539 trap 'exit_status=$?
17540 : "${ac_tmp:=$tmp}"
17541 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17543 trap 'as_fn_exit 1' 1 2 13 15
17545 # Create a (secure) tmp directory for tmp files.
17548 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17552 tmp
=.
/conf$$
-$RANDOM
17553 (umask 077 && mkdir
"$tmp")
17554 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17557 # Set up the scripts for CONFIG_FILES section.
17558 # No need to generate them if there are no CONFIG_FILES.
17559 # This happens for instance with `./config.status config.h'.
17560 if test -n "$CONFIG_FILES"; then
17562 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
17563 ac_cs_awk_getline
=:
17564 ac_cs_awk_pipe_init
=
17565 ac_cs_awk_read_file
='
17566 while ((getline aline < (F[key])) > 0)
17569 ac_cs_awk_pipe_fini
=
17571 ac_cs_awk_getline
=false
17572 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
17573 ac_cs_awk_read_file
='
17575 print "cat " F[key] " &&"
17576 '$ac_cs_awk_pipe_init
17577 # The final `:' finishes the AND list.
17578 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
17580 ac_cr
=`echo X | tr X '\015'`
17581 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17582 # But we know of no other shell where ac_cr would be empty at this
17583 # point, so we can use a bashism as a fallback.
17584 if test "x$ac_cr" = x
; then
17585 eval ac_cr
=\$
\'\\r
\'
17587 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17588 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17591 ac_cs_awk_cr
=$ac_cr
17594 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17597 # Create commands to substitute file output variables.
17599 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17600 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17601 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
17604 } >conf$
$files.sh
&&
17605 . .
/conf$
$files.sh ||
17606 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
17607 rm -f conf$
$files.sh
17610 echo "cat >conf$$subs.awk <<_ACEOF" &&
17611 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17613 } >conf$$subs.sh ||
17614 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17615 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17617 for ac_last_try in false false false false false :; do
17618 . ./conf$$subs.sh ||
17619 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17621 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17622 if test $ac_delim_n = $ac_delim_num; then
17624 elif $ac_last_try; then
17625 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17627 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17630 rm -f conf$$subs.sh
17632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17633 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17637 s/^/S["/; s
/!.
*/"]=/
17647 s/\(.\{148\}\)..*/\1/
17649 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17654 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17661 s/\(.\{148\}\)..*/\1/
17663 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17667 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17672 ' <conf$$subs.awk | sed '
17677 ' >>$CONFIG_STATUS || ac_write_fail=1
17678 rm -f conf$$subs.awk
17679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17681 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17682 for (key in S) S_is_set[key] = 1
17684 \$ac_cs_awk_pipe_init
17688 nfields = split(line, field, "@
")
17690 len = length(field[1])
17691 for (i = 2; i < nfields; i++) {
17693 keylen = length(key)
17694 if (S_is_set[key]) {
17696 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17697 len += length(value) + length(field[++i])
17702 if (nfields == 3 && !substed) {
17704 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17705 \$ac_cs_awk_read_file
17711 \$ac_cs_awk_pipe_fini
17714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17715 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17716 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17719 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17720 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17723 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17724 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17725 # trailing colons and then remove the whole line if VPATH becomes empty
17726 # (actually we leave an empty line to preserve line numbers).
17727 if test "x
$srcdir" = x.; then
17728 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17747 fi # test -n "$CONFIG_FILES"
17749 # Set up the scripts for CONFIG_HEADERS section.
17750 # No need to generate them if there are no CONFIG_HEADERS.
17751 # This happens for instance with `./config.status Makefile'.
17752 if test -n "$CONFIG_HEADERS"; then
17753 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17757 # Transform confdefs.h into an awk script `defines.awk', embedded as
17758 # here-document in config.status, that substitutes the proper values into
17759 # config.h.in to produce config.h.
17761 # Create a delimiter string that does not exist in confdefs.h, to ease
17762 # handling of long lines.
17764 for ac_last_try in false false :; do
17765 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17766 if test -z "$ac_tt"; then
17768 elif $ac_last_try; then
17769 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17771 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17775 # For the awk script, D is an array of macro values keyed by name,
17776 # likewise P contains macro parameters if any. Preserve backslash
17777 # newline sequences.
17779 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17781 s/.\{148\}/&'"$ac_delim"'/g
17784 s/^[ ]*#[ ]*define[ ][ ]*/ /
17791 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17793 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17797 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17798 D["\
1"]=" \
3\\\\\\n
"\\/p
17800 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17805 s/.\{148\}/&'"$ac_delim"'/g
17810 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17813 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17815 ' <confdefs.h | sed '
17816 s/'"$ac_delim"'/"\\\
17817 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17820 for (key in D) D_is_set[key] = 1
17823 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17825 split(line, arg, " ")
17826 if (arg[1] == "#") {
17830 defundef
= substr
(arg
[1], 2)
17833 split(mac1
, mac2
, "(") #)
17835 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17836 if (D_is_set
[macro
]) {
17837 # Preserve the white space surrounding the "#".
17838 print prefix
"define", macro P
[macro
] D
[macro
]
17841 # Replace #undef with comments. This is necessary, for example,
17842 # in the case of _POSIX_SOURCE, which is predefined and required
17843 # on some systems where configure will not decide to define it.
17844 if (defundef
== "undef") {
17845 print
"/*", prefix defundef
, macro
, "*/"
17853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17854 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17855 fi # test -n "$CONFIG_HEADERS"
17858 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17863 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17865 case $ac_mode$ac_tag in
17867 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17868 :[FH
]-) ac_tag
=-:-;;
17869 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17886 -) ac_f
="$ac_tmp/stdin";;
17887 *) # Look for the file first in the build tree, then in the source tree
17888 # (if the path is not absolute). The absolute path cannot be DOS-style,
17889 # because $ac_f cannot contain `:'.
17893 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17895 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17897 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17898 as_fn_append ac_file_inputs
" '$ac_f'"
17901 # Let's still pretend it is `configure' which instantiates (i.e., don't
17902 # use $as_me), people would be surprised to read:
17903 # /* config.h. Generated by config.status. */
17904 configure_input
='Generated from '`
17905 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17907 if test x
"$ac_file" != x-
; then
17908 configure_input
="$ac_file. $configure_input"
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17910 $as_echo "$as_me: creating $ac_file" >&6;}
17912 # Neutralize special characters interpreted by sed in replacement strings.
17913 case $configure_input in #(
17914 *\
&* |
*\|
* |
*\\* )
17915 ac_sed_conf_input
=`$as_echo "$configure_input" |
17916 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17917 *) ac_sed_conf_input
=$configure_input;;
17921 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17922 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17927 ac_dir
=`$as_dirname -- "$ac_file" ||
17928 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17929 X"$ac_file" : 'X\(//\)[^/]' \| \
17930 X"$ac_file" : 'X\(//\)$' \| \
17931 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17932 $as_echo X"$ac_file" |
17933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17937 /^X\(\/\/\)[^/].*/{
17950 as_dir
="$ac_dir"; as_fn_mkdir_p
17954 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17956 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17957 # A ".." for each directory in $ac_dir_suffix.
17958 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17959 case $ac_top_builddir_sub in
17960 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17961 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17964 ac_abs_top_builddir
=$ac_pwd
17965 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17966 # for backward compatibility:
17967 ac_top_builddir
=$ac_top_build_prefix
17970 .
) # We are building in place.
17972 ac_top_srcdir
=$ac_top_builddir_sub
17973 ac_abs_top_srcdir
=$ac_pwd ;;
17974 [\\/]* | ?
:[\\/]* ) # Absolute name.
17975 ac_srcdir
=$srcdir$ac_dir_suffix;
17976 ac_top_srcdir
=$srcdir
17977 ac_abs_top_srcdir
=$srcdir ;;
17978 *) # Relative name.
17979 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17980 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17981 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17983 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17993 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17994 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17999 # If the template does not know about datarootdir, expand it.
18000 # FIXME: This hack should be removed a few years after 2.60.
18001 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18012 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18013 *datarootdir
*) ac_datarootdir_seen
=yes;;
18014 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18016 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18019 ac_datarootdir_hack='
18020 s&@datadir@&$datadir&g
18021 s&@docdir@&$docdir&g
18022 s&@infodir@&$infodir&g
18023 s&@localedir@&$localedir&g
18024 s&@mandir@&$mandir&g
18025 s&\\\${datarootdir}&$datarootdir&g' ;;
18029 # Neutralize VPATH when `$srcdir' = `.'.
18030 # Shell code in configure.ac might set extrasub.
18031 # FIXME: do we really want to maintain this feature?
18032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18033 ac_sed_extra="$ac_vpsub
18036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18038 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18039 s|@configure_input@|
$ac_sed_conf_input|
;t t
18040 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18041 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18042 s
&@srcdir@
&$ac_srcdir&;t t
18043 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18044 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18045 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18046 s
&@builddir@
&$ac_builddir&;t t
18047 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18048 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18049 s
&@INSTALL@
&$ac_INSTALL&;t t
18050 $ac_datarootdir_hack
18052 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18053 if $ac_cs_awk_getline; then
18054 $AWK -f "$ac_tmp/subs.
awk"
18056 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
18058 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18060 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18061 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18062 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18063 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18065 which seems to be undefined. Please make sure it is defined" >&5
18066 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18067 which seems to be undefined. Please make sure it is defined" >&2;}
18069 rm -f "$ac_tmp/stdin"
18071 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18072 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18074 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18080 if test x"$ac_file" != x-; then
18082 $as_echo "/* $configure_input */" \
18083 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18084 } >"$ac_tmp/config.h" \
18085 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18086 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18088 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18091 mv "$ac_tmp/config.h" "$ac_file" \
18092 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18095 $as_echo "/* $configure_input */" \
18096 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18097 || as_fn_error $? "could not create -" "$LINENO" 5
18105 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18108 # Prefer the file from the source tree if names are identical.
18109 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18110 ac_source=$srcdir/$ac_source
18113 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18114 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18116 if test ! -r "$ac_source"; then
18117 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18121 # Try a relative symlink, then a hard link, then a copy.
18123 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18124 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18126 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18127 ln "$ac_source" "$ac_file" 2>/dev/null ||
18128 cp -p "$ac_source" "$ac_file" ||
18129 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18132 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18133 $as_echo "$as_me: executing $ac_file commands" >&6;}
18138 case $ac_file$ac_mode in
18139 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18140 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18141 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18142 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18143 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18144 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18145 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18146 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18147 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18148 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18149 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18150 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18151 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18152 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18153 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18154 "Makefile":C) wine_fn_output_makefile Makefile ;;
18162 ac_clean_files=$ac_clean_files_save
18164 test $ac_write_fail = 0 ||
18165 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18168 # configure is writing to config.log, and then calls config.status.
18169 # config.status does its own redirection, appending to config.log.
18170 # Unfortunately, on DOS this fails, as config.log is still kept open
18171 # by configure, so config.status won't be able to
write to it
; its
18172 # output is simply discarded. So we exec the FD to /dev/null,
18173 # effectively closing config.log, so it can be properly (re)opened and
18174 # appended to by config.status. When coming back to configure, we
18175 # need to make the FD available again.
18176 if test "$no_create" != yes; then
18178 ac_config_status_args
=
18179 test "$silent" = yes &&
18180 ac_config_status_args
="$ac_config_status_args --quiet"
18182 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18184 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18185 # would make configure fail if this is the last instruction.
18186 $ac_cs_success || as_fn_exit
1
18188 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18190 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18194 if test "$no_create" = "yes"
18200 if test "x$wine_notices != "x
; then
18203 for msg
in $wine_notices; do
18205 if test -n "$msg"; then
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18207 $as_echo "$as_me: $msg" >&6;}
18212 for msg
in $wine_warnings; do
18214 if test -n "$msg"; then
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18217 $as_echo "$as_me: WARNING: $msg" >&2;}
18223 $as_me: Finished. Do '${ac_make}' to compile Wine.