2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.5.30.
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.5.30'
584 PACKAGE_STRING
='Wine 1.5.30'
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
695 APPLICATIONSERVICESLIB
783 program_transform_name
794 ac_subst_files
='MAKE_RULES
800 enable_option_checking
804 enable_maintainer_mode
853 ac_precious_vars
='build_alias
892 # Initialize some variables set by options.
894 ac_init_version
=false
895 ac_unrecognized_opts
=
897 # The variables have the same names as the options, with
898 # dashes changed to underlines.
906 program_transform_name
=s
,x
,x
,
914 # Installation directory options.
915 # These are left unexpanded so users can "make install exec_prefix=/foo"
916 # and all the variables that are supposed to be based on exec_prefix
917 # by default will actually change.
918 # Use braces instead of parens because sh, perl, etc. also accept them.
919 # (The list follows the same order as the GNU Coding Standards.)
920 bindir
='${exec_prefix}/bin'
921 sbindir
='${exec_prefix}/sbin'
922 libexecdir
='${exec_prefix}/libexec'
923 datarootdir
='${prefix}/share'
924 datadir
='${datarootdir}'
925 sysconfdir
='${prefix}/etc'
926 sharedstatedir
='${prefix}/com'
927 localstatedir
='${prefix}/var'
928 includedir
='${prefix}/include'
929 oldincludedir
='/usr/include'
930 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
931 infodir
='${datarootdir}/info'
936 libdir
='${exec_prefix}/lib'
937 localedir
='${datarootdir}/locale'
938 mandir
='${datarootdir}/man'
944 # If the previous option needs an argument, assign it.
945 if test -n "$ac_prev"; then
946 eval $ac_prev=\
$ac_option
952 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
957 # Accept the important Cygnus configure options, so we can diagnose typos.
959 case $ac_dashdash$ac_option in
963 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
965 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
968 -build |
--build |
--buil |
--bui |
--bu)
969 ac_prev
=build_alias
;;
970 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
971 build_alias
=$ac_optarg ;;
973 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
974 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
975 ac_prev
=cache_file
;;
976 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
977 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
978 cache_file
=$ac_optarg ;;
981 cache_file
=config.cache
;;
983 -datadir |
--datadir |
--datadi |
--datad)
985 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
986 datadir
=$ac_optarg ;;
988 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
989 |
--dataroo |
--dataro |
--datar)
990 ac_prev
=datarootdir
;;
991 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
992 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
993 datarootdir
=$ac_optarg ;;
995 -disable-* |
--disable-*)
996 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
997 # Reject names that are not valid shell variable names.
998 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
999 as_fn_error $?
"invalid feature name: $ac_useropt"
1000 ac_useropt_orig
=$ac_useropt
1001 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1002 case $ac_user_opts in
1004 "enable_
$ac_useropt"
1006 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1007 ac_unrecognized_sep
=', ';;
1009 eval enable_
$ac_useropt=no
;;
1011 -docdir |
--docdir |
--docdi |
--doc |
--do)
1013 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1014 docdir
=$ac_optarg ;;
1016 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1018 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1019 dvidir
=$ac_optarg ;;
1021 -enable-* |
--enable-*)
1022 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1025 as_fn_error $?
"invalid feature name: $ac_useropt"
1026 ac_useropt_orig
=$ac_useropt
1027 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028 case $ac_user_opts in
1030 "enable_
$ac_useropt"
1032 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1033 ac_unrecognized_sep
=', ';;
1035 eval enable_
$ac_useropt=\
$ac_optarg ;;
1037 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1038 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1039 |
--exec |
--exe |
--ex)
1040 ac_prev
=exec_prefix
;;
1041 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1042 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1043 |
--exec=* |
--exe=* |
--ex=*)
1044 exec_prefix
=$ac_optarg ;;
1046 -gas |
--gas |
--ga |
--g)
1047 # Obsolete; use --with-gas.
1050 -help |
--help |
--hel |
--he |
-h)
1051 ac_init_help
=long
;;
1052 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1053 ac_init_help
=recursive
;;
1054 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1055 ac_init_help
=short
;;
1057 -host |
--host |
--hos |
--ho)
1058 ac_prev
=host_alias
;;
1059 -host=* |
--host=* |
--hos=* |
--ho=*)
1060 host_alias
=$ac_optarg ;;
1062 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1064 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1066 htmldir
=$ac_optarg ;;
1068 -includedir |
--includedir |
--includedi |
--included |
--include \
1069 |
--includ |
--inclu |
--incl |
--inc)
1070 ac_prev
=includedir
;;
1071 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1072 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1073 includedir
=$ac_optarg ;;
1075 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1077 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1078 infodir
=$ac_optarg ;;
1080 -libdir |
--libdir |
--libdi |
--libd)
1082 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1083 libdir
=$ac_optarg ;;
1085 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1086 |
--libexe |
--libex |
--libe)
1087 ac_prev
=libexecdir
;;
1088 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1089 |
--libexe=* |
--libex=* |
--libe=*)
1090 libexecdir
=$ac_optarg ;;
1092 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1093 ac_prev
=localedir
;;
1094 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1095 localedir
=$ac_optarg ;;
1097 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1098 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1099 ac_prev
=localstatedir
;;
1100 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1101 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1102 localstatedir
=$ac_optarg ;;
1104 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1106 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1107 mandir
=$ac_optarg ;;
1109 -nfp |
--nfp |
--nf)
1110 # Obsolete; use --without-fp.
1113 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1114 |
--no-cr |
--no-c |
-n)
1117 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1118 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1121 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1122 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1123 |
--oldin |
--oldi |
--old |
--ol |
--o)
1124 ac_prev
=oldincludedir
;;
1125 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1126 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1127 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1128 oldincludedir
=$ac_optarg ;;
1130 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1132 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1133 prefix
=$ac_optarg ;;
1135 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1136 |
--program-pre |
--program-pr |
--program-p)
1137 ac_prev
=program_prefix
;;
1138 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1139 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1140 program_prefix
=$ac_optarg ;;
1142 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1143 |
--program-suf |
--program-su |
--program-s)
1144 ac_prev
=program_suffix
;;
1145 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1146 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1147 program_suffix
=$ac_optarg ;;
1149 -program-transform-name |
--program-transform-name \
1150 |
--program-transform-nam |
--program-transform-na \
1151 |
--program-transform-n |
--program-transform- \
1152 |
--program-transform |
--program-transfor \
1153 |
--program-transfo |
--program-transf \
1154 |
--program-trans |
--program-tran \
1155 |
--progr-tra |
--program-tr |
--program-t)
1156 ac_prev
=program_transform_name
;;
1157 -program-transform-name=* |
--program-transform-name=* \
1158 |
--program-transform-nam=* |
--program-transform-na=* \
1159 |
--program-transform-n=* |
--program-transform-=* \
1160 |
--program-transform=* |
--program-transfor=* \
1161 |
--program-transfo=* |
--program-transf=* \
1162 |
--program-trans=* |
--program-tran=* \
1163 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1164 program_transform_name
=$ac_optarg ;;
1166 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1168 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1169 pdfdir
=$ac_optarg ;;
1171 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1173 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1176 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1177 |
-silent |
--silent |
--silen |
--sile |
--sil)
1180 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1182 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1184 sbindir
=$ac_optarg ;;
1186 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1187 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1188 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1190 ac_prev
=sharedstatedir
;;
1191 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1192 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1193 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1195 sharedstatedir
=$ac_optarg ;;
1197 -site |
--site |
--sit)
1199 -site=* |
--site=* |
--sit=*)
1202 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1204 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1205 srcdir
=$ac_optarg ;;
1207 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1208 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1209 ac_prev
=sysconfdir
;;
1210 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1211 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1212 sysconfdir
=$ac_optarg ;;
1214 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1215 ac_prev
=target_alias
;;
1216 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1217 target_alias
=$ac_optarg ;;
1219 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1222 -version |
--version |
--versio |
--versi |
--vers |
-V)
1223 ac_init_version
=: ;;
1226 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1227 # Reject names that are not valid shell variable names.
1228 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1229 as_fn_error $?
"invalid package name: $ac_useropt"
1230 ac_useropt_orig
=$ac_useropt
1231 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1232 case $ac_user_opts in
1236 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1237 ac_unrecognized_sep
=', ';;
1239 eval with_
$ac_useropt=\
$ac_optarg ;;
1241 -without-* |
--without-*)
1242 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1243 # Reject names that are not valid shell variable names.
1244 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1245 as_fn_error $?
"invalid package name: $ac_useropt"
1246 ac_useropt_orig
=$ac_useropt
1247 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1248 case $ac_user_opts in
1252 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1253 ac_unrecognized_sep
=', ';;
1255 eval with_
$ac_useropt=no
;;
1258 # Obsolete; use --with-x.
1261 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1262 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1263 ac_prev
=x_includes
;;
1264 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1265 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1266 x_includes
=$ac_optarg ;;
1268 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1269 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1270 ac_prev
=x_libraries
;;
1271 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1272 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1273 x_libraries
=$ac_optarg ;;
1275 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1276 Try \`$0 --help' for more information"
1280 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1281 # Reject names that are not valid shell variable names.
1282 case $ac_envvar in #(
1283 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1284 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1286 eval $ac_envvar=\
$ac_optarg
1287 export $ac_envvar ;;
1290 # FIXME: should be removed in autoconf 3.0.
1291 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1292 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1293 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1294 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1300 if test -n "$ac_prev"; then
1301 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1302 as_fn_error $?
"missing argument to $ac_option"
1305 if test -n "$ac_unrecognized_opts"; then
1306 case $enable_option_checking in
1308 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1309 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1313 # Check all directory arguments for consistency.
1314 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1315 datadir sysconfdir sharedstatedir localstatedir includedir \
1316 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1317 libdir localedir mandir
1319 eval ac_val
=\$
$ac_var
1320 # Remove trailing slashes.
1323 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1324 eval $ac_var=\
$ac_val;;
1326 # Be sure to have absolute directory names.
1328 [\\/$
]* | ?
:[\\/]* ) continue;;
1329 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1331 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1334 # There might be people who depend on the old broken behavior: `$host'
1335 # used to hold the argument of --host etc.
1336 # FIXME: To remove some day.
1339 target
=$target_alias
1341 # FIXME: To remove some day.
1342 if test "x$host_alias" != x
; then
1343 if test "x$build_alias" = x
; then
1344 cross_compiling
=maybe
1345 elif test "x$build_alias" != "x$host_alias"; then
1351 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1353 test "$silent" = yes && exec 6>/dev
/null
1356 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1357 ac_ls_di
=`ls -di .` &&
1358 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1359 as_fn_error $?
"working directory cannot be determined"
1360 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1361 as_fn_error $?
"pwd does not report name of working directory"
1364 # Find the source files, if location was not specified.
1365 if test -z "$srcdir"; then
1366 ac_srcdir_defaulted
=yes
1367 # Try the directory containing this script, then the parent directory.
1368 ac_confdir
=`$as_dirname -- "$as_myself" ||
1369 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1370 X"$as_myself" : 'X\(//\)[^/]' \| \
1371 X"$as_myself" : 'X\(//\)$' \| \
1372 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1373 $as_echo X"$as_myself" |
1374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1392 if test ! -r "$srcdir/$ac_unique_file"; then
1396 ac_srcdir_defaulted
=no
1398 if test ! -r "$srcdir/$ac_unique_file"; then
1399 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1400 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1402 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1404 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1406 # When building in place, set srcdir=.
1407 if test "$ac_abs_confdir" = "$ac_pwd"; then
1410 # Remove unnecessary trailing slashes from srcdir.
1411 # Double slashes in file names in object file debugging info
1412 # mess up M-x gdb in Emacs.
1414 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1416 for ac_var
in $ac_precious_vars; do
1417 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1418 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1419 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1420 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1424 # Report the --help message.
1426 if test "$ac_init_help" = "long"; then
1427 # Omit some internal or obsolete options to make the list less imposing.
1428 # This message is too long to be a string in the A/UX 3.1 sh.
1430 \`configure' configures Wine 1.5.30 to adapt to many kinds of systems.
1432 Usage: $0 [OPTION]... [VAR=VALUE]...
1434 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1435 VAR=VALUE. See below for descriptions of some of the useful variables.
1437 Defaults for the options are specified in brackets.
1440 -h, --help display this help and exit
1441 --help=short display options specific to this package
1442 --help=recursive display the short help of all the included packages
1443 -V, --version display version information and exit
1444 -q, --quiet, --silent do not print \`checking ...' messages
1445 --cache-file=FILE cache test results in FILE [disabled]
1446 -C, --config-cache alias for \`--cache-file=config.cache'
1447 -n, --no-create do not create output files
1448 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1450 Installation directories:
1451 --prefix=PREFIX install architecture-independent files in PREFIX
1452 [$ac_default_prefix]
1453 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1456 By default, \`make install' will install all the files in
1457 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1458 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1459 for instance \`--prefix=\$HOME'.
1461 For better control, use the options below.
1463 Fine tuning of the installation directories:
1464 --bindir=DIR user executables [EPREFIX/bin]
1465 --sbindir=DIR system admin executables [EPREFIX/sbin]
1466 --libexecdir=DIR program executables [EPREFIX/libexec]
1467 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1468 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1469 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1470 --libdir=DIR object code libraries [EPREFIX/lib]
1471 --includedir=DIR C header files [PREFIX/include]
1472 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1473 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1474 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1475 --infodir=DIR info documentation [DATAROOTDIR/info]
1476 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1477 --mandir=DIR man documentation [DATAROOTDIR/man]
1478 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1479 --htmldir=DIR html documentation [DOCDIR]
1480 --dvidir=DIR dvi documentation [DOCDIR]
1481 --pdfdir=DIR pdf documentation [DOCDIR]
1482 --psdir=DIR ps documentation [DOCDIR]
1488 --x-includes=DIR X include files are
in DIR
1489 --x-libraries=DIR X library files are
in DIR
1492 --build=BUILD configure
for building on BUILD
[guessed
]
1493 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1497 if test -n "$ac_init_help"; then
1498 case $ac_init_help in
1499 short | recursive
) echo "Configuration of Wine 1.5.30:";;
1504 --disable-option-checking ignore unrecognized
--enable/--with options
1505 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1506 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1507 --disable-win16 do not include Win16 support
1508 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1510 --disable-tests do not build the regression tests
1511 --enable-maintainer-mode
1512 enable maintainer-specific build rules
1513 --disable-largefile omit support for large files
1516 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1517 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1518 --without-alsa do not use the Alsa sound support
1519 --without-capi do not use CAPI (ISDN support)
1520 --without-cms do not use CMS (color management support)
1521 --without-coreaudio do not use the CoreAudio sound support
1522 --without-cups do not use CUPS
1523 --without-curses do not use (n)curses
1524 --without-dbus do not use DBus (dynamic device support)
1525 --without-fontconfig do not use fontconfig
1526 --without-freetype do not use the FreeType library
1527 --without-gettext do not use gettext
1528 --with-gettextpo use the GetTextPO library to rebuild po files
1529 --without-gphoto do not use gphoto (Digital Camera support)
1530 --without-glu do not use the GLU library
1531 --without-gnutls do not use GnuTLS (schannel support)
1532 --without-gsm do not use libgsm (GSM 06.10 codec support)
1533 --without-gstreamer do not use GStreamer (codecs support)
1534 --without-hal do not use HAL (dynamic device support)
1535 --without-jpeg do not use JPEG
1536 --without-ldap do not use LDAP
1537 --without-mpg123 do not use the mpg123 library
1538 --without-openal do not use OpenAL
1539 --without-opencl do not use OpenCL
1540 --without-opengl do not use OpenGL
1541 --without-osmesa do not use the OSMesa library
1542 --without-oss do not use the OSS sound support
1543 --without-png do not use PNG
1544 --without-pthread do not use the pthread library
1545 --without-sane do not use SANE (scanner support)
1546 --without-tiff do not use TIFF
1547 --without-v4l do not use v4l1 (v4l support)
1548 --without-xcomposite do not use the Xcomposite extension
1549 --without-xcursor do not use the Xcursor extension
1550 --without-xinerama do not use Xinerama (multi-monitor support)
1551 --without-xinput do not use the Xinput extension
1552 --without-xinput2 do not use the Xinput 2 extension
1553 --without-xml do not use XML
1554 --without-xrandr do not use Xrandr (resolution changes)
1555 --without-xrender do not use the Xrender extension
1556 --without-xshape do not use the Xshape extension
1557 --without-xshm do not use XShm (shared memory extension)
1558 --without-xslt do not use XSLT
1559 --without-xxf86vm do not use XFree video mode extension
1560 --without-zlib do not use Zlib (data compression)
1561 --with-wine-tools=DIR use Wine tools from directory DIR
1562 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1563 --with-x use the X Window System
1565 Some influential environment variables:
1566 CC C compiler command
1567 CFLAGS C compiler flags
1568 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1569 nonstandard directory <lib dir>
1570 LIBS libraries to pass to the linker, e.g. -l<library>
1571 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1572 you have headers in a nonstandard directory <include dir>
1573 CXX C++ compiler command
1574 CXXFLAGS C++ compiler flags
1576 XMKMF Path to xmkmf, Makefile generator for X Window System
1577 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
1578 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
1579 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
1580 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
1581 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
1582 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
1583 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
1584 HAL_LIBS Linker flags for hal, overriding pkg-config
1586 C compiler flags for gnutls, overriding pkg-config
1587 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
1588 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
1589 SANE_LIBS Linker flags for libsane, overriding pkg-config
1591 C compiler flags for libgphoto2, overriding pkg-config
1593 Linker flags for libgphoto2, overriding pkg-config
1595 C compiler flags for libgphoto2_port, overriding pkg-config
1597 Linker flags for libgphoto2_port, overriding pkg-config
1598 LCMS_CFLAGS C compiler flags for lcms, overriding pkg-config
1599 LCMS_LIBS Linker flags for lcms, overriding pkg-config
1601 C compiler flags for freetype2, overriding pkg-config
1603 Linker flags for freetype2, overriding pkg-config
1605 C compiler flags for gstreamer-app-0.10, overriding pkg-config
1607 Linker flags for gstreamer-app-0.10, overriding pkg-config
1608 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
1609 PNG_LIBS Linker flags for libpng, overriding pkg-config
1611 Use these variables to override the choices made by `configure' or to
help
1612 it to
find libraries and programs with nonstandard names
/locations.
1614 Report bugs to
<wine-devel@winehq.org
>.
1615 Wine home page
: <http
://www.winehq.org
>.
1620 if test "$ac_init_help" = "recursive"; then
1621 # If there are subdirs, report their specific --help.
1622 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1623 test -d "$ac_dir" ||
1624 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1629 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1631 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1632 # A ".." for each directory in $ac_dir_suffix.
1633 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1634 case $ac_top_builddir_sub in
1635 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1636 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1639 ac_abs_top_builddir
=$ac_pwd
1640 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1641 # for backward compatibility:
1642 ac_top_builddir
=$ac_top_build_prefix
1645 .
) # We are building in place.
1647 ac_top_srcdir
=$ac_top_builddir_sub
1648 ac_abs_top_srcdir
=$ac_pwd ;;
1649 [\\/]* | ?
:[\\/]* ) # Absolute name.
1650 ac_srcdir
=$srcdir$ac_dir_suffix;
1651 ac_top_srcdir
=$srcdir
1652 ac_abs_top_srcdir
=$srcdir ;;
1654 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1655 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1656 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1658 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1660 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1661 # Check for guested configure.
1662 if test -f "$ac_srcdir/configure.gnu"; then
1664 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1665 elif test -f "$ac_srcdir/configure"; then
1667 $SHELL "$ac_srcdir/configure" --help=recursive
1669 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1671 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1675 test -n "$ac_init_help" && exit $ac_status
1676 if $ac_init_version; then
1678 Wine configure
1.5.30
1679 generated by GNU Autoconf
2.69
1681 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1682 This configure
script is free software
; the Free Software Foundation
1683 gives unlimited permission to copy
, distribute and modify it.
1688 ## ------------------------ ##
1689 ## Autoconf initialization. ##
1690 ## ------------------------ ##
1692 # ac_fn_c_try_compile LINENO
1693 # --------------------------
1694 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1695 ac_fn_c_try_compile
()
1697 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1698 rm -f conftest.
$ac_objext
1699 if { { ac_try
="$ac_compile"
1701 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1702 *) ac_try_echo=$ac_try;;
1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706 (eval "$ac_compile") 2>conftest.err
1708 if test -s conftest.err; then
1709 grep -v '^ *+' conftest.err >conftest.er1
1710 cat conftest.er1 >&5
1711 mv -f conftest.er1 conftest.err
1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714 test $ac_status = 0; } && {
1715 test -z "$ac_c_werror_flag" ||
1716 test ! -s conftest.err
1717 } && test -s conftest.$ac_objext; then :
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1725 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726 as_fn_set_status $ac_retval
1728 } # ac_fn_c_try_compile
1730 # ac_fn_cxx_try_compile LINENO
1731 # ----------------------------
1732 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1733 ac_fn_cxx_try_compile ()
1735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736 rm -f conftest.$ac_objext
1737 if { { ac_try="$ac_compile"
1739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1740 *) ac_try_echo
=$ac_try;;
1742 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744 (eval "$ac_compile") 2>conftest.err
1746 if test -s conftest.err
; then
1747 grep -v '^ *+' conftest.err
>conftest.er1
1748 cat conftest.er1
>&5
1749 mv -f conftest.er1 conftest.err
1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752 test $ac_status = 0; } && {
1753 test -z "$ac_cxx_werror_flag" ||
1754 test ! -s conftest.err
1755 } && test -s conftest.
$ac_objext; then :
1758 $as_echo "$as_me: failed program was:" >&5
1759 sed 's/^/| /' conftest.
$ac_ext >&5
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764 as_fn_set_status
$ac_retval
1766 } # ac_fn_cxx_try_compile
1768 # ac_fn_c_try_link LINENO
1769 # -----------------------
1770 # Try to link conftest.$ac_ext, and return whether this succeeded.
1773 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1774 rm -f conftest.
$ac_objext conftest
$ac_exeext
1775 if { { ac_try
="$ac_link"
1777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1778 *) ac_try_echo=$ac_try;;
1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781 $as_echo "$ac_try_echo"; } >&5
1782 (eval "$ac_link") 2>conftest.err
1784 if test -s conftest.err; then
1785 grep -v '^ *+' conftest.err >conftest.er1
1786 cat conftest.er1 >&5
1787 mv -f conftest.er1 conftest.err
1789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790 test $ac_status = 0; } && {
1791 test -z "$ac_c_werror_flag" ||
1792 test ! -s conftest.err
1793 } && test -s conftest$ac_exeext && {
1794 test "$cross_compiling" = yes ||
1795 test -x conftest$ac_exeext
1799 $as_echo "$as_me: failed program was:" >&5
1800 sed 's/^/| /' conftest.$ac_ext >&5
1804 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1805 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1806 # interfere with the next link command; also delete a directory that is
1807 # left behind by Apple's compiler. We do this before executing the actions.
1808 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1809 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810 as_fn_set_status $ac_retval
1812 } # ac_fn_c_try_link
1814 # ac_fn_c_try_cpp LINENO
1815 # ----------------------
1816 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820 if { { ac_try="$ac_cpp conftest.$ac_ext"
1822 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1823 *) ac_try_echo
=$ac_try;;
1825 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1829 if test -s conftest.err
; then
1830 grep -v '^ *+' conftest.err
>conftest.er1
1831 cat conftest.er1
>&5
1832 mv -f conftest.er1 conftest.err
1834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1835 test $ac_status = 0; } > conftest.i
&& {
1836 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1837 test ! -s conftest.err
1841 $as_echo "$as_me: failed program was:" >&5
1842 sed 's/^/| /' conftest.
$ac_ext >&5
1846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1847 as_fn_set_status
$ac_retval
1851 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1852 # -------------------------------------------------------
1853 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1854 # the include files in INCLUDES and setting the cache variable VAR
1856 ac_fn_c_check_header_mongrel
()
1858 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1859 if eval \
${$3+:} false
; then :
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1861 $as_echo_n "checking for $2... " >&6; }
1862 if eval \
${$3+:} false
; then :
1863 $as_echo_n "(cached) " >&6
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1867 $as_echo "$ac_res" >&6; }
1869 # Is the header compilable?
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1871 $as_echo_n "checking $2 usability... " >&6; }
1872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1873 /* end confdefs.h. */
1877 if ac_fn_c_try_compile
"$LINENO"; then :
1878 ac_header_compiler
=yes
1880 ac_header_compiler
=no
1882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1884 $as_echo "$ac_header_compiler" >&6; }
1886 # Is the header present?
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1888 $as_echo_n "checking $2 presence... " >&6; }
1889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1890 /* end confdefs.h. */
1893 if ac_fn_c_try_cpp
"$LINENO"; then :
1894 ac_header_preproc
=yes
1896 ac_header_preproc
=no
1898 rm -f conftest.err conftest.i conftest.
$ac_ext
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1900 $as_echo "$ac_header_preproc" >&6; }
1902 # So? What about this header?
1903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1906 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1908 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1912 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1914 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1916 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1918 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1920 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1921 ( $as_echo "## ------------------------------------ ##
1922 ## Report this to wine-devel@winehq.org ##
1923 ## ------------------------------------ ##"
1924 ) |
sed "s/^/$as_me: WARNING: /" >&2
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1928 $as_echo_n "checking for $2... " >&6; }
1929 if eval \
${$3+:} false
; then :
1930 $as_echo_n "(cached) " >&6
1932 eval "$3=\$ac_header_compiler"
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1936 $as_echo "$ac_res" >&6; }
1938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940 } # ac_fn_c_check_header_mongrel
1942 # ac_fn_c_try_run LINENO
1943 # ----------------------
1944 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1945 # that executables *can* be run.
1948 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1949 if { { ac_try
="$ac_link"
1951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1952 *) ac_try_echo=$ac_try;;
1954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1955 $as_echo "$ac_try_echo"; } >&5
1956 (eval "$ac_link") 2>&5
1958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1959 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1960 { { case "(($ac_try" in
1961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1962 *) ac_try_echo
=$ac_try;;
1964 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1965 $as_echo "$ac_try_echo"; } >&5
1966 (eval "$ac_try") 2>&5
1968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1969 test $ac_status = 0; }; }; then :
1972 $as_echo "$as_me: program exited with status $ac_status" >&5
1973 $as_echo "$as_me: failed program was:" >&5
1974 sed 's/^/| /' conftest.
$ac_ext >&5
1976 ac_retval
=$ac_status
1978 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1979 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1980 as_fn_set_status
$ac_retval
1984 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1985 # -------------------------------------------------------
1986 # Tests whether HEADER exists and can be compiled using the include files in
1987 # INCLUDES, setting the cache variable VAR accordingly.
1988 ac_fn_c_check_header_compile
()
1990 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1992 $as_echo_n "checking for $2... " >&6; }
1993 if eval \
${$3+:} false
; then :
1994 $as_echo_n "(cached) " >&6
1996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1997 /* end confdefs.h. */
2001 if ac_fn_c_try_compile
"$LINENO"; then :
2006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2010 $as_echo "$ac_res" >&6; }
2011 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2013 } # ac_fn_c_check_header_compile
2015 # ac_fn_c_check_func LINENO FUNC VAR
2016 # ----------------------------------
2017 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2018 ac_fn_c_check_func
()
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. */
2028 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2030 #define $2 innocuous_$2
2032 /* System header to define __stub macros and hopefully few prototypes,
2033 which can conflict with char $2 (); below.
2034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2035 <limits.h> exists even on freestanding compilers. */
2038 # include <limits.h>
2040 # include <assert.h>
2045 /* Override any GCC internal prototype to avoid an error.
2046 Use char because int might match the return type of a GCC
2047 builtin and then its argument prototype would still apply. */
2052 /* The GNU C library defines this for functions which it implements
2053 to always fail with ENOSYS. Some functions are actually named
2054 something starting with __ and the normal name is an alias. */
2055 #if defined __stub_$2 || defined __stub___$2
2067 if ac_fn_c_try_link
"$LINENO"; then :
2072 rm -f core conftest.err conftest.
$ac_objext \
2073 conftest
$ac_exeext conftest.
$ac_ext
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2077 $as_echo "$ac_res" >&6; }
2078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2080 } # ac_fn_c_check_func
2082 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2083 # ----------------------------------------------------
2084 # Tries to find if the field MEMBER exists in type AGGR, after including
2085 # INCLUDES, setting cache variable VAR accordingly.
2086 ac_fn_c_check_member
()
2088 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2090 $as_echo_n "checking for $2.$3... " >&6; }
2091 if eval \
${$4+:} false
; then :
2092 $as_echo_n "(cached) " >&6
2094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h. */
2107 if ac_fn_c_try_compile
"$LINENO"; then :
2110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2111 /* end confdefs.h. */
2117 if (sizeof ac_aggr.$3)
2123 if ac_fn_c_try_compile
"$LINENO"; then :
2128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2134 $as_echo "$ac_res" >&6; }
2135 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2137 } # ac_fn_c_check_member
2139 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2140 # -------------------------------------------
2141 # Tests whether TYPE exists after having included INCLUDES, setting cache
2142 # variable VAR accordingly.
2143 ac_fn_c_check_type
()
2145 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2147 $as_echo_n "checking for $2... " >&6; }
2148 if eval \
${$3+:} false
; then :
2149 $as_echo_n "(cached) " >&6
2152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2153 /* end confdefs.h. */
2164 if ac_fn_c_try_compile
"$LINENO"; then :
2165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2166 /* end confdefs.h. */
2177 if ac_fn_c_try_compile
"$LINENO"; then :
2182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2188 $as_echo "$ac_res" >&6; }
2189 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2191 } # ac_fn_c_check_type
2192 cat >config.log
<<_ACEOF
2193 This file contains any messages produced by compilers while
2194 running configure, to aid debugging if configure makes a mistake.
2196 It was created by Wine $as_me 1.5.30, which was
2197 generated by GNU Autoconf 2.69. Invocation command line was
2209 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2210 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2211 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2212 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2213 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2215 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2216 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2218 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2219 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2220 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2221 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2222 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2223 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2224 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2232 test -z "$as_dir" && as_dir
=.
2233 $as_echo "PATH: $as_dir"
2249 # Keep a trace of the command line.
2250 # Strip out --no-create and --no-recursion so they do not pile up.
2251 # Strip out --silent because we don't want to record it for future runs.
2252 # Also quote any args containing shell meta-characters.
2253 # Make two passes to allow for proper duplicate-argument suppression.
2257 ac_must_keep_next
=false
2263 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2264 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2265 |
-silent |
--silent |
--silen |
--sile |
--sil)
2268 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2271 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2273 as_fn_append ac_configure_args1
" '$ac_arg'"
2274 if test $ac_must_keep_next = true
; then
2275 ac_must_keep_next
=false
# Got value, back to normal.
2278 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2279 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2280 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2281 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2282 case "$ac_configure_args0 " in
2283 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2286 -* ) ac_must_keep_next
=true
;;
2289 as_fn_append ac_configure_args
" '$ac_arg'"
2294 { ac_configure_args0
=; unset ac_configure_args0
;}
2295 { ac_configure_args1
=; unset ac_configure_args1
;}
2297 # When interrupted or exit'd, cleanup temporary files, and complete
2298 # config.log. We remove comments because anyway the quotes in there
2299 # would cause problems or look ugly.
2300 # WARNING: Use '\'' to represent an apostrophe within the trap.
2301 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2302 trap 'exit_status=$?
2303 # Save into config.log some information that might help in debugging.
2307 $as_echo "## ---------------- ##
2308 ## Cache variables. ##
2309 ## ---------------- ##"
2311 # The following way of writing the cache mishandles newlines in values,
2313 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2314 eval ac_val=\$$ac_var
2318 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2319 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2322 _ | IFS | as_nl) ;; #(
2323 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2324 *) { eval $ac_var=; unset $ac_var;} ;;
2329 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2330 *${as_nl}ac_space=\ *)
2332 "s/'\''/'\''\\\\'\'''\''/g;
2333 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2336 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2343 $as_echo "## ----------------- ##
2344 ## Output variables. ##
2345 ## ----------------- ##"
2347 for ac_var in $ac_subst_vars
2349 eval ac_val=\$$ac_var
2351 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2353 $as_echo "$ac_var='\''$ac_val'\''"
2357 if test -n "$ac_subst_files"; then
2358 $as_echo "## ------------------- ##
2359 ## File substitutions. ##
2360 ## ------------------- ##"
2362 for ac_var
in $ac_subst_files
2364 eval ac_val
=\$
$ac_var
2366 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2368 $as_echo "$ac_var='\''$ac_val'\''"
2373 if test -s confdefs.h; then
2374 $as_echo "## ----------- ##
2381 test "$ac_signal" != 0 &&
2382 $as_echo "$as_me: caught signal $ac_signal"
2383 $as_echo "$as_me: exit $exit_status"
2385 rm -f core *.core core.conftest.* &&
2386 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2389 for ac_signal
in 1 2 13 15; do
2390 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2394 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2395 rm -f -r conftest
* confdefs.h
2397 $as_echo "/* confdefs.h */" > confdefs.h
2399 # Predefined preprocessor variables.
2401 cat >>confdefs.h
<<_ACEOF
2402 #define PACKAGE_NAME "$PACKAGE_NAME"
2405 cat >>confdefs.h
<<_ACEOF
2406 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2409 cat >>confdefs.h
<<_ACEOF
2410 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2413 cat >>confdefs.h
<<_ACEOF
2414 #define PACKAGE_STRING "$PACKAGE_STRING"
2417 cat >>confdefs.h
<<_ACEOF
2418 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2421 cat >>confdefs.h
<<_ACEOF
2422 #define PACKAGE_URL "$PACKAGE_URL"
2426 # Let the site file select an alternate cache file if it wants to.
2427 # Prefer an explicitly selected file to automatically selected ones.
2430 if test -n "$CONFIG_SITE"; then
2431 # We do not want a PATH search for config.site.
2432 case $CONFIG_SITE in #((
2433 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2434 */*) ac_site_file1
=$CONFIG_SITE;;
2435 *) ac_site_file1
=.
/$CONFIG_SITE;;
2437 elif test "x$prefix" != xNONE
; then
2438 ac_site_file1
=$prefix/share
/config.site
2439 ac_site_file2
=$prefix/etc
/config.site
2441 ac_site_file1
=$ac_default_prefix/share
/config.site
2442 ac_site_file2
=$ac_default_prefix/etc
/config.site
2444 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2446 test "x$ac_site_file" = xNONE
&& continue
2447 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2449 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2450 sed 's/^/| /' "$ac_site_file" >&5
2452 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2454 as_fn_error $?
"failed to load site script $ac_site_file
2455 See \`config.log' for more details" "$LINENO" 5; }
2459 if test -r "$cache_file"; then
2460 # Some versions of bash will fail to source /dev/null (special files
2461 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2462 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2464 $as_echo "$as_me: loading cache $cache_file" >&6;}
2466 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2467 *) .
"./$cache_file";;
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2472 $as_echo "$as_me: creating cache $cache_file" >&6;}
2476 # Check that the precious variables saved in the cache have kept the same
2478 ac_cache_corrupted
=false
2479 for ac_var
in $ac_precious_vars; do
2480 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2481 eval ac_new_set
=\
$ac_env_${ac_var}_set
2482 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2483 eval ac_new_val
=\
$ac_env_${ac_var}_value
2484 case $ac_old_set,$ac_new_set in
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2487 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2488 ac_cache_corrupted
=: ;;
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2491 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2492 ac_cache_corrupted
=: ;;
2495 if test "x$ac_old_val" != "x$ac_new_val"; then
2496 # differences in whitespace do not lead to failure.
2497 ac_old_val_w
=`echo x $ac_old_val`
2498 ac_new_val_w
=`echo x $ac_new_val`
2499 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2501 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2502 ac_cache_corrupted
=:
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2505 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2506 eval $ac_var=\
$ac_old_val
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2509 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2511 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2514 # Pass precious variables to config.status.
2515 if test "$ac_new_set" = set; then
2517 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2518 *) ac_arg
=$ac_var=$ac_new_val ;;
2520 case " $ac_configure_args " in
2521 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2522 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2526 if $ac_cache_corrupted; then
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2530 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2531 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2533 ## -------------------- ##
2534 ## Main body of script. ##
2535 ## -------------------- ##
2538 ac_cpp
='$CPP $CPPFLAGS'
2539 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2540 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2541 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2545 ac_config_headers
="$ac_config_headers include/config.h"
2548 for ac_dir
in tools
"$srcdir"/tools
; do
2549 if test -f "$ac_dir/install-sh"; then
2551 ac_install_sh
="$ac_aux_dir/install-sh -c"
2553 elif test -f "$ac_dir/install.sh"; then
2555 ac_install_sh
="$ac_aux_dir/install.sh -c"
2557 elif test -f "$ac_dir/shtool"; then
2559 ac_install_sh
="$ac_aux_dir/shtool install -c"
2563 if test -z "$ac_aux_dir"; then
2564 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2567 # These three variables are undocumented and unsupported,
2568 # and are intended to be withdrawn in a future Autoconf release.
2569 # They can cause serious problems if a builder's source tree is in a directory
2570 # whose full name contains unusual characters.
2571 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2572 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2573 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2579 # Check whether --enable-win16 was given.
2580 if test "${enable_win16+set}" = set; then :
2581 enableval
=$enable_win16;
2584 # Check whether --enable-win64 was given.
2585 if test "${enable_win64+set}" = set; then :
2586 enableval
=$enable_win64;
2589 # Check whether --enable-tests was given.
2590 if test "${enable_tests+set}" = set; then :
2591 enableval
=$enable_tests;
2594 # Check whether --enable-maintainer-mode was given.
2595 if test "${enable_maintainer_mode+set}" = set; then :
2596 enableval
=$enable_maintainer_mode;
2601 # Check whether --with-alsa was given.
2602 if test "${with_alsa+set}" = set; then :
2603 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2607 # Check whether --with-capi was given.
2608 if test "${with_capi+set}" = set; then :
2609 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2613 # Check whether --with-cms was given.
2614 if test "${with_cms+set}" = set; then :
2619 # Check whether --with-coreaudio was given.
2620 if test "${with_coreaudio+set}" = set; then :
2621 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2625 # Check whether --with-cups was given.
2626 if test "${with_cups+set}" = set; then :
2631 # Check whether --with-curses was given.
2632 if test "${with_curses+set}" = set; then :
2633 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2637 # Check whether --with-dbus was given.
2638 if test "${with_dbus+set}" = set; then :
2643 # Check whether --with-fontconfig was given.
2644 if test "${with_fontconfig+set}" = set; then :
2645 withval
=$with_fontconfig;
2649 # Check whether --with-freetype was given.
2650 if test "${with_freetype+set}" = set; then :
2651 withval
=$with_freetype;
2655 # Check whether --with-gettext was given.
2656 if test "${with_gettext+set}" = set; then :
2657 withval
=$with_gettext;
2661 # Check whether --with-gettextpo was given.
2662 if test "${with_gettextpo+set}" = set; then :
2663 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
2667 # Check whether --with-gphoto was given.
2668 if test "${with_gphoto+set}" = set; then :
2669 withval
=$with_gphoto;
2673 # Check whether --with-glu was given.
2674 if test "${with_glu+set}" = set; then :
2679 # Check whether --with-gnutls was given.
2680 if test "${with_gnutls+set}" = set; then :
2681 withval
=$with_gnutls;
2685 # Check whether --with-gsm was given.
2686 if test "${with_gsm+set}" = set; then :
2687 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2691 # Check whether --with-gstreamer was given.
2692 if test "${with_gstreamer+set}" = set; then :
2693 withval
=$with_gstreamer;
2697 # Check whether --with-hal was given.
2698 if test "${with_hal+set}" = set; then :
2703 # Check whether --with-jpeg was given.
2704 if test "${with_jpeg+set}" = set; then :
2705 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2709 # Check whether --with-ldap was given.
2710 if test "${with_ldap+set}" = set; then :
2711 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2715 # Check whether --with-mpg123 was given.
2716 if test "${with_mpg123+set}" = set; then :
2717 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2721 # Check whether --with-openal was given.
2722 if test "${with_openal+set}" = set; then :
2723 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2727 # Check whether --with-opencl was given.
2728 if test "${with_opencl+set}" = set; then :
2729 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
2733 # Check whether --with-opengl was given.
2734 if test "${with_opengl+set}" = set; then :
2735 withval
=$with_opengl;
2739 # Check whether --with-osmesa was given.
2740 if test "${with_osmesa+set}" = set; then :
2741 withval
=$with_osmesa;
2745 # Check whether --with-oss was given.
2746 if test "${with_oss+set}" = set; then :
2751 # Check whether --with-png was given.
2752 if test "${with_png+set}" = set; then :
2757 # Check whether --with-pthread was given.
2758 if test "${with_pthread+set}" = set; then :
2759 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2763 # Check whether --with-sane was given.
2764 if test "${with_sane+set}" = set; then :
2769 # Check whether --with-tiff was given.
2770 if test "${with_tiff+set}" = set; then :
2771 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2775 # Check whether --with-v4l was given.
2776 if test "${with_v4l+set}" = set; then :
2781 # Check whether --with-xcomposite was given.
2782 if test "${with_xcomposite+set}" = set; then :
2783 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2787 # Check whether --with-xcursor was given.
2788 if test "${with_xcursor+set}" = set; then :
2789 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2793 # Check whether --with-xinerama was given.
2794 if test "${with_xinerama+set}" = set; then :
2795 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2799 # Check whether --with-xinput was given.
2800 if test "${with_xinput+set}" = set; then :
2801 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2805 # Check whether --with-xinput2 was given.
2806 if test "${with_xinput2+set}" = set; then :
2807 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
2811 # Check whether --with-xml was given.
2812 if test "${with_xml+set}" = set; then :
2817 # Check whether --with-xrandr was given.
2818 if test "${with_xrandr+set}" = set; then :
2819 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2823 # Check whether --with-xrender was given.
2824 if test "${with_xrender+set}" = set; then :
2825 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2829 # Check whether --with-xshape was given.
2830 if test "${with_xshape+set}" = set; then :
2831 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2835 # Check whether --with-xshm was given.
2836 if test "${with_xshm+set}" = set; then :
2837 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2841 # Check whether --with-xslt was given.
2842 if test "${with_xslt+set}" = set; then :
2847 # Check whether --with-xxf86vm was given.
2848 if test "${with_xxf86vm+set}" = set; then :
2849 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
2853 # Check whether --with-zlib was given.
2854 if test "${with_zlib+set}" = set; then :
2855 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
2860 # Check whether --with-wine-tools was given.
2861 if test "${with_wine_tools+set}" = set; then :
2862 withval
=$with_wine_tools;
2866 # Check whether --with-wine64 was given.
2867 if test "${with_wine64+set}" = set; then :
2868 withval
=$with_wine64;
2872 # Make sure we can run config.sub.
2873 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2874 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2877 $as_echo_n "checking build system type... " >&6; }
2878 if ${ac_cv_build+:} false
; then :
2879 $as_echo_n "(cached) " >&6
2881 ac_build_alias
=$build_alias
2882 test "x$ac_build_alias" = x
&&
2883 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2884 test "x$ac_build_alias" = x
&&
2885 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2886 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2887 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2891 $as_echo "$ac_cv_build" >&6; }
2892 case $ac_cv_build in
2894 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2897 ac_save_IFS
=$IFS; IFS
='-'
2903 # Remember, the first character of IFS is used to create $*,
2904 # except with old shells:
2907 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2911 $as_echo_n "checking host system type... " >&6; }
2912 if ${ac_cv_host+:} false
; then :
2913 $as_echo_n "(cached) " >&6
2915 if test "x$host_alias" = x
; then
2916 ac_cv_host
=$ac_cv_build
2918 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2919 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2924 $as_echo "$ac_cv_host" >&6; }
2927 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2930 ac_save_IFS
=$IFS; IFS
='-'
2936 # Remember, the first character of IFS is used to create $*,
2937 # except with old shells:
2940 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2946 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2947 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2948 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2954 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2956 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2957 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2958 $as_echo_n "(cached) " >&6
2960 cat >conftest.
make <<\_ACEOF
2963 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2965 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2966 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2968 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2970 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2974 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2976 $as_echo "yes" >&6; }
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2980 $as_echo "no" >&6; }
2981 SET_MAKE
="MAKE=${MAKE-make}"
2985 ac_cpp
='$CPP $CPPFLAGS'
2986 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2987 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2988 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2989 if test -n "$ac_tool_prefix"; then
2990 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2991 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2993 $as_echo_n "checking for $ac_word... " >&6; }
2994 if ${ac_cv_prog_CC+:} false
; then :
2995 $as_echo_n "(cached) " >&6
2997 if test -n "$CC"; then
2998 ac_cv_prog_CC
="$CC" # Let the user override the test.
3000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3004 test -z "$as_dir" && as_dir
=.
3005 for ac_exec_ext
in '' $ac_executable_extensions; do
3006 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3007 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3018 if test -n "$CC"; then
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3020 $as_echo "$CC" >&6; }
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3023 $as_echo "no" >&6; }
3028 if test -z "$ac_cv_prog_CC"; then
3030 # Extract the first word of "gcc", so it can be a program name with args.
3031 set dummy gcc
; ac_word
=$2
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3033 $as_echo_n "checking for $ac_word... " >&6; }
3034 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3035 $as_echo_n "(cached) " >&6
3037 if test -n "$ac_ct_CC"; then
3038 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3044 test -z "$as_dir" && as_dir
=.
3045 for ac_exec_ext
in '' $ac_executable_extensions; do
3046 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3047 ac_cv_prog_ac_ct_CC
="gcc"
3048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3057 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3058 if test -n "$ac_ct_CC"; then
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3060 $as_echo "$ac_ct_CC" >&6; }
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3063 $as_echo "no" >&6; }
3066 if test "x$ac_ct_CC" = x
; then
3069 case $cross_compiling:$ac_tool_warned in
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3073 ac_tool_warned
=yes ;;
3081 if test -z "$CC"; then
3082 if test -n "$ac_tool_prefix"; then
3083 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3084 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3086 $as_echo_n "checking for $ac_word... " >&6; }
3087 if ${ac_cv_prog_CC+:} false
; then :
3088 $as_echo_n "(cached) " >&6
3090 if test -n "$CC"; then
3091 ac_cv_prog_CC
="$CC" # Let the user override the test.
3093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3097 test -z "$as_dir" && as_dir
=.
3098 for ac_exec_ext
in '' $ac_executable_extensions; do
3099 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3100 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3111 if test -n "$CC"; then
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3113 $as_echo "$CC" >&6; }
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3116 $as_echo "no" >&6; }
3122 if test -z "$CC"; then
3123 # Extract the first word of "cc", so it can be a program name with args.
3124 set dummy cc
; ac_word
=$2
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3126 $as_echo_n "checking for $ac_word... " >&6; }
3127 if ${ac_cv_prog_CC+:} false
; then :
3128 $as_echo_n "(cached) " >&6
3130 if test -n "$CC"; then
3131 ac_cv_prog_CC
="$CC" # Let the user override the test.
3134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3138 test -z "$as_dir" && as_dir
=.
3139 for ac_exec_ext
in '' $ac_executable_extensions; do
3140 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3141 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3142 ac_prog_rejected
=yes
3146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3153 if test $ac_prog_rejected = yes; then
3154 # We found a bogon in the path, so make sure we never use it.
3155 set dummy
$ac_cv_prog_CC
3157 if test $# != 0; then
3158 # We chose a different compiler from the bogus one.
3159 # However, it has the same basename, so the bogon will be chosen
3160 # first if we set CC to just the basename; use the full file name.
3162 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3168 if test -n "$CC"; then
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3170 $as_echo "$CC" >&6; }
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3173 $as_echo "no" >&6; }
3178 if test -z "$CC"; then
3179 if test -n "$ac_tool_prefix"; then
3180 for ac_prog
in cl.exe
3182 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3183 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3185 $as_echo_n "checking for $ac_word... " >&6; }
3186 if ${ac_cv_prog_CC+:} false
; then :
3187 $as_echo_n "(cached) " >&6
3189 if test -n "$CC"; then
3190 ac_cv_prog_CC
="$CC" # Let the user override the test.
3192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3196 test -z "$as_dir" && as_dir
=.
3197 for ac_exec_ext
in '' $ac_executable_extensions; do
3198 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3199 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3210 if test -n "$CC"; then
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3212 $as_echo "$CC" >&6; }
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3215 $as_echo "no" >&6; }
3219 test -n "$CC" && break
3222 if test -z "$CC"; then
3224 for ac_prog
in cl.exe
3226 # Extract the first word of "$ac_prog", so it can be a program name with args.
3227 set dummy
$ac_prog; ac_word
=$2
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3229 $as_echo_n "checking for $ac_word... " >&6; }
3230 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3231 $as_echo_n "(cached) " >&6
3233 if test -n "$ac_ct_CC"; then
3234 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3240 test -z "$as_dir" && as_dir
=.
3241 for ac_exec_ext
in '' $ac_executable_extensions; do
3242 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3243 ac_cv_prog_ac_ct_CC
="$ac_prog"
3244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3253 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3254 if test -n "$ac_ct_CC"; then
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3256 $as_echo "$ac_ct_CC" >&6; }
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259 $as_echo "no" >&6; }
3263 test -n "$ac_ct_CC" && break
3266 if test "x$ac_ct_CC" = x
; then
3269 case $cross_compiling:$ac_tool_warned in
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3273 ac_tool_warned
=yes ;;
3282 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3284 as_fn_error $?
"no acceptable C compiler found in \$PATH
3285 See \`config.log' for more details" "$LINENO" 5; }
3287 # Provide some information about the compiler.
3288 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3291 for ac_option
in --version -v -V -qversion; do
3292 { { ac_try
="$ac_compiler $ac_option >&5"
3294 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3295 *) ac_try_echo=$ac_try;;
3297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3298 $as_echo "$ac_try_echo"; } >&5
3299 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3301 if test -s conftest.err; then
3303 ... rest of stderr output deleted ...
3304 10q' conftest.err >conftest.er1
3305 cat conftest.er1 >&5
3307 rm -f conftest.er1 conftest.err
3308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3309 test $ac_status = 0; }
3312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3313 /* end confdefs.h. */
3323 ac_clean_files_save=$ac_clean_files
3324 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3325 # Try to create an executable without -o first, disregard a.out.
3326 # It will help us diagnose broken compilers, and finding out an intuition
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3329 $as_echo_n "checking whether the C compiler works... " >&6; }
3330 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3332 # The possible output files:
3333 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3336 for ac_file in $ac_files
3339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3340 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3345 if { { ac_try="$ac_link_default"
3347 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3348 *) ac_try_echo
=$ac_try;;
3350 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3351 $as_echo "$ac_try_echo"; } >&5
3352 (eval "$ac_link_default") 2>&5
3354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3355 test $ac_status = 0; }; then :
3356 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3357 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3358 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3359 # so that the user can short-circuit this test for compilers unknown to
3361 for ac_file
in $ac_files ''
3363 test -f "$ac_file" ||
continue
3365 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3368 # We found the default executable, but exeext='' is most
3372 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3374 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3376 # We set ac_cv_exeext here because the later test for it is not
3377 # safe: cross compilers may not add the suffix if given an `-o'
3378 # argument, so we may need to know it at that point already.
3379 # Even if this section looks crufty: it has the advantage of
3386 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3391 if test -z "$ac_file"; then :
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3393 $as_echo "no" >&6; }
3394 $as_echo "$as_me: failed program was:" >&5
3395 sed 's/^/| /' conftest.
$ac_ext >&5
3397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3399 as_fn_error
77 "C compiler cannot create executables
3400 See \`config.log' for more details" "$LINENO" 5; }
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3403 $as_echo "yes" >&6; }
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3406 $as_echo_n "checking for C compiler default output file name... " >&6; }
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3408 $as_echo "$ac_file" >&6; }
3409 ac_exeext
=$ac_cv_exeext
3411 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3412 ac_clean_files
=$ac_clean_files_save
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3414 $as_echo_n "checking for suffix of executables... " >&6; }
3415 if { { ac_try
="$ac_link"
3417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3418 *) ac_try_echo=$ac_try;;
3420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3421 $as_echo "$ac_try_echo"; } >&5
3422 (eval "$ac_link") 2>&5
3424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3425 test $ac_status = 0; }; then :
3426 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3427 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3428 # work properly (i.e., refer to `conftest.exe'), while it won't with
3430 for ac_file
in conftest.exe conftest conftest.
*; do
3431 test -f "$ac_file" ||
continue
3433 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3434 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3442 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3443 See \`config.log' for more details" "$LINENO" 5; }
3445 rm -f conftest conftest
$ac_cv_exeext
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3447 $as_echo "$ac_cv_exeext" >&6; }
3449 rm -f conftest.
$ac_ext
3450 EXEEXT
=$ac_cv_exeext
3452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3453 /* end confdefs.h. */
3458 FILE *f = fopen ("conftest.out", "w");
3459 return ferror (f) || fclose (f) != 0;
3465 ac_clean_files
="$ac_clean_files conftest.out"
3466 # Check that the compiler produces executables we can run. If not, either
3467 # the compiler is broken, or we cross compile.
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3469 $as_echo_n "checking whether we are cross compiling... " >&6; }
3470 if test "$cross_compiling" != yes; then
3471 { { ac_try
="$ac_link"
3473 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3474 *) ac_try_echo=$ac_try;;
3476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3477 $as_echo "$ac_try_echo"; } >&5
3478 (eval "$ac_link") 2>&5
3480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3481 test $ac_status = 0; }
3482 if { ac_try='./conftest$ac_cv_exeext'
3483 { { case "(($ac_try" in
3484 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3485 *) ac_try_echo
=$ac_try;;
3487 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3488 $as_echo "$ac_try_echo"; } >&5
3489 (eval "$ac_try") 2>&5
3491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3492 test $ac_status = 0; }; }; then
3495 if test "$cross_compiling" = maybe
; then
3498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3500 as_fn_error $?
"cannot run C compiled programs.
3501 If you meant to cross compile, use \`--host'.
3502 See \`config.log' for more details" "$LINENO" 5; }
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3507 $as_echo "$cross_compiling" >&6; }
3509 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3510 ac_clean_files
=$ac_clean_files_save
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3512 $as_echo_n "checking for suffix of object files... " >&6; }
3513 if ${ac_cv_objext+:} false
; then :
3514 $as_echo_n "(cached) " >&6
3516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3517 /* end confdefs.h. */
3527 rm -f conftest.o conftest.obj
3528 if { { ac_try
="$ac_compile"
3530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3531 *) ac_try_echo=$ac_try;;
3533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3534 $as_echo "$ac_try_echo"; } >&5
3535 (eval "$ac_compile") 2>&5
3537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3538 test $ac_status = 0; }; then :
3539 for ac_file in conftest.o conftest.obj conftest.*; do
3540 test -f "$ac_file" || continue;
3542 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3543 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3548 $as_echo "$as_me: failed program was:" >&5
3549 sed 's/^/| /' conftest.$ac_ext >&5
3551 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3553 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3554 See \
`config.log' for more details" "$LINENO" 5; }
3556 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3559 $as_echo "$ac_cv_objext" >&6; }
3560 OBJEXT=$ac_cv_objext
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3563 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3564 if ${ac_cv_c_compiler_gnu+:} false; then :
3565 $as_echo_n "(cached) " >&6
3567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3568 /* end confdefs.h. */
3581 if ac_fn_c_try_compile "$LINENO"; then :
3586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3587 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3591 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3592 if test $ac_compiler_gnu = yes; then
3597 ac_test_CFLAGS=${CFLAGS+set}
3598 ac_save_CFLAGS=$CFLAGS
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3600 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3601 if ${ac_cv_prog_cc_g+:} false; then :
3602 $as_echo_n "(cached) " >&6
3604 ac_save_c_werror_flag=$ac_c_werror_flag
3605 ac_c_werror_flag=yes
3608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3609 /* end confdefs.h. */
3619 if ac_fn_c_try_compile "$LINENO"; then :
3623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3624 /* end confdefs.h. */
3634 if ac_fn_c_try_compile "$LINENO"; then :
3637 ac_c_werror_flag=$ac_save_c_werror_flag
3639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3640 /* end confdefs.h. */
3650 if ac_fn_c_try_compile "$LINENO"; then :
3653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3658 ac_c_werror_flag=$ac_save_c_werror_flag
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3661 $as_echo "$ac_cv_prog_cc_g" >&6; }
3662 if test "$ac_test_CFLAGS" = set; then
3663 CFLAGS=$ac_save_CFLAGS
3664 elif test $ac_cv_prog_cc_g = yes; then
3665 if test "$GCC" = yes; then
3671 if test "$GCC" = yes; then
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3678 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3679 if ${ac_cv_prog_cc_c89+:} false; then :
3680 $as_echo_n "(cached) " >&6
3682 ac_cv_prog_cc_c89=no
3684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3685 /* end confdefs.h. */
3689 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3690 struct buf { int x; };
3691 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3692 static char *e (p, i)
3698 static char *f (char * (*g) (char **, int), char **p, ...)
3703 s = g (p, va_arg (v,int));
3708 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3709 function prototypes and stuff, but not '\xHH' hex character constants.
3710 These don't provoke an error unfortunately, instead are silently treated
3711 as 'x'. The following induces an error, until -std is added to get
3712 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3713 array size at least. It's necessary to write '\x00'==0 to get something
3714 that's true only with -std. */
3715 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3717 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3718 inside strings and character constants. */
3720 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3722 int test (int i, double x);
3723 struct s1 {int (*f) (int a);};
3724 struct s2 {int (*f) (double a);};
3725 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3731 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3736 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3737 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3739 CC="$ac_save_CC $ac_arg"
3740 if ac_fn_c_try_compile "$LINENO"; then :
3741 ac_cv_prog_cc_c89=$ac_arg
3743 rm -f core conftest.err conftest.$ac_objext
3744 test "x$ac_cv_prog_cc_c89" != "xno" && break
3746 rm -f conftest.$ac_ext
3751 case "x$ac_cv_prog_cc_c89" in
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3754 $as_echo "none needed" >&6; } ;;
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3757 $as_echo "unsupported" >&6; } ;;
3759 CC="$CC $ac_cv_prog_cc_c89"
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3761 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3763 if test "x$ac_cv_prog_cc_c89" != xno; then :
3768 ac_cpp='$CPP $CPPFLAGS'
3769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3774 ac_cpp='$CXXCPP $CPPFLAGS'
3775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3778 if test -z "$CXX"; then
3779 if test -n "$CCC"; then
3782 if test -n "$ac_tool_prefix"; then
3783 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3785 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3786 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3788 $as_echo_n "checking for $ac_word... " >&6; }
3789 if ${ac_cv_prog_CXX+:} false; then :
3790 $as_echo_n "(cached) " >&6
3792 if test -n "$CXX"; then
3793 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3799 test -z "$as_dir" && as_dir=.
3800 for ac_exec_ext in '' $ac_executable_extensions; do
3801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3802 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3813 if test -n "$CXX"; then
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3815 $as_echo "$CXX" >&6; }
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3818 $as_echo "no" >&6; }
3822 test -n "$CXX" && break
3825 if test -z "$CXX"; then
3827 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3829 # Extract the first word of "$ac_prog", so it can be a program name with args.
3830 set dummy $ac_prog; ac_word=$2
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3832 $as_echo_n "checking for $ac_word... " >&6; }
3833 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3834 $as_echo_n "(cached) " >&6
3836 if test -n "$ac_ct_CXX"; then
3837 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843 test -z "$as_dir" && as_dir=.
3844 for ac_exec_ext in '' $ac_executable_extensions; do
3845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3846 ac_cv_prog_ac_ct_CXX="$ac_prog"
3847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3856 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3857 if test -n "$ac_ct_CXX"; then
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3859 $as_echo "$ac_ct_CXX" >&6; }
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862 $as_echo "no" >&6; }
3866 test -n "$ac_ct_CXX" && break
3869 if test "x$ac_ct_CXX" = x; then
3872 case $cross_compiling:$ac_tool_warned in
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3876 ac_tool_warned=yes ;;
3884 # Provide some information about the compiler.
3885 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3888 for ac_option in --version -v -V -qversion; do
3889 { { ac_try="$ac_compiler $ac_option >&5"
3891 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3892 *) ac_try_echo
=$ac_try;;
3894 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3895 $as_echo "$ac_try_echo"; } >&5
3896 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3898 if test -s conftest.err
; then
3900 ... rest of stderr output deleted ...
3901 10q' conftest.err
>conftest.er1
3902 cat conftest.er1
>&5
3904 rm -f conftest.er1 conftest.err
3905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3906 test $ac_status = 0; }
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3910 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3911 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3912 $as_echo_n "(cached) " >&6
3914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3928 if ac_fn_cxx_try_compile
"$LINENO"; then :
3933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3934 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3938 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3939 if test $ac_compiler_gnu = yes; then
3944 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3945 ac_save_CXXFLAGS
=$CXXFLAGS
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3947 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3948 if ${ac_cv_prog_cxx_g+:} false
; then :
3949 $as_echo_n "(cached) " >&6
3951 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3952 ac_cxx_werror_flag
=yes
3955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h. */
3966 if ac_fn_cxx_try_compile
"$LINENO"; then :
3967 ac_cv_prog_cxx_g
=yes
3970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3971 /* end confdefs.h. */
3981 if ac_fn_cxx_try_compile
"$LINENO"; then :
3984 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3987 /* end confdefs.h. */
3997 if ac_fn_cxx_try_compile
"$LINENO"; then :
3998 ac_cv_prog_cxx_g
=yes
4000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4005 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4008 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4009 if test "$ac_test_CXXFLAGS" = set; then
4010 CXXFLAGS
=$ac_save_CXXFLAGS
4011 elif test $ac_cv_prog_cxx_g = yes; then
4012 if test "$GXX" = yes; then
4018 if test "$GXX" = yes; then
4025 ac_cpp
='$CPP $CPPFLAGS'
4026 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4027 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4028 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4030 if test -n "$ac_tool_prefix"; then
4031 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4032 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4034 $as_echo_n "checking for $ac_word... " >&6; }
4035 if ${ac_cv_prog_CPPBIN+:} false
; then :
4036 $as_echo_n "(cached) " >&6
4038 if test -n "$CPPBIN"; then
4039 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4045 test -z "$as_dir" && as_dir
=.
4046 for ac_exec_ext
in '' $ac_executable_extensions; do
4047 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4048 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4058 CPPBIN
=$ac_cv_prog_CPPBIN
4059 if test -n "$CPPBIN"; then
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4061 $as_echo "$CPPBIN" >&6; }
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4064 $as_echo "no" >&6; }
4069 if test -z "$ac_cv_prog_CPPBIN"; then
4070 ac_ct_CPPBIN
=$CPPBIN
4071 # Extract the first word of "cpp", so it can be a program name with args.
4072 set dummy cpp
; ac_word
=$2
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4074 $as_echo_n "checking for $ac_word... " >&6; }
4075 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4076 $as_echo_n "(cached) " >&6
4078 if test -n "$ac_ct_CPPBIN"; then
4079 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4085 test -z "$as_dir" && as_dir
=.
4086 for ac_exec_ext
in '' $ac_executable_extensions; do
4087 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4088 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4098 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4099 if test -n "$ac_ct_CPPBIN"; then
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4101 $as_echo "$ac_ct_CPPBIN" >&6; }
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4104 $as_echo "no" >&6; }
4107 if test "x$ac_ct_CPPBIN" = x
; then
4110 case $cross_compiling:$ac_tool_warned in
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4114 ac_tool_warned
=yes ;;
4116 CPPBIN
=$ac_ct_CPPBIN
4119 CPPBIN
="$ac_cv_prog_CPPBIN"
4123 cat >>confdefs.h
<<_ACEOF
4124 #define EXEEXT "$ac_exeext"
4130 if test "x$enable_win64" = "xyes"
4135 notice_platform
="64-bit "
4142 notice_platform
="32-bit "
4145 enable_win16
=${enable_win16:-yes}
4147 with_fontconfig
=${with_fontconfig:-no}
4150 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4155 $as_echo_n "checking whether $CC works... " >&6; }
4157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4158 /* end confdefs.h. */
4168 if ac_fn_c_try_link
"$LINENO"; then :
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4170 $as_echo "yes" >&6; }
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4173 $as_echo "no" >&6; }
4174 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4176 rm -f core conftest.err conftest.
$ac_objext \
4177 conftest
$ac_exeext conftest.
$ac_ext
4179 notice_platform
="32-bit "
4182 enable_win16
=${enable_win16:-yes}
4184 if test "x${GCC}" = "xyes"
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4187 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h. */
4194 void func(__builtin_ms_va_list *args);
4199 if ac_fn_c_try_compile
"$LINENO"; then :
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4201 $as_echo "yes" >&6; }
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4204 $as_echo "no" >&6; }
4205 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4215 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4217 /* end confdefs.h. */
4218 int ac_test(int i) { return i; }
4222 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4227 if ac_fn_c_try_link
"$LINENO"; then :
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4229 $as_echo "yes" >&6; }
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4232 $as_echo "no" >&6; }
4233 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4235 rm -f core conftest.err conftest.
$ac_objext \
4236 conftest
$ac_exeext conftest.
$ac_ext
4237 CFLAGS
="$CFLAGS -marm"
4239 *-mingw32*|
*-cygwin*)
4240 enable_win16
=${enable_win16:-no}
4241 CFLAGS
="$CFLAGS -D_WIN32"
4244 enable_win16
=${enable_win16:-yes}
4248 enable_win16
=${enable_win16:-no}
4249 enable_win64
=${enable_win64:-no}
4251 enable_winetest
=${enable_winetest:-$enable_tests}
4253 if test -n "$with_wine64"
4255 if test "x$enable_win64" = "xyes"
4257 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4258 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4262 enable_fonts
=${enable_fonts:-no}
4263 enable_server
=${enable_server:-no}
4264 enable_tools
=${enable_tools:-no}
4265 elif test "x$enable_win64" = "xyes"
4267 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4271 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4272 if ${wine_cv_toolsdir+:} false
; then :
4273 $as_echo_n "(cached) " >&6
4275 wine_cv_toolsdir
="$with_wine_tools"
4276 if test -z "$with_wine_tools"; then
4277 if test "$cross_compiling" = "yes"; then
4278 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4279 elif test -n "$with_wine64"; then
4280 wine_cv_toolsdir
="$with_wine64"
4283 if test -z "$wine_cv_toolsdir"; then
4284 wine_cv_toolsdir
="\$(top_builddir)"
4285 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4286 case "$wine_cv_toolsdir" in
4288 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4291 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4295 $as_echo "$wine_cv_toolsdir" >&6; }
4296 TOOLSDIR
=$wine_cv_toolsdir
4298 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4300 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4306 # Extract the first word of "$ac_prog", so it can be a program name with args.
4307 set dummy
$ac_prog; ac_word
=$2
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4309 $as_echo_n "checking for $ac_word... " >&6; }
4310 if ${ac_cv_prog_FLEX+:} false
; then :
4311 $as_echo_n "(cached) " >&6
4313 if test -n "$FLEX"; then
4314 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4320 test -z "$as_dir" && as_dir
=.
4321 for ac_exec_ext
in '' $ac_executable_extensions; do
4322 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4323 ac_cv_prog_FLEX
="$ac_prog"
4324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4333 FLEX
=$ac_cv_prog_FLEX
4334 if test -n "$FLEX"; then
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4336 $as_echo "$FLEX" >&6; }
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4339 $as_echo "no" >&6; }
4343 test -n "$FLEX" && break
4345 test -n "$FLEX" || FLEX
="none"
4347 if test "$FLEX" = "none"
4349 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4352 $as_echo_n "checking whether flex is recent enough... " >&6; }
4353 cat >conftest.l
<<EOF
4355 #include "prediluvian.h"
4359 if $FLEX -t conftest.l
>/dev
/null
2>&5
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4362 $as_echo "yes" >&6; }
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4365 $as_echo "no" >&6; }
4366 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4369 for ac_prog
in bison
4371 # Extract the first word of "$ac_prog", so it can be a program name with args.
4372 set dummy
$ac_prog; ac_word
=$2
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4374 $as_echo_n "checking for $ac_word... " >&6; }
4375 if ${ac_cv_prog_BISON+:} false
; then :
4376 $as_echo_n "(cached) " >&6
4378 if test -n "$BISON"; then
4379 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4385 test -z "$as_dir" && as_dir
=.
4386 for ac_exec_ext
in '' $ac_executable_extensions; do
4387 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4388 ac_cv_prog_BISON
="$ac_prog"
4389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4398 BISON
=$ac_cv_prog_BISON
4399 if test -n "$BISON"; then
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4401 $as_echo "$BISON" >&6; }
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4404 $as_echo "no" >&6; }
4408 test -n "$BISON" && break
4410 test -n "$BISON" || BISON
="none"
4412 if test "$BISON" = "none"
4414 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4417 if test -n "$ac_tool_prefix"; then
4418 for ac_prog
in ar gar
4420 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4421 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4423 $as_echo_n "checking for $ac_word... " >&6; }
4424 if ${ac_cv_prog_AR+:} false
; then :
4425 $as_echo_n "(cached) " >&6
4427 if test -n "$AR"; then
4428 ac_cv_prog_AR
="$AR" # Let the user override the test.
4430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4434 test -z "$as_dir" && as_dir
=.
4435 for ac_exec_ext
in '' $ac_executable_extensions; do
4436 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4437 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4448 if test -n "$AR"; then
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4450 $as_echo "$AR" >&6; }
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4453 $as_echo "no" >&6; }
4457 test -n "$AR" && break
4460 if test -z "$AR"; then
4462 for ac_prog
in ar gar
4464 # Extract the first word of "$ac_prog", so it can be a program name with args.
4465 set dummy
$ac_prog; ac_word
=$2
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4467 $as_echo_n "checking for $ac_word... " >&6; }
4468 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4469 $as_echo_n "(cached) " >&6
4471 if test -n "$ac_ct_AR"; then
4472 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4478 test -z "$as_dir" && as_dir
=.
4479 for ac_exec_ext
in '' $ac_executable_extensions; do
4480 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4481 ac_cv_prog_ac_ct_AR
="$ac_prog"
4482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4491 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4492 if test -n "$ac_ct_AR"; then
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4494 $as_echo "$ac_ct_AR" >&6; }
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4497 $as_echo "no" >&6; }
4501 test -n "$ac_ct_AR" && break
4504 if test "x$ac_ct_AR" = x
; then
4507 case $cross_compiling:$ac_tool_warned in
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4511 ac_tool_warned
=yes ;;
4519 if test -n "$ac_tool_prefix"; then
4520 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4521 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4523 $as_echo_n "checking for $ac_word... " >&6; }
4524 if ${ac_cv_prog_RANLIB+:} false
; then :
4525 $as_echo_n "(cached) " >&6
4527 if test -n "$RANLIB"; then
4528 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4534 test -z "$as_dir" && as_dir
=.
4535 for ac_exec_ext
in '' $ac_executable_extensions; do
4536 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4537 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4547 RANLIB
=$ac_cv_prog_RANLIB
4548 if test -n "$RANLIB"; then
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4550 $as_echo "$RANLIB" >&6; }
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4553 $as_echo "no" >&6; }
4558 if test -z "$ac_cv_prog_RANLIB"; then
4559 ac_ct_RANLIB
=$RANLIB
4560 # Extract the first word of "ranlib", so it can be a program name with args.
4561 set dummy ranlib
; ac_word
=$2
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4563 $as_echo_n "checking for $ac_word... " >&6; }
4564 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4565 $as_echo_n "(cached) " >&6
4567 if test -n "$ac_ct_RANLIB"; then
4568 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4574 test -z "$as_dir" && as_dir
=.
4575 for ac_exec_ext
in '' $ac_executable_extensions; do
4576 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4577 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4587 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4588 if test -n "$ac_ct_RANLIB"; then
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4590 $as_echo "$ac_ct_RANLIB" >&6; }
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4593 $as_echo "no" >&6; }
4596 if test "x$ac_ct_RANLIB" = x
; then
4599 case $cross_compiling:$ac_tool_warned in
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4603 ac_tool_warned
=yes ;;
4605 RANLIB
=$ac_ct_RANLIB
4608 RANLIB
="$ac_cv_prog_RANLIB"
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4612 $as_echo_n "checking whether ln -s works... " >&6; }
4614 if test "$LN_S" = "ln -s"; then
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4616 $as_echo "yes" >&6; }
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4619 $as_echo "no, using $LN_S" >&6; }
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4623 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4624 if ${ac_cv_path_GREP+:} false
; then :
4625 $as_echo_n "(cached) " >&6
4627 if test -z "$GREP"; then
4628 ac_path_GREP_found
=false
4629 # Loop through the user's path and test for each of PROGNAME-LIST
4630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4631 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4634 test -z "$as_dir" && as_dir
=.
4635 for ac_prog
in grep ggrep
; do
4636 for ac_exec_ext
in '' $ac_executable_extensions; do
4637 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4638 as_fn_executable_p
"$ac_path_GREP" ||
continue
4639 # Check for GNU ac_path_GREP and select it if it is found.
4640 # Check for GNU $ac_path_GREP
4641 case `"$ac_path_GREP" --version 2>&1` in
4643 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4646 $as_echo_n 0123456789 >"conftest.in"
4649 cat "conftest.in" "conftest.in" >"conftest.tmp"
4650 mv "conftest.tmp" "conftest.in"
4651 cp "conftest.in" "conftest.nl"
4652 $as_echo 'GREP' >> "conftest.nl"
4653 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4654 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4655 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4656 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4657 # Best one so far, save it but keep looking for a better one
4658 ac_cv_path_GREP
="$ac_path_GREP"
4659 ac_path_GREP_max
=$ac_count
4661 # 10*(2^10) chars as input seems more than enough
4662 test $ac_count -gt 10 && break
4664 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4667 $ac_path_GREP_found && break 3
4672 if test -z "$ac_cv_path_GREP"; then
4673 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4676 ac_cv_path_GREP
=$GREP
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4681 $as_echo "$ac_cv_path_GREP" >&6; }
4682 GREP
="$ac_cv_path_GREP"
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4686 $as_echo_n "checking for egrep... " >&6; }
4687 if ${ac_cv_path_EGREP+:} false
; then :
4688 $as_echo_n "(cached) " >&6
4690 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4691 then ac_cv_path_EGREP
="$GREP -E"
4693 if test -z "$EGREP"; then
4694 ac_path_EGREP_found
=false
4695 # Loop through the user's path and test for each of PROGNAME-LIST
4696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4697 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4700 test -z "$as_dir" && as_dir
=.
4701 for ac_prog
in egrep; do
4702 for ac_exec_ext
in '' $ac_executable_extensions; do
4703 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4704 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4705 # Check for GNU ac_path_EGREP and select it if it is found.
4706 # Check for GNU $ac_path_EGREP
4707 case `"$ac_path_EGREP" --version 2>&1` in
4709 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4712 $as_echo_n 0123456789 >"conftest.in"
4715 cat "conftest.in" "conftest.in" >"conftest.tmp"
4716 mv "conftest.tmp" "conftest.in"
4717 cp "conftest.in" "conftest.nl"
4718 $as_echo 'EGREP' >> "conftest.nl"
4719 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4720 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4721 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4722 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4723 # Best one so far, save it but keep looking for a better one
4724 ac_cv_path_EGREP
="$ac_path_EGREP"
4725 ac_path_EGREP_max
=$ac_count
4727 # 10*(2^10) chars as input seems more than enough
4728 test $ac_count -gt 10 && break
4730 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4733 $ac_path_EGREP_found && break 3
4738 if test -z "$ac_cv_path_EGREP"; then
4739 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4742 ac_cv_path_EGREP
=$EGREP
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4748 $as_echo "$ac_cv_path_EGREP" >&6; }
4749 EGREP
="$ac_cv_path_EGREP"
4752 # Extract the first word of "ldconfig", so it can be a program name with args.
4753 set dummy ldconfig
; ac_word
=$2
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4755 $as_echo_n "checking for $ac_word... " >&6; }
4756 if ${ac_cv_path_LDCONFIG+:} false
; then :
4757 $as_echo_n "(cached) " >&6
4761 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4765 for as_dir
in /sbin
/usr
/sbin
$PATH
4768 test -z "$as_dir" && as_dir
=.
4769 for ac_exec_ext
in '' $ac_executable_extensions; do
4770 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4771 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4779 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4783 LDCONFIG
=$ac_cv_path_LDCONFIG
4784 if test -n "$LDCONFIG"; then
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4786 $as_echo "$LDCONFIG" >&6; }
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789 $as_echo "no" >&6; }
4793 # Find a good install program. We prefer a C program (faster),
4794 # so one script is as good as another. But avoid the broken or
4795 # incompatible versions:
4796 # SysV /etc/install, /usr/sbin/install
4797 # SunOS /usr/etc/install
4798 # IRIX /sbin/install
4800 # AmigaOS /C/install, which installs bootblocks on floppy discs
4801 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4802 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4803 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4804 # OS/2's system install, which has a completely different semantic
4805 # ./install, which can be erroneously created by make from ./install.sh.
4806 # Reject install programs that cannot install multiple files.
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4808 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4809 if test -z "$INSTALL"; then
4810 if ${ac_cv_path_install+:} false
; then :
4811 $as_echo_n "(cached) " >&6
4813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4817 test -z "$as_dir" && as_dir
=.
4818 # Account for people who put trailing slashes in PATH elements.
4819 case $as_dir/ in #((
4820 .
/ | .
// |
/[cC
]/* | \
4821 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4822 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4825 # OSF1 and SCO ODT 3.0 have their own names for install.
4826 # Don't use installbsd from OSF since it installs stuff as root
4828 for ac_prog
in ginstall scoinst
install; do
4829 for ac_exec_ext
in '' $ac_executable_extensions; do
4830 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4831 if test $ac_prog = install &&
4832 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4833 # AIX install. It has an incompatible calling convention.
4835 elif test $ac_prog = install &&
4836 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4837 # program-specific install script used by HP pwplus--don't use.
4840 rm -rf conftest.one conftest.two conftest.dir
4841 echo one
> conftest.one
4842 echo two
> conftest.two
4844 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4845 test -s conftest.one
&& test -s conftest.two
&&
4846 test -s conftest.dir
/conftest.one
&&
4847 test -s conftest.dir
/conftest.two
4849 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4862 rm -rf conftest.one conftest.two conftest.dir
4865 if test "${ac_cv_path_install+set}" = set; then
4866 INSTALL
=$ac_cv_path_install
4868 # As a last resort, use the slow shell script. Don't cache a
4869 # value for INSTALL within a source directory, because that will
4870 # break other packages using the cache if that directory is
4871 # removed, or if the value is a relative name.
4872 INSTALL
=$ac_install_sh
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4876 $as_echo "$INSTALL" >&6; }
4878 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4879 # It thinks the first close brace ends the variable substitution.
4880 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4882 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4884 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4887 [\\/$
]* | ?
:[\\/]* ) ;;
4888 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4891 for ac_prog
in lclint lint
4893 # Extract the first word of "$ac_prog", so it can be a program name with args.
4894 set dummy
$ac_prog; ac_word
=$2
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4896 $as_echo_n "checking for $ac_word... " >&6; }
4897 if ${ac_cv_prog_LINT+:} false
; then :
4898 $as_echo_n "(cached) " >&6
4900 if test -n "$LINT"; then
4901 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4907 test -z "$as_dir" && as_dir
=.
4908 for ac_exec_ext
in '' $ac_executable_extensions; do
4909 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4910 ac_cv_prog_LINT
="$ac_prog"
4911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4920 LINT
=$ac_cv_prog_LINT
4921 if test -n "$LINT"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4923 $as_echo "$LINT" >&6; }
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926 $as_echo "no" >&6; }
4930 test -n "$LINT" && break
4933 if test "$LINT" = "lint"
4935 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4939 for ac_prog
in fontforge
4941 # Extract the first word of "$ac_prog", so it can be a program name with args.
4942 set dummy
$ac_prog; ac_word
=$2
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4944 $as_echo_n "checking for $ac_word... " >&6; }
4945 if ${ac_cv_prog_FONTFORGE+:} false
; then :
4946 $as_echo_n "(cached) " >&6
4948 if test -n "$FONTFORGE"; then
4949 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4955 test -z "$as_dir" && as_dir
=.
4956 for ac_exec_ext
in '' $ac_executable_extensions; do
4957 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4958 ac_cv_prog_FONTFORGE
="$ac_prog"
4959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4968 FONTFORGE
=$ac_cv_prog_FONTFORGE
4969 if test -n "$FONTFORGE"; then
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4971 $as_echo "$FONTFORGE" >&6; }
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4974 $as_echo "no" >&6; }
4978 test -n "$FONTFORGE" && break
4980 test -n "$FONTFORGE" || FONTFORGE
="false"
4984 # Extract the first word of "$ac_prog", so it can be a program name with args.
4985 set dummy
$ac_prog; ac_word
=$2
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 $as_echo_n "checking for $ac_word... " >&6; }
4988 if ${ac_cv_prog_RSVG+:} false
; then :
4989 $as_echo_n "(cached) " >&6
4991 if test -n "$RSVG"; then
4992 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
4994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4998 test -z "$as_dir" && as_dir
=.
4999 for ac_exec_ext
in '' $ac_executable_extensions; do
5000 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5001 ac_cv_prog_RSVG
="$ac_prog"
5002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 RSVG
=$ac_cv_prog_RSVG
5012 if test -n "$RSVG"; then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5014 $as_echo "$RSVG" >&6; }
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 $as_echo "no" >&6; }
5021 test -n "$RSVG" && break
5023 test -n "$RSVG" || RSVG
="false"
5025 for ac_prog
in convert
5027 # Extract the first word of "$ac_prog", so it can be a program name with args.
5028 set dummy
$ac_prog; ac_word
=$2
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5030 $as_echo_n "checking for $ac_word... " >&6; }
5031 if ${ac_cv_prog_CONVERT+:} false
; then :
5032 $as_echo_n "(cached) " >&6
5034 if test -n "$CONVERT"; then
5035 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5041 test -z "$as_dir" && as_dir
=.
5042 for ac_exec_ext
in '' $ac_executable_extensions; do
5043 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5044 ac_cv_prog_CONVERT
="$ac_prog"
5045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 CONVERT
=$ac_cv_prog_CONVERT
5055 if test -n "$CONVERT"; then
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5057 $as_echo "$CONVERT" >&6; }
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 $as_echo "no" >&6; }
5064 test -n "$CONVERT" && break
5066 test -n "$CONVERT" || CONVERT
="false"
5068 for ac_prog
in icotool
5070 # Extract the first word of "$ac_prog", so it can be a program name with args.
5071 set dummy
$ac_prog; ac_word
=$2
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073 $as_echo_n "checking for $ac_word... " >&6; }
5074 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5075 $as_echo_n "(cached) " >&6
5077 if test -n "$ICOTOOL"; then
5078 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5084 test -z "$as_dir" && as_dir
=.
5085 for ac_exec_ext
in '' $ac_executable_extensions; do
5086 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5087 ac_cv_prog_ICOTOOL
="$ac_prog"
5088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5097 ICOTOOL
=$ac_cv_prog_ICOTOOL
5098 if test -n "$ICOTOOL"; then
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5100 $as_echo "$ICOTOOL" >&6; }
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5103 $as_echo "no" >&6; }
5107 test -n "$ICOTOOL" && break
5109 test -n "$ICOTOOL" || ICOTOOL
="false"
5111 for ac_prog
in msgfmt
5113 # Extract the first word of "$ac_prog", so it can be a program name with args.
5114 set dummy
$ac_prog; ac_word
=$2
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5116 $as_echo_n "checking for $ac_word... " >&6; }
5117 if ${ac_cv_prog_MSGFMT+:} false
; then :
5118 $as_echo_n "(cached) " >&6
5120 if test -n "$MSGFMT"; then
5121 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5127 test -z "$as_dir" && as_dir
=.
5128 for ac_exec_ext
in '' $ac_executable_extensions; do
5129 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5130 ac_cv_prog_MSGFMT
="$ac_prog"
5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5140 MSGFMT
=$ac_cv_prog_MSGFMT
5141 if test -n "$MSGFMT"; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5143 $as_echo "$MSGFMT" >&6; }
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5150 test -n "$MSGFMT" && break
5152 test -n "$MSGFMT" || MSGFMT
="false"
5155 if test "x$enable_maintainer_mode" != "xyes"
5160 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5161 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5163 if test "$CONVERT" = false
5165 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5168 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5169 convert_version
=`convert --version | head -n1`
5170 if test "x$convert_version" != "x"
5172 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5173 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5174 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5179 if test "$CONVERT" = false
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5182 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5183 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5186 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5190 if test "$ICOTOOL" = false
5192 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5195 $as_echo_n "checking for recent enough icotool... " >&6; }
5196 icotool_version
=`icotool --version | head -n1`
5197 if test "x$icotool_version" != "x"
5199 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5200 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5201 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5204 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5207 if test "$ICOTOOL" = false
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5210 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5211 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5214 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5220 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5223 test "x$with_gettext" != xno || MSGFMT
=false
5224 if test "$MSGFMT" != "false"
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5227 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5228 cat >conftest.po
<<EOF
5234 if $MSGFMT -o /dev
/null conftest.po
2>&5
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5237 $as_echo "yes" >&6; }
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240 $as_echo "no" >&6; }
5244 if test "$MSGFMT" = false
; then :
5245 case "x$with_gettext" in
5246 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5248 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5249 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5255 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5256 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5257 $as_echo_n "(cached) " >&6
5259 ac_check_lib_save_LIBS
=$LIBS
5261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5264 /* Override any GCC internal prototype to avoid an error.
5265 Use char because int might match the return type of a GCC
5266 builtin and then its argument prototype would still apply. */
5270 char i386_set_ldt ();
5274 return i386_set_ldt ();
5279 if ac_fn_c_try_link
"$LINENO"; then :
5280 ac_cv_lib_i386_i386_set_ldt
=yes
5282 ac_cv_lib_i386_i386_set_ldt
=no
5284 rm -f core conftest.err conftest.
$ac_objext \
5285 conftest
$ac_exeext conftest.
$ac_ext
5286 LIBS
=$ac_check_lib_save_LIBS
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5289 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5290 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5291 cat >>confdefs.h
<<_ACEOF
5292 #define HAVE_LIBI386 1
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5300 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5301 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5302 $as_echo_n "(cached) " >&6
5304 ac_check_lib_save_LIBS
=$LIBS
5305 LIBS
="-lossaudio $LIBS"
5306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5307 /* end confdefs.h. */
5309 /* Override any GCC internal prototype to avoid an error.
5310 Use char because int might match the return type of a GCC
5311 builtin and then its argument prototype would still apply. */
5319 return _oss_ioctl ();
5324 if ac_fn_c_try_link
"$LINENO"; then :
5325 ac_cv_lib_ossaudio__oss_ioctl
=yes
5327 ac_cv_lib_ossaudio__oss_ioctl
=no
5329 rm -f core conftest.err conftest.
$ac_objext \
5330 conftest
$ac_exeext conftest.
$ac_ext
5331 LIBS
=$ac_check_lib_save_LIBS
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5334 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5335 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5336 cat >>confdefs.h
<<_ACEOF
5337 #define HAVE_LIBOSSAUDIO 1
5340 LIBS
="-lossaudio $LIBS"
5351 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
5353 # Check whether --enable-largefile was given.
5354 if test "${enable_largefile+set}" = set; then :
5355 enableval
=$enable_largefile;
5358 if test "$enable_largefile" != no
; then
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5361 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5362 if ${ac_cv_sys_largefile_CC+:} false
; then :
5363 $as_echo_n "(cached) " >&6
5365 ac_cv_sys_largefile_CC
=no
5366 if test "$GCC" != yes; then
5369 # IRIX 6.2 and later do not support large files by default,
5370 # so use the C compiler's -n32 option if that helps.
5371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5372 /* end confdefs.h. */
5373 #include <sys/types.h>
5374 /* Check that off_t can represent 2**63 - 1 correctly.
5375 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5376 since some C++ compilers masquerading as C compilers
5377 incorrectly reject 9223372036854775807. */
5378 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5379 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5380 && LARGE_OFF_T % 2147483647 == 1)
5390 if ac_fn_c_try_compile
"$LINENO"; then :
5393 rm -f core conftest.err conftest.
$ac_objext
5395 if ac_fn_c_try_compile
"$LINENO"; then :
5396 ac_cv_sys_largefile_CC
=' -n32'; break
5398 rm -f core conftest.err conftest.
$ac_objext
5402 rm -f conftest.
$ac_ext
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5406 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5407 if test "$ac_cv_sys_largefile_CC" != no
; then
5408 CC
=$CC$ac_cv_sys_largefile_CC
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5412 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5413 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5414 $as_echo_n "(cached) " >&6
5417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5419 #include <sys/types.h>
5420 /* Check that off_t can represent 2**63 - 1 correctly.
5421 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5422 since some C++ compilers masquerading as C compilers
5423 incorrectly reject 9223372036854775807. */
5424 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5425 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5426 && LARGE_OFF_T % 2147483647 == 1)
5436 if ac_fn_c_try_compile
"$LINENO"; then :
5437 ac_cv_sys_file_offset_bits
=no
; break
5439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5441 /* end confdefs.h. */
5442 #define _FILE_OFFSET_BITS 64
5443 #include <sys/types.h>
5444 /* Check that off_t can represent 2**63 - 1 correctly.
5445 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5446 since some C++ compilers masquerading as C compilers
5447 incorrectly reject 9223372036854775807. */
5448 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5449 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5450 && LARGE_OFF_T % 2147483647 == 1)
5460 if ac_fn_c_try_compile
"$LINENO"; then :
5461 ac_cv_sys_file_offset_bits
=64; break
5463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5464 ac_cv_sys_file_offset_bits
=unknown
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5469 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5470 case $ac_cv_sys_file_offset_bits in #(
5473 cat >>confdefs.h
<<_ACEOF
5474 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5479 if test $ac_cv_sys_file_offset_bits = unknown
; then
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5481 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5482 if ${ac_cv_sys_large_files+:} false
; then :
5483 $as_echo_n "(cached) " >&6
5486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5487 /* end confdefs.h. */
5488 #include <sys/types.h>
5489 /* Check that off_t can represent 2**63 - 1 correctly.
5490 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5491 since some C++ compilers masquerading as C compilers
5492 incorrectly reject 9223372036854775807. */
5493 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5494 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5495 && LARGE_OFF_T % 2147483647 == 1)
5505 if ac_fn_c_try_compile
"$LINENO"; then :
5506 ac_cv_sys_large_files
=no
; break
5508 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5510 /* end confdefs.h. */
5511 #define _LARGE_FILES 1
5512 #include <sys/types.h>
5513 /* Check that off_t can represent 2**63 - 1 correctly.
5514 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5515 since some C++ compilers masquerading as C compilers
5516 incorrectly reject 9223372036854775807. */
5517 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5518 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5519 && LARGE_OFF_T % 2147483647 == 1)
5529 if ac_fn_c_try_compile
"$LINENO"; then :
5530 ac_cv_sys_large_files
=1; break
5532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5533 ac_cv_sys_large_files
=unknown
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5538 $as_echo "$ac_cv_sys_large_files" >&6; }
5539 case $ac_cv_sys_large_files in #(
5542 cat >>confdefs.h
<<_ACEOF
5543 #define _LARGE_FILES $ac_cv_sys_large_files
5555 ac_cpp
='$CPP $CPPFLAGS'
5556 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5557 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5558 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5560 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5561 # On Suns, sometimes $CPP names a directory.
5562 if test -n "$CPP" && test -d "$CPP"; then
5565 if test -z "$CPP"; then
5566 if ${ac_cv_prog_CPP+:} false
; then :
5567 $as_echo_n "(cached) " >&6
5569 # Double quotes because CPP needs to be expanded
5570 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5573 for ac_c_preproc_warn_flag
in '' yes
5575 # Use a header file that comes with gcc, so configuring glibc
5576 # with a fresh cross-compiler works.
5577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5578 # <limits.h> exists even on freestanding compilers.
5579 # On the NeXT, cc -E runs the code through the compiler's parser,
5580 # not just through cpp. "Syntax error" is here to catch this case.
5581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5582 /* end confdefs.h. */
5584 # include <limits.h>
5586 # include <assert.h>
5590 if ac_fn_c_try_cpp
"$LINENO"; then :
5593 # Broken: fails on valid input.
5596 rm -f conftest.err conftest.i conftest.
$ac_ext
5598 # OK, works on sane cases. Now check whether nonexistent headers
5599 # can be detected and how.
5600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5601 /* end confdefs.h. */
5602 #include <ac_nonexistent.h>
5604 if ac_fn_c_try_cpp
"$LINENO"; then :
5605 # Broken: success on invalid input.
5608 # Passes both tests.
5612 rm -f conftest.err conftest.i conftest.
$ac_ext
5615 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5616 rm -f conftest.i conftest.err conftest.
$ac_ext
5617 if $ac_preproc_ok; then :
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5630 $as_echo "$CPP" >&6; }
5632 for ac_c_preproc_warn_flag
in '' yes
5634 # Use a header file that comes with gcc, so configuring glibc
5635 # with a fresh cross-compiler works.
5636 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5637 # <limits.h> exists even on freestanding compilers.
5638 # On the NeXT, cc -E runs the code through the compiler's parser,
5639 # not just through cpp. "Syntax error" is here to catch this case.
5640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5641 /* end confdefs.h. */
5643 # include <limits.h>
5645 # include <assert.h>
5649 if ac_fn_c_try_cpp
"$LINENO"; then :
5652 # Broken: fails on valid input.
5655 rm -f conftest.err conftest.i conftest.
$ac_ext
5657 # OK, works on sane cases. Now check whether nonexistent headers
5658 # can be detected and how.
5659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5660 /* end confdefs.h. */
5661 #include <ac_nonexistent.h>
5663 if ac_fn_c_try_cpp
"$LINENO"; then :
5664 # Broken: success on invalid input.
5667 # Passes both tests.
5671 rm -f conftest.err conftest.i conftest.
$ac_ext
5674 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5675 rm -f conftest.i conftest.err conftest.
$ac_ext
5676 if $ac_preproc_ok; then :
5679 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5681 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5682 See \`config.log' for more details" "$LINENO" 5; }
5686 ac_cpp
='$CPP $CPPFLAGS'
5687 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5688 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5689 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5693 $as_echo_n "checking for ANSI C header files... " >&6; }
5694 if ${ac_cv_header_stdc+:} false
; then :
5695 $as_echo_n "(cached) " >&6
5697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5698 /* end confdefs.h. */
5712 if ac_fn_c_try_compile
"$LINENO"; then :
5713 ac_cv_header_stdc
=yes
5715 ac_cv_header_stdc
=no
5717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5719 if test $ac_cv_header_stdc = yes; then
5720 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5722 /* end confdefs.h. */
5726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5727 $EGREP "memchr" >/dev
/null
2>&1; then :
5730 ac_cv_header_stdc
=no
5736 if test $ac_cv_header_stdc = yes; then
5737 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5739 /* end confdefs.h. */
5743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5744 $EGREP "free" >/dev
/null
2>&1; then :
5747 ac_cv_header_stdc
=no
5753 if test $ac_cv_header_stdc = yes; then
5754 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5755 if test "$cross_compiling" = yes; then :
5758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5759 /* end confdefs.h. */
5762 #if ((' ' & 0x0FF) == 0x020)
5763 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5764 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5766 # define ISLOWER(c) \
5767 (('a' <= (c) && (c) <= 'i') \
5768 || ('j' <= (c) && (c) <= 'r') \
5769 || ('s' <= (c) && (c) <= 'z'))
5770 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5773 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5778 for (i = 0; i < 256; i++)
5779 if (XOR (islower (i), ISLOWER (i))
5780 || toupper (i) != TOUPPER (i))
5785 if ac_fn_c_try_run
"$LINENO"; then :
5788 ac_cv_header_stdc
=no
5790 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5791 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5797 $as_echo "$ac_cv_header_stdc" >&6; }
5798 if test $ac_cv_header_stdc = yes; then
5800 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5804 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5805 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5806 inttypes.h stdint.h unistd.h
5808 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5809 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5811 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5812 cat >>confdefs.h
<<_ACEOF
5813 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5823 ApplicationServices
/ApplicationServices.h \
5824 AudioToolbox
/AudioConverter.h \
5825 AudioUnit
/AudioUnit.h \
5826 AudioUnit
/AudioComponent.h \
5829 CoreAudio
/CoreAudio.h \
5830 CoreServices
/CoreServices.h \
5831 DiskArbitration
/DiskArbitration.h \
5833 IOKit
/hid
/IOHIDLib.h \
5836 QuickTime
/ImageCompression.h \
5837 Security
/Security.h \
5851 fontconfig
/fontconfig.h \
5890 netinet
/in_systm.h \
5950 valgrind
/memcheck.h \
5951 valgrind
/valgrind.h \
5955 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5956 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5957 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5958 cat >>confdefs.h
<<_ACEOF
5959 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5967 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5968 if ${ac_cv_header_stat_broken+:} false
; then :
5969 $as_echo_n "(cached) " >&6
5971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5972 /* end confdefs.h. */
5973 #include <sys/types.h>
5974 #include <sys/stat.h>
5976 #if defined S_ISBLK && defined S_IFDIR
5977 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5980 #if defined S_ISBLK && defined S_IFCHR
5981 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5984 #if defined S_ISLNK && defined S_IFREG
5985 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5988 #if defined S_ISSOCK && defined S_IFREG
5989 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5993 if ac_fn_c_try_compile
"$LINENO"; then :
5994 ac_cv_header_stat_broken
=no
5996 ac_cv_header_stat_broken
=yes
5998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6001 $as_echo "$ac_cv_header_stat_broken" >&6; }
6002 if test $ac_cv_header_stat_broken = yes; then
6004 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6010 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6012 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6013 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6014 #ifdef HAVE_SYS_PARAM_H
6015 # include <sys/param.h>
6018 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6019 cat >>confdefs.h
<<_ACEOF
6020 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6035 netinet
/if_ether.h \
6036 netinet
/if_inarp.h \
6045 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6046 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6047 #ifdef HAVE_SYS_SOCKET_H
6048 # include <sys/socket.h>
6050 #ifdef HAVE_SYS_SOCKETVAR_H
6051 # include <sys/socketvar.h>
6053 #ifdef HAVE_NET_ROUTE_H
6054 # include <net/route.h>
6056 #ifdef HAVE_NETINET_IN_H
6057 # include <netinet/in.h>
6059 #ifdef HAVE_NETINET_IN_SYSTM_H
6060 # include <netinet/in_systm.h>
6062 #ifdef HAVE_NET_IF_H
6063 # include <net/if.h>
6065 #ifdef HAVE_NETINET_IP_H
6066 # include <netinet/ip.h>
6069 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6070 cat >>confdefs.h
<<_ACEOF
6071 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6079 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6081 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6082 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6086 #ifdef HAVE_SYS_SOCKET_H
6087 # include <sys/socket.h>
6089 #ifdef HAVE_SYS_SOCKETVAR_H
6090 # include <sys/socketvar.h>
6092 #ifdef HAVE_SYS_TIMEOUT_H
6093 # include <sys/timeout.h>
6095 #ifdef HAVE_NETINET_IN_H
6096 # include <netinet/in.h>
6098 #ifdef HAVE_NETINET_IN_SYSTM_H
6099 # include <netinet/in_systm.h>
6101 #ifdef HAVE_NETINET_IP_H
6102 # include <netinet/ip.h>
6104 #ifdef HAVE_NETINET_IP_VAR_H
6105 # include <netinet/ip_var.h>
6107 #ifdef HAVE_NETINET_IP_ICMP_H
6108 # include <netinet/ip_icmp.h>
6110 #ifdef HAVE_NETINET_UDP_H
6111 # include <netinet/udp.h>
6113 #ifdef HAVE_NETINET_TCP_H
6114 # include <netinet/tcp.h>
6116 #ifdef HAVE_NETINET_TCP_TIMER_H
6117 #include <netinet/tcp_timer.h>
6120 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6121 cat >>confdefs.h
<<_ACEOF
6122 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6130 for ac_header
in linux
/ipx.h linux
/irda.h
6132 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6133 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6134 #ifdef HAVE_ASM_TYPES_H
6135 # include <asm/types.h>
6137 #ifdef HAVE_SYS_SOCKET_H
6138 # include <sys/socket.h>
6140 #ifdef HAVE_LINUX_TYPES_H
6141 # include <linux/types.h>
6144 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6145 cat >>confdefs.h
<<_ACEOF
6146 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6154 for ac_header
in mach-o
/dyld_images.h
6156 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6157 # include <stdbool.h>
6159 #ifdef HAVE_STDINT_H
6160 # include <stdint.h>
6163 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6164 cat >>confdefs.h
<<_ACEOF
6165 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6173 for ac_header
in resolv.h
6175 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6176 #ifdef HAVE_SYS_SOCKET_H
6177 # include <sys/socket.h>
6179 #ifdef HAVE_NETINET_IN_H
6180 # include <netinet/in.h>
6182 #ifdef HAVE_ARPA_NAMESER_H
6183 # include <arpa/nameser.h>
6186 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6187 cat >>confdefs.h
<<_ACEOF
6188 #define HAVE_RESOLV_H 1
6196 for ac_header
in ifaddrs.h
6198 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6200 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6201 cat >>confdefs.h
<<_ACEOF
6202 #define HAVE_IFADDRS_H 1
6210 for ac_header
in ucontext.h
6212 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6214 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6215 cat >>confdefs.h
<<_ACEOF
6216 #define HAVE_UCONTEXT_H 1
6224 for ac_header
in sys
/thr.h
6226 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6227 #ifdef HAVE_UCONTEXT_H
6228 #include <ucontext.h>
6231 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6232 cat >>confdefs.h
<<_ACEOF
6233 #define HAVE_SYS_THR_H 1
6241 for ac_header
in pthread_np.h
6243 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6244 #include <pthread.h>
6247 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6248 cat >>confdefs.h
<<_ACEOF
6249 #define HAVE_PTHREAD_NP_H 1
6257 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6259 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6260 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6261 #include <sys/time.h>
6263 #include <sys/types.h>
6264 #ifdef HAVE_ASM_TYPES_H
6265 #include <asm/types.h>
6268 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6269 cat >>confdefs.h
<<_ACEOF
6270 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6278 for ac_header
in linux
/capi.h
6280 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6282 if test "x$ac_cv_header_linux_capi_h" = xyes
; then :
6283 cat >>confdefs.h
<<_ACEOF
6284 #define HAVE_LINUX_CAPI_H 1
6295 DLLFLAGS
="-D_REENTRANT"
6306 STATIC_IMPLIBEXT
="def.a"
6307 # Extract the first word of "ldd", so it can be a program name with args.
6308 set dummy ldd
; ac_word
=$2
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6310 $as_echo_n "checking for $ac_word... " >&6; }
6311 if ${ac_cv_path_LDD+:} false
; then :
6312 $as_echo_n "(cached) " >&6
6316 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6320 as_dummy
="/sbin:/usr/sbin:$PATH"
6321 for as_dir
in $as_dummy
6324 test -z "$as_dir" && as_dir
=.
6325 for ac_exec_ext
in '' $ac_executable_extensions; do
6326 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6327 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6335 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6340 if test -n "$LDD"; then
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6342 $as_echo "$LDD" >&6; }
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6345 $as_echo "no" >&6; }
6349 if test -n "$ac_tool_prefix"; then
6350 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6351 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6353 $as_echo_n "checking for $ac_word... " >&6; }
6354 if ${ac_cv_prog_READELF+:} false
; then :
6355 $as_echo_n "(cached) " >&6
6357 if test -n "$READELF"; then
6358 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6364 test -z "$as_dir" && as_dir
=.
6365 for ac_exec_ext
in '' $ac_executable_extensions; do
6366 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6367 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6377 READELF
=$ac_cv_prog_READELF
6378 if test -n "$READELF"; then
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6380 $as_echo "$READELF" >&6; }
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6383 $as_echo "no" >&6; }
6388 if test -z "$ac_cv_prog_READELF"; then
6389 ac_ct_READELF
=$READELF
6390 # Extract the first word of "readelf", so it can be a program name with args.
6391 set dummy readelf
; ac_word
=$2
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6393 $as_echo_n "checking for $ac_word... " >&6; }
6394 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
6395 $as_echo_n "(cached) " >&6
6397 if test -n "$ac_ct_READELF"; then
6398 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
6400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6404 test -z "$as_dir" && as_dir
=.
6405 for ac_exec_ext
in '' $ac_executable_extensions; do
6406 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6407 ac_cv_prog_ac_ct_READELF
="readelf"
6408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6417 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
6418 if test -n "$ac_ct_READELF"; then
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6420 $as_echo "$ac_ct_READELF" >&6; }
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6423 $as_echo "no" >&6; }
6426 if test "x$ac_ct_READELF" = x
; then
6429 case $cross_compiling:$ac_tool_warned in
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6433 ac_tool_warned
=yes ;;
6435 READELF
=$ac_ct_READELF
6438 READELF
="$ac_cv_prog_READELF"
6444 if test -n "$ac_tool_prefix"; then
6445 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6446 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6448 $as_echo_n "checking for $ac_word... " >&6; }
6449 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6450 $as_echo_n "(cached) " >&6
6452 if test -n "$DLLTOOL"; then
6453 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6459 test -z "$as_dir" && as_dir
=.
6460 for ac_exec_ext
in '' $ac_executable_extensions; do
6461 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6462 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6472 DLLTOOL
=$ac_cv_prog_DLLTOOL
6473 if test -n "$DLLTOOL"; then
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6475 $as_echo "$DLLTOOL" >&6; }
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6478 $as_echo "no" >&6; }
6483 if test -z "$ac_cv_prog_DLLTOOL"; then
6484 ac_ct_DLLTOOL
=$DLLTOOL
6485 # Extract the first word of "dlltool", so it can be a program name with args.
6486 set dummy dlltool
; ac_word
=$2
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6488 $as_echo_n "checking for $ac_word... " >&6; }
6489 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6490 $as_echo_n "(cached) " >&6
6492 if test -n "$ac_ct_DLLTOOL"; then
6493 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6499 test -z "$as_dir" && as_dir
=.
6500 for ac_exec_ext
in '' $ac_executable_extensions; do
6501 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6502 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6512 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6513 if test -n "$ac_ct_DLLTOOL"; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6515 $as_echo "$ac_ct_DLLTOOL" >&6; }
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6518 $as_echo "no" >&6; }
6521 if test "x$ac_ct_DLLTOOL" = x
; then
6524 case $cross_compiling:$ac_tool_warned in
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6528 ac_tool_warned
=yes ;;
6530 DLLTOOL
=$ac_ct_DLLTOOL
6533 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6538 STATIC_IMPLIBEXT
="a"
6539 enable_iphlpapi
=${enable_iphlpapi:-no}
6540 enable_kernel32
=${enable_kernel32:-no}
6541 enable_msvcrt
=${enable_msvcrt:-no}
6542 enable_ntdll
=${enable_ntdll:-no}
6543 enable_ws2_32
=${enable_ws2_32:-no}
6544 enable_loader
=${enable_loader:-no}
6545 enable_server
=${enable_server:-no}
6546 with_x
=${with_x:-no}
6547 with_pthread
=${with_pthread:-no}
6553 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
6558 all: libwine.dll libwine.a
6561 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
6563 libwine.dll: \$(OBJS) wine.def Makefile.in
6564 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
6566 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
6567 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
6569 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
6570 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
6573 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
6576 \$(RM) libwine.dll version.c
6584 DLLFLAGS
="$DLLFLAGS -fPIC"
6585 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6586 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6587 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6588 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
6589 COREFOUNDATIONLIB
="-framework CoreFoundation"
6591 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6593 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
6595 CORESERVICESLIB
="-framework CoreServices"
6599 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"
6602 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6605 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6607 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6610 if test "$ac_cv_header_Security_Security_h" = "yes"
6612 SECURITYLIB
="-framework Security -framework CoreFoundation"
6614 ac_save_LIBS
="$LIBS"
6615 LIBS
="$LIBS $SECURITYLIB"
6616 for ac_func
in SSLCopyPeerCertificates
6618 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6619 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
6620 cat >>confdefs.h
<<_ACEOF
6621 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6627 LIBS
="$ac_save_LIBS"
6628 with_gnutls
=${with_gnutls:-no}
6630 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6632 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6634 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6637 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6640 ac_save_LIBS
="$LIBS"
6641 LIBS
="$LIBS $COREAUDIO"
6642 for ac_func
in AUGraphAddNode
6644 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6645 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
6646 cat >>confdefs.h
<<_ACEOF
6647 #define HAVE_AUGRAPHADDNODE 1
6653 LIBS
="$ac_save_LIBS"
6655 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6657 FRAMEWORK_OPENAL
="-framework OpenAL"
6660 cat >>confdefs.h
<<_ACEOF
6661 #define HAVE_OPENAL 1
6664 ac_cv_lib_openal
=yes
6666 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6668 LIBOPENCL
="-framework OpenCL"
6670 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6672 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6674 ac_save_LIBS
="$LIBS"
6675 LIBS
="$LIBS $IOKITLIB"
6676 for ac_func
in IOHIDManagerCreate
6678 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6679 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
6680 cat >>confdefs.h
<<_ACEOF
6681 #define HAVE_IOHIDMANAGERCREATE 1
6687 LIBS
="$ac_save_LIBS"
6691 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6693 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6695 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6697 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6699 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6701 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6703 CARBONLIB
="-framework Carbon"
6707 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6709 ac_save_LIBS
="$LIBS"
6710 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
6711 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6712 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
6713 enable_winemac_drv
=${enable_winemac_drv:-yes}
6716 LIBS
="$ac_save_LIBS"
6719 if test "x$enable_win16" = "xyes"
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6722 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6723 if test "$cross_compiling" = yes; then :
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6725 $as_echo "cross-compiling, assuming yes" >&6; }
6727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6728 /* end confdefs.h. */
6731 "good:\tnop;nop\n\t"
6732 ".globl _testfunc\n"
6733 "_testfunc:\tcallw good");
6734 extern void testfunc();
6738 unsigned short *p = (unsigned short *)testfunc;
6739 return p[0] != 0xe866 || p[1] != 0xfffa
6744 if ac_fn_c_try_run
"$LINENO"; then :
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6746 $as_echo "yes" >&6; }
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6749 $as_echo "no" >&6; }
6750 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
6752 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6753 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6761 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
6762 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
6764 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
6765 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
6767 libwine.dylib: libwine.\$(SOVERSION).dylib
6768 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
6770 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
6771 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
6772 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6774 install install-dev:: \$(DESTDIR)\$(libdir) dummy
6775 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
6778 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6781 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
6787 DLLFLAGS
="$DLLFLAGS -fPIC"
6789 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6791 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6792 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
6793 $as_echo_n "(cached) " >&6
6795 ac_wine_try_cflags_saved
=$CFLAGS
6796 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6798 /* end confdefs.h. */
6799 int main(int argc, char **argv) { return 0; }
6801 if ac_fn_c_try_link
"$LINENO"; then :
6802 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6804 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6806 rm -f core conftest.err conftest.
$ac_objext \
6807 conftest
$ac_exeext conftest.
$ac_ext
6808 CFLAGS
=$ac_wine_try_cflags_saved
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6811 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6812 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6813 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
6816 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6817 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
6818 $as_echo_n "(cached) " >&6
6820 ac_wine_try_cflags_saved
=$CFLAGS
6821 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6823 /* end confdefs.h. */
6824 int main(int argc, char **argv) { return 0; }
6826 if ac_fn_c_try_link
"$LINENO"; then :
6827 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6829 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6831 rm -f core conftest.err conftest.
$ac_objext \
6832 conftest
$ac_exeext conftest.
$ac_ext
6833 CFLAGS
=$ac_wine_try_cflags_saved
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6836 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6837 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6838 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6841 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6842 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
6843 $as_echo_n "(cached) " >&6
6845 ac_wine_try_cflags_saved
=$CFLAGS
6846 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6848 /* end confdefs.h. */
6849 int main(int argc, char **argv) { return 0; }
6851 if ac_fn_c_try_link
"$LINENO"; then :
6852 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6854 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6856 rm -f core conftest.err conftest.
$ac_objext \
6857 conftest
$ac_exeext conftest.
$ac_ext
6858 CFLAGS
=$ac_wine_try_cflags_saved
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6861 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6862 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6863 LDEXECFLAGS
="-Wl,--export-dynamic"
6866 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6868 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6869 if eval \
${$as_ac_var+:} false
; then :
6870 $as_echo_n "(cached) " >&6
6872 ac_wine_try_cflags_saved
=$CFLAGS
6873 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6875 /* end confdefs.h. */
6876 int main(int argc, char **argv) { return 0; }
6878 if ac_fn_c_try_link
"$LINENO"; then :
6879 eval "$as_ac_var=yes"
6881 eval "$as_ac_var=no"
6883 rm -f core conftest.err conftest.
$ac_objext \
6884 conftest
$ac_exeext conftest.
$ac_ext
6885 CFLAGS
=$ac_wine_try_cflags_saved
6887 eval ac_res
=\$
$as_ac_var
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6889 $as_echo "$ac_res" >&6; }
6890 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6891 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6892 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6894 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6896 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6897 if eval \
${$as_ac_var+:} false
; then :
6898 $as_echo_n "(cached) " >&6
6900 ac_wine_try_cflags_saved
=$CFLAGS
6901 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6903 /* end confdefs.h. */
6904 int main(int argc, char **argv) { return 0; }
6906 if ac_fn_c_try_link
"$LINENO"; then :
6907 eval "$as_ac_var=yes"
6909 eval "$as_ac_var=no"
6911 rm -f core conftest.err conftest.
$ac_objext \
6912 conftest
$ac_exeext conftest.
$ac_ext
6913 CFLAGS
=$ac_wine_try_cflags_saved
6915 eval ac_res
=\$
$as_ac_var
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6917 $as_echo "$ac_res" >&6; }
6918 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6919 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6920 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6925 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6926 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
6927 $as_echo_n "(cached) " >&6
6929 ac_wine_try_cflags_saved
=$CFLAGS
6930 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
6931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6932 /* end confdefs.h. */
6933 int main(int argc, char **argv) { return 0; }
6935 if ac_fn_c_try_link
"$LINENO"; then :
6936 ac_cv_cflags__Wl___enable_new_dtags
=yes
6938 ac_cv_cflags__Wl___enable_new_dtags
=no
6940 rm -f core conftest.err conftest.
$ac_objext \
6941 conftest
$ac_exeext conftest.
$ac_ext
6942 CFLAGS
=$ac_wine_try_cflags_saved
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6945 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6946 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6947 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6951 *i
[3456789]86* | x86_64
)
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6953 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6954 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
6955 $as_echo_n "(cached) " >&6
6957 ac_wine_try_cflags_saved
=$CFLAGS
6958 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6960 /* end confdefs.h. */
6961 int main(int argc, char **argv) { return 0; }
6963 if ac_fn_c_try_link
"$LINENO"; then :
6964 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
6966 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
6968 rm -f core conftest.err conftest.
$ac_objext \
6969 conftest
$ac_exeext conftest.
$ac_ext
6970 CFLAGS
=$ac_wine_try_cflags_saved
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
6973 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
6974 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
6975 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
6983 libwine.so: \$(OBJS) Makefile.in
6984 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
6986 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
6987 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
6990 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
6993 \$(RM) libwine.so version.c
6999 DLLFLAGS
="$DLLFLAGS -fPIC"
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7002 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7003 if ${ac_cv_c_dll_gnuelf+:} false
; then :
7004 $as_echo_n "(cached) " >&6
7006 ac_wine_try_cflags_saved
=$CFLAGS
7007 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7009 /* end confdefs.h. */
7012 if ac_fn_c_try_link
"$LINENO"; then :
7013 ac_cv_c_dll_gnuelf
="yes"
7015 ac_cv_c_dll_gnuelf
="no"
7017 rm -f core conftest.err conftest.
$ac_objext \
7018 conftest
$ac_exeext conftest.
$ac_ext
7019 CFLAGS
=$ac_wine_try_cflags_saved
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7022 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7023 if test "$ac_cv_c_dll_gnuelf" = "yes"
7025 LDSHARED
="\$(CC) -shared"
7026 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7028 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7029 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
7030 $as_echo_n "(cached) " >&6
7032 ac_wine_try_cflags_saved
=$CFLAGS
7033 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7035 /* end confdefs.h. */
7036 int main(int argc, char **argv) { return 0; }
7038 if ac_fn_c_try_link
"$LINENO"; then :
7039 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
7041 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
7043 rm -f core conftest.err conftest.
$ac_objext \
7044 conftest
$ac_exeext conftest.
$ac_ext
7045 CFLAGS
=$ac_wine_try_cflags_saved
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7048 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7049 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7050 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7053 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7054 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
7055 $as_echo_n "(cached) " >&6
7057 ac_wine_try_cflags_saved
=$CFLAGS
7058 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7060 /* end confdefs.h. */
7061 int main(int argc, char **argv) { return 0; }
7063 if ac_fn_c_try_link
"$LINENO"; then :
7064 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
7066 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
7068 rm -f core conftest.err conftest.
$ac_objext \
7069 conftest
$ac_exeext conftest.
$ac_ext
7070 CFLAGS
=$ac_wine_try_cflags_saved
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7073 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7074 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7075 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
7080 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
7081 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
7082 $as_echo_n "(cached) " >&6
7084 ac_wine_try_cflags_saved
=$CFLAGS
7085 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
7086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7087 /* end confdefs.h. */
7088 int main(int argc, char **argv) { return 0; }
7090 if ac_fn_c_try_link
"$LINENO"; then :
7091 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
7093 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
7095 rm -f core conftest.err conftest.
$ac_objext \
7096 conftest
$ac_exeext conftest.
$ac_ext
7097 CFLAGS
=$ac_wine_try_cflags_saved
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
7100 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
7101 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
7102 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
7106 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
7107 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
7108 $as_echo_n "(cached) " >&6
7110 ac_wine_try_cflags_saved
=$CFLAGS
7111 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
7112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7113 /* end confdefs.h. */
7114 int main(int argc, char **argv) { return 0; }
7116 if ac_fn_c_try_link
"$LINENO"; then :
7117 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
7119 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
7121 rm -f core conftest.err conftest.
$ac_objext \
7122 conftest
$ac_exeext conftest.
$ac_ext
7123 CFLAGS
=$ac_wine_try_cflags_saved
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
7126 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
7127 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
7128 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
7131 echo '{ global: *; };' >conftest.map
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7133 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7134 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
7135 $as_echo_n "(cached) " >&6
7137 ac_wine_try_cflags_saved
=$CFLAGS
7138 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7140 /* end confdefs.h. */
7141 int main(int argc, char **argv) { return 0; }
7143 if ac_fn_c_try_link
"$LINENO"; then :
7144 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
7146 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
7148 rm -f core conftest.err conftest.
$ac_objext \
7149 conftest
$ac_exeext conftest.
$ac_ext
7150 CFLAGS
=$ac_wine_try_cflags_saved
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7153 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7154 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7155 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7160 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7161 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7162 $as_echo_n "(cached) " >&6
7164 ac_wine_try_cflags_saved
=$CFLAGS
7165 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7167 /* end confdefs.h. */
7168 int main(int argc, char **argv) { return 0; }
7170 if ac_fn_c_try_link
"$LINENO"; then :
7171 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7173 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7175 rm -f core conftest.err conftest.
$ac_objext \
7176 conftest
$ac_exeext conftest.
$ac_ext
7177 CFLAGS
=$ac_wine_try_cflags_saved
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7180 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7181 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7182 LDEXECFLAGS
="-Wl,--export-dynamic"
7186 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7188 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7189 if eval \
${$as_ac_var+:} false
; then :
7190 $as_echo_n "(cached) " >&6
7192 ac_wine_try_cflags_saved
=$CFLAGS
7193 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7195 /* end confdefs.h. */
7196 int main(int argc, char **argv) { return 0; }
7198 if ac_fn_c_try_link
"$LINENO"; then :
7199 eval "$as_ac_var=yes"
7201 eval "$as_ac_var=no"
7203 rm -f core conftest.err conftest.
$ac_objext \
7204 conftest
$ac_exeext conftest.
$ac_ext
7205 CFLAGS
=$ac_wine_try_cflags_saved
7207 eval ac_res
=\$
$as_ac_var
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7209 $as_echo "$ac_res" >&6; }
7210 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7211 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7212 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7214 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7216 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7217 if eval \
${$as_ac_var+:} false
; then :
7218 $as_echo_n "(cached) " >&6
7220 ac_wine_try_cflags_saved
=$CFLAGS
7221 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7223 /* end confdefs.h. */
7224 int main(int argc, char **argv) { return 0; }
7226 if ac_fn_c_try_link
"$LINENO"; then :
7227 eval "$as_ac_var=yes"
7229 eval "$as_ac_var=no"
7231 rm -f core conftest.err conftest.
$ac_objext \
7232 conftest
$ac_exeext conftest.
$ac_ext
7233 CFLAGS
=$ac_wine_try_cflags_saved
7235 eval ac_res
=\$
$as_ac_var
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7237 $as_echo "$ac_res" >&6; }
7238 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7239 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7240 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7245 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7246 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7247 $as_echo_n "(cached) " >&6
7249 ac_wine_try_cflags_saved
=$CFLAGS
7250 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7252 /* end confdefs.h. */
7253 int main(int argc, char **argv) { return 0; }
7255 if ac_fn_c_try_link
"$LINENO"; then :
7256 ac_cv_cflags__Wl___enable_new_dtags
=yes
7258 ac_cv_cflags__Wl___enable_new_dtags
=no
7260 rm -f core conftest.err conftest.
$ac_objext \
7261 conftest
$ac_exeext conftest.
$ac_ext
7262 CFLAGS
=$ac_wine_try_cflags_saved
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7265 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7266 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7267 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7271 *i
[3456789]86* | x86_64
)
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7273 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7274 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7275 $as_echo_n "(cached) " >&6
7277 ac_wine_try_cflags_saved
=$CFLAGS
7278 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7280 /* end confdefs.h. */
7281 int main(int argc, char **argv) { return 0; }
7283 if ac_fn_c_try_link
"$LINENO"; then :
7284 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7286 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7288 rm -f core conftest.err conftest.
$ac_objext \
7289 conftest
$ac_exeext conftest.
$ac_ext
7290 CFLAGS
=$ac_wine_try_cflags_saved
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7293 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7294 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7296 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7297 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7301 # Extract the first word of "prelink", so it can be a program name with args.
7302 set dummy prelink
; ac_word
=$2
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7304 $as_echo_n "checking for $ac_word... " >&6; }
7305 if ${ac_cv_path_PRELINK+:} false
; then :
7306 $as_echo_n "(cached) " >&6
7310 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7314 for as_dir
in /sbin
/usr
/sbin
$PATH
7317 test -z "$as_dir" && as_dir
=.
7318 for ac_exec_ext
in '' $ac_executable_extensions; do
7319 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7320 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7328 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7332 PRELINK
=$ac_cv_path_PRELINK
7333 if test -n "$PRELINK"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7335 $as_echo "$PRELINK" >&6; }
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7338 $as_echo "no" >&6; }
7342 if test "x$PRELINK" = xfalse
7344 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7351 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7352 if ${ac_cv_c_dll_unixware+:} false
; then :
7353 $as_echo_n "(cached) " >&6
7355 ac_wine_try_cflags_saved
=$CFLAGS
7356 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7358 /* end confdefs.h. */
7361 if ac_fn_c_try_link
"$LINENO"; then :
7362 ac_cv_c_dll_unixware
="yes"
7364 ac_cv_c_dll_unixware
="no"
7366 rm -f core conftest.err conftest.
$ac_objext \
7367 conftest
$ac_exeext conftest.
$ac_ext
7368 CFLAGS
=$ac_wine_try_cflags_saved
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7371 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7372 if test "$ac_cv_c_dll_unixware" = "yes"
7374 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7375 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
7381 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7382 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7384 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7385 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7387 libwine.so: libwine.so.\$(SOVERSION)
7388 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7390 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
7391 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
7392 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7394 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7395 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
7398 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7401 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
7407 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7408 enable_winemac_drv
=${enable_winemac_drv:-no}
7410 CROSSTEST_DISABLE
=\
#
7412 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7416 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
7419 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 " ;;
7421 ac_prefix_list
="" ;;
7423 for ac_prog
in $ac_prefix_list
7425 # Extract the first word of "$ac_prog", so it can be a program name with args.
7426 set dummy
$ac_prog; ac_word
=$2
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7428 $as_echo_n "checking for $ac_word... " >&6; }
7429 if ${ac_cv_prog_CROSSCC+:} false
; then :
7430 $as_echo_n "(cached) " >&6
7432 if test -n "$CROSSCC"; then
7433 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7439 test -z "$as_dir" && as_dir
=.
7440 for ac_exec_ext
in '' $ac_executable_extensions; do
7441 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7442 ac_cv_prog_CROSSCC
="$ac_prog"
7443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7452 CROSSCC
=$ac_cv_prog_CROSSCC
7453 if test -n "$CROSSCC"; then
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7455 $as_echo "$CROSSCC" >&6; }
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7458 $as_echo "no" >&6; }
7462 test -n "$CROSSCC" && break
7464 test -n "$CROSSCC" || CROSSCC
="false"
7466 if test "$CROSSCC" != "false"
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7471 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7473 /* end confdefs.h. */
7483 if ac_fn_c_try_compile
"$LINENO"; then :
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7485 $as_echo "yes" >&6; }
7492 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7496 if test -n "$target"
7498 CROSSTEST_DISABLE
=""
7499 CROSSTARGET
="$target"
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7504 $as_echo "no" >&6; }
7506 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7512 if test "$ac_cv_header_pthread_h" = "yes"
7514 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7515 if test "x$ac_cv_func_pthread_create" = xyes
; then :
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7519 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7520 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
7521 $as_echo_n "(cached) " >&6
7523 ac_check_lib_save_LIBS
=$LIBS
7524 LIBS
="-lpthread $LIBS"
7525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h. */
7528 /* Override any GCC internal prototype to avoid an error.
7529 Use char because int might match the return type of a GCC
7530 builtin and then its argument prototype would still apply. */
7534 char pthread_create ();
7538 return pthread_create ();
7543 if ac_fn_c_try_link
"$LINENO"; then :
7544 ac_cv_lib_pthread_pthread_create
=yes
7546 ac_cv_lib_pthread_pthread_create
=no
7548 rm -f core conftest.err conftest.
$ac_objext \
7549 conftest
$ac_exeext conftest.
$ac_ext
7550 LIBS
=$ac_check_lib_save_LIBS
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7553 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7554 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
7555 LIBPTHREAD
="-lpthread"
7562 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
7563 case "x$with_pthread" in
7565 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7566 Wine cannot support threads without libpthread.
7567 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7573 $as_echo_n "checking for X... " >&6; }
7576 # Check whether --with-x was given.
7577 if test "${with_x+set}" = set; then :
7581 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7582 if test "x$with_x" = xno
; then
7583 # The user explicitly disabled X.
7586 case $x_includes,$x_libraries in #(
7587 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
7588 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
7589 $as_echo_n "(cached) " >&6
7591 # One or both of the vars are not set, and there is no cached value.
7592 ac_x_includes
=no ac_x_libraries
=no
7593 rm -f -r conftest.dir
7594 if mkdir conftest.dir
; then
7596 cat >Imakefile
<<'_ACEOF'
7598 @echo incroot='${INCROOT}'
7600 @echo usrlibdir='${USRLIBDIR}'
7602 @echo libdir='${LIBDIR}'
7604 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7605 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7606 for ac_var
in incroot usrlibdir libdir
; do
7607 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7609 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7610 for ac_extension
in a so sl dylib la dll
; do
7611 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7612 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7613 ac_im_usrlibdir
=$ac_im_libdir; break
7616 # Screen out bogus values from the imake configuration. They are
7617 # bogus both because they are the default anyway, and because
7618 # using them would break gcc on systems where it needs fixed includes.
7619 case $ac_im_incroot in
7620 /usr
/include
) ac_x_includes
= ;;
7621 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7623 case $ac_im_usrlibdir in
7624 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7625 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7629 rm -f -r conftest.dir
7632 # Standard set of common directories for X headers.
7633 # Check X11 before X11Rn because it is often a symlink to the current release.
7647 /usr/local/X11/include
7648 /usr/local/X11R7/include
7649 /usr/local/X11R6/include
7650 /usr/local/X11R5/include
7651 /usr/local/X11R4/include
7653 /usr/local/include/X11
7654 /usr/local/include/X11R7
7655 /usr/local/include/X11R6
7656 /usr/local/include/X11R5
7657 /usr/local/include/X11R4
7661 /usr/XFree86/include/X11
7665 /usr/unsupported/include
7667 /usr/local/x11r5/include
7668 /usr/lpp/Xamples/include
7670 /usr/openwin/include
7671 /usr/openwin/share/include'
7673 if test "$ac_x_includes" = no
; then
7674 # Guess where to find include files, by looking for Xlib.h.
7675 # First, try using that file with no special directory specified.
7676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7677 /* end confdefs.h. */
7678 #include <X11/Xlib.h>
7680 if ac_fn_c_try_cpp
"$LINENO"; then :
7681 # We can compile using X headers with no special include directory.
7684 for ac_dir
in $ac_x_header_dirs; do
7685 if test -r "$ac_dir/X11/Xlib.h"; then
7686 ac_x_includes
=$ac_dir
7691 rm -f conftest.err conftest.i conftest.
$ac_ext
7692 fi # $ac_x_includes = no
7694 if test "$ac_x_libraries" = no
; then
7695 # Check for the libraries.
7696 # See if we find them without any special options.
7697 # Don't add to $LIBS permanently.
7700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7701 /* end confdefs.h. */
7702 #include <X11/Xlib.h>
7711 if ac_fn_c_try_link
"$LINENO"; then :
7713 # We can link X programs with no special library path.
7717 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7719 # Don't even attempt the hair of trying to link an X program!
7720 for ac_extension
in a so sl dylib la dll
; do
7721 if test -r "$ac_dir/libX11.$ac_extension"; then
7722 ac_x_libraries
=$ac_dir
7728 rm -f core conftest.err conftest.
$ac_objext \
7729 conftest
$ac_exeext conftest.
$ac_ext
7730 fi # $ac_x_libraries = no
7732 case $ac_x_includes,$ac_x_libraries in #(
7734 # Didn't find X, or a directory has "'" in its name.
7735 ac_cv_have_x
="have_x=no";; #(
7737 # Record where we found X for the cache.
7738 ac_cv_have_x
="have_x=yes\
7739 ac_x_includes='$ac_x_includes'\
7740 ac_x_libraries='$ac_x_libraries'"
7746 eval "$ac_cv_have_x"
7749 if test "$have_x" != yes; then
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7751 $as_echo "$have_x" >&6; }
7754 # If each of the values was on the command line, it overrides each guess.
7755 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7756 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7757 # Update the cache value to reflect the command line values.
7758 ac_cv_have_x
="have_x=yes\
7759 ac_x_includes='$x_includes'\
7760 ac_x_libraries='$x_libraries'"
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7762 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7765 if test "$no_x" = yes; then
7766 # Not all programs may use this symbol, but it does not hurt to define it.
7768 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7770 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7772 if test -n "$x_includes"; then
7773 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7776 # It would also be nice to do this for all -L options, not just this one.
7777 if test -n "$x_libraries"; then
7778 X_LIBS
="$X_LIBS -L$x_libraries"
7779 # For Solaris; some versions of Sun CC require a space after -R and
7780 # others require no space. Words are not sufficient . . . .
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7782 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7783 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7784 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7785 ac_c_werror_flag
=yes
7786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7787 /* end confdefs.h. */
7797 if ac_fn_c_try_link
"$LINENO"; then :
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7799 $as_echo "no" >&6; }
7800 X_LIBS
="$X_LIBS -R$x_libraries"
7802 LIBS
="$ac_xsave_LIBS -R $x_libraries"
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: yes" >&5
7816 $as_echo "yes" >&6; }
7817 X_LIBS
="$X_LIBS -R $x_libraries"
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7820 $as_echo "neither works" >&6; }
7822 rm -f core conftest.err conftest.
$ac_objext \
7823 conftest
$ac_exeext conftest.
$ac_ext
7825 rm -f core conftest.err conftest.
$ac_objext \
7826 conftest
$ac_exeext conftest.
$ac_ext
7827 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7831 # Check for system-dependent libraries X programs must link with.
7832 # Do this before checking for the system-independent R6 libraries
7833 # (-lICE), since we may need -lsocket or whatever for X linking.
7835 if test "$ISC" = yes; then
7836 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7838 # Martyn Johnson says this is needed for Ultrix, if the X
7839 # libraries were built with DECnet support. And Karl Berry says
7840 # the Alpha needs dnet_stub (dnet does not exist).
7841 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7843 /* end confdefs.h. */
7845 /* Override any GCC internal prototype to avoid an error.
7846 Use char because int might match the return type of a GCC
7847 builtin and then its argument prototype would still apply. */
7851 char XOpenDisplay ();
7855 return XOpenDisplay ();
7860 if ac_fn_c_try_link
"$LINENO"; then :
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7864 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7865 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
7866 $as_echo_n "(cached) " >&6
7868 ac_check_lib_save_LIBS
=$LIBS
7870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7871 /* end confdefs.h. */
7873 /* Override any GCC internal prototype to avoid an error.
7874 Use char because int might match the return type of a GCC
7875 builtin and then its argument prototype would still apply. */
7883 return dnet_ntoa ();
7888 if ac_fn_c_try_link
"$LINENO"; then :
7889 ac_cv_lib_dnet_dnet_ntoa
=yes
7891 ac_cv_lib_dnet_dnet_ntoa
=no
7893 rm -f core conftest.err conftest.
$ac_objext \
7894 conftest
$ac_exeext conftest.
$ac_ext
7895 LIBS
=$ac_check_lib_save_LIBS
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7898 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7899 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
7900 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7903 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7905 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7906 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
7907 $as_echo_n "(cached) " >&6
7909 ac_check_lib_save_LIBS
=$LIBS
7910 LIBS
="-ldnet_stub $LIBS"
7911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h. */
7914 /* Override any GCC internal prototype to avoid an error.
7915 Use char because int might match the return type of a GCC
7916 builtin and then its argument prototype would still apply. */
7924 return dnet_ntoa ();
7929 if ac_fn_c_try_link
"$LINENO"; then :
7930 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7932 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7934 rm -f core conftest.err conftest.
$ac_objext \
7935 conftest
$ac_exeext conftest.
$ac_ext
7936 LIBS
=$ac_check_lib_save_LIBS
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7939 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7940 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
7941 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7946 rm -f core conftest.err conftest.
$ac_objext \
7947 conftest
$ac_exeext conftest.
$ac_ext
7948 LIBS
="$ac_xsave_LIBS"
7950 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7951 # to get the SysV transport functions.
7952 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7954 # The nsl library prevents programs from opening the X display
7955 # on Irix 5.2, according to T.E. Dickey.
7956 # The functions gethostbyname, getservbyname, and inet_addr are
7957 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7958 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7959 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
7963 if test $ac_cv_func_gethostbyname = no
; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7965 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7966 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
7967 $as_echo_n "(cached) " >&6
7969 ac_check_lib_save_LIBS
=$LIBS
7971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7972 /* end confdefs.h. */
7974 /* Override any GCC internal prototype to avoid an error.
7975 Use char because int might match the return type of a GCC
7976 builtin and then its argument prototype would still apply. */
7980 char gethostbyname ();
7984 return gethostbyname ();
7989 if ac_fn_c_try_link
"$LINENO"; then :
7990 ac_cv_lib_nsl_gethostbyname
=yes
7992 ac_cv_lib_nsl_gethostbyname
=no
7994 rm -f core conftest.err conftest.
$ac_objext \
7995 conftest
$ac_exeext conftest.
$ac_ext
7996 LIBS
=$ac_check_lib_save_LIBS
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7999 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8000 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8001 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8004 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8006 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8007 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8008 $as_echo_n "(cached) " >&6
8010 ac_check_lib_save_LIBS
=$LIBS
8012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8013 /* end confdefs.h. */
8015 /* Override any GCC internal prototype to avoid an error.
8016 Use char because int might match the return type of a GCC
8017 builtin and then its argument prototype would still apply. */
8021 char gethostbyname ();
8025 return gethostbyname ();
8030 if ac_fn_c_try_link
"$LINENO"; then :
8031 ac_cv_lib_bsd_gethostbyname
=yes
8033 ac_cv_lib_bsd_gethostbyname
=no
8035 rm -f core conftest.err conftest.
$ac_objext \
8036 conftest
$ac_exeext conftest.
$ac_ext
8037 LIBS
=$ac_check_lib_save_LIBS
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8040 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8041 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
8042 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8048 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8049 # socket/setsockopt and other routines are undefined under SCO ODT
8050 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8051 # on later versions), says Simon Leinen: it contains gethostby*
8052 # variants that don't use the name server (or something). -lsocket
8053 # must be given before -lnsl if both are needed. We assume that
8054 # if connect needs -lnsl, so does gethostbyname.
8055 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
8056 if test "x$ac_cv_func_connect" = xyes
; then :
8060 if test $ac_cv_func_connect = no
; then
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8062 $as_echo_n "checking for connect in -lsocket... " >&6; }
8063 if ${ac_cv_lib_socket_connect+:} false
; then :
8064 $as_echo_n "(cached) " >&6
8066 ac_check_lib_save_LIBS
=$LIBS
8067 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8069 /* end confdefs.h. */
8071 /* Override any GCC internal prototype to avoid an error.
8072 Use char because int might match the return type of a GCC
8073 builtin and then its argument prototype would still apply. */
8086 if ac_fn_c_try_link
"$LINENO"; then :
8087 ac_cv_lib_socket_connect
=yes
8089 ac_cv_lib_socket_connect
=no
8091 rm -f core conftest.err conftest.
$ac_objext \
8092 conftest
$ac_exeext conftest.
$ac_ext
8093 LIBS
=$ac_check_lib_save_LIBS
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8096 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8097 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
8098 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8103 # Guillermo Gomez says -lposix is necessary on A/UX.
8104 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
8105 if test "x$ac_cv_func_remove" = xyes
; then :
8109 if test $ac_cv_func_remove = no
; then
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8111 $as_echo_n "checking for remove in -lposix... " >&6; }
8112 if ${ac_cv_lib_posix_remove+:} false
; then :
8113 $as_echo_n "(cached) " >&6
8115 ac_check_lib_save_LIBS
=$LIBS
8116 LIBS
="-lposix $LIBS"
8117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8118 /* end confdefs.h. */
8120 /* Override any GCC internal prototype to avoid an error.
8121 Use char because int might match the return type of a GCC
8122 builtin and then its argument prototype would still apply. */
8135 if ac_fn_c_try_link
"$LINENO"; then :
8136 ac_cv_lib_posix_remove
=yes
8138 ac_cv_lib_posix_remove
=no
8140 rm -f core conftest.err conftest.
$ac_objext \
8141 conftest
$ac_exeext conftest.
$ac_ext
8142 LIBS
=$ac_check_lib_save_LIBS
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8145 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8146 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
8147 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8152 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8153 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
8154 if test "x$ac_cv_func_shmat" = xyes
; then :
8158 if test $ac_cv_func_shmat = no
; then
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8160 $as_echo_n "checking for shmat in -lipc... " >&6; }
8161 if ${ac_cv_lib_ipc_shmat+:} false
; then :
8162 $as_echo_n "(cached) " >&6
8164 ac_check_lib_save_LIBS
=$LIBS
8166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8167 /* end confdefs.h. */
8169 /* Override any GCC internal prototype to avoid an error.
8170 Use char because int might match the return type of a GCC
8171 builtin and then its argument prototype would still apply. */
8184 if ac_fn_c_try_link
"$LINENO"; then :
8185 ac_cv_lib_ipc_shmat
=yes
8187 ac_cv_lib_ipc_shmat
=no
8189 rm -f core conftest.err conftest.
$ac_objext \
8190 conftest
$ac_exeext conftest.
$ac_ext
8191 LIBS
=$ac_check_lib_save_LIBS
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8194 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8195 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
8196 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8202 # Check for libraries that X11R6 Xt/Xaw programs need.
8203 ac_save_LDFLAGS
=$LDFLAGS
8204 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8205 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8206 # check for ICE first), but we must link in the order -lSM -lICE or
8207 # we get undefined symbols. So assume we have SM if we have ICE.
8208 # These have to be linked with before -lX11, unlike the other
8209 # libraries we check for below, so use a different variable.
8210 # John Interrante, Karl Berry
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8212 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8213 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
8214 $as_echo_n "(cached) " >&6
8216 ac_check_lib_save_LIBS
=$LIBS
8217 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8219 /* end confdefs.h. */
8221 /* Override any GCC internal prototype to avoid an error.
8222 Use char because int might match the return type of a GCC
8223 builtin and then its argument prototype would still apply. */
8227 char IceConnectionNumber ();
8231 return IceConnectionNumber ();
8236 if ac_fn_c_try_link
"$LINENO"; then :
8237 ac_cv_lib_ICE_IceConnectionNumber
=yes
8239 ac_cv_lib_ICE_IceConnectionNumber
=no
8241 rm -f core conftest.err conftest.
$ac_objext \
8242 conftest
$ac_exeext conftest.
$ac_ext
8243 LIBS
=$ac_check_lib_save_LIBS
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8246 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8247 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
8248 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8251 LDFLAGS
=$ac_save_LDFLAGS
8256 if test "$have_x" = "yes"
8259 ac_save_CPPFLAGS
="$CPPFLAGS"
8260 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8263 $as_echo_n "checking for -lX11... " >&6; }
8264 if ${ac_cv_lib_soname_X11+:} false
; then :
8265 $as_echo_n "(cached) " >&6
8267 ac_check_soname_save_LIBS
=$LIBS
8268 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8270 /* end confdefs.h. */
8272 /* Override any GCC internal prototype to avoid an error.
8273 Use char because int might match the return type of a GCC
8274 builtin and then its argument prototype would still apply. */
8278 char XCreateWindow ();
8282 return XCreateWindow ();
8287 if ac_fn_c_try_link
"$LINENO"; then :
8289 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8290 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'` ;;
8291 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8292 if test "x$ac_cv_lib_soname_X11" = x
; then :
8293 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8297 rm -f core conftest.err conftest.
$ac_objext \
8298 conftest
$ac_exeext conftest.
$ac_ext
8299 LIBS
=$ac_check_soname_save_LIBS
8301 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8303 $as_echo "not found" >&6; }
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8307 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8309 cat >>confdefs.h
<<_ACEOF
8310 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8316 $as_echo_n "checking for -lXext... " >&6; }
8317 if ${ac_cv_lib_soname_Xext+:} false
; then :
8318 $as_echo_n "(cached) " >&6
8320 ac_check_soname_save_LIBS
=$LIBS
8321 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8323 /* end confdefs.h. */
8325 /* Override any GCC internal prototype to avoid an error.
8326 Use char because int might match the return type of a GCC
8327 builtin and then its argument prototype would still apply. */
8331 char XextCreateExtension ();
8335 return XextCreateExtension ();
8340 if ac_fn_c_try_link
"$LINENO"; then :
8342 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8343 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'` ;;
8344 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8345 if test "x$ac_cv_lib_soname_Xext" = x
; then :
8346 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8350 rm -f core conftest.err conftest.
$ac_objext \
8351 conftest
$ac_exeext conftest.
$ac_ext
8352 LIBS
=$ac_check_soname_save_LIBS
8354 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8356 $as_echo "not found" >&6; }
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8360 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8362 cat >>confdefs.h
<<_ACEOF
8363 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8369 for ac_header
in X11
/Xlib.h \
8372 X11
/Xcursor
/Xcursor.h \
8373 X11
/extensions
/shape.h \
8374 X11
/extensions
/XInput.h \
8375 X11
/extensions
/XInput2.h \
8376 X11
/extensions
/XShm.h \
8377 X11
/extensions
/Xcomposite.h \
8378 X11
/extensions
/Xinerama.h \
8379 X11
/extensions
/Xrandr.h \
8380 X11
/extensions
/Xrender.h \
8381 X11
/extensions
/xf86vmode.h \
8382 X11
/extensions
/xf86vmproto.h
8384 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8385 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8386 # include <X11/Xlib.h>
8388 #ifdef HAVE_X11_XUTIL_H
8389 # include <X11/Xutil.h>
8392 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8393 cat >>confdefs.h
<<_ACEOF
8394 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8402 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8405 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8406 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
8407 $as_echo_n "(cached) " >&6
8409 ac_check_lib_save_LIBS
=$LIBS
8410 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8412 /* end confdefs.h. */
8414 /* Override any GCC internal prototype to avoid an error.
8415 Use char because int might match the return type of a GCC
8416 builtin and then its argument prototype would still apply. */
8420 char XkbQueryExtension ();
8424 return XkbQueryExtension ();
8429 if ac_fn_c_try_link
"$LINENO"; then :
8430 ac_cv_lib_X11_XkbQueryExtension
=yes
8432 ac_cv_lib_X11_XkbQueryExtension
=no
8434 rm -f core conftest.err conftest.
$ac_objext \
8435 conftest
$ac_exeext conftest.
$ac_ext
8436 LIBS
=$ac_check_lib_save_LIBS
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8439 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8440 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
8442 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8448 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8451 $as_echo_n "checking for -lXcursor... " >&6; }
8452 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
8453 $as_echo_n "(cached) " >&6
8455 ac_check_soname_save_LIBS
=$LIBS
8456 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8458 /* end confdefs.h. */
8460 /* Override any GCC internal prototype to avoid an error.
8461 Use char because int might match the return type of a GCC
8462 builtin and then its argument prototype would still apply. */
8466 char XcursorImageLoadCursor ();
8470 return XcursorImageLoadCursor ();
8475 if ac_fn_c_try_link
"$LINENO"; then :
8477 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8478 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'` ;;
8479 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8480 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
8481 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8485 rm -f core conftest.err conftest.
$ac_objext \
8486 conftest
$ac_exeext conftest.
$ac_ext
8487 LIBS
=$ac_check_soname_save_LIBS
8489 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8491 $as_echo "not found" >&6; }
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8495 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8497 cat >>confdefs.h
<<_ACEOF
8498 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8504 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8505 case "x$with_xcursor" in
8506 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8508 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8509 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8513 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8516 $as_echo_n "checking for -lXi... " >&6; }
8517 if ${ac_cv_lib_soname_Xi+:} false
; then :
8518 $as_echo_n "(cached) " >&6
8520 ac_check_soname_save_LIBS
=$LIBS
8521 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8523 /* end confdefs.h. */
8525 /* Override any GCC internal prototype to avoid an error.
8526 Use char because int might match the return type of a GCC
8527 builtin and then its argument prototype would still apply. */
8531 char XOpenDevice ();
8535 return XOpenDevice ();
8540 if ac_fn_c_try_link
"$LINENO"; then :
8542 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8543 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'` ;;
8544 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8545 if test "x$ac_cv_lib_soname_Xi" = x
; then :
8546 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8550 rm -f core conftest.err conftest.
$ac_objext \
8551 conftest
$ac_exeext conftest.
$ac_ext
8552 LIBS
=$ac_check_soname_save_LIBS
8554 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8556 $as_echo "not found" >&6; }
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8560 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8562 cat >>confdefs.h
<<_ACEOF
8563 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8569 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8570 case "x$with_xinput" in
8571 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8573 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8574 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8578 if test "x$ac_cv_lib_soname_Xi" != x
8580 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8581 case "x$with_xinput2" in
8582 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8584 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
8585 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8590 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8593 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8594 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
8595 $as_echo_n "(cached) " >&6
8597 ac_check_lib_save_LIBS
=$LIBS
8598 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8602 /* Override any GCC internal prototype to avoid an error.
8603 Use char because int might match the return type of a GCC
8604 builtin and then its argument prototype would still apply. */
8608 char XShmQueryExtension ();
8612 return XShmQueryExtension ();
8617 if ac_fn_c_try_link
"$LINENO"; then :
8618 ac_cv_lib_Xext_XShmQueryExtension
=yes
8620 ac_cv_lib_Xext_XShmQueryExtension
=no
8622 rm -f core conftest.err conftest.
$ac_objext \
8623 conftest
$ac_exeext conftest.
$ac_ext
8624 LIBS
=$ac_check_lib_save_LIBS
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8627 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8628 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
8630 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8635 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8636 case "x$with_xshm" in
8637 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8639 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8640 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8644 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8647 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8648 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
8649 $as_echo_n "(cached) " >&6
8651 ac_check_lib_save_LIBS
=$LIBS
8652 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8654 /* end confdefs.h. */
8656 /* Override any GCC internal prototype to avoid an error.
8657 Use char because int might match the return type of a GCC
8658 builtin and then its argument prototype would still apply. */
8662 char XShapeQueryExtension ();
8666 return XShapeQueryExtension ();
8671 if ac_fn_c_try_link
"$LINENO"; then :
8672 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8674 ac_cv_lib_Xext_XShapeQueryExtension
=no
8676 rm -f core conftest.err conftest.
$ac_objext \
8677 conftest
$ac_exeext conftest.
$ac_ext
8678 LIBS
=$ac_check_lib_save_LIBS
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8681 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8682 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
8684 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8689 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8690 case "x$with_xshape" in
8691 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8693 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8694 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8698 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8701 $as_echo_n "checking for -lXxf86vm... " >&6; }
8702 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
8703 $as_echo_n "(cached) " >&6
8705 ac_check_soname_save_LIBS
=$LIBS
8706 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8708 /* end confdefs.h. */
8710 /* Override any GCC internal prototype to avoid an error.
8711 Use char because int might match the return type of a GCC
8712 builtin and then its argument prototype would still apply. */
8716 char XF86VidModeQueryExtension ();
8720 return XF86VidModeQueryExtension ();
8725 if ac_fn_c_try_link
"$LINENO"; then :
8727 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8728 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'` ;;
8729 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8730 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
8731 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8735 rm -f core conftest.err conftest.
$ac_objext \
8736 conftest
$ac_exeext conftest.
$ac_ext
8737 LIBS
=$ac_check_soname_save_LIBS
8739 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8741 $as_echo "not found" >&6; }
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8745 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8747 cat >>confdefs.h
<<_ACEOF
8748 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8754 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8755 case "x$with_xxf86vm" in
8756 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8758 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8759 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8763 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"
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8766 $as_echo_n "checking for -lXrender... " >&6; }
8767 if ${ac_cv_lib_soname_Xrender+:} false
; then :
8768 $as_echo_n "(cached) " >&6
8770 ac_check_soname_save_LIBS
=$LIBS
8771 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8773 /* end confdefs.h. */
8775 /* Override any GCC internal prototype to avoid an error.
8776 Use char because int might match the return type of a GCC
8777 builtin and then its argument prototype would still apply. */
8781 char XRenderQueryExtension ();
8785 return XRenderQueryExtension ();
8790 if ac_fn_c_try_link
"$LINENO"; then :
8792 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8793 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'` ;;
8794 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8795 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
8796 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8800 rm -f core conftest.err conftest.
$ac_objext \
8801 conftest
$ac_exeext conftest.
$ac_ext
8802 LIBS
=$ac_check_soname_save_LIBS
8804 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8806 $as_echo "not found" >&6; }
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8810 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8812 cat >>confdefs.h
<<_ACEOF
8813 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8817 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8818 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
8819 $as_echo_n "(cached) " >&6
8821 ac_check_lib_save_LIBS
=$LIBS
8822 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8824 /* end confdefs.h. */
8826 /* Override any GCC internal prototype to avoid an error.
8827 Use char because int might match the return type of a GCC
8828 builtin and then its argument prototype would still apply. */
8832 char XRenderSetPictureTransform ();
8836 return XRenderSetPictureTransform ();
8841 if ac_fn_c_try_link
"$LINENO"; then :
8842 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8844 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8846 rm -f core conftest.err conftest.
$ac_objext \
8847 conftest
$ac_exeext conftest.
$ac_ext
8848 LIBS
=$ac_check_lib_save_LIBS
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8851 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8852 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
8854 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8859 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8860 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
8861 $as_echo_n "(cached) " >&6
8863 ac_check_lib_save_LIBS
=$LIBS
8864 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8866 /* end confdefs.h. */
8868 /* Override any GCC internal prototype to avoid an error.
8869 Use char because int might match the return type of a GCC
8870 builtin and then its argument prototype would still apply. */
8874 char XRenderCreateLinearGradient ();
8878 return XRenderCreateLinearGradient ();
8883 if ac_fn_c_try_link
"$LINENO"; then :
8884 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
8886 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
8888 rm -f core conftest.err conftest.
$ac_objext \
8889 conftest
$ac_exeext conftest.
$ac_ext
8890 LIBS
=$ac_check_lib_save_LIBS
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8893 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8894 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
8896 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8903 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8904 case "x$with_xrender" in
8905 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8907 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8908 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8912 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8915 /* end confdefs.h. */
8916 #include <X11/Xlib.h>
8917 #include <X11/extensions/Xrandr.h>
8921 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8926 if ac_fn_c_try_compile
"$LINENO"; then :
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8928 $as_echo_n "checking for -lXrandr... " >&6; }
8929 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
8930 $as_echo_n "(cached) " >&6
8932 ac_check_soname_save_LIBS
=$LIBS
8933 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8935 /* end confdefs.h. */
8937 /* Override any GCC internal prototype to avoid an error.
8938 Use char because int might match the return type of a GCC
8939 builtin and then its argument prototype would still apply. */
8943 char XRRQueryExtension ();
8947 return XRRQueryExtension ();
8952 if ac_fn_c_try_link
"$LINENO"; then :
8954 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8955 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'` ;;
8956 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8957 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
8958 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8962 rm -f core conftest.err conftest.
$ac_objext \
8963 conftest
$ac_exeext conftest.
$ac_ext
8964 LIBS
=$ac_check_soname_save_LIBS
8966 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8968 $as_echo "not found" >&6; }
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8972 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8974 cat >>confdefs.h
<<_ACEOF
8975 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8979 /* end confdefs.h. */
8980 #include <X11/Xlib.h>
8981 #include <X11/extensions/Xrandr.h>
8985 static typeof(XRRGetScreenResources) *f; if (f) return 0;
8990 if ac_fn_c_try_compile
"$LINENO"; then :
8992 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
8995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9000 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9001 case "x$with_xrandr" in
9002 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9004 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9005 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9009 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9012 /* end confdefs.h. */
9013 #include <X11/Xlib.h>
9014 #include <X11/extensions/Xinerama.h>
9018 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9023 if ac_fn_c_try_compile
"$LINENO"; then :
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9025 $as_echo_n "checking for -lXinerama... " >&6; }
9026 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
9027 $as_echo_n "(cached) " >&6
9029 ac_check_soname_save_LIBS
=$LIBS
9030 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9032 /* end confdefs.h. */
9034 /* Override any GCC internal prototype to avoid an error.
9035 Use char because int might match the return type of a GCC
9036 builtin and then its argument prototype would still apply. */
9040 char XineramaQueryScreens ();
9044 return XineramaQueryScreens ();
9049 if ac_fn_c_try_link
"$LINENO"; then :
9051 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9052 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'` ;;
9053 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9054 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
9055 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9059 rm -f core conftest.err conftest.
$ac_objext \
9060 conftest
$ac_exeext conftest.
$ac_ext
9061 LIBS
=$ac_check_soname_save_LIBS
9063 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9065 $as_echo "not found" >&6; }
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9069 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9071 cat >>confdefs.h
<<_ACEOF
9072 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9080 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9081 case "x$with_xinerama" in
9082 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9084 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9085 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9089 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9092 $as_echo_n "checking for -lXcomposite... " >&6; }
9093 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
9094 $as_echo_n "(cached) " >&6
9096 ac_check_soname_save_LIBS
=$LIBS
9097 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9099 /* end confdefs.h. */
9101 /* Override any GCC internal prototype to avoid an error.
9102 Use char because int might match the return type of a GCC
9103 builtin and then its argument prototype would still apply. */
9107 char XCompositeRedirectWindow ();
9111 return XCompositeRedirectWindow ();
9116 if ac_fn_c_try_link
"$LINENO"; then :
9118 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9119 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'` ;;
9120 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9121 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
9122 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9126 rm -f core conftest.err conftest.
$ac_objext \
9127 conftest
$ac_exeext conftest.
$ac_ext
9128 LIBS
=$ac_check_soname_save_LIBS
9130 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9132 $as_echo "not found" >&6; }
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9136 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9138 cat >>confdefs.h
<<_ACEOF
9139 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9145 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9146 case "x$with_xcomposite" in
9147 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9149 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9150 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9154 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9155 #include <X11/Xlib.h>
9158 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
9160 cat >>confdefs.h
<<_ACEOF
9161 #define HAVE_XICCALLBACK_CALLBACK 1
9166 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9167 #include <X11/Xlib.h>
9170 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
9172 cat >>confdefs.h
<<_ACEOF
9173 #define HAVE_XEVENT_XCOOKIE 1
9182 if test "x$with_opengl" != "xno"
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9185 $as_echo_n "checking for -lGL... " >&6; }
9186 if ${ac_cv_lib_soname_GL+:} false
; then :
9187 $as_echo_n "(cached) " >&6
9189 ac_check_soname_save_LIBS
=$LIBS
9190 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9192 /* end confdefs.h. */
9194 /* Override any GCC internal prototype to avoid an error.
9195 Use char because int might match the return type of a GCC
9196 builtin and then its argument prototype would still apply. */
9200 char glXCreateContext ();
9204 return glXCreateContext ();
9209 if ac_fn_c_try_link
"$LINENO"; then :
9211 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9212 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'` ;;
9213 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9214 if test "x$ac_cv_lib_soname_GL" = x
; then :
9215 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9219 rm -f core conftest.err conftest.
$ac_objext \
9220 conftest
$ac_exeext conftest.
$ac_ext
9221 LIBS
=$ac_check_soname_save_LIBS
9223 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9225 $as_echo "not found" >&6; }
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9227 $as_echo_n "checking for -lGL... " >&6; }
9228 if ${ac_cv_lib_soname_GL+:} false
; then :
9229 $as_echo_n "(cached) " >&6
9231 ac_check_soname_save_LIBS
=$LIBS
9232 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"
9233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9234 /* end confdefs.h. */
9236 /* Override any GCC internal prototype to avoid an error.
9237 Use char because int might match the return type of a GCC
9238 builtin and then its argument prototype would still apply. */
9242 char glXCreateContext ();
9246 return glXCreateContext ();
9251 if ac_fn_c_try_link
"$LINENO"; then :
9253 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9254 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'` ;;
9255 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9256 if test "x$ac_cv_lib_soname_GL" = x
; then :
9257 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9261 rm -f core conftest.err conftest.
$ac_objext \
9262 conftest
$ac_exeext conftest.
$ac_ext
9263 LIBS
=$ac_check_soname_save_LIBS
9265 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9267 $as_echo "not found" >&6; }
9268 if test -f /usr
/X11R
6/lib
/libGL.a
9270 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
9271 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9273 opengl_msg
="No OpenGL library found on this system."
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9277 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9279 cat >>confdefs.h
<<_ACEOF
9280 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9283 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"
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9287 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9289 cat >>confdefs.h
<<_ACEOF
9290 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9295 if test "x$with_glu" != "xno"
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9298 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9299 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9300 $as_echo_n "(cached) " >&6
9302 ac_check_lib_save_LIBS
=$LIBS
9303 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9305 /* end confdefs.h. */
9307 /* Override any GCC internal prototype to avoid an error.
9308 Use char because int might match the return type of a GCC
9309 builtin and then its argument prototype would still apply. */
9317 return gluLookAt ();
9322 if ac_fn_c_try_link
"$LINENO"; then :
9323 ac_cv_lib_GLU_gluLookAt
=yes
9325 ac_cv_lib_GLU_gluLookAt
=no
9327 rm -f core conftest.err conftest.
$ac_objext \
9328 conftest
$ac_exeext conftest.
$ac_ext
9329 LIBS
=$ac_check_lib_save_LIBS
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9332 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9333 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
9337 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
9338 case "x$with_glu" in
9339 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9341 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9342 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9347 if test "x$with_osmesa" != "xno"
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9350 $as_echo_n "checking for -lOSMesa... " >&6; }
9351 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9352 $as_echo_n "(cached) " >&6
9354 ac_check_soname_save_LIBS
=$LIBS
9355 LIBS
="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9357 /* end confdefs.h. */
9359 /* Override any GCC internal prototype to avoid an error.
9360 Use char because int might match the return type of a GCC
9361 builtin and then its argument prototype would still apply. */
9374 if ac_fn_c_try_link
"$LINENO"; then :
9376 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9377 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'` ;;
9378 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9379 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
9380 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9384 rm -f core conftest.err conftest.
$ac_objext \
9385 conftest
$ac_exeext conftest.
$ac_ext
9386 LIBS
=$ac_check_soname_save_LIBS
9388 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9390 $as_echo "not found" >&6; }
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9394 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9396 cat >>confdefs.h
<<_ACEOF
9397 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9402 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9403 case "x$with_osmesa" in
9404 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9406 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9407 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9412 if test -n "$opengl_msg"; then :
9413 case "x$with_opengl" in
9414 x
) as_fn_append wine_warnings
"|$opengl_msg
9415 OpenGL and Direct3D won't be supported." ;;
9417 *) as_fn_error $?
"$opengl_msg
9418 OpenGL and Direct3D won't be supported.
9419 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9423 CPPFLAGS
="$ac_save_CPPFLAGS"
9428 enable_winex11_drv
=${enable_winex11_drv:-no}
9430 if test "x$XLIB" = "x"; then :
9433 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
9434 without X support, which probably isn't what you want. You will need
9435 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9436 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9440 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
9442 if test "$ac_cv_header_CL_cl_h" = "yes"
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9445 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9446 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
9447 $as_echo_n "(cached) " >&6
9449 ac_check_lib_save_LIBS
=$LIBS
9450 LIBS
="-lOpenCL $LIBS"
9451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9452 /* end confdefs.h. */
9454 /* Override any GCC internal prototype to avoid an error.
9455 Use char because int might match the return type of a GCC
9456 builtin and then its argument prototype would still apply. */
9460 char clGetPlatformInfo ();
9464 return clGetPlatformInfo ();
9469 if ac_fn_c_try_link
"$LINENO"; then :
9470 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9472 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9474 rm -f core conftest.err conftest.
$ac_objext \
9475 conftest
$ac_exeext conftest.
$ac_ext
9476 LIBS
=$ac_check_lib_save_LIBS
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9479 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9480 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
9481 LIBOPENCL
="-lOpenCL"
9486 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9487 case "x$with_opencl" in
9488 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9490 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9491 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9494 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9497 if test "x$with_xml" != "xno"
9499 ac_save_CPPFLAGS
="$CPPFLAGS"
9500 if test -n "$ac_tool_prefix"; then
9501 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9502 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9504 $as_echo_n "checking for $ac_word... " >&6; }
9505 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
9506 $as_echo_n "(cached) " >&6
9508 if test -n "$PKG_CONFIG"; then
9509 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
9511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9515 test -z "$as_dir" && as_dir
=.
9516 for ac_exec_ext
in '' $ac_executable_extensions; do
9517 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9518 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
9519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9528 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
9529 if test -n "$PKG_CONFIG"; then
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9531 $as_echo "$PKG_CONFIG" >&6; }
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9534 $as_echo "no" >&6; }
9539 if test -z "$ac_cv_prog_PKG_CONFIG"; then
9540 ac_ct_PKG_CONFIG
=$PKG_CONFIG
9541 # Extract the first word of "pkg-config", so it can be a program name with args.
9542 set dummy pkg-config
; ac_word
=$2
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9544 $as_echo_n "checking for $ac_word... " >&6; }
9545 if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false
; then :
9546 $as_echo_n "(cached) " >&6
9548 if test -n "$ac_ct_PKG_CONFIG"; then
9549 ac_cv_prog_ac_ct_PKG_CONFIG
="$ac_ct_PKG_CONFIG" # Let the user override the test.
9551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9555 test -z "$as_dir" && as_dir
=.
9556 for ac_exec_ext
in '' $ac_executable_extensions; do
9557 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9558 ac_cv_prog_ac_ct_PKG_CONFIG
="pkg-config"
9559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9568 ac_ct_PKG_CONFIG
=$ac_cv_prog_ac_ct_PKG_CONFIG
9569 if test -n "$ac_ct_PKG_CONFIG"; then
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
9571 $as_echo "$ac_ct_PKG_CONFIG" >&6; }
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9574 $as_echo "no" >&6; }
9577 if test "x$ac_ct_PKG_CONFIG" = x
; then
9580 case $cross_compiling:$ac_tool_warned in
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9584 ac_tool_warned
=yes ;;
9586 PKG_CONFIG
=$ac_ct_PKG_CONFIG
9589 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
9592 if test -n "$XML2_CFLAGS"; then :
9594 elif test -n "$PKG_CONFIG"; then :
9595 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
9597 XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
9598 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
9599 if test -n "$XML2_LIBS"; then :
9601 elif test -n "$PKG_CONFIG"; then :
9602 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
9604 XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
9605 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
9606 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
9608 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9609 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9610 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9611 cat >>confdefs.h
<<_ACEOF
9612 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9619 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"
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9622 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9623 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
9624 $as_echo_n "(cached) " >&6
9626 ac_check_lib_save_LIBS
=$LIBS
9627 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9629 /* end confdefs.h. */
9631 /* Override any GCC internal prototype to avoid an error.
9632 Use char because int might match the return type of a GCC
9633 builtin and then its argument prototype would still apply. */
9637 char xmlParseMemory ();
9641 return xmlParseMemory ();
9646 if ac_fn_c_try_link
"$LINENO"; then :
9647 ac_cv_lib_xml2_xmlParseMemory
=yes
9649 ac_cv_lib_xml2_xmlParseMemory
=no
9651 rm -f core conftest.err conftest.
$ac_objext \
9652 conftest
$ac_exeext conftest.
$ac_ext
9653 LIBS
=$ac_check_lib_save_LIBS
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9656 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9657 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
9659 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9666 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9667 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
9668 $as_echo_n "(cached) " >&6
9670 ac_check_lib_save_LIBS
=$LIBS
9671 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9673 /* end confdefs.h. */
9675 /* Override any GCC internal prototype to avoid an error.
9676 Use char because int might match the return type of a GCC
9677 builtin and then its argument prototype would still apply. */
9681 char xmlReadMemory ();
9685 return xmlReadMemory ();
9690 if ac_fn_c_try_link
"$LINENO"; then :
9691 ac_cv_lib_xml2_xmlReadMemory
=yes
9693 ac_cv_lib_xml2_xmlReadMemory
=no
9695 rm -f core conftest.err conftest.
$ac_objext \
9696 conftest
$ac_exeext conftest.
$ac_ext
9697 LIBS
=$ac_check_lib_save_LIBS
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9700 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9701 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
9703 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9708 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9709 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
9710 $as_echo_n "(cached) " >&6
9712 ac_check_lib_save_LIBS
=$LIBS
9713 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9715 /* end confdefs.h. */
9717 /* Override any GCC internal prototype to avoid an error.
9718 Use char because int might match the return type of a GCC
9719 builtin and then its argument prototype would still apply. */
9723 char xmlNewDocPI ();
9727 return xmlNewDocPI ();
9732 if ac_fn_c_try_link
"$LINENO"; then :
9733 ac_cv_lib_xml2_xmlNewDocPI
=yes
9735 ac_cv_lib_xml2_xmlNewDocPI
=no
9737 rm -f core conftest.err conftest.
$ac_objext \
9738 conftest
$ac_exeext conftest.
$ac_ext
9739 LIBS
=$ac_check_lib_save_LIBS
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9742 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9743 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
9745 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9750 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9751 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
9752 $as_echo_n "(cached) " >&6
9754 ac_check_lib_save_LIBS
=$LIBS
9755 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9757 /* end confdefs.h. */
9759 /* Override any GCC internal prototype to avoid an error.
9760 Use char because int might match the return type of a GCC
9761 builtin and then its argument prototype would still apply. */
9765 char xmlSchemaSetParserStructuredErrors ();
9769 return xmlSchemaSetParserStructuredErrors ();
9774 if ac_fn_c_try_link
"$LINENO"; then :
9775 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9777 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9779 rm -f core conftest.err conftest.
$ac_objext \
9780 conftest
$ac_exeext conftest.
$ac_ext
9781 LIBS
=$ac_check_lib_save_LIBS
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9784 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9785 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
9787 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9792 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9793 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
9794 $as_echo_n "(cached) " >&6
9796 ac_check_lib_save_LIBS
=$LIBS
9797 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9799 /* end confdefs.h. */
9801 /* Override any GCC internal prototype to avoid an error.
9802 Use char because int might match the return type of a GCC
9803 builtin and then its argument prototype would still apply. */
9807 char xmlSchemaSetValidStructuredErrors ();
9811 return xmlSchemaSetValidStructuredErrors ();
9816 if ac_fn_c_try_link
"$LINENO"; then :
9817 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9819 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9821 rm -f core conftest.err conftest.
$ac_objext \
9822 conftest
$ac_exeext conftest.
$ac_ext
9823 LIBS
=$ac_check_lib_save_LIBS
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9826 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9827 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
9829 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9834 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9835 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
9836 $as_echo_n "(cached) " >&6
9838 ac_check_lib_save_LIBS
=$LIBS
9839 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9841 /* end confdefs.h. */
9843 /* Override any GCC internal prototype to avoid an error.
9844 Use char because int might match the return type of a GCC
9845 builtin and then its argument prototype would still apply. */
9849 char xmlFirstElementChild ();
9853 return xmlFirstElementChild ();
9858 if ac_fn_c_try_link
"$LINENO"; then :
9859 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9861 ac_cv_lib_xml2_xmlFirstElementChild
=no
9863 rm -f core conftest.err conftest.
$ac_objext \
9864 conftest
$ac_exeext conftest.
$ac_ext
9865 LIBS
=$ac_check_lib_save_LIBS
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9868 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9869 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
9871 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9875 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9877 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
9879 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9887 CPPFLAGS
="$ac_save_CPPFLAGS"
9889 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9890 case "x$with_xml" in
9891 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9893 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9894 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9898 if test "x$with_xslt" != "xno"
9900 ac_save_CPPFLAGS
="$CPPFLAGS"
9901 if test -n "$XSLT_CFLAGS"; then :
9903 elif test -n "$PKG_CONFIG"; then :
9904 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
9906 XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
9907 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
9908 if test -n "$XSLT_LIBS"; then :
9910 elif test -n "$PKG_CONFIG"; then :
9911 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
9913 XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
9914 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
9915 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9917 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9918 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9919 # include <libxslt/pattern.h>
9922 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9923 cat >>confdefs.h
<<_ACEOF
9924 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9931 CPPFLAGS
="$ac_save_CPPFLAGS"
9932 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9935 $as_echo_n "checking for -lxslt... " >&6; }
9936 if ${ac_cv_lib_soname_xslt+:} false
; then :
9937 $as_echo_n "(cached) " >&6
9939 ac_check_soname_save_LIBS
=$LIBS
9940 LIBS
="-lxslt $XSLT_LIBS $LIBS"
9941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9942 /* end confdefs.h. */
9944 /* Override any GCC internal prototype to avoid an error.
9945 Use char because int might match the return type of a GCC
9946 builtin and then its argument prototype would still apply. */
9950 char xsltCompilePattern ();
9954 return xsltCompilePattern ();
9959 if ac_fn_c_try_link
"$LINENO"; then :
9961 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9962 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'` ;;
9963 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9964 if test "x$ac_cv_lib_soname_xslt" = x
; then :
9965 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9969 rm -f core conftest.err conftest.
$ac_objext \
9970 conftest
$ac_exeext conftest.
$ac_ext
9971 LIBS
=$ac_check_soname_save_LIBS
9973 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9975 $as_echo "not found" >&6; }
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9979 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9981 cat >>confdefs.h
<<_ACEOF
9982 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9991 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9992 case "x$with_xslt" in
9993 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9995 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
9996 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10000 if test "x$with_dbus" != "xno"
10002 ac_save_CPPFLAGS
="$CPPFLAGS"
10003 if test -n "$DBUS_CFLAGS"; then :
10005 elif test -n "$PKG_CONFIG"; then :
10006 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10009 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10010 if test -n "$DBUS_LIBS"; then :
10012 elif test -n "$PKG_CONFIG"; then :
10013 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10017 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10018 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10020 $as_echo_n "checking for -ldbus-1... " >&6; }
10021 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10022 $as_echo_n "(cached) " >&6
10024 ac_check_soname_save_LIBS
=$LIBS
10025 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10027 /* end confdefs.h. */
10029 /* Override any GCC internal prototype to avoid an error.
10030 Use char because int might match the return type of a GCC
10031 builtin and then its argument prototype would still apply. */
10035 char dbus_connection_close ();
10039 return dbus_connection_close ();
10044 if ac_fn_c_try_link
"$LINENO"; then :
10046 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10047 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'` ;;
10048 *) 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'`
10049 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
10050 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10054 rm -f core conftest.err conftest.
$ac_objext \
10055 conftest
$ac_exeext conftest.
$ac_ext
10056 LIBS
=$ac_check_soname_save_LIBS
10058 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10060 $as_echo "not found" >&6; }
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10064 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10066 cat >>confdefs.h
<<_ACEOF
10067 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10077 CPPFLAGS
="$ac_save_CPPFLAGS"
10079 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10080 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10081 case "x$with_dbus" in
10082 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10084 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10085 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10089 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10091 ac_save_CPPFLAGS
="$CPPFLAGS"
10092 if test -n "$HAL_CFLAGS"; then :
10094 elif test -n "$PKG_CONFIG"; then :
10095 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
10098 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
10099 if test -n "$HAL_LIBS"; then :
10101 elif test -n "$PKG_CONFIG"; then :
10102 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
10105 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
10106 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10107 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10109 $as_echo_n "checking for -lhal... " >&6; }
10110 if ${ac_cv_lib_soname_hal+:} false
; then :
10111 $as_echo_n "(cached) " >&6
10113 ac_check_soname_save_LIBS
=$LIBS
10114 LIBS
="-lhal $HAL_LIBS $LIBS"
10115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10116 /* end confdefs.h. */
10118 /* Override any GCC internal prototype to avoid an error.
10119 Use char because int might match the return type of a GCC
10120 builtin and then its argument prototype would still apply. */
10124 char libhal_ctx_new ();
10128 return libhal_ctx_new ();
10133 if ac_fn_c_try_link
"$LINENO"; then :
10135 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10136 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'` ;;
10137 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10138 if test "x$ac_cv_lib_soname_hal" = x
; then :
10139 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10143 rm -f core conftest.err conftest.
$ac_objext \
10144 conftest
$ac_exeext conftest.
$ac_ext
10145 LIBS
=$ac_check_soname_save_LIBS
10147 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10149 $as_echo "not found" >&6; }
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10153 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10155 cat >>confdefs.h
<<_ACEOF
10156 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10166 CPPFLAGS
="$ac_save_CPPFLAGS"
10167 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10168 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10169 case "x$with_hal" in
10170 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10172 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
10173 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10178 if test "x$with_gnutls" != "xno"
10180 ac_save_CPPFLAGS
="$CPPFLAGS"
10181 if test -n "$GNUTLS_CFLAGS"; then :
10183 elif test -n "$PKG_CONFIG"; then :
10184 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10187 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
10188 if test -n "$GNUTLS_LIBS"; then :
10190 elif test -n "$PKG_CONFIG"; then :
10191 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10195 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10196 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
10197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10198 /* end confdefs.h. */
10199 #include <gnutls/gnutls.h>
10203 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10208 if ac_fn_c_try_compile
"$LINENO"; then :
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10210 $as_echo_n "checking for -lgnutls... " >&6; }
10211 if ${ac_cv_lib_soname_gnutls+:} false
; then :
10212 $as_echo_n "(cached) " >&6
10214 ac_check_soname_save_LIBS
=$LIBS
10215 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
10216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10217 /* end confdefs.h. */
10219 /* Override any GCC internal prototype to avoid an error.
10220 Use char because int might match the return type of a GCC
10221 builtin and then its argument prototype would still apply. */
10225 char gnutls_global_init ();
10229 return gnutls_global_init ();
10234 if ac_fn_c_try_link
"$LINENO"; then :
10236 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10237 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'` ;;
10238 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10239 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
10240 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10244 rm -f core conftest.err conftest.
$ac_objext \
10245 conftest
$ac_exeext conftest.
$ac_ext
10246 LIBS
=$ac_check_soname_save_LIBS
10248 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10250 $as_echo "not found" >&6; }
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10254 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10256 cat >>confdefs.h
<<_ACEOF
10257 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10269 CPPFLAGS
="$ac_save_CPPFLAGS"
10271 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10272 case "x$with_gnutls" in
10273 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10275 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
10276 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10281 if test "$ac_cv_header_ncurses_h" = "yes"
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10284 $as_echo_n "checking for -lncurses... " >&6; }
10285 if ${ac_cv_lib_soname_ncurses+:} false
; then :
10286 $as_echo_n "(cached) " >&6
10288 ac_check_soname_save_LIBS
=$LIBS
10289 LIBS
="-lncurses $LIBS"
10290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10291 /* end confdefs.h. */
10293 /* Override any GCC internal prototype to avoid an error.
10294 Use char because int might match the return type of a GCC
10295 builtin and then its argument prototype would still apply. */
10308 if ac_fn_c_try_link
"$LINENO"; then :
10310 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10311 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'` ;;
10312 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10313 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
10314 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10318 rm -f core conftest.err conftest.
$ac_objext \
10319 conftest
$ac_exeext conftest.
$ac_ext
10320 LIBS
=$ac_check_soname_save_LIBS
10322 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10324 $as_echo "not found" >&6; }
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10328 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10330 cat >>confdefs.h
<<_ACEOF
10331 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10334 CURSESLIBS
="-lncurses"
10336 elif test "$ac_cv_header_curses_h" = "yes"
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10339 $as_echo_n "checking for -lcurses... " >&6; }
10340 if ${ac_cv_lib_soname_curses+:} false
; then :
10341 $as_echo_n "(cached) " >&6
10343 ac_check_soname_save_LIBS
=$LIBS
10344 LIBS
="-lcurses $LIBS"
10345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10346 /* end confdefs.h. */
10348 /* Override any GCC internal prototype to avoid an error.
10349 Use char because int might match the return type of a GCC
10350 builtin and then its argument prototype would still apply. */
10363 if ac_fn_c_try_link
"$LINENO"; then :
10365 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10366 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'` ;;
10367 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10368 if test "x$ac_cv_lib_soname_curses" = x
; then :
10369 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10373 rm -f core conftest.err conftest.
$ac_objext \
10374 conftest
$ac_exeext conftest.
$ac_ext
10375 LIBS
=$ac_check_soname_save_LIBS
10377 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10379 $as_echo "not found" >&6; }
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10383 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10385 cat >>confdefs.h
<<_ACEOF
10386 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10389 CURSESLIBS
="-lcurses"
10392 ac_save_LIBS
="$LIBS"
10393 LIBS
="$LIBS $CURSESLIBS"
10394 for ac_func
in mousemask
10396 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
10397 if test "x$ac_cv_func_mousemask" = xyes
; then :
10398 cat >>confdefs.h
<<_ACEOF
10399 #define HAVE_MOUSEMASK 1
10405 LIBS
="$ac_save_LIBS"
10406 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10407 case "x$with_curses" in
10408 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10410 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10411 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10415 if test "x$with_sane" != "xno"
10417 ac_save_CPPFLAGS
="$CPPFLAGS"
10418 if test -n "$SANE_CFLAGS"; then :
10420 elif test -n "$PKG_CONFIG"; then :
10421 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10423 SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10424 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
10425 if test -n "$SANE_LIBS"; then :
10427 elif test -n "$PKG_CONFIG"; then :
10428 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
10430 SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10432 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10433 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10435 $as_echo_n "checking for -lsane... " >&6; }
10436 if ${ac_cv_lib_soname_sane+:} false
; then :
10437 $as_echo_n "(cached) " >&6
10439 ac_check_soname_save_LIBS
=$LIBS
10440 LIBS
="-lsane $SANE_LIBS $LIBS"
10441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10442 /* end confdefs.h. */
10444 /* Override any GCC internal prototype to avoid an error.
10445 Use char because int might match the return type of a GCC
10446 builtin and then its argument prototype would still apply. */
10454 return sane_init ();
10459 if ac_fn_c_try_link
"$LINENO"; then :
10461 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10462 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'` ;;
10463 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10464 if test "x$ac_cv_lib_soname_sane" = x
; then :
10465 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10469 rm -f core conftest.err conftest.
$ac_objext \
10470 conftest
$ac_exeext conftest.
$ac_ext
10471 LIBS
=$ac_check_soname_save_LIBS
10473 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10475 $as_echo "not found" >&6; }
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10479 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10481 cat >>confdefs.h
<<_ACEOF
10482 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10492 CPPFLAGS
="$ac_save_CPPFLAGS"
10494 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10495 case "x$with_sane" in
10496 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10498 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
10499 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10503 if test "x$with_v4l" != "xno"
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10506 $as_echo_n "checking for -lv4l1... " >&6; }
10507 if ${ac_cv_lib_soname_v4l1+:} false
; then :
10508 $as_echo_n "(cached) " >&6
10510 ac_check_soname_save_LIBS
=$LIBS
10511 LIBS
="-lv4l1 $LIBS"
10512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10513 /* end confdefs.h. */
10515 /* Override any GCC internal prototype to avoid an error.
10516 Use char because int might match the return type of a GCC
10517 builtin and then its argument prototype would still apply. */
10525 return v4l1_open ();
10530 if ac_fn_c_try_link
"$LINENO"; then :
10532 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10533 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'` ;;
10534 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10535 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
10536 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10540 rm -f core conftest.err conftest.
$ac_objext \
10541 conftest
$ac_exeext conftest.
$ac_ext
10542 LIBS
=$ac_check_soname_save_LIBS
10544 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10546 $as_echo "not found" >&6; }
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10550 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10552 cat >>confdefs.h
<<_ACEOF
10553 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10559 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10560 case "x$with_v4l" in
10561 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
10563 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
10564 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10568 if test "x$with_gphoto" != "xno"
10570 ac_save_CPPFLAGS
="$CPPFLAGS"
10571 if test -n "$GPHOTO2_CFLAGS"; then :
10573 elif test -n "$PKG_CONFIG"; then :
10574 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
10576 GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
10577 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
10578 if test -n "$GPHOTO2_LIBS"; then :
10580 elif test -n "$PKG_CONFIG"; then :
10581 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
10583 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
10584 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
10585 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10586 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10588 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10589 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
10590 $as_echo_n "(cached) " >&6
10592 ac_check_lib_save_LIBS
=$LIBS
10593 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
10594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10595 /* end confdefs.h. */
10597 /* Override any GCC internal prototype to avoid an error.
10598 Use char because int might match the return type of a GCC
10599 builtin and then its argument prototype would still apply. */
10603 char gp_camera_new ();
10607 return gp_camera_new ();
10612 if ac_fn_c_try_link
"$LINENO"; then :
10613 ac_cv_lib_gphoto2_gp_camera_new
=yes
10615 ac_cv_lib_gphoto2_gp_camera_new
=no
10617 rm -f core conftest.err conftest.
$ac_objext \
10618 conftest
$ac_exeext conftest.
$ac_ext
10619 LIBS
=$ac_check_lib_save_LIBS
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10622 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10623 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
10625 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10628 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
10632 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
10636 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
10638 elif test -n "$PKG_CONFIG"; then :
10639 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
10641 GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
10642 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
10643 if test -n "$GPHOTO2_PORT_LIBS"; then :
10645 elif test -n "$PKG_CONFIG"; then :
10646 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
10648 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
10649 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
10650 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
10651 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
10653 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
10654 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
10655 $as_echo_n "(cached) " >&6
10657 ac_check_lib_save_LIBS
=$LIBS
10658 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
10659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10662 /* Override any GCC internal prototype to avoid an error.
10663 Use char because int might match the return type of a GCC
10664 builtin and then its argument prototype would still apply. */
10668 char gp_port_info_list_new ();
10672 return gp_port_info_list_new ();
10677 if ac_fn_c_try_link
"$LINENO"; then :
10678 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
10680 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
10682 rm -f core conftest.err conftest.
$ac_objext \
10683 conftest
$ac_exeext conftest.
$ac_ext
10684 LIBS
=$ac_check_lib_save_LIBS
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
10687 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
10688 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
10690 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
10693 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
10697 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
10701 CPPFLAGS
="$ac_save_CPPFLAGS"
10703 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10704 case "x$with_gphoto" in
10705 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10707 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10708 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10711 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
10712 case "x$with_gphoto" in
10713 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
10715 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
10716 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10721 if test "$ac_cv_header_resolv_h" = "yes"
10723 ac_save_LIBS
="$LIBS"
10724 for lib
in '' -lresolv
10726 LIBS
="$lib $ac_save_LIBS"
10727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10728 /* end confdefs.h. */
10729 #ifdef HAVE_NETINET_IN_H
10730 #include <netinet/in.h>
10732 #include <resolv.h>
10736 res_query("foo",ns_c_in,0,0,0);
10741 if ac_fn_c_try_link
"$LINENO"; then :
10743 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10748 rm -f core conftest.err conftest.
$ac_objext \
10749 conftest
$ac_exeext conftest.
$ac_ext
10750 if test "${RESOLVLIBS+set}" = set; then
10754 LIBS
="$ac_save_LIBS"
10757 if test "x$with_lcms" != "xno"
10759 ac_save_CPPFLAGS
="$CPPFLAGS"
10760 if test -n "$LCMS_CFLAGS"; then :
10762 elif test -n "$PKG_CONFIG"; then :
10763 LCMS_CFLAGS
=`$PKG_CONFIG --cflags lcms 2>/dev/null`
10766 CPPFLAGS
="$CPPFLAGS $LCMS_CFLAGS"
10767 if test -n "$LCMS_LIBS"; then :
10769 elif test -n "$PKG_CONFIG"; then :
10770 LCMS_LIBS
=`$PKG_CONFIG --libs lcms 2>/dev/null`
10773 LCMS_LIBS
=${LCMS_LIBS:-"-llcms"}
10774 for ac_header
in lcms.h lcms
/lcms.h
10776 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10777 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10778 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10779 cat >>confdefs.h
<<_ACEOF
10780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10787 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10790 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10791 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false
; then :
10792 $as_echo_n "(cached) " >&6
10794 ac_check_lib_save_LIBS
=$LIBS
10795 LIBS
="-llcms $LIBS"
10796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10797 /* end confdefs.h. */
10799 /* Override any GCC internal prototype to avoid an error.
10800 Use char because int might match the return type of a GCC
10801 builtin and then its argument prototype would still apply. */
10805 char cmsOpenProfileFromFile ();
10809 return cmsOpenProfileFromFile ();
10814 if ac_fn_c_try_link
"$LINENO"; then :
10815 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10817 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10819 rm -f core conftest.err conftest.
$ac_objext \
10820 conftest
$ac_exeext conftest.
$ac_ext
10821 LIBS
=$ac_check_lib_save_LIBS
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10824 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10825 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes
; then :
10827 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10837 CPPFLAGS
="$ac_save_CPPFLAGS"
10839 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10840 case "x$with_cms" in
10841 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10843 *) as_fn_error $?
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10844 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10848 if test "x$with_freetype" != "xno"
10850 ac_save_CPPFLAGS
="$CPPFLAGS"
10851 if test -n "$FREETYPE_CFLAGS"; then :
10853 elif test -n "$PKG_CONFIG"; then :
10854 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
10856 FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
10857 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
10858 if test -n "$FREETYPE_LIBS"; then :
10860 elif test -n "$PKG_CONFIG"; then :
10861 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
10863 FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
10864 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10866 $as_echo_n "checking for -lfreetype... " >&6; }
10867 if ${ac_cv_lib_soname_freetype+:} false
; then :
10868 $as_echo_n "(cached) " >&6
10870 ac_check_soname_save_LIBS
=$LIBS
10871 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
10872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10873 /* end confdefs.h. */
10875 /* Override any GCC internal prototype to avoid an error.
10876 Use char because int might match the return type of a GCC
10877 builtin and then its argument prototype would still apply. */
10881 char FT_Init_FreeType ();
10885 return FT_Init_FreeType ();
10890 if ac_fn_c_try_link
"$LINENO"; then :
10892 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10893 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'` ;;
10894 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10895 if test "x$ac_cv_lib_soname_freetype" = x
; then :
10896 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10900 rm -f core conftest.err conftest.
$ac_objext \
10901 conftest
$ac_exeext conftest.
$ac_ext
10902 LIBS
=$ac_check_soname_save_LIBS
10904 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10906 $as_echo "not found" >&6; }
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10910 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10912 cat >>confdefs.h
<<_ACEOF
10913 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10918 if test "$ft_lib" = "yes"
10920 for ac_header
in ft2build.h \
10921 freetype
/freetype.h \
10922 freetype
/ftglyph.h \
10923 freetype
/fttypes.h \
10924 freetype
/tttables.h \
10925 freetype
/ftsnames.h \
10926 freetype
/ttnameid.h \
10927 freetype
/ftoutln.h \
10928 freetype
/ftwinfnt.h \
10929 freetype
/ftmodapi.h \
10930 freetype
/ftlcdfil.h
10932 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10933 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10934 # include <ft2build.h>
10937 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10938 cat >>confdefs.h
<<_ACEOF
10939 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10947 /* end confdefs.h. */
10948 #include <ft2build.h>
10949 #include <freetype/fttrigon.h>
10951 if ac_fn_c_try_cpp
"$LINENO"; then :
10953 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10955 wine_cv_fttrigon
=yes
10957 wine_cv_fttrigon
=no
10959 rm -f conftest.err conftest.i conftest.
$ac_ext
10960 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10962 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
10964 cat >>confdefs.h
<<_ACEOF
10965 #define HAVE_FT_TRUETYPEENGINETYPE 1
10971 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10974 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10982 CPPFLAGS
="$ac_save_CPPFLAGS"
10984 if test "x$ac_cv_header_freetype_freetype_h" != xyes
-o "x$wine_cv_fttrigon" != xyes
; then :
10985 case "x$with_freetype" in
10987 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10988 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10991 test "x$ac_cv_header_freetype_freetype_h" = xyes
-a "x$wine_cv_fttrigon" = xyes || enable_fonts
=${enable_fonts:-no}
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10994 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10995 if ${ac_cv_c_ppdev+:} false
; then :
10996 $as_echo_n "(cached) " >&6
10998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10999 /* end confdefs.h. */
11000 #ifdef HAVE_SYS_IOCTL_H
11001 # include <sys/ioctl.h>
11003 #include <linux/ppdev.h>
11007 ioctl (1,PPCLAIM,0)
11012 if ac_fn_c_try_compile
"$LINENO"; then :
11013 ac_cv_c_ppdev
="yes"
11017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11020 $as_echo "$ac_cv_c_ppdev" >&6; }
11021 if test "$ac_cv_c_ppdev" = "yes"
11024 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11028 ac_wine_check_funcs_save_LIBS
="$LIBS"
11029 LIBS
="$LIBS $LIBPTHREAD"
11031 pthread_attr_get_np \
11032 pthread_getattr_np \
11033 pthread_getthreadid_np \
11034 pthread_get_stackaddr_np \
11035 pthread_get_stacksize_np
11037 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11038 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11039 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11040 cat >>confdefs.h
<<_ACEOF
11041 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11047 LIBS
="$ac_wine_check_funcs_save_LIBS"
11049 if test "$ac_cv_header_zlib_h" = "yes"
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11052 $as_echo_n "checking for inflate in -lz... " >&6; }
11053 if ${ac_cv_lib_z_inflate+:} false
; then :
11054 $as_echo_n "(cached) " >&6
11056 ac_check_lib_save_LIBS
=$LIBS
11058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11061 /* Override any GCC internal prototype to avoid an error.
11062 Use char because int might match the return type of a GCC
11063 builtin and then its argument prototype would still apply. */
11076 if ac_fn_c_try_link
"$LINENO"; then :
11077 ac_cv_lib_z_inflate
=yes
11079 ac_cv_lib_z_inflate
=no
11081 rm -f core conftest.err conftest.
$ac_objext \
11082 conftest
$ac_exeext conftest.
$ac_ext
11083 LIBS
=$ac_check_lib_save_LIBS
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11086 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11087 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
11089 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11096 if test "x$ZLIB" = "x"; then :
11097 case "x$with_zlib" in
11098 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11100 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
11101 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11105 if test "x$enable_tools" != xno
11107 if test "$ac_cv_header_gettext_po_h" = "yes"
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11110 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11111 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
11112 $as_echo_n "(cached) " >&6
11114 ac_check_lib_save_LIBS
=$LIBS
11115 LIBS
="-lgettextpo $LIBS"
11116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11117 /* end confdefs.h. */
11119 /* Override any GCC internal prototype to avoid an error.
11120 Use char because int might match the return type of a GCC
11121 builtin and then its argument prototype would still apply. */
11125 char po_message_msgctxt ();
11129 return po_message_msgctxt ();
11134 if ac_fn_c_try_link
"$LINENO"; then :
11135 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
11137 ac_cv_lib_gettextpo_po_message_msgctxt
=no
11139 rm -f core conftest.err conftest.
$ac_objext \
11140 conftest
$ac_exeext conftest.
$ac_ext
11141 LIBS
=$ac_check_lib_save_LIBS
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11144 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11145 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
11147 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11149 LIBGETTEXTPO
="-lgettextpo"
11154 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
11155 case "x$with_gettextpo" in
11156 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11158 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11159 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11164 if test "x$with_gstreamer" != "xno"
11166 ac_save_CPPFLAGS
="$CPPFLAGS"
11167 if test -n "$GSTREAMER_CFLAGS"; then :
11169 elif test -n "$PKG_CONFIG"; then :
11170 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11173 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
11174 if test -n "$GSTREAMER_LIBS"; then :
11176 elif test -n "$PKG_CONFIG"; then :
11177 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11182 for i
in $GSTREAMER_CFLAGS
11185 -I*) ac_gst_incl
="$ac_gst_incl $i";;
11188 GSTREAMER_CFLAGS
=$ac_gst_incl
11189 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11190 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11191 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
11192 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11193 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11195 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11197 /* end confdefs.h. */
11198 #include <gst/app/gstappsink.h>
11202 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11207 if ac_fn_c_try_compile
"$LINENO"; then :
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11209 $as_echo "yes" >&6; }
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11211 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11212 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
11213 $as_echo_n "(cached) " >&6
11215 ac_check_lib_save_LIBS
=$LIBS
11216 LIBS
="-lgstreamer-0.10 $LIBS"
11217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11218 /* end confdefs.h. */
11220 /* Override any GCC internal prototype to avoid an error.
11221 Use char because int might match the return type of a GCC
11222 builtin and then its argument prototype would still apply. */
11226 char gst_pad_get_caps_reffed ();
11230 return gst_pad_get_caps_reffed ();
11235 if ac_fn_c_try_link
"$LINENO"; then :
11236 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
11238 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
11240 rm -f core conftest.err conftest.
$ac_objext \
11241 conftest
$ac_exeext conftest.
$ac_ext
11242 LIBS
=$ac_check_lib_save_LIBS
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11245 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11246 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11248 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11249 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
11250 $as_echo_n "(cached) " >&6
11252 ac_check_lib_save_LIBS
=$LIBS
11253 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11257 /* Override any GCC internal prototype to avoid an error.
11258 Use char because int might match the return type of a GCC
11259 builtin and then its argument prototype would still apply. */
11263 char gst_app_buffer_new ();
11267 return gst_app_buffer_new ();
11272 if ac_fn_c_try_link
"$LINENO"; then :
11273 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
11275 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
11277 rm -f core conftest.err conftest.
$ac_objext \
11278 conftest
$ac_exeext conftest.
$ac_ext
11279 LIBS
=$ac_check_lib_save_LIBS
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11282 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11283 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11291 $as_echo "no" >&6; }
11293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11298 GSTREAMER_CFLAGS
=""
11302 CPPFLAGS
="$ac_save_CPPFLAGS"
11304 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
11305 case "x$with_gstreamer" in
11306 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11308 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11309 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11312 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
11316 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11319 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11320 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
11321 $as_echo_n "(cached) " >&6
11323 ac_check_lib_save_LIBS
=$LIBS
11324 LIBS
="-lasound $LIBS"
11325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11328 /* Override any GCC internal prototype to avoid an error.
11329 Use char because int might match the return type of a GCC
11330 builtin and then its argument prototype would still apply. */
11334 char snd_pcm_hw_params_get_access_mask ();
11338 return snd_pcm_hw_params_get_access_mask ();
11343 if ac_fn_c_try_link
"$LINENO"; then :
11344 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
11346 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
11348 rm -f core conftest.err conftest.
$ac_objext \
11349 conftest
$ac_exeext conftest.
$ac_ext
11350 LIBS
=$ac_check_lib_save_LIBS
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11353 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11354 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
11355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11356 /* end confdefs.h. */
11357 #ifdef HAVE_ALSA_ASOUNDLIB_H
11358 #include <alsa/asoundlib.h>
11359 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11360 #include <sys/asoundlib.h>
11365 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11370 if ac_fn_c_try_compile
"$LINENO"; then :
11371 ALSALIBS
="-lasound"
11373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11378 if test "x$with_oss" != xno
11380 ac_save_CPPFLAGS
="$CPPFLAGS"
11381 if test -f /etc
/oss.conf
11385 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11386 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
11387 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11388 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
11389 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11391 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
11393 cat >>confdefs.h
<<_ACEOF
11394 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11397 OSS4INCL
="$ac_oss_incl"
11404 CPPFLAGS
="$ac_save_CPPFLAGS"
11405 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11407 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11412 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11415 $as_echo_n "checking for -lcapi20... " >&6; }
11416 if ${ac_cv_lib_soname_capi20+:} false
; then :
11417 $as_echo_n "(cached) " >&6
11419 ac_check_soname_save_LIBS
=$LIBS
11420 LIBS
="-lcapi20 $LIBS"
11421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11422 /* end confdefs.h. */
11424 /* Override any GCC internal prototype to avoid an error.
11425 Use char because int might match the return type of a GCC
11426 builtin and then its argument prototype would still apply. */
11430 char capi20_register ();
11434 return capi20_register ();
11439 if ac_fn_c_try_link
"$LINENO"; then :
11441 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11442 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'` ;;
11443 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11444 if test "x$ac_cv_lib_soname_capi20" = x
; then :
11445 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11449 rm -f core conftest.err conftest.
$ac_objext \
11450 conftest
$ac_exeext conftest.
$ac_ext
11451 LIBS
=$ac_check_soname_save_LIBS
11453 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11455 $as_echo "not found" >&6; }
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11459 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11461 cat >>confdefs.h
<<_ACEOF
11462 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11468 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11469 case "x$with_capi" in
11470 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11472 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11473 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11479 if test "x$with_cups" != "xno"
11481 ac_save_CPPFLAGS
="$CPPFLAGS"
11482 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
11483 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
11484 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
11485 for ac_header
in cups
/cups.h
11487 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11488 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
11489 cat >>confdefs.h
<<_ACEOF
11490 #define HAVE_CUPS_CUPS_H 1
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11493 $as_echo_n "checking for -lcups... " >&6; }
11494 if ${ac_cv_lib_soname_cups+:} false
; then :
11495 $as_echo_n "(cached) " >&6
11497 ac_check_soname_save_LIBS
=$LIBS
11498 LIBS
="-lcups $ac_cups_libs $LIBS"
11499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11500 /* end confdefs.h. */
11502 /* Override any GCC internal prototype to avoid an error.
11503 Use char because int might match the return type of a GCC
11504 builtin and then its argument prototype would still apply. */
11508 char cupsGetDefault ();
11512 return cupsGetDefault ();
11517 if ac_fn_c_try_link
"$LINENO"; then :
11519 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11520 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'` ;;
11521 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11522 if test "x$ac_cv_lib_soname_cups" = x
; then :
11523 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11527 rm -f core conftest.err conftest.
$ac_objext \
11528 conftest
$ac_exeext conftest.
$ac_ext
11529 LIBS
=$ac_check_soname_save_LIBS
11531 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11533 $as_echo "not found" >&6; }
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11537 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11539 cat >>confdefs.h
<<_ACEOF
11540 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11543 CUPSINCL
="$ac_cups_cflags"
11549 CPPFLAGS
="$ac_save_CPPFLAGS"
11551 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11552 case "x$with_cups" in
11553 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11555 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
11556 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11560 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11563 $as_echo_n "checking for -lfontconfig... " >&6; }
11564 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11565 $as_echo_n "(cached) " >&6
11567 ac_check_soname_save_LIBS
=$LIBS
11568 LIBS
="-lfontconfig $LIBS"
11569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11570 /* end confdefs.h. */
11572 /* Override any GCC internal prototype to avoid an error.
11573 Use char because int might match the return type of a GCC
11574 builtin and then its argument prototype would still apply. */
11587 if ac_fn_c_try_link
"$LINENO"; then :
11589 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11590 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'` ;;
11591 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11592 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11593 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11597 rm -f core conftest.err conftest.
$ac_objext \
11598 conftest
$ac_exeext conftest.
$ac_ext
11599 LIBS
=$ac_check_soname_save_LIBS
11601 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11603 $as_echo "not found" >&6; }
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11607 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11609 cat >>confdefs.h
<<_ACEOF
11610 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11615 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11617 ac_save_CPPFLAGS
="$CPPFLAGS"
11618 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11619 $as_unset ac_cv_header_fontconfig_fontconfig_h
11620 for ac_header
in fontconfig
/fontconfig.h
11622 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11623 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
11624 cat >>confdefs.h
<<_ACEOF
11625 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11632 CPPFLAGS
="$ac_save_CPPFLAGS"
11633 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11635 FONTCONFIGINCL
="$X_CFLAGS"
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11638 $as_echo_n "checking for -lfontconfig... " >&6; }
11639 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11640 $as_echo_n "(cached) " >&6
11642 ac_check_soname_save_LIBS
=$LIBS
11643 LIBS
="-lfontconfig $X_LIBS $LIBS"
11644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11645 /* end confdefs.h. */
11647 /* Override any GCC internal prototype to avoid an error.
11648 Use char because int might match the return type of a GCC
11649 builtin and then its argument prototype would still apply. */
11662 if ac_fn_c_try_link
"$LINENO"; then :
11664 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11665 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'` ;;
11666 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11667 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11668 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11672 rm -f core conftest.err conftest.
$ac_objext \
11673 conftest
$ac_exeext conftest.
$ac_ext
11674 LIBS
=$ac_check_soname_save_LIBS
11676 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11678 $as_echo "not found" >&6; }
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11682 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11684 cat >>confdefs.h
<<_ACEOF
11685 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11692 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11693 case "x$with_fontconfig" in
11694 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11696 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11697 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11701 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11704 $as_echo_n "checking for -lgsm... " >&6; }
11705 if ${ac_cv_lib_soname_gsm+:} false
; then :
11706 $as_echo_n "(cached) " >&6
11708 ac_check_soname_save_LIBS
=$LIBS
11710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11711 /* end confdefs.h. */
11713 /* Override any GCC internal prototype to avoid an error.
11714 Use char because int might match the return type of a GCC
11715 builtin and then its argument prototype would still apply. */
11719 char gsm_create ();
11723 return gsm_create ();
11728 if ac_fn_c_try_link
"$LINENO"; then :
11730 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11731 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'` ;;
11732 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11733 if test "x$ac_cv_lib_soname_gsm" = x
; then :
11734 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11738 rm -f core conftest.err conftest.
$ac_objext \
11739 conftest
$ac_exeext conftest.
$ac_ext
11740 LIBS
=$ac_check_soname_save_LIBS
11742 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11744 $as_echo "not found" >&6; }
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11748 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11750 cat >>confdefs.h
<<_ACEOF
11751 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11757 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11758 case "x$with_gsm" in
11759 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11761 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11762 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11766 if test "$ac_cv_header_jpeglib_h" = "yes"
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11769 $as_echo_n "checking for -ljpeg... " >&6; }
11770 if ${ac_cv_lib_soname_jpeg+:} false
; then :
11771 $as_echo_n "(cached) " >&6
11773 ac_check_soname_save_LIBS
=$LIBS
11774 LIBS
="-ljpeg $LIBS"
11775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11776 /* end confdefs.h. */
11778 /* Override any GCC internal prototype to avoid an error.
11779 Use char because int might match the return type of a GCC
11780 builtin and then its argument prototype would still apply. */
11784 char jpeg_start_decompress ();
11788 return jpeg_start_decompress ();
11793 if ac_fn_c_try_link
"$LINENO"; then :
11795 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11796 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'` ;;
11797 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11798 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
11799 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11803 rm -f core conftest.err conftest.
$ac_objext \
11804 conftest
$ac_exeext conftest.
$ac_ext
11805 LIBS
=$ac_check_soname_save_LIBS
11807 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11809 $as_echo "not found" >&6; }
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11813 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11815 cat >>confdefs.h
<<_ACEOF
11816 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11822 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11823 case "x$with_jpeg" in
11824 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11826 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11827 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11831 if test "x$with_png" != "xno"
11833 ac_save_CPPFLAGS
="$CPPFLAGS"
11834 if test -n "$PNG_CFLAGS"; then :
11836 elif test -n "$PKG_CONFIG"; then :
11837 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
11839 PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
11840 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
11841 if test -n "$PNG_LIBS"; then :
11843 elif test -n "$PKG_CONFIG"; then :
11844 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
11846 PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
11848 for ac_header
in png.h
11850 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11851 if test "x$ac_cv_header_png_h" = xyes
; then :
11852 cat >>confdefs.h
<<_ACEOF
11853 #define HAVE_PNG_H 1
11860 if test "$ac_cv_header_png_h" = "yes"
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11863 $as_echo_n "checking for -lpng... " >&6; }
11864 if ${ac_cv_lib_soname_png+:} false
; then :
11865 $as_echo_n "(cached) " >&6
11867 ac_check_soname_save_LIBS
=$LIBS
11868 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
11869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11870 /* end confdefs.h. */
11872 /* Override any GCC internal prototype to avoid an error.
11873 Use char because int might match the return type of a GCC
11874 builtin and then its argument prototype would still apply. */
11878 char png_create_read_struct ();
11882 return png_create_read_struct ();
11887 if ac_fn_c_try_link
"$LINENO"; then :
11889 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11890 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'` ;;
11891 *) 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'`
11892 if test "x$ac_cv_lib_soname_png" = x
; then :
11893 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11897 rm -f core conftest.err conftest.
$ac_objext \
11898 conftest
$ac_exeext conftest.
$ac_ext
11899 LIBS
=$ac_check_soname_save_LIBS
11901 if test "x$ac_cv_lib_soname_png" = "x"; then :
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11903 $as_echo "not found" >&6; }
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11907 $as_echo "$ac_cv_lib_soname_png" >&6; }
11909 cat >>confdefs.h
<<_ACEOF
11910 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11914 /* end confdefs.h. */
11919 typeof(png_set_expand_gray_1_2_4_to_8) *p
11924 if ac_fn_c_try_compile
"$LINENO"; then :
11926 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11934 CPPFLAGS
="$ac_save_CPPFLAGS"
11936 if test "x$ac_cv_lib_soname_png" = "x"; then :
11937 case "x$with_png" in
11938 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11940 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
11941 This is an error since --with-png was requested." "$LINENO" 5 ;;
11945 if test "$ac_cv_header_tiffio_h" = "yes"
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11948 $as_echo_n "checking for -ltiff... " >&6; }
11949 if ${ac_cv_lib_soname_tiff+:} false
; then :
11950 $as_echo_n "(cached) " >&6
11952 ac_check_soname_save_LIBS
=$LIBS
11953 LIBS
="-ltiff $LIBS"
11954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11955 /* end confdefs.h. */
11957 /* Override any GCC internal prototype to avoid an error.
11958 Use char because int might match the return type of a GCC
11959 builtin and then its argument prototype would still apply. */
11963 char TIFFClientOpen ();
11967 return TIFFClientOpen ();
11972 if ac_fn_c_try_link
"$LINENO"; then :
11974 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11975 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'` ;;
11976 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11977 if test "x$ac_cv_lib_soname_tiff" = x
; then :
11978 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11982 rm -f core conftest.err conftest.
$ac_objext \
11983 conftest
$ac_exeext conftest.
$ac_ext
11984 LIBS
=$ac_check_soname_save_LIBS
11986 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11988 $as_echo "not found" >&6; }
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11992 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11994 cat >>confdefs.h
<<_ACEOF
11995 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12001 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12002 case "x$with_tiff" in
12003 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12005 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
12006 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12010 if test "$ac_cv_header_mpg123_h" = "yes"
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12013 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12014 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
12015 $as_echo_n "(cached) " >&6
12017 ac_check_lib_save_LIBS
=$LIBS
12018 LIBS
="-lmpg123 $LIBS"
12019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12022 /* Override any GCC internal prototype to avoid an error.
12023 Use char because int might match the return type of a GCC
12024 builtin and then its argument prototype would still apply. */
12028 char mpg123_feed ();
12032 return mpg123_feed ();
12037 if ac_fn_c_try_link
"$LINENO"; then :
12038 ac_cv_lib_mpg123_mpg123_feed
=yes
12040 ac_cv_lib_mpg123_mpg123_feed
=no
12042 rm -f core conftest.err conftest.
$ac_objext \
12043 conftest
$ac_exeext conftest.
$ac_ext
12044 LIBS
=$ac_check_lib_save_LIBS
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12047 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12048 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
12049 LIBMPG123
="-lmpg123"
12054 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
12055 case "x$with_mpg123" in
12056 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12058 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12059 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12062 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}
12064 if test "$ac_cv_header_AL_al_h" = "yes"
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12067 $as_echo_n "checking for -lopenal... " >&6; }
12068 if ${ac_cv_lib_soname_openal+:} false
; then :
12069 $as_echo_n "(cached) " >&6
12071 ac_check_soname_save_LIBS
=$LIBS
12072 LIBS
="-lopenal $LIBS"
12073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12076 /* Override any GCC internal prototype to avoid an error.
12077 Use char because int might match the return type of a GCC
12078 builtin and then its argument prototype would still apply. */
12082 char alGetSource3i ();
12086 return alGetSource3i ();
12091 if ac_fn_c_try_link
"$LINENO"; then :
12093 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12094 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'` ;;
12095 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12096 if test "x$ac_cv_lib_soname_openal" = x
; then :
12097 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12101 rm -f core conftest.err conftest.
$ac_objext \
12102 conftest
$ac_exeext conftest.
$ac_ext
12103 LIBS
=$ac_check_soname_save_LIBS
12105 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12107 $as_echo "not found" >&6; }
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12111 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12113 cat >>confdefs.h
<<_ACEOF
12114 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12117 LIBOPENAL
="-lopenal"
12119 ac_cv_lib_openal
=yes
12121 cat >>confdefs.h
<<_ACEOF
12122 #define HAVE_OPENAL 1
12127 if test "x$ac_cv_lib_openal" != xyes
; then :
12128 case "x$with_openal" in
12129 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12131 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12132 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12135 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
12137 if test "$ac_cv_header_kstat_h" = "yes"
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12140 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12141 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
12142 $as_echo_n "(cached) " >&6
12144 ac_check_lib_save_LIBS
=$LIBS
12145 LIBS
="-lkstat $LIBS"
12146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12147 /* end confdefs.h. */
12149 /* Override any GCC internal prototype to avoid an error.
12150 Use char because int might match the return type of a GCC
12151 builtin and then its argument prototype would still apply. */
12155 char kstat_open ();
12159 return kstat_open ();
12164 if ac_fn_c_try_link
"$LINENO"; then :
12165 ac_cv_lib_kstat_kstat_open
=yes
12167 ac_cv_lib_kstat_kstat_open
=no
12169 rm -f core conftest.err conftest.
$ac_objext \
12170 conftest
$ac_exeext conftest.
$ac_ext
12171 LIBS
=$ac_check_lib_save_LIBS
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12174 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12175 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
12177 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12186 $as_echo_n "checking for -lodbc... " >&6; }
12187 if ${ac_cv_lib_soname_odbc+:} false
; then :
12188 $as_echo_n "(cached) " >&6
12190 ac_check_soname_save_LIBS
=$LIBS
12191 LIBS
="-lodbc $LIBS"
12192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12193 /* end confdefs.h. */
12195 /* Override any GCC internal prototype to avoid an error.
12196 Use char because int might match the return type of a GCC
12197 builtin and then its argument prototype would still apply. */
12201 char SQLConnect ();
12205 return SQLConnect ();
12210 if ac_fn_c_try_link
"$LINENO"; then :
12212 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12213 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'` ;;
12214 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12215 if test "x$ac_cv_lib_soname_odbc" = x
; then :
12216 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12220 rm -f core conftest.err conftest.
$ac_objext \
12221 conftest
$ac_exeext conftest.
$ac_ext
12222 LIBS
=$ac_check_soname_save_LIBS
12224 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12226 $as_echo "not found" >&6; }
12227 cat >>confdefs.h
<<_ACEOF
12228 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12233 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12235 cat >>confdefs.h
<<_ACEOF
12236 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12242 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12243 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
12244 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
12245 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
12247 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12248 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
12249 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12251 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
12257 if test "x${GCC}" = "xyes"
12259 EXTRACFLAGS
="-Wall -pipe"
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12262 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12263 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
12264 $as_echo_n "(cached) " >&6
12266 if test "$cross_compiling" = yes; then :
12267 ac_cv_c_gcc_strength_bug
="yes"
12269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12270 /* end confdefs.h. */
12271 int L[4] = {0,1,2,3};
12275 static int Array[3];
12276 unsigned int B = 3;
12278 for(i=0; i<B; i++) Array[i] = i - 3;
12279 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12281 return (Array[1] != -2 || L[2] != 3)
12286 if ac_fn_c_try_run
"$LINENO"; then :
12287 ac_cv_c_gcc_strength_bug
="no"
12289 ac_cv_c_gcc_strength_bug
="yes"
12291 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12292 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12297 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12298 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12300 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12304 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12305 if ${ac_cv_cflags__fno_builtin+:} false
; then :
12306 $as_echo_n "(cached) " >&6
12308 ac_wine_try_cflags_saved
=$CFLAGS
12309 CFLAGS
="$CFLAGS -fno-builtin"
12310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12311 /* end confdefs.h. */
12312 int main(int argc, char **argv) { return 0; }
12314 if ac_fn_c_try_link
"$LINENO"; then :
12315 ac_cv_cflags__fno_builtin
=yes
12317 ac_cv_cflags__fno_builtin
=no
12319 rm -f core conftest.err conftest.
$ac_objext \
12320 conftest
$ac_exeext conftest.
$ac_ext
12321 CFLAGS
=$ac_wine_try_cflags_saved
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12324 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12325 if test $ac_cv_cflags__fno_builtin = yes; then :
12326 BUILTINFLAG
="-fno-builtin"
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12330 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12331 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
12332 $as_echo_n "(cached) " >&6
12334 ac_wine_try_cflags_saved
=$CFLAGS
12335 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12338 int main(int argc, char **argv) { return 0; }
12340 if ac_fn_c_try_link
"$LINENO"; then :
12341 ac_cv_cflags__fno_strict_aliasing
=yes
12343 ac_cv_cflags__fno_strict_aliasing
=no
12345 rm -f core conftest.err conftest.
$ac_objext \
12346 conftest
$ac_exeext conftest.
$ac_ext
12347 CFLAGS
=$ac_wine_try_cflags_saved
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12350 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12351 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12352 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12355 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12356 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
12357 $as_echo_n "(cached) " >&6
12359 ac_wine_try_cflags_saved
=$CFLAGS
12360 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h. */
12363 int main(int argc, char **argv) { return 0; }
12365 if ac_fn_c_try_link
"$LINENO"; then :
12366 ac_cv_cflags__Wdeclaration_after_statement
=yes
12368 ac_cv_cflags__Wdeclaration_after_statement
=no
12370 rm -f core conftest.err conftest.
$ac_objext \
12371 conftest
$ac_exeext conftest.
$ac_ext
12372 CFLAGS
=$ac_wine_try_cflags_saved
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12375 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12376 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12377 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12380 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12381 if ${ac_cv_cflags__Wempty_body+:} false
; then :
12382 $as_echo_n "(cached) " >&6
12384 ac_wine_try_cflags_saved
=$CFLAGS
12385 CFLAGS
="$CFLAGS -Wempty-body"
12386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12387 /* end confdefs.h. */
12388 int main(int argc, char **argv) { return 0; }
12390 if ac_fn_c_try_link
"$LINENO"; then :
12391 ac_cv_cflags__Wempty_body
=yes
12393 ac_cv_cflags__Wempty_body
=no
12395 rm -f core conftest.err conftest.
$ac_objext \
12396 conftest
$ac_exeext conftest.
$ac_ext
12397 CFLAGS
=$ac_wine_try_cflags_saved
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12400 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12401 if test $ac_cv_cflags__Wempty_body = yes; then :
12402 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12405 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12406 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
12407 $as_echo_n "(cached) " >&6
12409 ac_wine_try_cflags_saved
=$CFLAGS
12410 CFLAGS
="$CFLAGS -Wignored-qualifiers"
12411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12412 /* end confdefs.h. */
12413 int main(int argc, char **argv) { return 0; }
12415 if ac_fn_c_try_link
"$LINENO"; then :
12416 ac_cv_cflags__Wignored_qualifiers
=yes
12418 ac_cv_cflags__Wignored_qualifiers
=no
12420 rm -f core conftest.err conftest.
$ac_objext \
12421 conftest
$ac_exeext conftest.
$ac_ext
12422 CFLAGS
=$ac_wine_try_cflags_saved
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12425 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12426 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12427 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12430 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12431 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
12432 $as_echo_n "(cached) " >&6
12434 ac_wine_try_cflags_saved
=$CFLAGS
12435 CFLAGS
="$CFLAGS -Wstrict-prototypes"
12436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12437 /* end confdefs.h. */
12438 int main(int argc, char **argv) { return 0; }
12440 if ac_fn_c_try_link
"$LINENO"; then :
12441 ac_cv_cflags__Wstrict_prototypes
=yes
12443 ac_cv_cflags__Wstrict_prototypes
=no
12445 rm -f core conftest.err conftest.
$ac_objext \
12446 conftest
$ac_exeext conftest.
$ac_ext
12447 CFLAGS
=$ac_wine_try_cflags_saved
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12450 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12451 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12452 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12455 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12456 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
12457 $as_echo_n "(cached) " >&6
12459 ac_wine_try_cflags_saved
=$CFLAGS
12460 CFLAGS
="$CFLAGS -Wtype-limits"
12461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12462 /* end confdefs.h. */
12463 int main(int argc, char **argv) { return 0; }
12465 if ac_fn_c_try_link
"$LINENO"; then :
12466 ac_cv_cflags__Wtype_limits
=yes
12468 ac_cv_cflags__Wtype_limits
=no
12470 rm -f core conftest.err conftest.
$ac_objext \
12471 conftest
$ac_exeext conftest.
$ac_ext
12472 CFLAGS
=$ac_wine_try_cflags_saved
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12475 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12476 if test $ac_cv_cflags__Wtype_limits = yes; then :
12477 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12480 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12481 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
12482 $as_echo_n "(cached) " >&6
12484 ac_wine_try_cflags_saved
=$CFLAGS
12485 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
12486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h. */
12488 int main(int argc, char **argv) { return 0; }
12490 if ac_fn_c_try_link
"$LINENO"; then :
12491 ac_cv_cflags__Wunused_but_set_parameter
=yes
12493 ac_cv_cflags__Wunused_but_set_parameter
=no
12495 rm -f core conftest.err conftest.
$ac_objext \
12496 conftest
$ac_exeext conftest.
$ac_ext
12497 CFLAGS
=$ac_wine_try_cflags_saved
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12500 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12501 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12502 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12505 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12506 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
12507 $as_echo_n "(cached) " >&6
12509 ac_wine_try_cflags_saved
=$CFLAGS
12510 CFLAGS
="$CFLAGS -Wwrite-strings"
12511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12512 /* end confdefs.h. */
12513 int main(int argc, char **argv) { return 0; }
12515 if ac_fn_c_try_link
"$LINENO"; then :
12516 ac_cv_cflags__Wwrite_strings
=yes
12518 ac_cv_cflags__Wwrite_strings
=no
12520 rm -f core conftest.err conftest.
$ac_objext \
12521 conftest
$ac_exeext conftest.
$ac_ext
12522 CFLAGS
=$ac_wine_try_cflags_saved
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12525 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12526 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12527 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12530 for ac_flag
in $CFLAGS; do
12532 -g) case $host_os in
12533 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12534 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12535 if ${ac_cv_cflags__gstabsp+:} false
; then :
12536 $as_echo_n "(cached) " >&6
12538 ac_wine_try_cflags_saved
=$CFLAGS
12539 CFLAGS
="$CFLAGS -gstabs+"
12540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12541 /* end confdefs.h. */
12542 int main(int argc, char **argv) { return 0; }
12544 if ac_fn_c_try_link
"$LINENO"; then :
12545 ac_cv_cflags__gstabsp
=yes
12547 ac_cv_cflags__gstabsp
=no
12549 rm -f core conftest.err conftest.
$ac_objext \
12550 conftest
$ac_exeext conftest.
$ac_ext
12551 CFLAGS
=$ac_wine_try_cflags_saved
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12554 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12555 if test $ac_cv_cflags__gstabsp = yes; then :
12556 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12558 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12559 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12560 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
12561 $as_echo_n "(cached) " >&6
12563 ac_wine_try_cflags_saved
=$CFLAGS
12564 CFLAGS
="$CFLAGS -gdwarf-2"
12565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12566 /* end confdefs.h. */
12567 int main(int argc, char **argv) { return 0; }
12569 if ac_fn_c_try_link
"$LINENO"; then :
12570 ac_cv_cflags__gdwarf_2
=yes
12572 ac_cv_cflags__gdwarf_2
=no
12574 rm -f core conftest.err conftest.
$ac_objext \
12575 conftest
$ac_exeext conftest.
$ac_ext
12576 CFLAGS
=$ac_wine_try_cflags_saved
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12579 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12580 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12581 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12584 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12585 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
12586 $as_echo_n "(cached) " >&6
12588 ac_wine_try_cflags_saved
=$CFLAGS
12589 CFLAGS
="$CFLAGS -gstrict-dwarf"
12590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12591 /* end confdefs.h. */
12592 int main(int argc, char **argv) { return 0; }
12594 if ac_fn_c_try_link
"$LINENO"; then :
12595 ac_cv_cflags__gstrict_dwarf
=yes
12597 ac_cv_cflags__gstrict_dwarf
=no
12599 rm -f core conftest.err conftest.
$ac_objext \
12600 conftest
$ac_exeext conftest.
$ac_ext
12601 CFLAGS
=$ac_wine_try_cflags_saved
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12604 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12605 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12606 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
12613 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12614 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12615 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
12616 $as_echo_n "(cached) " >&6
12618 ac_wine_try_cflags_saved
=$CFLAGS
12619 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
12620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12621 /* end confdefs.h. */
12622 int main(int argc, char **argv) { return 0; }
12624 if ac_fn_c_try_link
"$LINENO"; then :
12625 ac_cv_cflags__fno_omit_frame_pointer
=yes
12627 ac_cv_cflags__fno_omit_frame_pointer
=no
12629 rm -f core conftest.err conftest.
$ac_objext \
12630 conftest
$ac_exeext conftest.
$ac_ext
12631 CFLAGS
=$ac_wine_try_cflags_saved
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12634 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12635 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12636 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
12641 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12642 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12643 if ${ac_cv_cflags__Wno_format+:} false
; then :
12644 $as_echo_n "(cached) " >&6
12646 ac_wine_try_cflags_saved
=$CFLAGS
12647 CFLAGS
="$CFLAGS -Wno-format"
12648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12649 /* end confdefs.h. */
12650 int main(int argc, char **argv) { return 0; }
12652 if ac_fn_c_try_link
"$LINENO"; then :
12653 ac_cv_cflags__Wno_format
=yes
12655 ac_cv_cflags__Wno_format
=no
12657 rm -f core conftest.err conftest.
$ac_objext \
12658 conftest
$ac_exeext conftest.
$ac_ext
12659 CFLAGS
=$ac_wine_try_cflags_saved
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12662 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12663 if test $ac_cv_cflags__Wno_format = yes; then :
12664 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
12668 saved_CFLAGS
="$CFLAGS"
12669 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12671 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12672 if ${ac_cv_c_string_h_warnings+:} false
; then :
12673 $as_echo_n "(cached) " >&6
12675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12676 /* end confdefs.h. */
12677 #include <string.h>
12686 if ac_fn_c_try_compile
"$LINENO"; then :
12687 ac_cv_c_string_h_warnings
=no
12689 ac_cv_c_string_h_warnings
=yes
12691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12694 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12695 CFLAGS
="$saved_CFLAGS"
12696 if test "$ac_cv_c_string_h_warnings" = "no"
12698 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12701 saved_CFLAGS
="$CFLAGS"
12702 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12704 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12705 if ${ac_cv_c_logicalop_noisy+:} false
; then :
12706 $as_echo_n "(cached) " >&6
12708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12710 #include <string.h>
12714 char*f(const char *h,char n) {return strchr(h,n);}
12719 if ac_fn_c_try_compile
"$LINENO"; then :
12720 ac_cv_c_logicalop_noisy
=no
12722 ac_cv_c_logicalop_noisy
=yes
12724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12727 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12728 CFLAGS
="$saved_CFLAGS"
12729 if test "$ac_cv_c_logicalop_noisy" = "no"
12731 EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12734 if test "x$enable_maintainer_mode" = "xyes"
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12737 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12738 if ${ac_cv_cflags__Werror+:} false
; then :
12739 $as_echo_n "(cached) " >&6
12741 ac_wine_try_cflags_saved
=$CFLAGS
12742 CFLAGS
="$CFLAGS -Werror"
12743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12744 /* end confdefs.h. */
12745 int main(int argc, char **argv) { return 0; }
12747 if ac_fn_c_try_link
"$LINENO"; then :
12748 ac_cv_cflags__Werror
=yes
12750 ac_cv_cflags__Werror
=no
12752 rm -f core conftest.err conftest.
$ac_objext \
12753 conftest
$ac_exeext conftest.
$ac_ext
12754 CFLAGS
=$ac_wine_try_cflags_saved
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12757 $as_echo "$ac_cv_cflags__Werror" >&6; }
12758 if test $ac_cv_cflags__Werror = yes; then :
12759 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12763 saved_CFLAGS
="$CFLAGS"
12764 CFLAGS
="$CFLAGS -Werror"
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12766 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12767 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
12768 $as_echo_n "(cached) " >&6
12770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12771 /* end confdefs.h. */
12772 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12781 if ac_fn_c_try_compile
"$LINENO"; then :
12782 ac_cv_have_ms_hook_prologue
="yes"
12784 ac_cv_have_ms_hook_prologue
="no"
12786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12789 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12790 CFLAGS
="$saved_CFLAGS"
12791 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12794 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12797 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12804 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12805 if ${ac_cv_c_fortify_enabled+:} false
; then :
12806 $as_echo_n "(cached) " >&6
12808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12809 /* end confdefs.h. */
12810 #include <string.h>
12814 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12815 #error Fortify enabled
12821 if ac_fn_c_try_compile
"$LINENO"; then :
12822 ac_cv_c_fortify_enabled
=no
12824 ac_cv_c_fortify_enabled
=yes
12826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12829 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12830 if test "$ac_cv_c_fortify_enabled" = yes
12832 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12837 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12838 if ${ac_cv_c_extern_prefix+:} false
; then :
12839 $as_echo_n "(cached) " >&6
12841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12842 /* end confdefs.h. */
12843 extern int ac_test;
12847 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12852 if ac_fn_c_try_link
"$LINENO"; then :
12853 ac_cv_c_extern_prefix
="yes"
12855 ac_cv_c_extern_prefix
="no"
12857 rm -f core conftest.err conftest.
$ac_objext \
12858 conftest
$ac_exeext conftest.
$ac_ext
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12861 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12866 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12867 if ${ac_cv_c_stdcall_suffix+:} false
; then :
12868 $as_echo_n "(cached) " >&6
12870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12871 /* end confdefs.h. */
12873 #define __stdcall __attribute__((__stdcall__))
12875 int __stdcall ac_test(int i) { return i; }
12879 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12884 if ac_fn_c_try_link
"$LINENO"; then :
12885 ac_cv_c_stdcall_suffix
="yes"
12887 ac_cv_c_stdcall_suffix
="no"
12889 rm -f core conftest.err conftest.
$ac_objext \
12890 conftest
$ac_exeext conftest.
$ac_ext
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12893 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12894 *) ac_cv_c_stdcall_suffix
="no" ;;
12898 if test "$ac_cv_c_extern_prefix" = "yes"
12900 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12902 asm_name_prefix
="_"
12904 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12910 if test "$ac_cv_c_stdcall_suffix" = "yes"
12912 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12915 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12921 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12922 if ${ac_cv_asm_func_def+:} false
; then :
12923 $as_echo_n "(cached) " >&6
12925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12926 /* end confdefs.h. */
12931 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12936 if ac_fn_c_try_link
"$LINENO"; then :
12937 ac_cv_asm_func_def
=".def"
12939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12945 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12950 if ac_fn_c_try_link
"$LINENO"; then :
12951 ac_cv_asm_func_def
=".type @function"
12953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12954 /* end confdefs.h. */
12959 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12964 if ac_fn_c_try_link
"$LINENO"; then :
12965 ac_cv_asm_func_def
=".type 2"
12967 ac_cv_asm_func_def
="unknown"
12969 rm -f core conftest.err conftest.
$ac_objext \
12970 conftest
$ac_exeext conftest.
$ac_ext
12972 rm -f core conftest.err conftest.
$ac_objext \
12973 conftest
$ac_exeext conftest.
$ac_ext
12975 rm -f core conftest.err conftest.
$ac_objext \
12976 conftest
$ac_exeext conftest.
$ac_ext
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12979 $as_echo "$ac_cv_asm_func_def" >&6; }
12982 case "$ac_cv_asm_func_def" in
12984 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12986 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12988 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12990 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
12992 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12994 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
12996 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12998 asm_func_header
="" ;;
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13002 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13003 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
13004 $as_echo_n "(cached) " >&6
13006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13007 /* end confdefs.h. */
13008 asm(".text\n\t.long 0");
13017 if ac_fn_c_try_compile
"$LINENO"; then :
13018 ac_cv_c_asm_outside_funcs
="yes"
13020 ac_cv_c_asm_outside_funcs
="no"
13022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13025 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13028 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13029 if ${ac_cv_c_dot_previous+:} false
; then :
13030 $as_echo_n "(cached) " >&6
13032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13033 /* end confdefs.h. */
13038 asm(".text\nac_test:\t.long 0\n\t.previous");
13043 if ac_fn_c_try_link
"$LINENO"; then :
13044 ac_cv_c_dot_previous
="yes"
13046 ac_cv_c_dot_previous
="no"
13048 rm -f core conftest.err conftest.
$ac_objext \
13049 conftest
$ac_exeext conftest.
$ac_ext
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13052 $as_echo "$ac_cv_c_dot_previous" >&6; }
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13055 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13056 if ${ac_cv_c_cfi_support+:} false
; then :
13057 $as_echo_n "(cached) " >&6
13059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13060 /* end confdefs.h. */
13061 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13070 if ac_fn_c_try_compile
"$LINENO"; then :
13071 ac_cv_c_cfi_support
="yes"
13073 ac_cv_c_cfi_support
="no"
13075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13078 $as_echo "$ac_cv_c_cfi_support" >&6; }
13080 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13081 asm_func_trailer
=""
13082 if test "$ac_cv_c_dot_previous" = "yes"
13084 asm_func_trailer
="\\n\\t.previous"
13086 if test "$ac_cv_c_cfi_support" = "yes"
13088 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
13089 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
13091 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13093 UNWINDFLAGS
=-fasynchronous-unwind-tables
13096 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13100 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
13103 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13105 cat >>confdefs.h
<<_ACEOF
13106 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13110 cat >>confdefs.h
<<_ACEOF
13111 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13116 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13119 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13129 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13134 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13140 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
13145 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
13147 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
13154 ac_save_CFLAGS
="$CFLAGS"
13155 CFLAGS
="$CFLAGS $BUILTINFLAG"
13229 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13230 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13231 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13232 cat >>confdefs.h
<<_ACEOF
13233 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13239 CFLAGS
="$ac_save_CFLAGS"
13241 if test "$ac_cv_func_dlopen" = no
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13244 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13245 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13246 $as_echo_n "(cached) " >&6
13248 ac_check_lib_save_LIBS
=$LIBS
13250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13251 /* end confdefs.h. */
13253 /* Override any GCC internal prototype to avoid an error.
13254 Use char because int might match the return type of a GCC
13255 builtin and then its argument prototype would still apply. */
13268 if ac_fn_c_try_link
"$LINENO"; then :
13269 ac_cv_lib_dl_dlopen
=yes
13271 ac_cv_lib_dl_dlopen
=no
13273 rm -f core conftest.err conftest.
$ac_objext \
13274 conftest
$ac_exeext conftest.
$ac_ext
13275 LIBS
=$ac_check_lib_save_LIBS
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13278 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13279 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13280 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13286 ac_wine_check_funcs_save_LIBS
="$LIBS"
13287 LIBS
="$LIBS $LIBDL"
13288 for ac_func
in dladdr
13290 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
13291 if test "x$ac_cv_func_dladdr" = xyes
; then :
13292 cat >>confdefs.h
<<_ACEOF
13293 #define HAVE_DLADDR 1
13299 LIBS
="$ac_wine_check_funcs_save_LIBS"
13301 if test "$ac_cv_func_poll" = no
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13304 $as_echo_n "checking for poll in -lpoll... " >&6; }
13305 if ${ac_cv_lib_poll_poll+:} false
; then :
13306 $as_echo_n "(cached) " >&6
13308 ac_check_lib_save_LIBS
=$LIBS
13309 LIBS
="-lpoll $LIBS"
13310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13311 /* end confdefs.h. */
13313 /* Override any GCC internal prototype to avoid an error.
13314 Use char because int might match the return type of a GCC
13315 builtin and then its argument prototype would still apply. */
13328 if ac_fn_c_try_link
"$LINENO"; then :
13329 ac_cv_lib_poll_poll
=yes
13331 ac_cv_lib_poll_poll
=no
13333 rm -f core conftest.err conftest.
$ac_objext \
13334 conftest
$ac_exeext conftest.
$ac_ext
13335 LIBS
=$ac_check_lib_save_LIBS
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13338 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13339 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
13340 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13348 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13349 if ${ac_cv_search_gethostbyname+:} false
; then :
13350 $as_echo_n "(cached) " >&6
13352 ac_func_search_save_LIBS
=$LIBS
13353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13354 /* end confdefs.h. */
13356 /* Override any GCC internal prototype to avoid an error.
13357 Use char because int might match the return type of a GCC
13358 builtin and then its argument prototype would still apply. */
13362 char gethostbyname ();
13366 return gethostbyname ();
13371 for ac_lib
in '' nsl
; do
13372 if test -z "$ac_lib"; then
13373 ac_res
="none required"
13376 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13378 if ac_fn_c_try_link
"$LINENO"; then :
13379 ac_cv_search_gethostbyname
=$ac_res
13381 rm -f core conftest.err conftest.
$ac_objext \
13383 if ${ac_cv_search_gethostbyname+:} false
; then :
13387 if ${ac_cv_search_gethostbyname+:} false
; then :
13390 ac_cv_search_gethostbyname
=no
13392 rm conftest.
$ac_ext
13393 LIBS
=$ac_func_search_save_LIBS
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13396 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13397 ac_res
=$ac_cv_search_gethostbyname
13398 if test "$ac_res" != no
; then :
13399 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13405 $as_echo_n "checking for library containing connect... " >&6; }
13406 if ${ac_cv_search_connect+:} false
; then :
13407 $as_echo_n "(cached) " >&6
13409 ac_func_search_save_LIBS
=$LIBS
13410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13411 /* end confdefs.h. */
13413 /* Override any GCC internal prototype to avoid an error.
13414 Use char because int might match the return type of a GCC
13415 builtin and then its argument prototype would still apply. */
13428 for ac_lib
in '' socket
; do
13429 if test -z "$ac_lib"; then
13430 ac_res
="none required"
13433 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13435 if ac_fn_c_try_link
"$LINENO"; then :
13436 ac_cv_search_connect
=$ac_res
13438 rm -f core conftest.err conftest.
$ac_objext \
13440 if ${ac_cv_search_connect+:} false
; then :
13444 if ${ac_cv_search_connect+:} false
; then :
13447 ac_cv_search_connect
=no
13449 rm conftest.
$ac_ext
13450 LIBS
=$ac_func_search_save_LIBS
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13453 $as_echo "$ac_cv_search_connect" >&6; }
13454 ac_res
=$ac_cv_search_connect
13455 if test "$ac_res" != no
; then :
13456 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13462 $as_echo_n "checking for library containing inet_aton... " >&6; }
13463 if ${ac_cv_search_inet_aton+:} false
; then :
13464 $as_echo_n "(cached) " >&6
13466 ac_func_search_save_LIBS
=$LIBS
13467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13468 /* end confdefs.h. */
13470 /* Override any GCC internal prototype to avoid an error.
13471 Use char because int might match the return type of a GCC
13472 builtin and then its argument prototype would still apply. */
13480 return inet_aton ();
13485 for ac_lib
in '' resolv
; do
13486 if test -z "$ac_lib"; then
13487 ac_res
="none required"
13490 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13492 if ac_fn_c_try_link
"$LINENO"; then :
13493 ac_cv_search_inet_aton
=$ac_res
13495 rm -f core conftest.err conftest.
$ac_objext \
13497 if ${ac_cv_search_inet_aton+:} false
; then :
13501 if ${ac_cv_search_inet_aton+:} false
; then :
13504 ac_cv_search_inet_aton
=no
13506 rm conftest.
$ac_ext
13507 LIBS
=$ac_func_search_save_LIBS
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13510 $as_echo "$ac_cv_search_inet_aton" >&6; }
13511 ac_res
=$ac_cv_search_inet_aton
13512 if test "$ac_res" != no
; then :
13513 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13532 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13533 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13534 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13535 cat >>confdefs.h
<<_ACEOF
13536 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
13545 $as_echo_n "checking for library containing clock_gettime... " >&6; }
13546 if ${ac_cv_search_clock_gettime+:} false
; then :
13547 $as_echo_n "(cached) " >&6
13549 ac_func_search_save_LIBS
=$LIBS
13550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13551 /* end confdefs.h. */
13553 /* Override any GCC internal prototype to avoid an error.
13554 Use char because int might match the return type of a GCC
13555 builtin and then its argument prototype would still apply. */
13559 char clock_gettime ();
13563 return clock_gettime ();
13568 for ac_lib
in '' rt
; do
13569 if test -z "$ac_lib"; then
13570 ac_res
="none required"
13573 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13575 if ac_fn_c_try_link
"$LINENO"; then :
13576 ac_cv_search_clock_gettime
=$ac_res
13578 rm -f core conftest.err conftest.
$ac_objext \
13580 if ${ac_cv_search_clock_gettime+:} false
; then :
13584 if ${ac_cv_search_clock_gettime+:} false
; then :
13587 ac_cv_search_clock_gettime
=no
13589 rm conftest.
$ac_ext
13590 LIBS
=$ac_func_search_save_LIBS
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
13593 $as_echo "$ac_cv_search_clock_gettime" >&6; }
13594 ac_res
=$ac_cv_search_clock_gettime
13595 if test "$ac_res" != no
; then :
13596 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13598 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13600 test "$ac_res" = "none required" || LIBRT
="$ac_res"
13608 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13610 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13612 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13614 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13615 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
13616 $as_echo_n "(cached) " >&6
13618 ac_check_lib_save_LIBS
=$LIBS
13619 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h. */
13623 /* Override any GCC internal prototype to avoid an error.
13624 Use char because int might match the return type of a GCC
13625 builtin and then its argument prototype would still apply. */
13629 char ldap_initialize ();
13633 return ldap_initialize ();
13638 if ac_fn_c_try_link
"$LINENO"; then :
13639 ac_cv_lib_ldap_r_ldap_initialize
=yes
13641 ac_cv_lib_ldap_r_ldap_initialize
=no
13643 rm -f core conftest.err conftest.
$ac_objext \
13644 conftest
$ac_exeext conftest.
$ac_ext
13645 LIBS
=$ac_check_lib_save_LIBS
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13648 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13649 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13651 $as_echo_n "checking for ber_init in -llber... " >&6; }
13652 if ${ac_cv_lib_lber_ber_init+:} false
; then :
13653 $as_echo_n "(cached) " >&6
13655 ac_check_lib_save_LIBS
=$LIBS
13656 LIBS
="-llber $LIBPTHREAD $LIBS"
13657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13658 /* end confdefs.h. */
13660 /* Override any GCC internal prototype to avoid an error.
13661 Use char because int might match the return type of a GCC
13662 builtin and then its argument prototype would still apply. */
13670 return ber_init ();
13675 if ac_fn_c_try_link
"$LINENO"; then :
13676 ac_cv_lib_lber_ber_init
=yes
13678 ac_cv_lib_lber_ber_init
=no
13680 rm -f core conftest.err conftest.
$ac_objext \
13681 conftest
$ac_exeext conftest.
$ac_ext
13682 LIBS
=$ac_check_lib_save_LIBS
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13685 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13686 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
13688 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13690 LDAPLIBS
="-lldap_r -llber"
13697 ac_wine_check_funcs_save_LIBS
="$LIBS"
13698 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13700 ldap_count_references \
13701 ldap_first_reference \
13702 ldap_next_reference \
13703 ldap_parse_reference \
13704 ldap_parse_sort_control \
13705 ldap_parse_sortresponse_control \
13706 ldap_parse_vlv_control \
13707 ldap_parse_vlvresponse_control
13709 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13710 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13711 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13712 cat >>confdefs.h
<<_ACEOF
13713 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13719 LIBS
="$ac_wine_check_funcs_save_LIBS"
13721 if test "x$LDAPLIBS" = "x"; then :
13722 case "x$with_ldap" in
13723 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13725 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13726 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13731 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13732 if ${wine_cv_one_arg_mkdir+:} false
; then :
13733 $as_echo_n "(cached) " >&6
13735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13736 /* end confdefs.h. */
13737 #include <sys/stat.h>
13746 if ac_fn_c_try_compile
"$LINENO"; then :
13747 wine_cv_one_arg_mkdir
=yes
13749 wine_cv_one_arg_mkdir
=no
13751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13754 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13755 if test "$wine_cv_one_arg_mkdir" = "yes"
13758 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13763 $as_echo_n "checking for sched_setaffinity... " >&6; }
13764 if ${wine_cv_have_sched_setaffinity+:} false
; then :
13765 $as_echo_n "(cached) " >&6
13767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13768 /* end confdefs.h. */
13769 #define _GNU_SOURCE
13774 sched_setaffinity(0, 0, 0);
13779 if ac_fn_c_try_link
"$LINENO"; then :
13780 wine_cv_have_sched_setaffinity
=yes
13782 wine_cv_have_sched_setaffinity
=no
13784 rm -f core conftest.err conftest.
$ac_objext \
13785 conftest
$ac_exeext conftest.
$ac_ext
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13788 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13789 if test "$wine_cv_have_sched_setaffinity" = "yes"
13792 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
13797 $as_echo_n "checking for fallocate... " >&6; }
13798 if ${wine_cv_have_fallocate+:} false
; then :
13799 $as_echo_n "(cached) " >&6
13801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13802 /* end confdefs.h. */
13803 #define _GNU_SOURCE
13808 fallocate(-1, 0, 0, 0);
13813 if ac_fn_c_try_link
"$LINENO"; then :
13814 wine_cv_have_fallocate
=yes
13816 wine_cv_have_fallocate
=no
13818 rm -f core conftest.err conftest.
$ac_objext \
13819 conftest
$ac_exeext conftest.
$ac_ext
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
13822 $as_echo "$wine_cv_have_fallocate" >&6; }
13823 if test "$wine_cv_have_fallocate" = "yes"
13826 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13832 $as_echo_n "checking for inline... " >&6; }
13833 if ${ac_cv_c_inline+:} false
; then :
13834 $as_echo_n "(cached) " >&6
13837 for ac_kw
in inline __inline__ __inline
; do
13838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13839 /* end confdefs.h. */
13840 #ifndef __cplusplus
13842 static $ac_kw foo_t static_foo () {return 0; }
13843 $ac_kw foo_t foo () {return 0; }
13847 if ac_fn_c_try_compile
"$LINENO"; then :
13848 ac_cv_c_inline
=$ac_kw
13850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13851 test "$ac_cv_c_inline" != no
&& break
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13856 $as_echo "$ac_cv_c_inline" >&6; }
13858 case $ac_cv_c_inline in
13861 case $ac_cv_c_inline in
13863 *) ac_val
=$ac_cv_c_inline;;
13865 cat >>confdefs.h
<<_ACEOF
13866 #ifndef __cplusplus
13867 #define inline $ac_val
13873 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13874 if test "x$ac_cv_type_mode_t" = xyes
; then :
13876 cat >>confdefs.h
<<_ACEOF
13877 #define HAVE_MODE_T 1
13882 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13883 if test "x$ac_cv_type_off_t" = xyes
; then :
13885 cat >>confdefs.h
<<_ACEOF
13886 #define HAVE_OFF_T 1
13891 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13892 if test "x$ac_cv_type_pid_t" = xyes
; then :
13894 cat >>confdefs.h
<<_ACEOF
13895 #define HAVE_PID_T 1
13900 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13901 if test "x$ac_cv_type_size_t" = xyes
; then :
13903 cat >>confdefs.h
<<_ACEOF
13904 #define HAVE_SIZE_T 1
13909 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13910 if test "x$ac_cv_type_ssize_t" = xyes
; then :
13912 cat >>confdefs.h
<<_ACEOF
13913 #define HAVE_SSIZE_T 1
13918 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13919 if test "x$ac_cv_type_long_long" = xyes
; then :
13921 cat >>confdefs.h
<<_ACEOF
13922 #define HAVE_LONG_LONG 1
13927 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13928 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
13930 cat >>confdefs.h
<<_ACEOF
13931 #define HAVE_FSBLKCNT_T 1
13936 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13937 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
13939 cat >>confdefs.h
<<_ACEOF
13940 #define HAVE_FSFILCNT_T 1
13946 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13947 #include <signal.h>
13949 if test "x$ac_cv_type_sigset_t" = xyes
; then :
13951 cat >>confdefs.h
<<_ACEOF
13952 #define HAVE_SIGSET_T 1
13958 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13960 if test "x$ac_cv_type_request_sense" = xyes
; then :
13962 cat >>confdefs.h
<<_ACEOF
13963 #define HAVE_REQUEST_SENSE 1
13970 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13971 #ifdef HAVE_SYS_SOCKET_H
13972 #include <sys/socket.h>
13974 #ifdef HAVE_SYS_SOCKETVAR_H
13975 #include <sys/socketvar.h>
13977 #ifdef HAVE_NET_ROUTE_H
13978 #include <net/route.h>
13980 #ifdef HAVE_NETINET_IN_H
13981 #include <netinet/in.h>
13983 #ifdef HAVE_NETINET_IN_SYSTM_H
13984 #include <netinet/in_systm.h>
13986 #ifdef HAVE_NETINET_IP_H
13987 #include <netinet/ip.h>
13989 #ifdef HAVE_NETINET_IN_PCB_H
13990 #include <netinet/in_pcb.h>
13993 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
13995 cat >>confdefs.h
<<_ACEOF
13996 #define HAVE_STRUCT_XINPGEN 1
14003 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14004 #include <linux/input.h>
14007 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
14009 cat >>confdefs.h
<<_ACEOF
14010 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14018 $as_echo_n "checking for sigaddset... " >&6; }
14019 if ${wine_cv_have_sigaddset+:} false
; then :
14020 $as_echo_n "(cached) " >&6
14022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14023 /* end confdefs.h. */
14024 #include <signal.h>
14028 sigset_t set; sigaddset(&set,SIGTERM);
14033 if ac_fn_c_try_link
"$LINENO"; then :
14034 wine_cv_have_sigaddset
=yes
14036 wine_cv_have_sigaddset
=no
14038 rm -f core conftest.err conftest.
$ac_objext \
14039 conftest
$ac_exeext conftest.
$ac_ext
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14042 $as_echo "$wine_cv_have_sigaddset" >&6; }
14043 if test "$wine_cv_have_sigaddset" = "yes"
14046 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14052 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14053 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
14054 $as_echo_n "(cached) " >&6
14056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14057 /* end confdefs.h. */
14065 struct hostent *result;
14072 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14073 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14079 if ac_fn_c_try_link
"$LINENO"; then :
14080 wine_cv_linux_gethostbyname_r_6
=yes
14082 wine_cv_linux_gethostbyname_r_6
=no
14085 rm -f core conftest.err conftest.
$ac_objext \
14086 conftest
$ac_exeext conftest.
$ac_ext
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14090 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14091 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14094 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14098 if test "$ac_cv_header_linux_joystick_h" = "yes"
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14101 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14102 if ${wine_cv_linux_joystick_22_api+:} false
; then :
14103 $as_echo_n "(cached) " >&6
14105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14106 /* end confdefs.h. */
14108 #include <sys/ioctl.h>
14109 #include <sys/types.h>
14110 #include <linux/joystick.h>
14112 struct js_event blub;
14113 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14114 #error "no 2.2 header"
14125 if ac_fn_c_try_compile
"$LINENO"; then :
14126 wine_cv_linux_joystick_22_api
=yes
14128 wine_cv_linux_joystick_22_api
=no
14130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14134 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14135 if test "$wine_cv_linux_joystick_22_api" = "yes"
14138 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14144 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14145 #ifdef HAVE_SYS_PARAM_H
14146 # include <sys/param.h>
14148 #ifdef HAVE_SYS_MOUNT_H
14149 # include <sys/mount.h>
14151 #ifdef HAVE_SYS_VFS_H
14152 # include <sys/vfs.h>
14154 #ifdef HAVE_SYS_STATFS_H
14155 # include <sys/statfs.h>
14158 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
14160 cat >>confdefs.h
<<_ACEOF
14161 #define HAVE_STRUCT_STATFS_F_BFREE 1
14166 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
14167 #ifdef HAVE_SYS_PARAM_H
14168 # include <sys/param.h>
14170 #ifdef HAVE_SYS_MOUNT_H
14171 # include <sys/mount.h>
14173 #ifdef HAVE_SYS_VFS_H
14174 # include <sys/vfs.h>
14176 #ifdef HAVE_SYS_STATFS_H
14177 # include <sys/statfs.h>
14180 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
14182 cat >>confdefs.h
<<_ACEOF
14183 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
14188 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
14189 #ifdef HAVE_SYS_PARAM_H
14190 # include <sys/param.h>
14192 #ifdef HAVE_SYS_MOUNT_H
14193 # include <sys/mount.h>
14195 #ifdef HAVE_SYS_VFS_H
14196 # include <sys/vfs.h>
14198 #ifdef HAVE_SYS_STATFS_H
14199 # include <sys/statfs.h>
14202 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
14204 cat >>confdefs.h
<<_ACEOF
14205 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
14210 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
14211 #ifdef HAVE_SYS_PARAM_H
14212 # include <sys/param.h>
14214 #ifdef HAVE_SYS_MOUNT_H
14215 # include <sys/mount.h>
14217 #ifdef HAVE_SYS_VFS_H
14218 # include <sys/vfs.h>
14220 #ifdef HAVE_SYS_STATFS_H
14221 # include <sys/statfs.h>
14224 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
14226 cat >>confdefs.h
<<_ACEOF
14227 #define HAVE_STRUCT_STATFS_F_FFREE 1
14232 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
14233 #ifdef HAVE_SYS_PARAM_H
14234 # include <sys/param.h>
14236 #ifdef HAVE_SYS_MOUNT_H
14237 # include <sys/mount.h>
14239 #ifdef HAVE_SYS_VFS_H
14240 # include <sys/vfs.h>
14242 #ifdef HAVE_SYS_STATFS_H
14243 # include <sys/statfs.h>
14246 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
14248 cat >>confdefs.h
<<_ACEOF
14249 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
14254 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
14255 #ifdef HAVE_SYS_PARAM_H
14256 # include <sys/param.h>
14258 #ifdef HAVE_SYS_MOUNT_H
14259 # include <sys/mount.h>
14261 #ifdef HAVE_SYS_VFS_H
14262 # include <sys/vfs.h>
14264 #ifdef HAVE_SYS_STATFS_H
14265 # include <sys/statfs.h>
14268 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
14270 cat >>confdefs.h
<<_ACEOF
14271 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14278 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14279 #include <sys/statvfs.h>
14282 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
14284 cat >>confdefs.h
<<_ACEOF
14285 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14292 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14293 #include <dirent.h>
14296 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
14298 cat >>confdefs.h
<<_ACEOF
14299 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14306 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14307 #ifdef HAVE_SYS_SOCKET_H
14308 # include <sys/socket.h>
14310 #ifdef HAVE_SYS_UN_H
14311 # include <sys/un.h>
14314 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
14316 cat >>confdefs.h
<<_ACEOF
14317 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14322 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14323 #ifdef HAVE_SYS_SOCKET_H
14324 # include <sys/socket.h>
14326 #ifdef HAVE_SYS_UN_H
14327 # include <sys/un.h>
14330 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
14332 cat >>confdefs.h
<<_ACEOF
14333 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14338 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14339 #ifdef HAVE_SYS_SOCKET_H
14340 # include <sys/socket.h>
14342 #ifdef HAVE_SYS_UN_H
14343 # include <sys/un.h>
14346 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
14348 cat >>confdefs.h
<<_ACEOF
14349 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14356 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14357 #ifdef HAVE_SCSI_SG_H
14358 #include <scsi/sg.h>
14361 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
14363 cat >>confdefs.h
<<_ACEOF
14364 #define HAVE_SCSIREQ_T_CMD 1
14369 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>
14370 #ifdef HAVE_SCSI_SG_H
14371 #include <scsi/sg.h>
14374 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
14376 cat >>confdefs.h
<<_ACEOF
14377 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14384 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14386 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
14388 cat >>confdefs.h
<<_ACEOF
14389 #define HAVE_SIGINFO_T_SI_FD 1
14396 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14397 #ifdef HAVE_SYS_MTIO_H
14398 #include <sys/mtio.h>
14401 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
14403 cat >>confdefs.h
<<_ACEOF
14404 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14409 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14410 #ifdef HAVE_SYS_MTIO_H
14411 #include <sys/mtio.h>
14414 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
14416 cat >>confdefs.h
<<_ACEOF
14417 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14422 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14423 #ifdef HAVE_SYS_MTIO_H
14424 #include <sys/mtio.h>
14427 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
14429 cat >>confdefs.h
<<_ACEOF
14430 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14437 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14438 #include <getopt.h>
14441 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
14443 cat >>confdefs.h
<<_ACEOF
14444 #define HAVE_STRUCT_OPTION_NAME 1
14451 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14452 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
14454 cat >>confdefs.h
<<_ACEOF
14455 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14460 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14461 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
14463 cat >>confdefs.h
<<_ACEOF
14464 #define HAVE_STRUCT_STAT_ST_MTIM 1
14469 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14470 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
14472 cat >>confdefs.h
<<_ACEOF
14473 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14478 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14479 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
14481 cat >>confdefs.h
<<_ACEOF
14482 #define HAVE_STRUCT_STAT_ST_CTIM 1
14487 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14488 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
14490 cat >>confdefs.h
<<_ACEOF
14491 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14496 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14497 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
14499 cat >>confdefs.h
<<_ACEOF
14500 #define HAVE_STRUCT_STAT_ST_ATIM 1
14505 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14506 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
14508 cat >>confdefs.h
<<_ACEOF
14509 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14514 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14515 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
14517 cat >>confdefs.h
<<_ACEOF
14518 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14523 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14524 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
14526 cat >>confdefs.h
<<_ACEOF
14527 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14532 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14533 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
14535 cat >>confdefs.h
<<_ACEOF
14536 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14541 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14542 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
14544 cat >>confdefs.h
<<_ACEOF
14545 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14550 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14551 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
14553 cat >>confdefs.h
<<_ACEOF
14554 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14561 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
14562 #include <sys/types.h>
14564 #ifdef HAVE_NETINET_IN_H
14565 #include <netinet/in.h>
14568 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
14570 cat >>confdefs.h
<<_ACEOF
14571 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14578 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14579 #include <sys/types.h>
14581 #ifdef HAVE_NETINET_IN_H
14582 # include <netinet/in.h>
14584 #ifdef HAVE_ARPA_NAMESER_H
14585 # include <arpa/nameser.h>
14588 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
14590 cat >>confdefs.h
<<_ACEOF
14591 #define HAVE_NS_MSG__MSG_PTR 1
14598 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14599 #include <sys/types.h>
14601 #ifdef HAVE_NETINET_IP_H
14602 #include <netinet/ip.h>
14604 #ifdef HAVE_NETINET_IP_ICMP_H
14605 #include <netinet/ip_icmp.h>
14607 #ifdef HAVE_NETINET_ICMP_VAR_H
14608 #include <netinet/icmp_var.h>
14611 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
14613 cat >>confdefs.h
<<_ACEOF
14614 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14621 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14622 #include <sys/types.h>
14624 #ifdef HAVE_ALIAS_H
14627 #ifdef HAVE_SYS_SOCKET_H
14628 #include <sys/socket.h>
14630 #ifdef HAVE_SYS_SOCKETVAR_H
14631 #include <sys/socketvar.h>
14633 #ifdef HAVE_SYS_TIMEOUT_H
14634 #include <sys/timeout.h>
14636 #ifdef HAVE_NETINET_IN_H
14637 #include <netinet/in.h>
14639 #ifdef HAVE_NETINET_IN_SYSTM_H
14640 #include <netinet/in_systm.h>
14642 #ifdef HAVE_NETINET_IP_H
14643 #include <netinet/ip.h>
14645 #ifdef HAVE_NETINET_IP_VAR_H
14646 #include <netinet/ip_var.h>
14648 #ifdef HAVE_NETINET_IP_ICMP_H
14649 #include <netinet/ip_icmp.h>
14651 #ifdef HAVE_NETINET_ICMP_VAR_H
14652 #include <netinet/icmp_var.h>
14655 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
14657 cat >>confdefs.h
<<_ACEOF
14658 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14665 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14666 #include <sys/types.h>
14668 #ifdef HAVE_SYS_SOCKETVAR_H
14669 #include <sys/socketvar.h>
14671 #ifdef HAVE_NETINET_IN_H
14672 #include <netinet/in.h>
14674 #ifdef HAVE_NETINET_IP_VAR_H
14675 #include <netinet/ip_var.h>
14678 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
14680 cat >>confdefs.h
<<_ACEOF
14681 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14688 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
14689 #include <netinet/ip_var.h>
14692 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
14694 cat >>confdefs.h
<<_ACEOF
14695 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14702 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14703 #include <sys/types.h>
14705 #ifdef HAVE_SYS_SOCKETVAR_H
14706 #include <sys/socketvar.h>
14708 #ifdef HAVE_NETINET_IN_H
14709 #include <netinet/in.h>
14711 #ifdef HAVE_NETINET_TCP_H
14712 #include <netinet/tcp.h>
14714 #ifdef HAVE_NETINET_TCP_VAR_H
14715 #include <netinet/tcp_var.h>
14718 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
14720 cat >>confdefs.h
<<_ACEOF
14721 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14728 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
14729 #include <netinet/tcp_var.h>
14732 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
14734 cat >>confdefs.h
<<_ACEOF
14735 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14742 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
14743 #include <sys/types.h>
14745 #ifdef HAVE_NETINET_IN_H
14746 #include <netinet/in.h>
14748 #ifdef HAVE_NETINET_IP_VAR_H
14749 #include <netinet/ip_var.h>
14751 #ifdef HAVE_NETINET_UDP_H
14752 #include <netinet/udp.h>
14754 #ifdef HAVE_NETINET_UDP_VAR_H
14755 #include <netinet/udp_var.h>
14758 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
14760 cat >>confdefs.h
<<_ACEOF
14761 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14768 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14769 #include <sys/types.h>
14771 #ifdef HAVE_NET_IF_H
14772 # include <net/if.h>
14775 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
14777 cat >>confdefs.h
<<_ACEOF
14778 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14786 $as_echo_n "checking for timezone variable... " >&6; }
14787 if ${ac_cv_have_timezone+:} false
; then :
14788 $as_echo_n "(cached) " >&6
14790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14791 /* end confdefs.h. */
14801 if ac_fn_c_try_link
"$LINENO"; then :
14802 ac_cv_have_timezone
="yes"
14804 ac_cv_have_timezone
="no"
14806 rm -f core conftest.err conftest.
$ac_objext \
14807 conftest
$ac_exeext conftest.
$ac_ext
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14810 $as_echo "$ac_cv_have_timezone" >&6; }
14811 if test "$ac_cv_have_timezone" = "yes"
14814 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14818 $as_echo_n "checking for daylight variable... " >&6; }
14819 if ${ac_cv_have_daylight+:} false
; then :
14820 $as_echo_n "(cached) " >&6
14822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14823 /* end confdefs.h. */
14833 if ac_fn_c_try_link
"$LINENO"; then :
14834 ac_cv_have_daylight
="yes"
14836 ac_cv_have_daylight
="no"
14838 rm -f core conftest.err conftest.
$ac_objext \
14839 conftest
$ac_exeext conftest.
$ac_ext
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14842 $as_echo "$ac_cv_have_daylight" >&6; }
14843 if test "$ac_cv_have_daylight" = "yes"
14846 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14850 ac_save_LIBS
="$LIBS"
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14853 $as_echo_n "checking for isinf... " >&6; }
14854 if ${ac_cv_have_isinf+:} false
; then :
14855 $as_echo_n "(cached) " >&6
14857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14858 /* end confdefs.h. */
14863 float f = 0.0; return isinf(f)
14868 if ac_fn_c_try_link
"$LINENO"; then :
14869 ac_cv_have_isinf
="yes"
14871 ac_cv_have_isinf
="no"
14873 rm -f core conftest.err conftest.
$ac_objext \
14874 conftest
$ac_exeext conftest.
$ac_ext
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14877 $as_echo "$ac_cv_have_isinf" >&6; }
14878 if test "$ac_cv_have_isinf" = "yes"
14881 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14886 $as_echo_n "checking for isnan... " >&6; }
14887 if ${ac_cv_have_isnan+:} false
; then :
14888 $as_echo_n "(cached) " >&6
14890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14891 /* end confdefs.h. */
14896 float f = 0.0; return isnan(f)
14901 if ac_fn_c_try_link
"$LINENO"; then :
14902 ac_cv_have_isnan
="yes"
14904 ac_cv_have_isnan
="no"
14906 rm -f core conftest.err conftest.
$ac_objext \
14907 conftest
$ac_exeext conftest.
$ac_ext
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14910 $as_echo "$ac_cv_have_isnan" >&6; }
14911 if test "$ac_cv_have_isnan" = "yes"
14914 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14917 LIBS
="$ac_save_LIBS"
14921 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14922 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14923 if ${ac_cv_cpp_def___i386__+:} false
; then :
14924 $as_echo_n "(cached) " >&6
14926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14927 /* end confdefs.h. */
14932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14933 $EGREP "yes" >/dev
/null
2>&1; then :
14934 ac_cv_cpp_def___i386__
=yes
14936 ac_cv_cpp_def___i386__
=no
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14942 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14943 if test $ac_cv_cpp_def___i386__ = yes; then :
14944 CFLAGS
="$CFLAGS -D__i386__"
14945 LINTFLAGS
="$LINTFLAGS -D__i386__"
14947 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14948 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14949 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
14950 $as_echo_n "(cached) " >&6
14952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14959 $EGREP "yes" >/dev
/null
2>&1; then :
14960 ac_cv_cpp_def___x86_64__
=yes
14962 ac_cv_cpp_def___x86_64__
=no
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14968 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14969 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14970 CFLAGS
="$CFLAGS -D__x86_64__"
14971 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
14973 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
14974 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
14975 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
14976 $as_echo_n "(cached) " >&6
14978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14980 #ifndef __sparc64__
14984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14985 $EGREP "yes" >/dev
/null
2>&1; then :
14986 ac_cv_cpp_def___sparc64__
=yes
14988 ac_cv_cpp_def___sparc64__
=no
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
14994 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
14995 if test $ac_cv_cpp_def___sparc64__ = yes; then :
14996 CFLAGS
="$CFLAGS -D__sparc64__"
14997 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
14999 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15000 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15001 if ${ac_cv_cpp_def___sparc__+:} false
; then :
15002 $as_echo_n "(cached) " >&6
15004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15005 /* end confdefs.h. */
15010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15011 $EGREP "yes" >/dev
/null
2>&1; then :
15012 ac_cv_cpp_def___sparc__
=yes
15014 ac_cv_cpp_def___sparc__
=no
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15020 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15021 if test $ac_cv_cpp_def___sparc__ = yes; then :
15022 CFLAGS
="$CFLAGS -D__sparc__"
15023 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15025 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15026 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15027 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
15028 $as_echo_n "(cached) " >&6
15030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15031 /* end confdefs.h. */
15032 #ifndef __powerpc64__
15036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15037 $EGREP "yes" >/dev
/null
2>&1; then :
15038 ac_cv_cpp_def___powerpc64__
=yes
15040 ac_cv_cpp_def___powerpc64__
=no
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15046 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15047 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15048 CFLAGS
="$CFLAGS -D__powerpc64__"
15049 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
15051 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15052 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15053 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
15054 $as_echo_n "(cached) " >&6
15056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15057 /* end confdefs.h. */
15058 #ifndef __powerpc__
15062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15063 $EGREP "yes" >/dev
/null
2>&1; then :
15064 ac_cv_cpp_def___powerpc__
=yes
15066 ac_cv_cpp_def___powerpc__
=no
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15072 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15073 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15074 CFLAGS
="$CFLAGS -D__powerpc__"
15075 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
15077 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15078 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15079 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
15080 $as_echo_n "(cached) " >&6
15082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15083 /* end confdefs.h. */
15084 #ifndef __aarch64__
15088 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15089 $EGREP "yes" >/dev
/null
2>&1; then :
15090 ac_cv_cpp_def___aarch64__
=yes
15092 ac_cv_cpp_def___aarch64__
=no
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15098 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15099 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15100 CFLAGS
="$CFLAGS -D__aarch64__"
15101 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
15103 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15104 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15105 if ${ac_cv_cpp_def___arm__+:} false
; then :
15106 $as_echo_n "(cached) " >&6
15108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15109 /* end confdefs.h. */
15114 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15115 $EGREP "yes" >/dev
/null
2>&1; then :
15116 ac_cv_cpp_def___arm__
=yes
15118 ac_cv_cpp_def___arm__
=no
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15124 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15125 if test $ac_cv_cpp_def___arm__ = yes; then :
15126 CFLAGS
="$CFLAGS -D__arm__"
15127 LINTFLAGS
="$LINTFLAGS -D__arm__"
15131 case $host_vendor in
15132 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
15133 $as_echo_n "checking whether we need to define __sun__... " >&6; }
15134 if ${ac_cv_cpp_def___sun__+:} false
; then :
15135 $as_echo_n "(cached) " >&6
15137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15138 /* end confdefs.h. */
15143 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15144 $EGREP "yes" >/dev
/null
2>&1; then :
15145 ac_cv_cpp_def___sun__
=yes
15147 ac_cv_cpp_def___sun__
=no
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
15153 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
15154 if test $ac_cv_cpp_def___sun__ = yes; then :
15155 CFLAGS
="$CFLAGS -D__sun__"
15156 LINTFLAGS
="$LINTFLAGS -D__sun__"
15164 ac_config_commands
="$ac_config_commands include/stamp-h"
15167 ALL_MAKEFILE_DEPENDS
="
15168 # Rules automatically generated by configure
15173 Makefile: Makefile.in Make.vars.in Make.rules config.status
15174 @./config.status Make.tmp Makefile"
15177 ALL_TEST_RESOURCES
=""
15180 wine_fn_append_file
()
15182 as_fn_append
$1 " \\$as_nl $2"
15185 wine_fn_append_rule
()
15187 as_fn_append
$1 "$as_nl$2"
15190 wine_fn_has_flag
()
15192 expr ",$2," : ".*,$1,.*" >/dev
/null
15195 wine_fn_all_dir_rules
()
15199 ac_makedep
="\$(MAKEDEP)"
15200 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
15201 if test $ac_dir != tools
15203 ac_alldeps
="$2 $ac_makedep"
15205 ac_alldeps
="$2 include/config.h"
15208 *.
in) ac_input
=$ac_input:$2 ;;
15209 *) ac_makedep
="$2 $ac_makedep" ;;
15212 wine_fn_append_file ALL_DIRS
$ac_dir
15213 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15214 "__clean__: $ac_dir/__clean__
15215 .PHONY: $ac_dir/__clean__
15216 $ac_dir/__clean__: $ac_dir/Makefile
15217 @cd $ac_dir && \$(MAKE) clean
15218 \$(RM) $ac_dir/Makefile
15219 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
15220 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
15221 depend: $ac_dir/__depend__
15222 .PHONY: $ac_dir/__depend__
15223 $ac_dir/__depend__: $ac_makedep dummy
15224 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
15227 wine_fn_pot_rules
()
15232 test "x$with_gettextpo" = xyes ||
return
15234 if wine_fn_has_flag mc
$ac_flags
15236 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
15237 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15238 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
15239 @cd $ac_dir && \$(MAKE) msg.pot
15240 $ac_dir/msg.pot: tools/wmc include"
15242 if wine_fn_has_flag po
$ac_flags
15244 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
15245 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15246 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
15247 @cd $ac_dir && \$(MAKE) rsrc.pot
15248 $ac_dir/rsrc.pot: tools/wrc include"
15252 wine_fn_config_makefile
()
15258 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15262 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
15263 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15266 $ac_dir: $ac_dir/Makefile dummy
15267 @cd $ac_dir && \$(MAKE)"
15269 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
15271 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15272 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15273 $ac_dir/__install__:: $ac_dir
15274 @cd $ac_dir && \$(MAKE) install
15275 $ac_dir/__uninstall__:: $ac_dir/Makefile
15276 @cd $ac_dir && \$(MAKE) uninstall
15277 install:: $ac_dir/__install__
15278 __uninstall__: $ac_dir/__uninstall__"
15280 if wine_fn_has_flag install-lib
$ac_flags
15282 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15283 ".PHONY: $ac_dir/__install-lib__
15284 $ac_dir/__install-lib__:: $ac_dir
15285 @cd $ac_dir && \$(MAKE) install-lib
15286 install-lib:: $ac_dir/__install-lib__"
15289 if wine_fn_has_flag install-dev
$ac_flags
15291 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15292 ".PHONY: $ac_dir/__install-dev
15293 $ac_dir/__install-dev__:: $ac_dir
15294 @cd $ac_dir && \$(MAKE) install-dev
15295 install-dev:: $ac_dir/__install-dev__"
15299 wine_fn_config_lib
()
15303 ac_dir
=dlls
/$ac_name
15304 wine_fn_config_makefile
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
15306 if wine_fn_has_flag install-dev
$ac_flags
15309 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15310 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15311 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15312 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15313 $ac_dir/__uninstall__::
15314 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15315 install install-dev:: $ac_dir/__install__
15316 __uninstall__: $ac_dir/__uninstall__"
15319 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: $ac_dir"
15320 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: tools/widl tools/winebuild tools/winegcc include"
15323 wine_fn_config_dll
()
15326 ac_dir
=dlls
/$ac_name
15329 ac_implib
=${4:-$ac_name}
15330 ac_file
=$ac_dir/lib
$ac_implib
15332 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
15336 *16) ac_implibflags
=" -m16" ;;
15338 *) ac_dll
=$ac_dll.dll
;;
15341 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
15343 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15344 test "$ac_enable" != enable_win16 ||
return 0
15345 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
15347 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15348 "$ac_dir: __builddeps__
15349 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15350 @cd $ac_dir && \$(MAKE) \$@"
15352 if wine_fn_has_flag install-lib
$ac_flags
15355 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15356 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15357 install install-lib:: $ac_dir/__install-lib__
15358 __uninstall__: $ac_dir/__uninstall__"
15359 if test -n "$DLLEXT"
15361 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15362 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15363 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
15364 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15365 $ac_dir/__uninstall__::
15366 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15368 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15369 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15370 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15371 $ac_dir/__uninstall__::
15372 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15376 wine_fn_pot_rules
$ac_dir $ac_flags
15379 if wine_fn_has_flag staticimplib
$ac_flags
15381 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15382 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15383 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15384 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15385 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15386 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15387 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15388 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15389 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15390 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15391 $ac_dir/__uninstall__::
15392 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15393 install install-dev:: $ac_dir/__install-dev__
15394 __uninstall__: $ac_dir/__uninstall__"
15396 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15398 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15399 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15400 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15401 $ac_dir/__uninstall__::
15402 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15405 if test "x$CROSSTEST_DISABLE" = x
15407 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15408 "__builddeps__: $ac_file.cross.a
15409 $ac_file.cross.a: $ac_dir/Makefile dummy
15410 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15413 elif wine_fn_has_flag implib
$ac_flags
15415 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15416 "__builddeps__: $ac_file.$IMPLIBEXT
15417 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15418 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15419 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15420 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15421 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15422 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15423 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15424 $ac_dir/__uninstall__::
15425 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15426 install install-dev:: $ac_dir/__install-dev__
15427 __uninstall__: $ac_dir/__uninstall__"
15428 if test "x$CROSSTEST_DISABLE" = x
15430 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15431 "__builddeps__: $ac_file.cross.a
15432 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15433 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15436 if test "$ac_name" != "$ac_implib"
15438 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15439 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15440 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15441 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15443 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15444 if test "x$CROSSTEST_DISABLE" = x
15446 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15447 "__builddeps__: dlls/lib$ac_implib.cross.a
15448 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15449 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15455 wine_fn_config_program
()
15458 ac_dir
=programs
/$ac_name
15461 ac_program
=$ac_name
15465 *) ac_program
=$ac_program.exe
;;
15468 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
15470 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15473 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15474 "$ac_dir: __builddeps__"
15476 wine_fn_pot_rules
$ac_dir $ac_flags
15478 wine_fn_has_flag
install $ac_flags ||
return
15479 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15480 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15481 install install-lib:: $ac_dir/__install__
15482 __uninstall__: $ac_dir/__uninstall__"
15484 if test -n "$DLLEXT"
15486 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15487 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15488 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15489 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15490 $ac_dir/__uninstall__::
15491 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15493 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
15495 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15496 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15497 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15498 $ac_dir/__uninstall__::
15499 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15502 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15503 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15504 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15505 $ac_dir/__uninstall__::
15506 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15509 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
15511 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15512 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15513 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15514 $ac_dir/__uninstall__::
15515 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15520 wine_fn_config_test
()
15525 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
15526 wine_fn_all_dir_rules
$ac_dir Maketest.rules
15528 if test "x$enable_tests" = xno
; then :
15531 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15534 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15535 @cd $ac_dir && \$(MAKE)
15536 programs/winetest: $ac_dir
15537 check test: $ac_dir/__test__
15538 .PHONY: $ac_dir/__test__
15539 $ac_dir/__test__: dummy
15540 @cd $ac_dir && \$(MAKE) test
15542 \$(RM) $ac_dir/*.ok"
15544 if test "x$CROSSTEST_DISABLE" = x
15546 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15547 "crosstest: $ac_dir/__crosstest__
15548 .PHONY: $ac_dir/__crosstest__
15549 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15550 @cd $ac_dir && \$(MAKE) crosstest"
15555 wine_fn_config_tool
()
15559 if test "x$enable_tools" = xno
; then :
15563 wine_fn_config_makefile
$ac_dir enable_tools
$ac_flags
15565 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__tooldeps__: $ac_dir"
15566 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: libs/port"
15568 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
15572 wine_fn_config_makerules
()
15576 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15577 "$ac_rules: $ac_rules.in $ac_deps config.status
15578 @./config.status $ac_rules
15583 wine_fn_config_symlink
()
15586 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15588 @./config.status $ac_link
15593 if test "x$CROSSTEST_DISABLE" != x
15595 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15597 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15599 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15600 wine_fn_config_symlink dlls
/shell32
/AUTHORS
15601 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15602 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
15603 if test "x$enable_fonts" != xno
; then
15604 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15605 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
15607 if test "x$enable_fonts" != xno
; then
15608 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15609 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
15611 if test "x$enable_fonts" != xno
; then
15612 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15613 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
15615 if test "x$enable_fonts" != xno
; then
15616 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15617 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
15619 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
15620 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
15621 if test "x$enable_tools" != xno
; then
15622 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15623 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
15625 ac_config_links
="$ac_config_links wine:tools/winewrapper"
15626 wine_fn_config_symlink wine
15627 if test "x$enable_win64" != xno
; then
15628 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
15629 wine_fn_config_symlink wine64
15632 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
15634 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
15636 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
15638 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
15640 ac_config_commands
="$ac_config_commands dlls/user32/resources"
15642 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
15644 ac_config_commands
="$ac_config_commands include/wine"
15647 wine_fn_config_makerules Make.rules
15648 MAKE_RULES
=Make.rules
15649 ac_config_files
="$ac_config_files Make.rules"
15651 wine_fn_config_makerules Maketest.rules Make.rules
15652 MAKE_TEST_RULES
=Maketest.rules
15653 ac_config_files
="$ac_config_files Maketest.rules"
15655 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
15656 MAKE_DLL_RULES
=dlls
/Makedll.rules
15657 ac_config_files
="$ac_config_files dlls/Makedll.rules"
15659 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
15660 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
15661 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
15663 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
15664 MAKE_PROG_RULES
=programs
/Makeprog.rules
15665 ac_config_files
="$ac_config_files programs/Makeprog.rules"
15668 wine_fn_config_dll acledit enable_acledit
15669 wine_fn_config_dll aclui enable_aclui implib
15670 wine_fn_config_dll activeds enable_activeds implib
15671 wine_fn_config_dll actxprxy enable_actxprxy
15672 wine_fn_config_lib adsiid
15673 wine_fn_config_dll advapi32 enable_advapi32 implib
15674 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
15675 wine_fn_config_dll advpack enable_advpack implib
15676 wine_fn_config_test dlls
/advpack
/tests advpack_test
15677 wine_fn_config_dll amstream enable_amstream
15678 wine_fn_config_test dlls
/amstream
/tests amstream_test
15679 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15680 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15681 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15682 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15683 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15684 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15685 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15686 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15687 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15688 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15689 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15690 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15691 wine_fn_config_dll apphelp enable_apphelp
15692 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
15693 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15694 wine_fn_config_dll atl enable_atl implib
15695 wine_fn_config_test dlls
/atl
/tests atl_test
15696 wine_fn_config_dll atl100 enable_atl100 implib
15697 wine_fn_config_test dlls
/atl100
/tests atl100_test
15698 wine_fn_config_dll atl80 enable_atl80 implib
15699 wine_fn_config_test dlls
/atl80
/tests atl80_test
15700 wine_fn_config_dll authz enable_authz
15701 wine_fn_config_dll avicap32 enable_avicap32 implib
15702 wine_fn_config_dll avifil32 enable_avifil32 implib
,po
15703 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
15704 wine_fn_config_dll avifile.dll16 enable_win16
15705 wine_fn_config_dll avrt enable_avrt implib
15706 wine_fn_config_dll bcrypt enable_bcrypt
15707 wine_fn_config_dll browseui enable_browseui po
15708 wine_fn_config_test dlls
/browseui
/tests browseui_test
15709 wine_fn_config_dll cabinet enable_cabinet implib
15710 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
15711 wine_fn_config_dll capi2032 enable_capi2032 implib
15712 wine_fn_config_dll cards enable_cards implib
15713 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15714 wine_fn_config_dll clusapi enable_clusapi implib
15715 wine_fn_config_dll comcat enable_comcat
15716 wine_fn_config_test dlls
/comcat
/tests comcat_test
15717 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
15718 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
15719 wine_fn_config_dll comdlg32 enable_comdlg32 implib
,po
15720 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
15721 wine_fn_config_dll
comm.drv16 enable_win16
15722 wine_fn_config_dll commdlg.dll16 enable_win16
15723 wine_fn_config_dll compobj.dll16 enable_win16
15724 wine_fn_config_dll compstui enable_compstui implib
15725 wine_fn_config_dll credui enable_credui implib
,po
15726 wine_fn_config_test dlls
/credui
/tests credui_test
15727 wine_fn_config_dll crtdll enable_crtdll implib
15728 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
15729 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
15730 wine_fn_config_dll cryptdlg enable_cryptdlg po
15731 wine_fn_config_dll cryptdll enable_cryptdll implib
15732 wine_fn_config_dll cryptnet enable_cryptnet implib
15733 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
15734 wine_fn_config_dll cryptui enable_cryptui implib
,po
15735 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
15736 wine_fn_config_dll ctapi32 enable_ctapi32
15737 wine_fn_config_dll ctl3d.dll16 enable_win16
15738 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15739 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15740 wine_fn_config_dll d3d10 enable_d3d10 implib
15741 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
15742 wine_fn_config_dll d3d10core enable_d3d10core implib
15743 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
15744 wine_fn_config_dll d3d11 enable_d3d11
15745 wine_fn_config_dll d3d8 enable_d3d8 implib
15746 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
15747 wine_fn_config_dll d3d9 enable_d3d9 implib
15748 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
15749 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15750 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15751 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15752 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15753 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15754 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15755 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15756 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15757 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15758 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15759 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15760 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
15761 wine_fn_config_dll d3dim enable_d3dim implib
15762 wine_fn_config_dll d3drm enable_d3drm implib
15763 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
15764 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15765 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15766 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15767 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15768 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15769 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15770 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15771 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15772 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15773 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15774 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15775 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15776 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15777 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15778 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15779 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15780 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15781 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15782 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15783 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15784 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15785 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15786 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15787 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15788 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
15789 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15790 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15791 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15792 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15793 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15794 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15795 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15796 wine_fn_config_dll d3dxof enable_d3dxof implib
15797 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
15798 wine_fn_config_dll dbgeng enable_dbgeng implib
15799 wine_fn_config_dll dbghelp enable_dbghelp implib
15800 wine_fn_config_dll dciman32 enable_dciman32 implib
15801 wine_fn_config_dll ddeml.dll16 enable_win16
15802 wine_fn_config_dll ddraw enable_ddraw implib
15803 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
15804 wine_fn_config_dll ddrawex enable_ddrawex
15805 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
15806 wine_fn_config_dll devenum enable_devenum po
15807 wine_fn_config_test dlls
/devenum
/tests devenum_test
15808 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15809 wine_fn_config_dll dinput enable_dinput implib
,po
,staticimplib
15810 wine_fn_config_test dlls
/dinput
/tests dinput_test
15811 wine_fn_config_dll dinput8 enable_dinput8 implib
15812 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
15813 wine_fn_config_dll dispdib.dll16 enable_win16
15814 wine_fn_config_dll dispex enable_dispex
15815 wine_fn_config_test dlls
/dispex
/tests dispex_test
15816 wine_fn_config_dll display.drv16 enable_win16
15817 wine_fn_config_dll dmband enable_dmband
15818 wine_fn_config_test dlls
/dmband
/tests dmband_test
15819 wine_fn_config_dll dmcompos enable_dmcompos
15820 wine_fn_config_dll dmime enable_dmime
15821 wine_fn_config_test dlls
/dmime
/tests dmime_test
15822 wine_fn_config_dll dmloader enable_dmloader
15823 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
15824 wine_fn_config_dll dmscript enable_dmscript
15825 wine_fn_config_dll dmstyle enable_dmstyle
15826 wine_fn_config_dll dmsynth enable_dmsynth
15827 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
15828 wine_fn_config_dll dmusic enable_dmusic
15829 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
15830 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15831 wine_fn_config_dll dnsapi enable_dnsapi implib
15832 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
15833 wine_fn_config_dll dplay enable_dplay implib
15834 wine_fn_config_dll dplayx enable_dplayx implib
15835 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
15836 wine_fn_config_dll dpnaddr enable_dpnaddr
15837 wine_fn_config_dll dpnet enable_dpnet implib
15838 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
15839 wine_fn_config_dll dpnhpast enable_dpnhpast
15840 wine_fn_config_dll dpnlobby enable_dpnlobby
15841 wine_fn_config_dll dpwsockx enable_dpwsockx
15842 wine_fn_config_dll drmclien enable_drmclien
15843 wine_fn_config_dll dsound enable_dsound implib
15844 wine_fn_config_test dlls
/dsound
/tests dsound_test
15845 wine_fn_config_dll dssenh enable_dssenh
15846 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
15847 wine_fn_config_dll dswave enable_dswave
15848 wine_fn_config_dll dwmapi enable_dwmapi implib
15849 wine_fn_config_dll dwrite enable_dwrite implib
15850 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
15851 wine_fn_config_dll dxdiagn enable_dxdiagn po
15852 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
15853 wine_fn_config_lib dxerr8
15854 wine_fn_config_lib dxerr9
15855 wine_fn_config_dll dxgi enable_dxgi implib
15856 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
15857 wine_fn_config_lib dxguid
15858 wine_fn_config_dll explorerframe enable_explorerframe
15859 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
15860 wine_fn_config_dll faultrep enable_faultrep implib
15861 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
15862 wine_fn_config_dll fltlib enable_fltlib
15863 wine_fn_config_dll fusion enable_fusion
15864 wine_fn_config_test dlls
/fusion
/tests fusion_test
15865 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15866 wine_fn_config_dll gameux enable_gameux
15867 wine_fn_config_test dlls
/gameux
/tests gameux_test
15868 wine_fn_config_dll gdi.exe16 enable_win16
15869 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
15870 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
15871 wine_fn_config_dll gdiplus enable_gdiplus implib
15872 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
15873 wine_fn_config_dll glu32 enable_glu32 implib
15874 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15875 wine_fn_config_dll gpkcsp enable_gpkcsp
15876 wine_fn_config_dll hal enable_hal
15877 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib
,po htmlhelp
15878 wine_fn_config_dll hid enable_hid implib
15879 wine_fn_config_dll hlink enable_hlink implib
15880 wine_fn_config_test dlls
/hlink
/tests hlink_test
15881 wine_fn_config_dll hnetcfg enable_hnetcfg
15882 wine_fn_config_dll httpapi enable_httpapi
15883 wine_fn_config_dll iccvid enable_iccvid po
15884 wine_fn_config_dll icmp enable_icmp
15885 wine_fn_config_dll ieframe enable_ieframe implib
,po
15886 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
15887 wine_fn_config_dll ifsmgr.vxd enable_win16
15888 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15889 wine_fn_config_dll imagehlp enable_imagehlp implib
15890 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
15891 wine_fn_config_dll imm.dll16 enable_win16
15892 wine_fn_config_dll imm32 enable_imm32 implib
15893 wine_fn_config_test dlls
/imm32
/tests imm32_test
15894 wine_fn_config_dll inetcomm enable_inetcomm implib
15895 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
15896 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15897 wine_fn_config_dll inetmib1 enable_inetmib1
15898 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
15899 wine_fn_config_dll infosoft enable_infosoft
15900 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
15901 wine_fn_config_dll initpki enable_initpki
15902 wine_fn_config_dll inkobj enable_inkobj
15903 wine_fn_config_dll inseng enable_inseng
15904 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15905 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
15906 wine_fn_config_dll itircl enable_itircl
15907 wine_fn_config_dll itss enable_itss
15908 wine_fn_config_test dlls
/itss
/tests itss_test
15909 wine_fn_config_dll joy.cpl enable_joy_cpl po
15910 wine_fn_config_dll jscript enable_jscript po
15911 wine_fn_config_test dlls
/jscript
/tests jscript_test
15912 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
15913 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
15914 wine_fn_config_dll keyboard.drv16 enable_win16
15915 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15916 wine_fn_config_dll ktmw32 enable_ktmw32
15917 wine_fn_config_dll loadperf enable_loadperf implib
15918 wine_fn_config_dll localspl enable_localspl po
15919 wine_fn_config_test dlls
/localspl
/tests localspl_test
15920 wine_fn_config_dll localui enable_localui po
15921 wine_fn_config_test dlls
/localui
/tests localui_test
15922 wine_fn_config_dll lz32 enable_lz32 implib
15923 wine_fn_config_test dlls
/lz32
/tests lz32_test
15924 wine_fn_config_dll lzexpand.dll16 enable_win16
15925 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
15926 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
15927 wine_fn_config_dll mapistub enable_mapistub
15928 wine_fn_config_dll mciavi32 enable_mciavi32
15929 wine_fn_config_dll mcicda enable_mcicda
15930 wine_fn_config_dll mciqtz32 enable_mciqtz32
15931 wine_fn_config_dll mciseq enable_mciseq
15932 wine_fn_config_dll mciwave enable_mciwave
15933 wine_fn_config_dll mgmtapi enable_mgmtapi
15934 wine_fn_config_dll midimap enable_midimap
15935 wine_fn_config_dll mlang enable_mlang implib
15936 wine_fn_config_test dlls
/mlang
/tests mlang_test
15937 wine_fn_config_dll mmcndmgr enable_mmcndmgr
15938 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
15939 wine_fn_config_dll mmdevapi enable_mmdevapi
15940 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
15941 wine_fn_config_dll mmdevldr.vxd enable_win16
15942 wine_fn_config_dll mmsystem.dll16 enable_win16
15943 wine_fn_config_dll monodebg.vxd enable_win16
15944 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15945 wine_fn_config_dll mouse.drv16 enable_win16
15946 wine_fn_config_dll mpr enable_mpr implib
,po
15947 wine_fn_config_test dlls
/mpr
/tests mpr_test
15948 wine_fn_config_dll mprapi enable_mprapi implib
15949 wine_fn_config_dll msacm.dll16 enable_win16
15950 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15951 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
15952 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
15953 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15954 wine_fn_config_dll mscat32 enable_mscat32
15955 wine_fn_config_dll mscms enable_mscms implib
15956 wine_fn_config_test dlls
/mscms
/tests mscms_test
15957 wine_fn_config_dll mscoree enable_mscoree
15958 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
15959 wine_fn_config_dll msctf enable_msctf
15960 wine_fn_config_test dlls
/msctf
/tests msctf_test
15961 wine_fn_config_dll msdaps enable_msdaps
15962 wine_fn_config_dll msdmo enable_msdmo implib
15963 wine_fn_config_dll msftedit enable_msftedit
15964 wine_fn_config_dll msg711.acm enable_msg711_acm
15965 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15966 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15967 wine_fn_config_dll mshtml enable_mshtml implib
,po
15968 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
15969 wine_fn_config_dll msi enable_msi implib
,po
15970 wine_fn_config_test dlls
/msi
/tests msi_test
15971 wine_fn_config_dll msident enable_msident
15972 wine_fn_config_dll msimg32 enable_msimg32 implib
15973 wine_fn_config_dll msimsg enable_msimsg
15974 wine_fn_config_dll msimtf enable_msimtf
15975 wine_fn_config_dll msisip enable_msisip
15976 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15977 wine_fn_config_dll msls31 enable_msls31
15978 wine_fn_config_dll msnet32 enable_msnet32
15979 wine_fn_config_dll mspatcha enable_mspatcha
15980 wine_fn_config_dll msrle32 enable_msrle32 po
15981 wine_fn_config_dll mssign32 enable_mssign32
15982 wine_fn_config_dll mssip32 enable_mssip32
15983 wine_fn_config_dll mstask enable_mstask
15984 wine_fn_config_test dlls
/mstask
/tests mstask_test
15985 wine_fn_config_dll msvcirt enable_msvcirt
15986 wine_fn_config_dll msvcm80 enable_msvcm80
15987 wine_fn_config_dll msvcm90 enable_msvcm90
15988 wine_fn_config_dll msvcp100 enable_msvcp100
15989 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
15990 wine_fn_config_dll msvcp110 enable_msvcp110
15991 wine_fn_config_dll msvcp60 enable_msvcp60
15992 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
15993 wine_fn_config_dll msvcp70 enable_msvcp70
15994 wine_fn_config_dll msvcp71 enable_msvcp71
15995 wine_fn_config_dll msvcp80 enable_msvcp80
15996 wine_fn_config_dll msvcp90 enable_msvcp90
15997 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
15998 wine_fn_config_dll msvcr100 enable_msvcr100
15999 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16000 wine_fn_config_dll msvcr110 enable_msvcr110
16001 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16002 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16003 wine_fn_config_dll msvcr80 enable_msvcr80
16004 wine_fn_config_dll msvcr90 enable_msvcr90
16005 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16006 wine_fn_config_dll msvcrt enable_msvcrt implib
16007 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16008 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16009 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16010 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16011 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
16012 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
16013 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
16014 wine_fn_config_dll msvidc32 enable_msvidc32 po
16015 wine_fn_config_dll msvideo.dll16 enable_win16
16016 wine_fn_config_dll mswsock enable_mswsock implib
16017 wine_fn_config_dll msxml enable_msxml
16018 wine_fn_config_dll msxml2 enable_msxml2
16019 wine_fn_config_dll msxml3 enable_msxml3
16020 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
16021 wine_fn_config_dll msxml4 enable_msxml4
16022 wine_fn_config_dll msxml6 enable_msxml6
16023 wine_fn_config_dll nddeapi enable_nddeapi implib
16024 wine_fn_config_dll netapi32 enable_netapi32 implib
16025 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
16026 wine_fn_config_dll newdev enable_newdev implib
16027 wine_fn_config_dll normaliz enable_normaliz implib
16028 wine_fn_config_dll npmshtml enable_npmshtml
16029 wine_fn_config_dll ntdll enable_ntdll implib
16030 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
16031 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16032 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
16033 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16034 wine_fn_config_dll ntprint enable_ntprint
16035 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
16036 wine_fn_config_dll objsel enable_objsel
16037 wine_fn_config_dll odbc32 enable_odbc32 implib
16038 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16039 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
16040 wine_fn_config_dll odbccu32 enable_odbccu32
16041 wine_fn_config_dll ole2.dll16 enable_win16
16042 wine_fn_config_dll ole2conv.dll16 enable_win16
16043 wine_fn_config_dll ole2disp.dll16 enable_win16
16044 wine_fn_config_dll ole2nls.dll16 enable_win16
16045 wine_fn_config_dll ole2prox.dll16 enable_win16
16046 wine_fn_config_dll ole2thk.dll16 enable_win16
16047 wine_fn_config_dll ole32 enable_ole32 implib
16048 wine_fn_config_test dlls
/ole32
/tests ole32_test
16049 wine_fn_config_dll oleacc enable_oleacc implib
,po
16050 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
16051 wine_fn_config_dll oleaut32 enable_oleaut32 implib
,po
16052 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
16053 wine_fn_config_dll olecli.dll16 enable_win16
16054 wine_fn_config_dll olecli32 enable_olecli32 implib
16055 wine_fn_config_dll oledb32 enable_oledb32
16056 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
16057 wine_fn_config_dll oledlg enable_oledlg implib
,po
16058 wine_fn_config_dll olepro32 enable_olepro32 implib
16059 wine_fn_config_dll olesvr.dll16 enable_win16
16060 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16061 wine_fn_config_dll olethk32 enable_olethk32
16062 wine_fn_config_dll openal32 enable_openal32
16063 wine_fn_config_dll opencl enable_opencl
16064 wine_fn_config_dll opengl32 enable_opengl32 implib
16065 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
16066 wine_fn_config_dll pdh enable_pdh implib
16067 wine_fn_config_test dlls
/pdh
/tests pdh_test
16068 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16069 wine_fn_config_dll pidgen enable_pidgen
16070 wine_fn_config_dll powrprof enable_powrprof implib
16071 wine_fn_config_dll printui enable_printui
16072 wine_fn_config_dll propsys enable_propsys implib
16073 wine_fn_config_test dlls
/propsys
/tests propsys_test
16074 wine_fn_config_dll psapi enable_psapi implib
16075 wine_fn_config_test dlls
/psapi
/tests psapi_test
16076 wine_fn_config_dll pstorec enable_pstorec
16077 wine_fn_config_dll qcap enable_qcap
16078 wine_fn_config_dll qedit enable_qedit
16079 wine_fn_config_test dlls
/qedit
/tests qedit_test
16080 wine_fn_config_dll qmgr enable_qmgr
16081 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
16082 wine_fn_config_dll qmgrprxy enable_qmgrprxy
16083 wine_fn_config_dll quartz enable_quartz implib
16084 wine_fn_config_test dlls
/quartz
/tests quartz_test
16085 wine_fn_config_dll query enable_query
16086 wine_fn_config_dll rasapi16.dll16 enable_win16
16087 wine_fn_config_dll rasapi32 enable_rasapi32 implib
16088 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
16089 wine_fn_config_dll rasdlg enable_rasdlg implib
16090 wine_fn_config_dll regapi enable_regapi
16091 wine_fn_config_dll resutils enable_resutils implib
16092 wine_fn_config_dll riched20 enable_riched20 implib
16093 wine_fn_config_test dlls
/riched20
/tests riched20_test
16094 wine_fn_config_dll riched32 enable_riched32
16095 wine_fn_config_test dlls
/riched32
/tests riched32_test
16096 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
16097 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
16098 wine_fn_config_dll rsabase enable_rsabase
16099 wine_fn_config_dll rsaenh enable_rsaenh implib
16100 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
16101 wine_fn_config_dll rstrtmgr enable_rstrtmgr
16102 wine_fn_config_dll rtutils enable_rtutils implib
16103 wine_fn_config_dll samlib enable_samlib
16104 wine_fn_config_dll sane.ds enable_sane_ds po
16105 wine_fn_config_dll scarddlg enable_scarddlg
16106 wine_fn_config_dll sccbase enable_sccbase
16107 wine_fn_config_dll schannel enable_schannel
16108 wine_fn_config_test dlls
/schannel
/tests schannel_test
16109 wine_fn_config_dll scrrun enable_scrrun
16110 wine_fn_config_test dlls
/scrrun
/tests scrrun_test
16111 wine_fn_config_dll scsiport.sys enable_scsiport_sys
16112 wine_fn_config_dll secur32 enable_secur32 implib
16113 wine_fn_config_test dlls
/secur32
/tests secur32_test
16114 wine_fn_config_dll security enable_security
16115 wine_fn_config_dll sensapi enable_sensapi implib
16116 wine_fn_config_dll serialui enable_serialui implib
,po
16117 wine_fn_config_test dlls
/serialui
/tests serialui_test
16118 wine_fn_config_dll setupapi enable_setupapi implib
,po
16119 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
16120 wine_fn_config_dll setupx.dll16 enable_win16
16121 wine_fn_config_dll sfc enable_sfc implib
16122 wine_fn_config_dll sfc_os enable_sfc_os implib
16123 wine_fn_config_dll shdoclc enable_shdoclc po
16124 wine_fn_config_dll shdocvw enable_shdocvw implib
16125 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
16126 wine_fn_config_dll shell.dll16 enable_win16
16127 wine_fn_config_dll shell32 enable_shell32 implib
,po
16128 wine_fn_config_test dlls
/shell32
/tests shell32_test
16129 wine_fn_config_dll shfolder enable_shfolder implib
16130 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
16131 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
16132 wine_fn_config_dll slbcsp enable_slbcsp
16133 wine_fn_config_dll slc enable_slc implib
16134 wine_fn_config_dll snmpapi enable_snmpapi implib
16135 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
16136 wine_fn_config_dll softpub enable_softpub
16137 wine_fn_config_dll sound.drv16 enable_win16
16138 wine_fn_config_dll spoolss enable_spoolss implib
16139 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
16140 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
16141 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
16142 wine_fn_config_dll sti enable_sti implib
16143 wine_fn_config_test dlls
/sti
/tests sti_test
16144 wine_fn_config_dll storage.dll16 enable_win16
16145 wine_fn_config_dll stress.dll16 enable_win16
16146 wine_fn_config_lib strmbase
16147 wine_fn_config_lib strmiids
16148 wine_fn_config_dll svrapi enable_svrapi
16149 wine_fn_config_dll sxs enable_sxs implib
16150 wine_fn_config_test dlls
/sxs
/tests sxs_test
16151 wine_fn_config_dll system.drv16 enable_win16
16152 wine_fn_config_dll t2embed enable_t2embed
16153 wine_fn_config_dll tapi32 enable_tapi32 implib
16154 wine_fn_config_dll toolhelp.dll16 enable_win16
16155 wine_fn_config_dll traffic enable_traffic
16156 wine_fn_config_dll twain.dll16 enable_win16
16157 wine_fn_config_dll twain_32 enable_twain_32
16158 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
16159 wine_fn_config_dll typelib.dll16 enable_win16
16160 wine_fn_config_dll unicows enable_unicows implib
16161 wine_fn_config_dll updspapi enable_updspapi
16162 wine_fn_config_dll url enable_url implib
16163 wine_fn_config_dll urlmon enable_urlmon implib
,po
16164 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
16165 wine_fn_config_dll usbd.sys enable_usbd_sys implib
16166 wine_fn_config_dll user.exe16 enable_win16
16167 wine_fn_config_dll user32 enable_user32 implib
,po
16168 wine_fn_config_test dlls
/user32
/tests user32_test
16169 wine_fn_config_dll userenv enable_userenv implib
16170 wine_fn_config_test dlls
/userenv
/tests userenv_test
16171 wine_fn_config_dll usp10 enable_usp10 implib
16172 wine_fn_config_test dlls
/usp10
/tests usp10_test
16173 wine_fn_config_lib uuid
16174 wine_fn_config_dll uxtheme enable_uxtheme implib
16175 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
16176 wine_fn_config_dll vbscript enable_vbscript
16177 wine_fn_config_test dlls
/vbscript
/tests vbscript_test
16178 wine_fn_config_dll vcomp enable_vcomp
16179 wine_fn_config_dll vcomp100 enable_vcomp100
16180 wine_fn_config_dll vcomp90 enable_vcomp90
16181 wine_fn_config_dll vdhcp.vxd enable_win16
16182 wine_fn_config_dll vdmdbg enable_vdmdbg implib
16183 wine_fn_config_dll ver.dll16 enable_win16
16184 wine_fn_config_dll version enable_version implib
16185 wine_fn_config_test dlls
/version
/tests version_test
16186 wine_fn_config_dll vmm.vxd enable_win16
16187 wine_fn_config_dll vnbt.vxd enable_win16
16188 wine_fn_config_dll vnetbios.vxd enable_win16
16189 wine_fn_config_dll vtdapi.vxd enable_win16
16190 wine_fn_config_dll vwin32.vxd enable_win16
16191 wine_fn_config_dll w32skrnl enable_win16
16192 wine_fn_config_dll w32sys.dll16 enable_win16
16193 wine_fn_config_dll wbemprox enable_wbemprox
16194 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
16195 wine_fn_config_dll webservices enable_webservices implib
16196 wine_fn_config_dll wer enable_wer implib
16197 wine_fn_config_test dlls
/wer
/tests wer_test
16198 wine_fn_config_dll wevtapi enable_wevtapi
16199 wine_fn_config_dll wiaservc enable_wiaservc
16200 wine_fn_config_dll win32s16.dll16 enable_win16
16201 wine_fn_config_dll win87em.dll16 enable_win16
16202 wine_fn_config_dll winaspi.dll16 enable_win16
16203 wine_fn_config_dll windebug.dll16 enable_win16
16204 wine_fn_config_dll windowscodecs enable_windowscodecs implib
16205 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
16206 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
16207 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
16208 wine_fn_config_dll winealsa.drv enable_winealsa_drv
16209 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
16210 wine_fn_config_lib winecrt0
16211 wine_fn_config_dll wined3d enable_wined3d implib
16212 wine_fn_config_dll winegstreamer enable_winegstreamer
16213 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
16214 wine_fn_config_dll winemac.drv enable_winemac_drv
16215 wine_fn_config_dll winemapi enable_winemapi
16216 wine_fn_config_dll winemp3.acm enable_winemp3_acm
16217 wine_fn_config_dll wineoss.drv enable_wineoss_drv
16218 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
16219 wine_fn_config_dll wineps16.drv16 enable_win16
16220 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
16221 wine_fn_config_dll winex11.drv enable_winex11_drv
16222 wine_fn_config_dll wing.dll16 enable_win16
16223 wine_fn_config_dll wing32 enable_wing32
16224 wine_fn_config_dll winhttp enable_winhttp implib
16225 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
16226 wine_fn_config_dll wininet enable_wininet implib
,po
16227 wine_fn_config_test dlls
/wininet
/tests wininet_test
16228 wine_fn_config_dll winmm enable_winmm implib
,po
16229 wine_fn_config_test dlls
/winmm
/tests winmm_test
16230 wine_fn_config_dll winnls.dll16 enable_win16
16231 wine_fn_config_dll winnls32 enable_winnls32 implib
16232 wine_fn_config_dll winscard enable_winscard implib
16233 wine_fn_config_dll winsock.dll16 enable_win16
16234 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
16235 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
16236 wine_fn_config_dll winsta enable_winsta
16237 wine_fn_config_dll wintab.dll16 enable_win16
16238 wine_fn_config_dll wintab32 enable_wintab32 implib
16239 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
16240 wine_fn_config_dll wintrust enable_wintrust implib
16241 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
16242 wine_fn_config_dll wlanapi enable_wlanapi
16243 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
16244 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
16245 wine_fn_config_dll wmi enable_wmi
16246 wine_fn_config_dll wmiutils enable_wmiutils
16247 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
16248 wine_fn_config_dll wmvcore enable_wmvcore
16249 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
16250 wine_fn_config_dll wow32 enable_win16 implib
16251 wine_fn_config_dll ws2_32 enable_ws2_32 implib
16252 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
16253 wine_fn_config_dll wshom.ocx enable_wshom_ocx
16254 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test
16255 wine_fn_config_dll wsnmp32 enable_wsnmp32
16256 wine_fn_config_dll wsock32 enable_wsock32 implib
16257 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
16258 wine_fn_config_dll wuapi enable_wuapi
16259 wine_fn_config_dll wuaueng enable_wuaueng
16260 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
16261 wine_fn_config_dll xinput1_1 enable_xinput1_1
16262 wine_fn_config_dll xinput1_2 enable_xinput1_2
16263 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
16264 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
16265 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
16266 wine_fn_config_dll xmllite enable_xmllite
16267 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
16268 wine_fn_config_dll xolehlp enable_xolehlp
16269 wine_fn_config_dll xpsprint enable_xpsprint
16270 wine_fn_config_dll xpssvcs enable_xpssvcs
16271 wine_fn_config_makefile documentation enable_documentation
16272 wine_fn_config_makefile fonts enable_fonts install-lib
16273 wine_fn_config_makefile include enable_include install-dev
16274 wine_fn_config_makefile libs
/port enable_libs_port
16275 wine_fn_config_makefile libs
/wine enable_libs_wine install-dev
,install-lib
16276 wine_fn_config_makefile libs
/wpp enable_libs_wpp
16277 wine_fn_config_makefile loader enable_loader install-lib
,manpage
16278 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
16279 wine_fn_config_program attrib enable_attrib
install,po
16280 wine_fn_config_program cabarc enable_cabarc
install
16281 wine_fn_config_program cacls enable_cacls
install
16282 wine_fn_config_program
clock enable_clock
install,po
16283 wine_fn_config_program cmd enable_cmd
install,po
16284 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
16285 wine_fn_config_program conhost enable_conhost
install
16286 wine_fn_config_program control enable_control
install
16287 wine_fn_config_program cscript enable_cscript
install
16288 wine_fn_config_program dxdiag enable_dxdiag
install,po
16289 wine_fn_config_program eject enable_eject
install
16290 wine_fn_config_program
expand enable_expand
install
16291 wine_fn_config_program explorer enable_explorer
install,po
16292 wine_fn_config_program extrac32 enable_extrac32
install
16293 wine_fn_config_program findstr enable_findstr
install
16294 wine_fn_config_program hh enable_hh
install
16295 wine_fn_config_program hostname enable_hostname
install,po
16296 wine_fn_config_program icinfo enable_icinfo
install
16297 wine_fn_config_program iexplore enable_iexplore
install
16298 wine_fn_config_program ipconfig enable_ipconfig
install,po
16299 wine_fn_config_program lodctr enable_lodctr
install
16300 wine_fn_config_program mofcomp enable_mofcomp
install
16301 wine_fn_config_program mshta enable_mshta
install
16302 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
16303 wine_fn_config_program net enable_net
install,po
16304 wine_fn_config_program netsh enable_netsh
install
16305 wine_fn_config_program netstat enable_netstat
install,po
16306 wine_fn_config_program ngen enable_ngen
install
16307 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
16308 wine_fn_config_program oleview enable_oleview
install,po
16309 wine_fn_config_program
ping enable_ping
install
16310 wine_fn_config_program plugplay enable_plugplay
install
16311 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
16312 wine_fn_config_program progman enable_progman
install,po
16313 wine_fn_config_program reg enable_reg
install,po
16314 wine_fn_config_program regasm enable_regasm
install
16315 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
16316 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
16317 wine_fn_config_program regsvcs enable_regsvcs
install
16318 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
16319 wine_fn_config_program rpcss enable_rpcss
install
16320 wine_fn_config_program rundll.exe16 enable_win16
install
16321 wine_fn_config_program rundll32 enable_rundll32
install
16322 wine_fn_config_program sc enable_sc
install
16323 wine_fn_config_program schtasks enable_schtasks
install
16324 wine_fn_config_program secedit enable_secedit
install
16325 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
16326 wine_fn_config_program services enable_services
install
16327 wine_fn_config_test programs
/services
/tests services.exe_test
16328 wine_fn_config_program spoolsv enable_spoolsv
install
16329 wine_fn_config_program start enable_start
install,po
16330 wine_fn_config_program svchost enable_svchost
install
16331 wine_fn_config_program taskkill enable_taskkill
install,po
16332 wine_fn_config_program taskmgr enable_taskmgr
install,po
16333 wine_fn_config_program termsv enable_termsv
install
16334 wine_fn_config_program uninstaller enable_uninstaller
install,po
16335 wine_fn_config_program unlodctr enable_unlodctr
install
16336 wine_fn_config_program view enable_view
install,po
16337 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
16338 wine_fn_config_program winebrowser enable_winebrowser
install
16339 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
16340 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
16341 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
16342 wine_fn_config_program winedevice enable_winedevice
install
16343 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
16344 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
16345 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
16346 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
16347 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
16348 wine_fn_config_program winetest enable_winetest
16349 wine_fn_config_program winevdm enable_win16
install
16350 wine_fn_config_program winhelp.exe16 enable_win16
install
16351 wine_fn_config_program winhlp32 enable_winhlp32
install,po
16352 wine_fn_config_program winoldap.mod16 enable_win16
install
16353 wine_fn_config_program winver enable_winver
install
16354 wine_fn_config_program wmic enable_wmic
install,po
16355 wine_fn_config_program wordpad enable_wordpad
install,po
16356 wine_fn_config_program
write enable_write
install,po
16357 wine_fn_config_program wscript enable_wscript
install
16358 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
16359 wine_fn_config_program wusa enable_wusa
install
16360 wine_fn_config_program xcopy enable_xcopy
install,po
16361 wine_fn_config_makefile server enable_server install-lib
,manpage
16362 wine_fn_config_tool tools install-dev
,install-lib
,manpage
16363 wine_fn_config_tool tools
/widl install-dev
,manpage
16364 wine_fn_config_tool tools
/winebuild install-dev
,manpage
16365 wine_fn_config_tool tools
/winedump install-dev
,manpage
16366 wine_fn_config_tool tools
/winegcc install-dev
,manpage
16367 wine_fn_config_tool tools
/wmc install-dev
,manpage
16368 wine_fn_config_tool tools
/wrc install-dev
,manpage
16418 ac_config_commands
="$ac_config_commands Makefile"
16421 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16425 if test "x$enable_maintainer_mode" = xyes
16427 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(srcdir)/configure: configure.ac aclocal.m4
16428 cd \$(srcdir) && autoconf --warnings=all
16429 \$(srcdir)/include/config.h.in: include/stamp-h.in
16430 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16431 cd \$(srcdir) && autoheader --warnings=all
16432 @echo timestamp > \$@"
16435 if test "x$with_gettextpo" = xyes
16437 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16438 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"ALL_POT_FILES =$ALL_POT_FILES
16439 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16440 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16441 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16442 msgcat -o \$@ \$(ALL_POT_FILES)"
16445 if test "$MSGFMT" != false
16447 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
16449 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: \$(ALL_MO_FILES)"
16454 if test "x$enable_tools" != xno
16456 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(MAKEDEP): tools/Makefile
16458 \$(RM) tools/makedep\$(EXEEXT)"
16461 if test -n "$with_wine64"
16463 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16464 fonts server tools:
16465 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16466 $with_wine64/loader/wine:
16467 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16468 $with_wine64/loader/wine-preloader:
16469 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16471 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16474 cat >confcache
<<\_ACEOF
16475 # This file is a shell script that caches the results of configure
16476 # tests run on this system so they can be shared between configure
16477 # scripts and configure runs, see configure's option --config-cache.
16478 # It is not useful on other systems. If it contains results you don't
16479 # want to keep, you may remove or edit it.
16481 # config.status only pays attention to the cache file if you give it
16482 # the --recheck option to rerun configure.
16484 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16485 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16486 # following values.
16490 # The following way of writing the cache mishandles newlines in values,
16491 # but we know of no workaround that is simple, portable, and efficient.
16492 # So, we kill variables containing newlines.
16493 # Ultrix sh set writes to stderr and can't be redirected directly,
16494 # and sets the high bit in the cache file unless we assign to the vars.
16496 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16497 eval ac_val
=\$
$ac_var
16501 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16502 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16505 _ | IFS | as_nl
) ;; #(
16506 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16507 *) { eval $ac_var=; unset $ac_var;} ;;
16513 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16514 *${as_nl}ac_space
=\
*)
16515 # `set' does not quote correctly, so add quotes: double-quote
16516 # substitution turns \\\\ into \\, and sed turns \\ into \.
16519 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16522 # `set' quotes correctly as required by POSIX, so do not add quotes.
16523 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16532 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16534 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16536 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16537 if test -w "$cache_file"; then
16538 if test "x$cache_file" != "x/dev/null"; then
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16540 $as_echo "$as_me: updating cache $cache_file" >&6;}
16541 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16542 cat confcache
>"$cache_file"
16544 case $cache_file in #(
16546 mv -f confcache
"$cache_file"$$
&&
16547 mv -f "$cache_file"$$
"$cache_file" ;; #(
16549 mv -f confcache
"$cache_file" ;;
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16555 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16560 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16561 # Let make expand exec_prefix.
16562 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16564 DEFS
=-DHAVE_CONFIG_H
16569 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16570 # 1. Remove the extension, and $U if already installed.
16571 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16572 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16573 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16574 # will be set to the directory where LIBOBJS objects are built.
16575 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16576 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16578 LIBOBJS
=$ac_libobjs
16580 LTLIBOBJS
=$ac_ltlibobjs
16584 : "${CONFIG_STATUS=./config.status}"
16586 ac_clean_files_save
=$ac_clean_files
16587 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16589 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16591 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16593 # Generated by $as_me.
16594 # Run this file to recreate the current configuration.
16595 # Compiler output produced by configure, useful for debugging
16596 # configure, is in config.log if it exists.
16599 ac_cs_recheck=false
16602 SHELL=\${CONFIG_SHELL-$SHELL}
16605 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16606 ## -------------------- ##
16607 ## M4sh Initialization. ##
16608 ## -------------------- ##
16610 # Be more Bourne compatible
16611 DUALCASE
=1; export DUALCASE
# for MKS sh
16612 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16615 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16616 # is contrary to our usage. Disable this feature.
16617 alias -g '${1+"$@"}'='"$@"'
16618 setopt NO_GLOB_SUBST
16620 case `(set -o) 2>/dev/null` in #(
16632 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16633 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16634 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16635 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16636 # Prefer a ksh shell builtin over an external printf program on Solaris,
16637 # but without wasting forks for bash or zsh.
16638 if test -z "$BASH_VERSION$ZSH_VERSION" \
16639 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16640 as_echo='print
-r --'
16641 as_echo_n='print
-rn --'
16642 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16643 as_echo='printf %s
\n'
16644 as_echo_n='printf %s
'
16646 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16647 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16648 as_echo_n='/usr
/ucb
/echo -n'
16650 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16651 as_echo_n_body='eval
16655 expr "X$arg" : "X\\(.*\\)$as_nl";
16656 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16658 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16660 export as_echo_n_body
16661 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16663 export as_echo_body
16664 as_echo='sh
-c $as_echo_body as_echo
'
16667 # The user is always right.
16668 if test "${PATH_SEPARATOR+set}" != set; then
16670 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16671 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16678 # We need space, tab and new line, in precisely that order. Quoting is
16679 # there to prevent editors from complaining about space-tab.
16680 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16681 # splitting by setting IFS to empty value.)
16684 # Find who we are. Look in the path if we contain no directory separator.
16687 *[\\/]* ) as_myself=$0 ;;
16688 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16689 for as_dir in $PATH
16692 test -z "$as_dir" && as_dir=.
16693 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16699 # We did not find ourselves, most probably we were run as `sh COMMAND'
16700 # in which case we are not to be found in the path.
16701 if test "x$as_myself" = x
; then
16704 if test ! -f "$as_myself"; then
16705 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16709 # Unset variables that we do not need and which cause bugs (e.g. in
16710 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16711 # suppresses any "Segmentation fault" message there. '((' could
16712 # trigger a bug in pdksh 5.2.14.
16713 for as_var
in BASH_ENV ENV MAIL MAILPATH
16714 do eval test x\
${$as_var+set} = xset \
16715 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16728 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16731 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16732 # ----------------------------------------
16733 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16734 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16735 # script with STATUS, using 1 if that was 0.
16738 as_status
=$1; test $as_status -eq 0 && as_status
=1
16740 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16741 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16743 $as_echo "$as_me: error: $2" >&2
16744 as_fn_exit
$as_status
16748 # as_fn_set_status STATUS
16749 # -----------------------
16750 # Set $? to STATUS, without forking.
16751 as_fn_set_status
()
16754 } # as_fn_set_status
16756 # as_fn_exit STATUS
16757 # -----------------
16758 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16762 as_fn_set_status
$1
16768 # Portably unset VAR.
16771 { eval $1=; unset $1;}
16773 as_unset
=as_fn_unset
16774 # as_fn_append VAR VALUE
16775 # ----------------------
16776 # Append the text in VALUE to the end of the definition contained in VAR. Take
16777 # advantage of any shell optimizations that allow amortized linear growth over
16778 # repeated appends, instead of the typical quadratic growth present in naive
16780 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16781 eval 'as_fn_append ()
16792 # as_fn_arith ARG...
16793 # ------------------
16794 # Perform arithmetic evaluation on the ARGs, and store the result in the
16795 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16796 # must be portable across $(()) and expr.
16797 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16798 eval 'as_fn_arith ()
16805 as_val
=`expr "$@" || test $? -eq 1`
16810 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16811 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16817 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16818 as_basename
=basename
16823 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16829 as_me
=`$as_basename -- "$0" ||
16830 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16831 X"$0" : 'X\(//\)$' \| \
16832 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16834 sed '/^.*\/\([^/][^/]*\)\/*$/{
16848 # Avoid depending upon Character Ranges.
16849 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16850 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16851 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16852 as_cr_digits
='0123456789'
16853 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16855 ECHO_C
= ECHO_N
= ECHO_T
=
16856 case `echo -n x` in #(((((
16858 case `echo 'xy\c'` in
16859 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16861 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16868 rm -f conf$$ conf$$.exe conf$$.
file
16869 if test -d conf$$.dir
; then
16870 rm -f conf$$.dir
/conf$$.
file
16873 mkdir conf$$.dir
2>/dev
/null
16875 if (echo >conf$$.
file) 2>/dev
/null
; then
16876 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16878 # ... but there are two gotchas:
16879 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16880 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16881 # In both cases, we have to default to `cp -pR'.
16882 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16884 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16892 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16893 rmdir conf$$.dir
2>/dev
/null
16898 # Create "$as_dir" as a directory, including parents if necessary.
16903 -*) as_dir
=.
/$as_dir;;
16905 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16909 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16910 *) as_qdir
=$as_dir;;
16912 as_dirs
="'$as_qdir' $as_dirs"
16913 as_dir
=`$as_dirname -- "$as_dir" ||
16914 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16915 X"$as_dir" : 'X\(//\)[^/]' \| \
16916 X"$as_dir" : 'X\(//\)$' \| \
16917 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16918 $as_echo X"$as_dir" |
16919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16923 /^X\(\/\/\)[^/].*/{
16936 test -d "$as_dir" && break
16938 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16939 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16943 if mkdir
-p .
2>/dev
/null
; then
16944 as_mkdir_p
='mkdir -p "$as_dir"'
16946 test -d .
/-p && rmdir .
/-p
16951 # as_fn_executable_p FILE
16952 # -----------------------
16953 # Test if FILE is an executable regular file.
16954 as_fn_executable_p
()
16956 test -f "$1" && test -x "$1"
16957 } # as_fn_executable_p
16958 as_test_x
='test -x'
16959 as_executable_p
=as_fn_executable_p
16961 # Sed expression to map a string onto a valid CPP name.
16962 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16964 # Sed expression to map a string onto a valid variable name.
16965 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16969 ## ----------------------------------- ##
16970 ## Main body of $CONFIG_STATUS script. ##
16971 ## ----------------------------------- ##
16973 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16976 # Save the log message, to keep $0 and so on meaningful, and to
16977 # report actual input values of CONFIG_FILES etc. instead of their
16978 # values after options handling.
16980 This file was extended by Wine $as_me 1.5.30, which was
16981 generated by GNU Autoconf 2.69. Invocation command line was
16983 CONFIG_FILES = $CONFIG_FILES
16984 CONFIG_HEADERS = $CONFIG_HEADERS
16985 CONFIG_LINKS = $CONFIG_LINKS
16986 CONFIG_COMMANDS = $CONFIG_COMMANDS
16989 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16994 case $ac_config_files in *"
16995 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16998 case $ac_config_headers in *"
16999 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17004 # Files that config.status was made for.
17005 config_files="$ac_config_files"
17006 config_headers="$ac_config_headers"
17007 config_links="$ac_config_links"
17008 config_commands="$ac_config_commands"
17012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17014 \`$as_me' instantiates files and other configuration actions
17015 from templates according to the current configuration. Unless the files
17016 and actions are specified as TAGs, all are instantiated by default.
17018 Usage: $0 [OPTION]... [TAG]...
17020 -h, --help print this help, then exit
17021 -V, --version print version number and configuration settings, then exit
17022 --config print configuration, then exit
17023 -q, --quiet, --silent
17024 do not print progress messages
17025 -d, --debug don't remove temporary files
17026 --recheck update $as_me by reconfiguring in the same conditions
17027 --file=FILE[:TEMPLATE]
17028 instantiate the configuration file FILE
17029 --header=FILE[:TEMPLATE]
17030 instantiate the configuration header FILE
17032 Configuration files:
17035 Configuration headers:
17038 Configuration links:
17041 Configuration commands:
17044 Report bugs to <wine-devel@winehq.org>.
17045 Wine home page: <http://www.winehq.org>."
17048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17049 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17051 Wine config.status 1.5.30
17052 configured by $0, generated by GNU Autoconf 2.69,
17053 with options \\"\$ac_cs_config\\"
17055 Copyright (C) 2012 Free Software Foundation, Inc.
17056 This config.status script is free software; the Free Software Foundation
17057 gives unlimited permission to copy, distribute and modify it."
17062 test -n "\$AWK" || AWK=awk
17065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17066 # The default lists apply if the user does not specify any file.
17072 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17073 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17077 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17089 # Handling of the options.
17090 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17092 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17093 $as_echo "$ac_cs_version"; exit ;;
17094 --config |
--confi |
--conf |
--con |
--co |
--c )
17095 $as_echo "$ac_cs_config"; exit ;;
17096 --debug |
--debu |
--deb |
--de |
--d |
-d )
17098 --file |
--fil |
--fi |
--f )
17101 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17102 '') as_fn_error $?
"missing file argument" ;;
17104 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17105 ac_need_defaults
=false
;;
17106 --header |
--heade |
--head |
--hea )
17109 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17111 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17112 ac_need_defaults
=false
;;
17114 # Conflict between --help and --header
17115 as_fn_error $?
"ambiguous option: \`$1'
17116 Try \`$0 --help' for more information.";;
17117 --help |
--hel |
-h )
17118 $as_echo "$ac_cs_usage"; exit ;;
17119 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17120 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17123 # This is an error.
17124 -*) as_fn_error $?
"unrecognized option: \`$1'
17125 Try \`$0 --help' for more information." ;;
17127 *) as_fn_append ac_config_targets
" $1"
17128 ac_need_defaults
=false
;;
17134 ac_configure_extra_args
=
17136 if $ac_cs_silent; then
17138 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17143 if \$ac_cs_recheck; then
17144 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17146 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17147 CONFIG_SHELL='$SHELL'
17148 export CONFIG_SHELL
17153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17157 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17158 ## Running $as_me. ##
17164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17168 wine_fn_output_makefile ()
17170 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
17171 $ALL_MAKEFILE_DEPENDS
17173 as_fn_error $? "could not create Makefile" "$LINENO" 5
17178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17180 # Handling of arguments.
17181 for ac_config_target
in $ac_config_targets
17183 case $ac_config_target in
17184 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
17185 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
17186 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
17187 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
17188 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17189 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17190 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17191 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
17192 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
17193 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
17194 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
17195 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
17196 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
17197 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17198 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
17199 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
17200 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
17201 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17202 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
17203 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
17204 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
17205 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
17206 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
17207 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
17208 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
17209 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
17211 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17216 # If the user did not use the arguments to specify the items to instantiate,
17217 # then the envvar interface is used. Set only those that are not.
17218 # We use the long form for the default assignment because of an extremely
17219 # bizarre bug on SunOS 4.1.3.
17220 if $ac_need_defaults; then
17221 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17222 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17223 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
17224 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17227 # Have a temporary directory for convenience. Make it in the build tree
17228 # simply because there is no reason against having it here, and in addition,
17229 # creating and moving files from /tmp can sometimes cause problems.
17230 # Hook for its removal unless debugging.
17231 # Note that there is a small window in which the directory will not be cleaned:
17232 # after its creation but before its name has been assigned to `$tmp'.
17236 trap 'exit_status=$?
17237 : "${ac_tmp:=$tmp}"
17238 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17240 trap 'as_fn_exit 1' 1 2 13 15
17242 # Create a (secure) tmp directory for tmp files.
17245 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17249 tmp
=.
/conf$$
-$RANDOM
17250 (umask 077 && mkdir
"$tmp")
17251 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17254 # Set up the scripts for CONFIG_FILES section.
17255 # No need to generate them if there are no CONFIG_FILES.
17256 # This happens for instance with `./config.status config.h'.
17257 if test -n "$CONFIG_FILES"; then
17259 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
17260 ac_cs_awk_getline
=:
17261 ac_cs_awk_pipe_init
=
17262 ac_cs_awk_read_file
='
17263 while ((getline aline < (F[key])) > 0)
17266 ac_cs_awk_pipe_fini
=
17268 ac_cs_awk_getline
=false
17269 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
17270 ac_cs_awk_read_file
='
17272 print "cat " F[key] " &&"
17273 '$ac_cs_awk_pipe_init
17274 # The final `:' finishes the AND list.
17275 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
17277 ac_cr
=`echo X | tr X '\015'`
17278 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17279 # But we know of no other shell where ac_cr would be empty at this
17280 # point, so we can use a bashism as a fallback.
17281 if test "x$ac_cr" = x
; then
17282 eval ac_cr
=\$
\'\\r
\'
17284 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17285 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17288 ac_cs_awk_cr
=$ac_cr
17291 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17294 # Create commands to substitute file output variables.
17296 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17297 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17298 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
17301 } >conf$
$files.sh
&&
17302 . .
/conf$
$files.sh ||
17303 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
17304 rm -f conf$
$files.sh
17307 echo "cat >conf$$subs.awk <<_ACEOF" &&
17308 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17310 } >conf$$subs.sh ||
17311 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17312 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17314 for ac_last_try in false false false false false :; do
17315 . ./conf$$subs.sh ||
17316 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17318 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17319 if test $ac_delim_n = $ac_delim_num; then
17321 elif $ac_last_try; then
17322 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17324 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17327 rm -f conf$$subs.sh
17329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17330 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17334 s/^/S["/; s
/!.
*/"]=/
17344 s/\(.\{148\}\)..*/\1/
17346 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17351 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17358 s/\(.\{148\}\)..*/\1/
17360 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17364 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17369 ' <conf$$subs.awk | sed '
17374 ' >>$CONFIG_STATUS || ac_write_fail=1
17375 rm -f conf$$subs.awk
17376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17378 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17379 for (key in S) S_is_set[key] = 1
17381 \$ac_cs_awk_pipe_init
17385 nfields = split(line, field, "@
")
17387 len = length(field[1])
17388 for (i = 2; i < nfields; i++) {
17390 keylen = length(key)
17391 if (S_is_set[key]) {
17393 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17394 len += length(value) + length(field[++i])
17399 if (nfields == 3 && !substed) {
17401 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17402 \$ac_cs_awk_read_file
17408 \$ac_cs_awk_pipe_fini
17411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17412 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17413 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17416 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17417 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17420 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17421 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17422 # trailing colons and then remove the whole line if VPATH becomes empty
17423 # (actually we leave an empty line to preserve line numbers).
17424 if test "x
$srcdir" = x.; then
17425 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17444 fi # test -n "$CONFIG_FILES"
17446 # Set up the scripts for CONFIG_HEADERS section.
17447 # No need to generate them if there are no CONFIG_HEADERS.
17448 # This happens for instance with `./config.status Makefile'.
17449 if test -n "$CONFIG_HEADERS"; then
17450 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17454 # Transform confdefs.h into an awk script `defines.awk', embedded as
17455 # here-document in config.status, that substitutes the proper values into
17456 # config.h.in to produce config.h.
17458 # Create a delimiter string that does not exist in confdefs.h, to ease
17459 # handling of long lines.
17461 for ac_last_try in false false :; do
17462 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17463 if test -z "$ac_tt"; then
17465 elif $ac_last_try; then
17466 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17468 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17472 # For the awk script, D is an array of macro values keyed by name,
17473 # likewise P contains macro parameters if any. Preserve backslash
17474 # newline sequences.
17476 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17478 s/.\{148\}/&'"$ac_delim"'/g
17481 s/^[ ]*#[ ]*define[ ][ ]*/ /
17488 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17490 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17494 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17495 D["\
1"]=" \
3\\\\\\n
"\\/p
17497 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17502 s/.\{148\}/&'"$ac_delim"'/g
17507 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17510 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17512 ' <confdefs.h | sed '
17513 s/'"$ac_delim"'/"\\\
17514 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17517 for (key in D) D_is_set[key] = 1
17520 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17522 split(line, arg, " ")
17523 if (arg[1] == "#") {
17527 defundef
= substr
(arg
[1], 2)
17530 split(mac1
, mac2
, "(") #)
17532 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17533 if (D_is_set
[macro
]) {
17534 # Preserve the white space surrounding the "#".
17535 print prefix
"define", macro P
[macro
] D
[macro
]
17538 # Replace #undef with comments. This is necessary, for example,
17539 # in the case of _POSIX_SOURCE, which is predefined and required
17540 # on some systems where configure will not decide to define it.
17541 if (defundef
== "undef") {
17542 print
"/*", prefix defundef
, macro
, "*/"
17550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17551 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17552 fi # test -n "$CONFIG_HEADERS"
17555 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17560 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17562 case $ac_mode$ac_tag in
17564 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17565 :[FH
]-) ac_tag
=-:-;;
17566 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17583 -) ac_f
="$ac_tmp/stdin";;
17584 *) # Look for the file first in the build tree, then in the source tree
17585 # (if the path is not absolute). The absolute path cannot be DOS-style,
17586 # because $ac_f cannot contain `:'.
17590 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17592 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17594 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17595 as_fn_append ac_file_inputs
" '$ac_f'"
17598 # Let's still pretend it is `configure' which instantiates (i.e., don't
17599 # use $as_me), people would be surprised to read:
17600 # /* config.h. Generated by config.status. */
17601 configure_input
='Generated from '`
17602 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17604 if test x
"$ac_file" != x-
; then
17605 configure_input
="$ac_file. $configure_input"
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17607 $as_echo "$as_me: creating $ac_file" >&6;}
17609 # Neutralize special characters interpreted by sed in replacement strings.
17610 case $configure_input in #(
17611 *\
&* |
*\|
* |
*\\* )
17612 ac_sed_conf_input
=`$as_echo "$configure_input" |
17613 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17614 *) ac_sed_conf_input
=$configure_input;;
17618 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17619 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17624 ac_dir
=`$as_dirname -- "$ac_file" ||
17625 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17626 X"$ac_file" : 'X\(//\)[^/]' \| \
17627 X"$ac_file" : 'X\(//\)$' \| \
17628 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17629 $as_echo X"$ac_file" |
17630 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17634 /^X\(\/\/\)[^/].*/{
17647 as_dir
="$ac_dir"; as_fn_mkdir_p
17651 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17653 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17654 # A ".." for each directory in $ac_dir_suffix.
17655 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17656 case $ac_top_builddir_sub in
17657 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17658 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17661 ac_abs_top_builddir
=$ac_pwd
17662 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17663 # for backward compatibility:
17664 ac_top_builddir
=$ac_top_build_prefix
17667 .
) # We are building in place.
17669 ac_top_srcdir
=$ac_top_builddir_sub
17670 ac_abs_top_srcdir
=$ac_pwd ;;
17671 [\\/]* | ?
:[\\/]* ) # Absolute name.
17672 ac_srcdir
=$srcdir$ac_dir_suffix;
17673 ac_top_srcdir
=$srcdir
17674 ac_abs_top_srcdir
=$srcdir ;;
17675 *) # Relative name.
17676 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17677 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17678 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17680 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17690 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17691 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17696 # If the template does not know about datarootdir, expand it.
17697 # FIXME: This hack should be removed a few years after 2.60.
17698 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17709 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17710 *datarootdir
*) ac_datarootdir_seen
=yes;;
17711 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17713 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17716 ac_datarootdir_hack='
17717 s&@datadir@&$datadir&g
17718 s&@docdir@&$docdir&g
17719 s&@infodir@&$infodir&g
17720 s&@localedir@&$localedir&g
17721 s&@mandir@&$mandir&g
17722 s&\\\${datarootdir}&$datarootdir&g' ;;
17726 # Neutralize VPATH when `$srcdir' = `.'.
17727 # Shell code in configure.ac might set extrasub.
17728 # FIXME: do we really want to maintain this feature?
17729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17730 ac_sed_extra="$ac_vpsub
17733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17735 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17736 s|@configure_input@|
$ac_sed_conf_input|
;t t
17737 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17738 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17739 s
&@srcdir@
&$ac_srcdir&;t t
17740 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17741 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17742 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17743 s
&@builddir@
&$ac_builddir&;t t
17744 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17745 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17746 s
&@INSTALL@
&$ac_INSTALL&;t t
17747 $ac_datarootdir_hack
17749 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17750 if $ac_cs_awk_getline; then
17751 $AWK -f "$ac_tmp/subs.
awk"
17753 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
17755 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17757 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17758 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17759 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17760 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17762 which seems to be undefined. Please make sure it is defined" >&5
17763 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17764 which seems to be undefined. Please make sure it is defined" >&2;}
17766 rm -f "$ac_tmp/stdin"
17768 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17769 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17771 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17777 if test x"$ac_file" != x-; then
17779 $as_echo "/* $configure_input */" \
17780 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17781 } >"$ac_tmp/config.h" \
17782 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17783 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17785 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17788 mv "$ac_tmp/config.h" "$ac_file" \
17789 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17792 $as_echo "/* $configure_input */" \
17793 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17794 || as_fn_error $? "could not create -" "$LINENO" 5
17802 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
17805 # Prefer the file from the source tree if names are identical.
17806 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17807 ac_source=$srcdir/$ac_source
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17811 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17813 if test ! -r "$ac_source"; then
17814 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17818 # Try a relative symlink, then a hard link, then a copy.
17820 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17821 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17823 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17824 ln "$ac_source" "$ac_file" 2>/dev/null ||
17825 cp -p "$ac_source" "$ac_file" ||
17826 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17829 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17830 $as_echo "$as_me: executing $ac_file commands" >&6;}
17835 case $ac_file$ac_mode in
17836 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17837 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17838 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17839 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17840 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17841 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17842 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17843 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17844 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17845 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17846 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17847 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17848 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17849 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17850 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17851 "Makefile":C) wine_fn_output_makefile Makefile ;;
17859 ac_clean_files=$ac_clean_files_save
17861 test $ac_write_fail = 0 ||
17862 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17865 # configure is writing to config.log, and then calls config.status.
17866 # config.status does its own redirection, appending to config.log.
17867 # Unfortunately, on DOS this fails, as config.log is still kept open
17868 # by configure, so config.status won't be able to
write to it
; its
17869 # output is simply discarded. So we exec the FD to /dev/null,
17870 # effectively closing config.log, so it can be properly (re)opened and
17871 # appended to by config.status. When coming back to configure, we
17872 # need to make the FD available again.
17873 if test "$no_create" != yes; then
17875 ac_config_status_args
=
17876 test "$silent" = yes &&
17877 ac_config_status_args
="$ac_config_status_args --quiet"
17879 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17881 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17882 # would make configure fail if this is the last instruction.
17883 $ac_cs_success || as_fn_exit
1
17885 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17887 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17891 if test "$no_create" = "yes"
17897 if test "x$wine_notices != "x
; then
17900 for msg
in $wine_notices; do
17902 if test -n "$msg"; then
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17904 $as_echo "$as_me: $msg" >&6;}
17909 for msg
in $wine_warnings; do
17911 if test -n "$msg"; then
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17914 $as_echo "$as_me: WARNING: $msg" >&2;}
17920 $as_me: Finished. Do '${ac_make}' to compile Wine.