2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.5.8.
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.8'
584 PACKAGE_STRING
='Wine 1.5.8'
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
690 APPLICATIONSERVICESLIB
779 program_transform_name
790 ac_subst_files
='MAKE_RULES
796 enable_option_checking
800 enable_maintainer_mode
848 ac_precious_vars
='build_alias
863 # Initialize some variables set by options.
865 ac_init_version
=false
866 ac_unrecognized_opts
=
868 # The variables have the same names as the options, with
869 # dashes changed to underlines.
877 program_transform_name
=s
,x
,x
,
885 # Installation directory options.
886 # These are left unexpanded so users can "make install exec_prefix=/foo"
887 # and all the variables that are supposed to be based on exec_prefix
888 # by default will actually change.
889 # Use braces instead of parens because sh, perl, etc. also accept them.
890 # (The list follows the same order as the GNU Coding Standards.)
891 bindir
='${exec_prefix}/bin'
892 sbindir
='${exec_prefix}/sbin'
893 libexecdir
='${exec_prefix}/libexec'
894 datarootdir
='${prefix}/share'
895 datadir
='${datarootdir}'
896 sysconfdir
='${prefix}/etc'
897 sharedstatedir
='${prefix}/com'
898 localstatedir
='${prefix}/var'
899 includedir
='${prefix}/include'
900 oldincludedir
='/usr/include'
901 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
902 infodir
='${datarootdir}/info'
907 libdir
='${exec_prefix}/lib'
908 localedir
='${datarootdir}/locale'
909 mandir
='${datarootdir}/man'
915 # If the previous option needs an argument, assign it.
916 if test -n "$ac_prev"; then
917 eval $ac_prev=\
$ac_option
923 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
928 # Accept the important Cygnus configure options, so we can diagnose typos.
930 case $ac_dashdash$ac_option in
934 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
936 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
939 -build |
--build |
--buil |
--bui |
--bu)
940 ac_prev
=build_alias
;;
941 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
942 build_alias
=$ac_optarg ;;
944 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
945 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
946 ac_prev
=cache_file
;;
947 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
948 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
949 cache_file
=$ac_optarg ;;
952 cache_file
=config.cache
;;
954 -datadir |
--datadir |
--datadi |
--datad)
956 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
957 datadir
=$ac_optarg ;;
959 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
960 |
--dataroo |
--dataro |
--datar)
961 ac_prev
=datarootdir
;;
962 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
963 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
964 datarootdir
=$ac_optarg ;;
966 -disable-* |
--disable-*)
967 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
968 # Reject names that are not valid shell variable names.
969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
970 as_fn_error $?
"invalid feature name: $ac_useropt"
971 ac_useropt_orig
=$ac_useropt
972 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973 case $ac_user_opts in
977 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
978 ac_unrecognized_sep
=', ';;
980 eval enable_
$ac_useropt=no
;;
982 -docdir |
--docdir |
--docdi |
--doc |
--do)
984 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
987 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
989 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
992 -enable-* |
--enable-*)
993 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
996 as_fn_error $?
"invalid feature name: $ac_useropt"
997 ac_useropt_orig
=$ac_useropt
998 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1001 "enable_
$ac_useropt"
1003 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1004 ac_unrecognized_sep
=', ';;
1006 eval enable_
$ac_useropt=\
$ac_optarg ;;
1008 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1009 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1010 |
--exec |
--exe |
--ex)
1011 ac_prev
=exec_prefix
;;
1012 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1013 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1014 |
--exec=* |
--exe=* |
--ex=*)
1015 exec_prefix
=$ac_optarg ;;
1017 -gas |
--gas |
--ga |
--g)
1018 # Obsolete; use --with-gas.
1021 -help |
--help |
--hel |
--he |
-h)
1022 ac_init_help
=long
;;
1023 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1024 ac_init_help
=recursive
;;
1025 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1026 ac_init_help
=short
;;
1028 -host |
--host |
--hos |
--ho)
1029 ac_prev
=host_alias
;;
1030 -host=* |
--host=* |
--hos=* |
--ho=*)
1031 host_alias
=$ac_optarg ;;
1033 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1035 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1037 htmldir
=$ac_optarg ;;
1039 -includedir |
--includedir |
--includedi |
--included |
--include \
1040 |
--includ |
--inclu |
--incl |
--inc)
1041 ac_prev
=includedir
;;
1042 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1043 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1044 includedir
=$ac_optarg ;;
1046 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1048 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1049 infodir
=$ac_optarg ;;
1051 -libdir |
--libdir |
--libdi |
--libd)
1053 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1054 libdir
=$ac_optarg ;;
1056 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1057 |
--libexe |
--libex |
--libe)
1058 ac_prev
=libexecdir
;;
1059 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1060 |
--libexe=* |
--libex=* |
--libe=*)
1061 libexecdir
=$ac_optarg ;;
1063 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1064 ac_prev
=localedir
;;
1065 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1066 localedir
=$ac_optarg ;;
1068 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1069 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1070 ac_prev
=localstatedir
;;
1071 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1072 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1073 localstatedir
=$ac_optarg ;;
1075 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1077 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1078 mandir
=$ac_optarg ;;
1080 -nfp |
--nfp |
--nf)
1081 # Obsolete; use --without-fp.
1084 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1085 |
--no-cr |
--no-c |
-n)
1088 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1089 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1092 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1093 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1094 |
--oldin |
--oldi |
--old |
--ol |
--o)
1095 ac_prev
=oldincludedir
;;
1096 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1097 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1098 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1099 oldincludedir
=$ac_optarg ;;
1101 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1103 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1104 prefix
=$ac_optarg ;;
1106 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1107 |
--program-pre |
--program-pr |
--program-p)
1108 ac_prev
=program_prefix
;;
1109 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1110 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1111 program_prefix
=$ac_optarg ;;
1113 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1114 |
--program-suf |
--program-su |
--program-s)
1115 ac_prev
=program_suffix
;;
1116 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1117 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1118 program_suffix
=$ac_optarg ;;
1120 -program-transform-name |
--program-transform-name \
1121 |
--program-transform-nam |
--program-transform-na \
1122 |
--program-transform-n |
--program-transform- \
1123 |
--program-transform |
--program-transfor \
1124 |
--program-transfo |
--program-transf \
1125 |
--program-trans |
--program-tran \
1126 |
--progr-tra |
--program-tr |
--program-t)
1127 ac_prev
=program_transform_name
;;
1128 -program-transform-name=* |
--program-transform-name=* \
1129 |
--program-transform-nam=* |
--program-transform-na=* \
1130 |
--program-transform-n=* |
--program-transform-=* \
1131 |
--program-transform=* |
--program-transfor=* \
1132 |
--program-transfo=* |
--program-transf=* \
1133 |
--program-trans=* |
--program-tran=* \
1134 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1135 program_transform_name
=$ac_optarg ;;
1137 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1139 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1140 pdfdir
=$ac_optarg ;;
1142 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1144 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1147 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1148 |
-silent |
--silent |
--silen |
--sile |
--sil)
1151 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1153 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1155 sbindir
=$ac_optarg ;;
1157 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1158 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1159 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1161 ac_prev
=sharedstatedir
;;
1162 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1163 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1164 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1166 sharedstatedir
=$ac_optarg ;;
1168 -site |
--site |
--sit)
1170 -site=* |
--site=* |
--sit=*)
1173 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1175 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1176 srcdir
=$ac_optarg ;;
1178 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1179 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1180 ac_prev
=sysconfdir
;;
1181 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1182 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1183 sysconfdir
=$ac_optarg ;;
1185 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1186 ac_prev
=target_alias
;;
1187 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1188 target_alias
=$ac_optarg ;;
1190 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1193 -version |
--version |
--versio |
--versi |
--vers |
-V)
1194 ac_init_version
=: ;;
1197 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1198 # Reject names that are not valid shell variable names.
1199 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1200 as_fn_error $?
"invalid package name: $ac_useropt"
1201 ac_useropt_orig
=$ac_useropt
1202 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1203 case $ac_user_opts in
1207 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1208 ac_unrecognized_sep
=', ';;
1210 eval with_
$ac_useropt=\
$ac_optarg ;;
1212 -without-* |
--without-*)
1213 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1216 as_fn_error $?
"invalid package name: $ac_useropt"
1217 ac_useropt_orig
=$ac_useropt
1218 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1219 case $ac_user_opts in
1223 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1224 ac_unrecognized_sep
=', ';;
1226 eval with_
$ac_useropt=no
;;
1229 # Obsolete; use --with-x.
1232 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1233 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1234 ac_prev
=x_includes
;;
1235 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1236 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1237 x_includes
=$ac_optarg ;;
1239 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1240 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1241 ac_prev
=x_libraries
;;
1242 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1243 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1244 x_libraries
=$ac_optarg ;;
1246 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1247 Try \`$0 --help' for more information"
1251 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1252 # Reject names that are not valid shell variable names.
1253 case $ac_envvar in #(
1254 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1255 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1257 eval $ac_envvar=\
$ac_optarg
1258 export $ac_envvar ;;
1261 # FIXME: should be removed in autoconf 3.0.
1262 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1263 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1264 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1265 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1271 if test -n "$ac_prev"; then
1272 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1273 as_fn_error $?
"missing argument to $ac_option"
1276 if test -n "$ac_unrecognized_opts"; then
1277 case $enable_option_checking in
1279 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1280 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1284 # Check all directory arguments for consistency.
1285 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1286 datadir sysconfdir sharedstatedir localstatedir includedir \
1287 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1288 libdir localedir mandir
1290 eval ac_val
=\$
$ac_var
1291 # Remove trailing slashes.
1294 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1295 eval $ac_var=\
$ac_val;;
1297 # Be sure to have absolute directory names.
1299 [\\/$
]* | ?
:[\\/]* ) continue;;
1300 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1302 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1305 # There might be people who depend on the old broken behavior: `$host'
1306 # used to hold the argument of --host etc.
1307 # FIXME: To remove some day.
1310 target
=$target_alias
1312 # FIXME: To remove some day.
1313 if test "x$host_alias" != x
; then
1314 if test "x$build_alias" = x
; then
1315 cross_compiling
=maybe
1316 elif test "x$build_alias" != "x$host_alias"; then
1322 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1324 test "$silent" = yes && exec 6>/dev
/null
1327 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1328 ac_ls_di
=`ls -di .` &&
1329 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1330 as_fn_error $?
"working directory cannot be determined"
1331 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1332 as_fn_error $?
"pwd does not report name of working directory"
1335 # Find the source files, if location was not specified.
1336 if test -z "$srcdir"; then
1337 ac_srcdir_defaulted
=yes
1338 # Try the directory containing this script, then the parent directory.
1339 ac_confdir
=`$as_dirname -- "$as_myself" ||
1340 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1341 X"$as_myself" : 'X\(//\)[^/]' \| \
1342 X"$as_myself" : 'X\(//\)$' \| \
1343 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1344 $as_echo X"$as_myself" |
1345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1363 if test ! -r "$srcdir/$ac_unique_file"; then
1367 ac_srcdir_defaulted
=no
1369 if test ! -r "$srcdir/$ac_unique_file"; then
1370 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1371 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1373 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1375 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1377 # When building in place, set srcdir=.
1378 if test "$ac_abs_confdir" = "$ac_pwd"; then
1381 # Remove unnecessary trailing slashes from srcdir.
1382 # Double slashes in file names in object file debugging info
1383 # mess up M-x gdb in Emacs.
1385 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1387 for ac_var
in $ac_precious_vars; do
1388 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1389 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1390 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1391 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1395 # Report the --help message.
1397 if test "$ac_init_help" = "long"; then
1398 # Omit some internal or obsolete options to make the list less imposing.
1399 # This message is too long to be a string in the A/UX 3.1 sh.
1401 \`configure' configures Wine 1.5.8 to adapt to many kinds of systems.
1403 Usage: $0 [OPTION]... [VAR=VALUE]...
1405 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1406 VAR=VALUE. See below for descriptions of some of the useful variables.
1408 Defaults for the options are specified in brackets.
1411 -h, --help display this help and exit
1412 --help=short display options specific to this package
1413 --help=recursive display the short help of all the included packages
1414 -V, --version display version information and exit
1415 -q, --quiet, --silent do not print \`checking ...' messages
1416 --cache-file=FILE cache test results in FILE [disabled]
1417 -C, --config-cache alias for \`--cache-file=config.cache'
1418 -n, --no-create do not create output files
1419 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1421 Installation directories:
1422 --prefix=PREFIX install architecture-independent files in PREFIX
1423 [$ac_default_prefix]
1424 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1427 By default, \`make install' will install all the files in
1428 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1429 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1430 for instance \`--prefix=\$HOME'.
1432 For better control, use the options below.
1434 Fine tuning of the installation directories:
1435 --bindir=DIR user executables [EPREFIX/bin]
1436 --sbindir=DIR system admin executables [EPREFIX/sbin]
1437 --libexecdir=DIR program executables [EPREFIX/libexec]
1438 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1439 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1440 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1441 --libdir=DIR object code libraries [EPREFIX/lib]
1442 --includedir=DIR C header files [PREFIX/include]
1443 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1444 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1445 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1446 --infodir=DIR info documentation [DATAROOTDIR/info]
1447 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1448 --mandir=DIR man documentation [DATAROOTDIR/man]
1449 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1450 --htmldir=DIR html documentation [DOCDIR]
1451 --dvidir=DIR dvi documentation [DOCDIR]
1452 --pdfdir=DIR pdf documentation [DOCDIR]
1453 --psdir=DIR ps documentation [DOCDIR]
1459 --x-includes=DIR X include files are
in DIR
1460 --x-libraries=DIR X library files are
in DIR
1463 --build=BUILD configure
for building on BUILD
[guessed
]
1464 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1468 if test -n "$ac_init_help"; then
1469 case $ac_init_help in
1470 short | recursive
) echo "Configuration of Wine 1.5.8:";;
1475 --disable-option-checking ignore unrecognized
--enable/--with options
1476 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1477 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1478 --disable-win16 do not include Win16 support
1479 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1481 --disable-tests do not build the regression tests
1482 --enable-maintainer-mode
1483 enable maintainer-specific build rules
1484 --disable-largefile omit support for large files
1487 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1488 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1489 --without-alsa do not use the Alsa sound support
1490 --without-capi do not use CAPI (ISDN support)
1491 --without-cms do not use CMS (color management support)
1492 --without-coreaudio do not use the CoreAudio sound support
1493 --without-cups do not use CUPS
1494 --without-curses do not use (n)curses
1495 --without-dbus do not use DBus (dynamic device support)
1496 --without-fontconfig do not use fontconfig
1497 --without-freetype do not use the FreeType library
1498 --without-gettext do not use gettext
1499 --with-gettextpo use the GetTextPO library to rebuild po files
1500 --without-gphoto do not use gphoto (Digital Camera support)
1501 --without-glu do not use the GLU library
1502 --without-gnutls do not use GnuTLS (schannel support)
1503 --without-gsm do not use libgsm (GSM 06.10 codec support)
1504 --without-gstreamer do not use GStreamer (codecs support)
1505 --without-hal do not use HAL (dynamic device support)
1506 --without-jpeg do not use JPEG
1507 --without-ldap do not use LDAP
1508 --without-mpg123 do not use the mpg123 library
1509 --without-openal do not use OpenAL
1510 --without-opencl do not use OpenCL
1511 --without-opengl do not use OpenGL
1512 --without-openssl do not use OpenSSL
1513 --without-oss do not use the OSS sound support
1514 --without-png do not use PNG
1515 --without-pthread do not use the pthread library
1516 --without-sane do not use SANE (scanner support)
1517 --without-tiff do not use TIFF
1518 --without-v4l do not use v4l1 (v4l support)
1519 --without-xcomposite do not use the Xcomposite extension
1520 --without-xcursor do not use the Xcursor extension
1521 --without-xinerama do not use Xinerama (multi-monitor support)
1522 --without-xinput do not use the Xinput extension
1523 --without-xinput2 do not use the Xinput 2 extension
1524 --without-xml do not use XML
1525 --without-xrandr do not use Xrandr (resolution changes)
1526 --without-xrender do not use the Xrender extension
1527 --without-xshape do not use the Xshape extension
1528 --without-xslt do not use XSLT
1529 --without-xxf86vm do not use XFree video mode extension
1530 --without-zlib do not use Zlib (data compression)
1531 --with-wine-tools=DIR use Wine tools from directory DIR
1532 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1533 --with-x use the X Window System
1535 Some influential environment variables:
1536 CC C compiler command
1537 CFLAGS C compiler flags
1538 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1539 nonstandard directory <lib dir>
1540 LIBS libraries to pass to the linker, e.g. -l<library>
1541 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1542 you have headers in a nonstandard directory <include dir>
1543 CXX C++ compiler command
1544 CXXFLAGS C++ compiler flags
1546 XMKMF Path to xmkmf, Makefile generator for X Window System
1548 Use these variables to override the choices made by `configure' or to
help
1549 it to
find libraries and programs with nonstandard names
/locations.
1551 Report bugs to
<wine-devel@winehq.org
>.
1552 Wine home page
: <http
://www.winehq.org
>.
1557 if test "$ac_init_help" = "recursive"; then
1558 # If there are subdirs, report their specific --help.
1559 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1560 test -d "$ac_dir" ||
1561 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1566 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1568 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1569 # A ".." for each directory in $ac_dir_suffix.
1570 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1571 case $ac_top_builddir_sub in
1572 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1573 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1576 ac_abs_top_builddir
=$ac_pwd
1577 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1578 # for backward compatibility:
1579 ac_top_builddir
=$ac_top_build_prefix
1582 .
) # We are building in place.
1584 ac_top_srcdir
=$ac_top_builddir_sub
1585 ac_abs_top_srcdir
=$ac_pwd ;;
1586 [\\/]* | ?
:[\\/]* ) # Absolute name.
1587 ac_srcdir
=$srcdir$ac_dir_suffix;
1588 ac_top_srcdir
=$srcdir
1589 ac_abs_top_srcdir
=$srcdir ;;
1591 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1592 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1593 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1595 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1597 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1598 # Check for guested configure.
1599 if test -f "$ac_srcdir/configure.gnu"; then
1601 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1602 elif test -f "$ac_srcdir/configure"; then
1604 $SHELL "$ac_srcdir/configure" --help=recursive
1606 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1608 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1612 test -n "$ac_init_help" && exit $ac_status
1613 if $ac_init_version; then
1615 Wine configure
1.5.8
1616 generated by GNU Autoconf
2.69
1618 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1619 This configure
script is free software
; the Free Software Foundation
1620 gives unlimited permission to copy
, distribute and modify it.
1625 ## ------------------------ ##
1626 ## Autoconf initialization. ##
1627 ## ------------------------ ##
1629 # ac_fn_c_try_compile LINENO
1630 # --------------------------
1631 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1632 ac_fn_c_try_compile
()
1634 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1635 rm -f conftest.
$ac_objext
1636 if { { ac_try
="$ac_compile"
1638 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1639 *) ac_try_echo=$ac_try;;
1641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1642 $as_echo "$ac_try_echo"; } >&5
1643 (eval "$ac_compile") 2>conftest.err
1645 if test -s conftest.err; then
1646 grep -v '^ *+' conftest.err >conftest.er1
1647 cat conftest.er1 >&5
1648 mv -f conftest.er1 conftest.err
1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651 test $ac_status = 0; } && {
1652 test -z "$ac_c_werror_flag" ||
1653 test ! -s conftest.err
1654 } && test -s conftest.$ac_objext; then :
1657 $as_echo "$as_me: failed program was:" >&5
1658 sed 's/^/| /' conftest.$ac_ext >&5
1662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1663 as_fn_set_status $ac_retval
1665 } # ac_fn_c_try_compile
1667 # ac_fn_cxx_try_compile LINENO
1668 # ----------------------------
1669 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1670 ac_fn_cxx_try_compile ()
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 rm -f conftest.$ac_objext
1674 if { { ac_try="$ac_compile"
1676 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1677 *) ac_try_echo
=$ac_try;;
1679 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_compile") 2>conftest.err
1683 if test -s conftest.err
; then
1684 grep -v '^ *+' conftest.err
>conftest.er1
1685 cat conftest.er1
>&5
1686 mv -f conftest.er1 conftest.err
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } && {
1690 test -z "$ac_cxx_werror_flag" ||
1691 test ! -s conftest.err
1692 } && test -s conftest.
$ac_objext; then :
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.
$ac_ext >&5
1700 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1701 as_fn_set_status
$ac_retval
1703 } # ac_fn_cxx_try_compile
1705 # ac_fn_c_try_link LINENO
1706 # -----------------------
1707 # Try to link conftest.$ac_ext, and return whether this succeeded.
1710 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1711 rm -f conftest.
$ac_objext conftest
$ac_exeext
1712 if { { ac_try
="$ac_link"
1714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1715 *) ac_try_echo=$ac_try;;
1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_link") 2>conftest.err
1721 if test -s conftest.err; then
1722 grep -v '^ *+' conftest.err >conftest.er1
1723 cat conftest.er1 >&5
1724 mv -f conftest.er1 conftest.err
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } && {
1728 test -z "$ac_c_werror_flag" ||
1729 test ! -s conftest.err
1730 } && test -s conftest$ac_exeext && {
1731 test "$cross_compiling" = yes ||
1732 test -x conftest$ac_exeext
1736 $as_echo "$as_me: failed program was:" >&5
1737 sed 's/^/| /' conftest.$ac_ext >&5
1741 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1742 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1743 # interfere with the next link command; also delete a directory that is
1744 # left behind by Apple's compiler. We do this before executing the actions.
1745 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747 as_fn_set_status $ac_retval
1749 } # ac_fn_c_try_link
1751 # ac_fn_c_try_cpp LINENO
1752 # ----------------------
1753 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 if { { ac_try="$ac_cpp conftest.$ac_ext"
1759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1760 *) ac_try_echo
=$ac_try;;
1762 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1766 if test -s conftest.err
; then
1767 grep -v '^ *+' conftest.err
>conftest.er1
1768 cat conftest.er1
>&5
1769 mv -f conftest.er1 conftest.err
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } > conftest.i
&& {
1773 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1774 test ! -s conftest.err
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.
$ac_ext >&5
1783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1784 as_fn_set_status
$ac_retval
1788 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1789 # -------------------------------------------------------
1790 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1791 # the include files in INCLUDES and setting the cache variable VAR
1793 ac_fn_c_check_header_mongrel
()
1795 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1796 if eval \
${$3+:} false
; then :
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1798 $as_echo_n "checking for $2... " >&6; }
1799 if eval \
${$3+:} false
; then :
1800 $as_echo_n "(cached) " >&6
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1804 $as_echo "$ac_res" >&6; }
1806 # Is the header compilable?
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1808 $as_echo_n "checking $2 usability... " >&6; }
1809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1814 if ac_fn_c_try_compile
"$LINENO"; then :
1815 ac_header_compiler
=yes
1817 ac_header_compiler
=no
1819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1821 $as_echo "$ac_header_compiler" >&6; }
1823 # Is the header present?
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1825 $as_echo_n "checking $2 presence... " >&6; }
1826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1827 /* end confdefs.h. */
1830 if ac_fn_c_try_cpp
"$LINENO"; then :
1831 ac_header_preproc
=yes
1833 ac_header_preproc
=no
1835 rm -f conftest.err conftest.i conftest.
$ac_ext
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1837 $as_echo "$ac_header_preproc" >&6; }
1839 # So? What about this header?
1840 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1843 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1845 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1849 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1851 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1853 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1855 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1857 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1858 ( $as_echo "## ------------------------------------ ##
1859 ## Report this to wine-devel@winehq.org ##
1860 ## ------------------------------------ ##"
1861 ) |
sed "s/^/$as_me: WARNING: /" >&2
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if eval \
${$3+:} false
; then :
1867 $as_echo_n "(cached) " >&6
1869 eval "$3=\$ac_header_compiler"
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1873 $as_echo "$ac_res" >&6; }
1875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877 } # ac_fn_c_check_header_mongrel
1879 # ac_fn_c_try_run LINENO
1880 # ----------------------
1881 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1882 # that executables *can* be run.
1885 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1886 if { { ac_try
="$ac_link"
1888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1889 *) ac_try_echo=$ac_try;;
1891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893 (eval "$ac_link") 2>&5
1895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1897 { { case "(($ac_try" in
1898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1899 *) ac_try_echo
=$ac_try;;
1901 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1902 $as_echo "$ac_try_echo"; } >&5
1903 (eval "$ac_try") 2>&5
1905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1906 test $ac_status = 0; }; }; then :
1909 $as_echo "$as_me: program exited with status $ac_status" >&5
1910 $as_echo "$as_me: failed program was:" >&5
1911 sed 's/^/| /' conftest.
$ac_ext >&5
1913 ac_retval
=$ac_status
1915 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1917 as_fn_set_status
$ac_retval
1921 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1922 # -------------------------------------------------------
1923 # Tests whether HEADER exists and can be compiled using the include files in
1924 # INCLUDES, setting the cache variable VAR accordingly.
1925 ac_fn_c_check_header_compile
()
1927 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1929 $as_echo_n "checking for $2... " >&6; }
1930 if eval \
${$3+:} false
; then :
1931 $as_echo_n "(cached) " >&6
1933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1934 /* end confdefs.h. */
1938 if ac_fn_c_try_compile
"$LINENO"; then :
1943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947 $as_echo "$ac_res" >&6; }
1948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950 } # ac_fn_c_check_header_compile
1952 # ac_fn_c_check_func LINENO FUNC VAR
1953 # ----------------------------------
1954 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1955 ac_fn_c_check_func
()
1957 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1959 $as_echo_n "checking for $2... " >&6; }
1960 if eval \
${$3+:} false
; then :
1961 $as_echo_n "(cached) " >&6
1963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1964 /* end confdefs.h. */
1965 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1967 #define $2 innocuous_$2
1969 /* System header to define __stub macros and hopefully few prototypes,
1970 which can conflict with char $2 (); below.
1971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1972 <limits.h> exists even on freestanding compilers. */
1975 # include <limits.h>
1977 # include <assert.h>
1982 /* Override any GCC internal prototype to avoid an error.
1983 Use char because int might match the return type of a GCC
1984 builtin and then its argument prototype would still apply. */
1989 /* The GNU C library defines this for functions which it implements
1990 to always fail with ENOSYS. Some functions are actually named
1991 something starting with __ and the normal name is an alias. */
1992 #if defined __stub_$2 || defined __stub___$2
2004 if ac_fn_c_try_link
"$LINENO"; then :
2009 rm -f core conftest.err conftest.
$ac_objext \
2010 conftest
$ac_exeext conftest.
$ac_ext
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2014 $as_echo "$ac_res" >&6; }
2015 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2017 } # ac_fn_c_check_func
2019 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2020 # ----------------------------------------------------
2021 # Tries to find if the field MEMBER exists in type AGGR, after including
2022 # INCLUDES, setting cache variable VAR accordingly.
2023 ac_fn_c_check_member
()
2025 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2027 $as_echo_n "checking for $2.$3... " >&6; }
2028 if eval \
${$4+:} false
; then :
2029 $as_echo_n "(cached) " >&6
2031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2044 if ac_fn_c_try_compile
"$LINENO"; then :
2047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2054 if (sizeof ac_aggr.$3)
2060 if ac_fn_c_try_compile
"$LINENO"; then :
2065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2071 $as_echo "$ac_res" >&6; }
2072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2074 } # ac_fn_c_check_member
2076 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2077 # -------------------------------------------
2078 # Tests whether TYPE exists after having included INCLUDES, setting cache
2079 # variable VAR accordingly.
2080 ac_fn_c_check_type
()
2082 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2084 $as_echo_n "checking for $2... " >&6; }
2085 if eval \
${$3+:} false
; then :
2086 $as_echo_n "(cached) " >&6
2089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2090 /* end confdefs.h. */
2101 if ac_fn_c_try_compile
"$LINENO"; then :
2102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2103 /* end confdefs.h. */
2114 if ac_fn_c_try_compile
"$LINENO"; then :
2119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2125 $as_echo "$ac_res" >&6; }
2126 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2128 } # ac_fn_c_check_type
2129 cat >config.log
<<_ACEOF
2130 This file contains any messages produced by compilers while
2131 running configure, to aid debugging if configure makes a mistake.
2133 It was created by Wine $as_me 1.5.8, which was
2134 generated by GNU Autoconf 2.69. Invocation command line was
2146 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2147 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2148 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2149 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2150 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2152 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2153 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2155 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2156 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2157 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2158 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2159 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2160 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2161 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2169 test -z "$as_dir" && as_dir
=.
2170 $as_echo "PATH: $as_dir"
2186 # Keep a trace of the command line.
2187 # Strip out --no-create and --no-recursion so they do not pile up.
2188 # Strip out --silent because we don't want to record it for future runs.
2189 # Also quote any args containing shell meta-characters.
2190 # Make two passes to allow for proper duplicate-argument suppression.
2194 ac_must_keep_next
=false
2200 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2201 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2202 |
-silent |
--silent |
--silen |
--sile |
--sil)
2205 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2208 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2210 as_fn_append ac_configure_args1
" '$ac_arg'"
2211 if test $ac_must_keep_next = true
; then
2212 ac_must_keep_next
=false
# Got value, back to normal.
2215 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2216 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2217 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2218 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2219 case "$ac_configure_args0 " in
2220 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2223 -* ) ac_must_keep_next
=true
;;
2226 as_fn_append ac_configure_args
" '$ac_arg'"
2231 { ac_configure_args0
=; unset ac_configure_args0
;}
2232 { ac_configure_args1
=; unset ac_configure_args1
;}
2234 # When interrupted or exit'd, cleanup temporary files, and complete
2235 # config.log. We remove comments because anyway the quotes in there
2236 # would cause problems or look ugly.
2237 # WARNING: Use '\'' to represent an apostrophe within the trap.
2238 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2239 trap 'exit_status=$?
2240 # Save into config.log some information that might help in debugging.
2244 $as_echo "## ---------------- ##
2245 ## Cache variables. ##
2246 ## ---------------- ##"
2248 # The following way of writing the cache mishandles newlines in values,
2250 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2251 eval ac_val=\$$ac_var
2255 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2256 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2259 _ | IFS | as_nl) ;; #(
2260 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2261 *) { eval $ac_var=; unset $ac_var;} ;;
2266 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2267 *${as_nl}ac_space=\ *)
2269 "s/'\''/'\''\\\\'\'''\''/g;
2270 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2273 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2280 $as_echo "## ----------------- ##
2281 ## Output variables. ##
2282 ## ----------------- ##"
2284 for ac_var in $ac_subst_vars
2286 eval ac_val=\$$ac_var
2288 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2290 $as_echo "$ac_var='\''$ac_val'\''"
2294 if test -n "$ac_subst_files"; then
2295 $as_echo "## ------------------- ##
2296 ## File substitutions. ##
2297 ## ------------------- ##"
2299 for ac_var
in $ac_subst_files
2301 eval ac_val
=\$
$ac_var
2303 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2305 $as_echo "$ac_var='\''$ac_val'\''"
2310 if test -s confdefs.h; then
2311 $as_echo "## ----------- ##
2318 test "$ac_signal" != 0 &&
2319 $as_echo "$as_me: caught signal $ac_signal"
2320 $as_echo "$as_me: exit $exit_status"
2322 rm -f core *.core core.conftest.* &&
2323 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2326 for ac_signal
in 1 2 13 15; do
2327 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2331 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2332 rm -f -r conftest
* confdefs.h
2334 $as_echo "/* confdefs.h */" > confdefs.h
2336 # Predefined preprocessor variables.
2338 cat >>confdefs.h
<<_ACEOF
2339 #define PACKAGE_NAME "$PACKAGE_NAME"
2342 cat >>confdefs.h
<<_ACEOF
2343 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2346 cat >>confdefs.h
<<_ACEOF
2347 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2350 cat >>confdefs.h
<<_ACEOF
2351 #define PACKAGE_STRING "$PACKAGE_STRING"
2354 cat >>confdefs.h
<<_ACEOF
2355 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2358 cat >>confdefs.h
<<_ACEOF
2359 #define PACKAGE_URL "$PACKAGE_URL"
2363 # Let the site file select an alternate cache file if it wants to.
2364 # Prefer an explicitly selected file to automatically selected ones.
2367 if test -n "$CONFIG_SITE"; then
2368 # We do not want a PATH search for config.site.
2369 case $CONFIG_SITE in #((
2370 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2371 */*) ac_site_file1
=$CONFIG_SITE;;
2372 *) ac_site_file1
=.
/$CONFIG_SITE;;
2374 elif test "x$prefix" != xNONE
; then
2375 ac_site_file1
=$prefix/share
/config.site
2376 ac_site_file2
=$prefix/etc
/config.site
2378 ac_site_file1
=$ac_default_prefix/share
/config.site
2379 ac_site_file2
=$ac_default_prefix/etc
/config.site
2381 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2383 test "x$ac_site_file" = xNONE
&& continue
2384 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2386 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2387 sed 's/^/| /' "$ac_site_file" >&5
2389 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2391 as_fn_error $?
"failed to load site script $ac_site_file
2392 See \`config.log' for more details" "$LINENO" 5; }
2396 if test -r "$cache_file"; then
2397 # Some versions of bash will fail to source /dev/null (special files
2398 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2399 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2401 $as_echo "$as_me: loading cache $cache_file" >&6;}
2403 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2404 *) .
"./$cache_file";;
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2409 $as_echo "$as_me: creating cache $cache_file" >&6;}
2413 # Check that the precious variables saved in the cache have kept the same
2415 ac_cache_corrupted
=false
2416 for ac_var
in $ac_precious_vars; do
2417 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2418 eval ac_new_set
=\
$ac_env_${ac_var}_set
2419 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2420 eval ac_new_val
=\
$ac_env_${ac_var}_value
2421 case $ac_old_set,$ac_new_set in
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2424 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2425 ac_cache_corrupted
=: ;;
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2428 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2429 ac_cache_corrupted
=: ;;
2432 if test "x$ac_old_val" != "x$ac_new_val"; then
2433 # differences in whitespace do not lead to failure.
2434 ac_old_val_w
=`echo x $ac_old_val`
2435 ac_new_val_w
=`echo x $ac_new_val`
2436 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2438 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2439 ac_cache_corrupted
=:
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2442 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2443 eval $ac_var=\
$ac_old_val
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2446 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2448 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2451 # Pass precious variables to config.status.
2452 if test "$ac_new_set" = set; then
2454 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2455 *) ac_arg
=$ac_var=$ac_new_val ;;
2457 case " $ac_configure_args " in
2458 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2459 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2463 if $ac_cache_corrupted; then
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2467 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2468 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2470 ## -------------------- ##
2471 ## Main body of script. ##
2472 ## -------------------- ##
2475 ac_cpp
='$CPP $CPPFLAGS'
2476 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2477 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2478 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2482 ac_config_headers
="$ac_config_headers include/config.h"
2485 for ac_dir
in tools
"$srcdir"/tools
; do
2486 if test -f "$ac_dir/install-sh"; then
2488 ac_install_sh
="$ac_aux_dir/install-sh -c"
2490 elif test -f "$ac_dir/install.sh"; then
2492 ac_install_sh
="$ac_aux_dir/install.sh -c"
2494 elif test -f "$ac_dir/shtool"; then
2496 ac_install_sh
="$ac_aux_dir/shtool install -c"
2500 if test -z "$ac_aux_dir"; then
2501 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2504 # These three variables are undocumented and unsupported,
2505 # and are intended to be withdrawn in a future Autoconf release.
2506 # They can cause serious problems if a builder's source tree is in a directory
2507 # whose full name contains unusual characters.
2508 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2509 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2510 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2516 # Check whether --enable-win16 was given.
2517 if test "${enable_win16+set}" = set; then :
2518 enableval
=$enable_win16;
2521 # Check whether --enable-win64 was given.
2522 if test "${enable_win64+set}" = set; then :
2523 enableval
=$enable_win64;
2526 # Check whether --enable-tests was given.
2527 if test "${enable_tests+set}" = set; then :
2528 enableval
=$enable_tests;
2531 # Check whether --enable-maintainer-mode was given.
2532 if test "${enable_maintainer_mode+set}" = set; then :
2533 enableval
=$enable_maintainer_mode;
2538 # Check whether --with-alsa was given.
2539 if test "${with_alsa+set}" = set; then :
2540 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2544 # Check whether --with-capi was given.
2545 if test "${with_capi+set}" = set; then :
2546 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2550 # Check whether --with-cms was given.
2551 if test "${with_cms+set}" = set; then :
2552 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
2556 # Check whether --with-coreaudio was given.
2557 if test "${with_coreaudio+set}" = set; then :
2558 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2562 # Check whether --with-cups was given.
2563 if test "${with_cups+set}" = set; then :
2568 # Check whether --with-curses was given.
2569 if test "${with_curses+set}" = set; then :
2570 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2574 # Check whether --with-dbus was given.
2575 if test "${with_dbus+set}" = set; then :
2580 # Check whether --with-fontconfig was given.
2581 if test "${with_fontconfig+set}" = set; then :
2582 withval
=$with_fontconfig;
2586 # Check whether --with-freetype was given.
2587 if test "${with_freetype+set}" = set; then :
2588 withval
=$with_freetype;
2592 # Check whether --with-gettext was given.
2593 if test "${with_gettext+set}" = set; then :
2594 withval
=$with_gettext;
2598 # Check whether --with-gettextpo was given.
2599 if test "${with_gettextpo+set}" = set; then :
2600 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
2604 # Check whether --with-gphoto was given.
2605 if test "${with_gphoto+set}" = set; then :
2606 withval
=$with_gphoto;
2610 # Check whether --with-glu was given.
2611 if test "${with_glu+set}" = set; then :
2612 withval
=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h
=no
; fi
2616 # Check whether --with-gnutls was given.
2617 if test "${with_gnutls+set}" = set; then :
2618 withval
=$with_gnutls;
2622 # Check whether --with-gsm was given.
2623 if test "${with_gsm+set}" = set; then :
2624 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2628 # Check whether --with-gstreamer was given.
2629 if test "${with_gstreamer+set}" = set; then :
2630 withval
=$with_gstreamer;
2634 # Check whether --with-hal was given.
2635 if test "${with_hal+set}" = set; then :
2640 # Check whether --with-jpeg was given.
2641 if test "${with_jpeg+set}" = set; then :
2642 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2646 # Check whether --with-ldap was given.
2647 if test "${with_ldap+set}" = set; then :
2648 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2652 # Check whether --with-mpg123 was given.
2653 if test "${with_mpg123+set}" = set; then :
2654 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2658 # Check whether --with-openal was given.
2659 if test "${with_openal+set}" = set; then :
2660 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2664 # Check whether --with-opencl was given.
2665 if test "${with_opencl+set}" = set; then :
2666 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
2670 # Check whether --with-opengl was given.
2671 if test "${with_opengl+set}" = set; then :
2672 withval
=$with_opengl;
2676 # Check whether --with-openssl was given.
2677 if test "${with_openssl+set}" = set; then :
2678 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2682 # Check whether --with-oss was given.
2683 if test "${with_oss+set}" = set; then :
2688 # Check whether --with-png was given.
2689 if test "${with_png+set}" = set; then :
2690 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2694 # Check whether --with-pthread was given.
2695 if test "${with_pthread+set}" = set; then :
2696 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2700 # Check whether --with-sane was given.
2701 if test "${with_sane+set}" = set; then :
2706 # Check whether --with-tiff was given.
2707 if test "${with_tiff+set}" = set; then :
2708 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2712 # Check whether --with-v4l was given.
2713 if test "${with_v4l+set}" = set; then :
2718 # Check whether --with-xcomposite was given.
2719 if test "${with_xcomposite+set}" = set; then :
2720 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2724 # Check whether --with-xcursor was given.
2725 if test "${with_xcursor+set}" = set; then :
2726 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2730 # Check whether --with-xinerama was given.
2731 if test "${with_xinerama+set}" = set; then :
2732 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2736 # Check whether --with-xinput was given.
2737 if test "${with_xinput+set}" = set; then :
2738 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2742 # Check whether --with-xinput2 was given.
2743 if test "${with_xinput2+set}" = set; then :
2744 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
2748 # Check whether --with-xml was given.
2749 if test "${with_xml+set}" = set; then :
2754 # Check whether --with-xrandr was given.
2755 if test "${with_xrandr+set}" = set; then :
2756 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2760 # Check whether --with-xrender was given.
2761 if test "${with_xrender+set}" = set; then :
2762 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2766 # Check whether --with-xshape was given.
2767 if test "${with_xshape+set}" = set; then :
2768 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2772 # Check whether --with-xslt was given.
2773 if test "${with_xslt+set}" = set; then :
2778 # Check whether --with-xxf86vm was given.
2779 if test "${with_xxf86vm+set}" = set; then :
2780 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
2784 # Check whether --with-zlib was given.
2785 if test "${with_zlib+set}" = set; then :
2786 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
2791 # Check whether --with-wine-tools was given.
2792 if test "${with_wine_tools+set}" = set; then :
2793 withval
=$with_wine_tools;
2797 # Check whether --with-wine64 was given.
2798 if test "${with_wine64+set}" = set; then :
2799 withval
=$with_wine64;
2803 # Make sure we can run config.sub.
2804 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2805 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2808 $as_echo_n "checking build system type... " >&6; }
2809 if ${ac_cv_build+:} false
; then :
2810 $as_echo_n "(cached) " >&6
2812 ac_build_alias
=$build_alias
2813 test "x$ac_build_alias" = x
&&
2814 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2815 test "x$ac_build_alias" = x
&&
2816 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2817 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2818 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2822 $as_echo "$ac_cv_build" >&6; }
2823 case $ac_cv_build in
2825 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2828 ac_save_IFS
=$IFS; IFS
='-'
2834 # Remember, the first character of IFS is used to create $*,
2835 # except with old shells:
2838 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2842 $as_echo_n "checking host system type... " >&6; }
2843 if ${ac_cv_host+:} false
; then :
2844 $as_echo_n "(cached) " >&6
2846 if test "x$host_alias" = x
; then
2847 ac_cv_host
=$ac_cv_build
2849 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2850 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2855 $as_echo "$ac_cv_host" >&6; }
2858 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2861 ac_save_IFS
=$IFS; IFS
='-'
2867 # Remember, the first character of IFS is used to create $*,
2868 # except with old shells:
2871 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2877 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2878 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2879 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2885 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2887 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2888 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2889 $as_echo_n "(cached) " >&6
2891 cat >conftest.
make <<\_ACEOF
2894 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2896 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2897 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2899 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2901 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2905 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2907 $as_echo "yes" >&6; }
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911 $as_echo "no" >&6; }
2912 SET_MAKE
="MAKE=${MAKE-make}"
2916 ac_cpp
='$CPP $CPPFLAGS'
2917 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2918 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2919 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2920 if test -n "$ac_tool_prefix"; then
2921 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2922 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2924 $as_echo_n "checking for $ac_word... " >&6; }
2925 if ${ac_cv_prog_CC+:} false
; then :
2926 $as_echo_n "(cached) " >&6
2928 if test -n "$CC"; then
2929 ac_cv_prog_CC
="$CC" # Let the user override the test.
2931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2935 test -z "$as_dir" && as_dir
=.
2936 for ac_exec_ext
in '' $ac_executable_extensions; do
2937 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2938 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2949 if test -n "$CC"; then
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2951 $as_echo "$CC" >&6; }
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2954 $as_echo "no" >&6; }
2959 if test -z "$ac_cv_prog_CC"; then
2961 # Extract the first word of "gcc", so it can be a program name with args.
2962 set dummy gcc
; ac_word
=$2
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2964 $as_echo_n "checking for $ac_word... " >&6; }
2965 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2966 $as_echo_n "(cached) " >&6
2968 if test -n "$ac_ct_CC"; then
2969 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2975 test -z "$as_dir" && as_dir
=.
2976 for ac_exec_ext
in '' $ac_executable_extensions; do
2977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2978 ac_cv_prog_ac_ct_CC
="gcc"
2979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2989 if test -n "$ac_ct_CC"; then
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2991 $as_echo "$ac_ct_CC" >&6; }
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2994 $as_echo "no" >&6; }
2997 if test "x$ac_ct_CC" = x
; then
3000 case $cross_compiling:$ac_tool_warned in
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3004 ac_tool_warned
=yes ;;
3012 if test -z "$CC"; then
3013 if test -n "$ac_tool_prefix"; then
3014 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3015 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3017 $as_echo_n "checking for $ac_word... " >&6; }
3018 if ${ac_cv_prog_CC+:} false
; then :
3019 $as_echo_n "(cached) " >&6
3021 if test -n "$CC"; then
3022 ac_cv_prog_CC
="$CC" # Let the user override the test.
3024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3028 test -z "$as_dir" && as_dir
=.
3029 for ac_exec_ext
in '' $ac_executable_extensions; do
3030 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3031 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3042 if test -n "$CC"; then
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3044 $as_echo "$CC" >&6; }
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3047 $as_echo "no" >&6; }
3053 if test -z "$CC"; then
3054 # Extract the first word of "cc", so it can be a program name with args.
3055 set dummy cc
; ac_word
=$2
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3057 $as_echo_n "checking for $ac_word... " >&6; }
3058 if ${ac_cv_prog_CC+:} false
; then :
3059 $as_echo_n "(cached) " >&6
3061 if test -n "$CC"; then
3062 ac_cv_prog_CC
="$CC" # Let the user override the test.
3065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3069 test -z "$as_dir" && as_dir
=.
3070 for ac_exec_ext
in '' $ac_executable_extensions; do
3071 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3072 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3073 ac_prog_rejected
=yes
3077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3084 if test $ac_prog_rejected = yes; then
3085 # We found a bogon in the path, so make sure we never use it.
3086 set dummy
$ac_cv_prog_CC
3088 if test $# != 0; then
3089 # We chose a different compiler from the bogus one.
3090 # However, it has the same basename, so the bogon will be chosen
3091 # first if we set CC to just the basename; use the full file name.
3093 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3099 if test -n "$CC"; then
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3101 $as_echo "$CC" >&6; }
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3104 $as_echo "no" >&6; }
3109 if test -z "$CC"; then
3110 if test -n "$ac_tool_prefix"; then
3111 for ac_prog
in cl.exe
3113 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3114 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3116 $as_echo_n "checking for $ac_word... " >&6; }
3117 if ${ac_cv_prog_CC+:} false
; then :
3118 $as_echo_n "(cached) " >&6
3120 if test -n "$CC"; then
3121 ac_cv_prog_CC
="$CC" # Let the user override the test.
3123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3127 test -z "$as_dir" && as_dir
=.
3128 for ac_exec_ext
in '' $ac_executable_extensions; do
3129 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3130 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3141 if test -n "$CC"; then
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3143 $as_echo "$CC" >&6; }
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3146 $as_echo "no" >&6; }
3150 test -n "$CC" && break
3153 if test -z "$CC"; then
3155 for ac_prog
in cl.exe
3157 # Extract the first word of "$ac_prog", so it can be a program name with args.
3158 set dummy
$ac_prog; ac_word
=$2
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3160 $as_echo_n "checking for $ac_word... " >&6; }
3161 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3162 $as_echo_n "(cached) " >&6
3164 if test -n "$ac_ct_CC"; then
3165 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3171 test -z "$as_dir" && as_dir
=.
3172 for ac_exec_ext
in '' $ac_executable_extensions; do
3173 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3174 ac_cv_prog_ac_ct_CC
="$ac_prog"
3175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3184 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3185 if test -n "$ac_ct_CC"; then
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3187 $as_echo "$ac_ct_CC" >&6; }
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3194 test -n "$ac_ct_CC" && break
3197 if test "x$ac_ct_CC" = x
; then
3200 case $cross_compiling:$ac_tool_warned in
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3204 ac_tool_warned
=yes ;;
3213 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3215 as_fn_error $?
"no acceptable C compiler found in \$PATH
3216 See \`config.log' for more details" "$LINENO" 5; }
3218 # Provide some information about the compiler.
3219 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3222 for ac_option
in --version -v -V -qversion; do
3223 { { ac_try
="$ac_compiler $ac_option >&5"
3225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3226 *) ac_try_echo=$ac_try;;
3228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3229 $as_echo "$ac_try_echo"; } >&5
3230 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3232 if test -s conftest.err; then
3234 ... rest of stderr output deleted ...
3235 10q' conftest.err >conftest.er1
3236 cat conftest.er1 >&5
3238 rm -f conftest.er1 conftest.err
3239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3240 test $ac_status = 0; }
3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3244 /* end confdefs.h. */
3254 ac_clean_files_save=$ac_clean_files
3255 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3256 # Try to create an executable without -o first, disregard a.out.
3257 # It will help us diagnose broken compilers, and finding out an intuition
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3260 $as_echo_n "checking whether the C compiler works... " >&6; }
3261 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3263 # The possible output files:
3264 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3267 for ac_file in $ac_files
3270 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3271 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3276 if { { ac_try="$ac_link_default"
3278 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3279 *) ac_try_echo
=$ac_try;;
3281 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3282 $as_echo "$ac_try_echo"; } >&5
3283 (eval "$ac_link_default") 2>&5
3285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3286 test $ac_status = 0; }; then :
3287 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3288 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3289 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3290 # so that the user can short-circuit this test for compilers unknown to
3292 for ac_file
in $ac_files ''
3294 test -f "$ac_file" ||
continue
3296 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3299 # We found the default executable, but exeext='' is most
3303 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3305 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3307 # We set ac_cv_exeext here because the later test for it is not
3308 # safe: cross compilers may not add the suffix if given an `-o'
3309 # argument, so we may need to know it at that point already.
3310 # Even if this section looks crufty: it has the advantage of
3317 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3322 if test -z "$ac_file"; then :
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3324 $as_echo "no" >&6; }
3325 $as_echo "$as_me: failed program was:" >&5
3326 sed 's/^/| /' conftest.
$ac_ext >&5
3328 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3330 as_fn_error
77 "C compiler cannot create executables
3331 See \`config.log' for more details" "$LINENO" 5; }
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3334 $as_echo "yes" >&6; }
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3337 $as_echo_n "checking for C compiler default output file name... " >&6; }
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3339 $as_echo "$ac_file" >&6; }
3340 ac_exeext
=$ac_cv_exeext
3342 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3343 ac_clean_files
=$ac_clean_files_save
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3345 $as_echo_n "checking for suffix of executables... " >&6; }
3346 if { { ac_try
="$ac_link"
3348 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3349 *) ac_try_echo=$ac_try;;
3351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3352 $as_echo "$ac_try_echo"; } >&5
3353 (eval "$ac_link") 2>&5
3355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3356 test $ac_status = 0; }; then :
3357 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3358 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3359 # work properly (i.e., refer to `conftest.exe'), while it won't with
3361 for ac_file
in conftest.exe conftest conftest.
*; do
3362 test -f "$ac_file" ||
continue
3364 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3365 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3371 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3373 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3374 See \`config.log' for more details" "$LINENO" 5; }
3376 rm -f conftest conftest
$ac_cv_exeext
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3378 $as_echo "$ac_cv_exeext" >&6; }
3380 rm -f conftest.
$ac_ext
3381 EXEEXT
=$ac_cv_exeext
3383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3389 FILE *f = fopen ("conftest.out", "w");
3390 return ferror (f) || fclose (f) != 0;
3396 ac_clean_files
="$ac_clean_files conftest.out"
3397 # Check that the compiler produces executables we can run. If not, either
3398 # the compiler is broken, or we cross compile.
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3400 $as_echo_n "checking whether we are cross compiling... " >&6; }
3401 if test "$cross_compiling" != yes; then
3402 { { ac_try
="$ac_link"
3404 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3405 *) ac_try_echo=$ac_try;;
3407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3408 $as_echo "$ac_try_echo"; } >&5
3409 (eval "$ac_link") 2>&5
3411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3412 test $ac_status = 0; }
3413 if { ac_try='./conftest$ac_cv_exeext'
3414 { { case "(($ac_try" in
3415 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3416 *) ac_try_echo
=$ac_try;;
3418 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3419 $as_echo "$ac_try_echo"; } >&5
3420 (eval "$ac_try") 2>&5
3422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3423 test $ac_status = 0; }; }; then
3426 if test "$cross_compiling" = maybe
; then
3429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3431 as_fn_error $?
"cannot run C compiled programs.
3432 If you meant to cross compile, use \`--host'.
3433 See \`config.log' for more details" "$LINENO" 5; }
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3438 $as_echo "$cross_compiling" >&6; }
3440 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3441 ac_clean_files
=$ac_clean_files_save
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3443 $as_echo_n "checking for suffix of object files... " >&6; }
3444 if ${ac_cv_objext+:} false
; then :
3445 $as_echo_n "(cached) " >&6
3447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3448 /* end confdefs.h. */
3458 rm -f conftest.o conftest.obj
3459 if { { ac_try
="$ac_compile"
3461 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3462 *) ac_try_echo=$ac_try;;
3464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3465 $as_echo "$ac_try_echo"; } >&5
3466 (eval "$ac_compile") 2>&5
3468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3469 test $ac_status = 0; }; then :
3470 for ac_file in conftest.o conftest.obj conftest.*; do
3471 test -f "$ac_file" || continue;
3473 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3474 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3479 $as_echo "$as_me: failed program was:" >&5
3480 sed 's/^/| /' conftest.$ac_ext >&5
3482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3484 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3485 See \
`config.log' for more details" "$LINENO" 5; }
3487 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3490 $as_echo "$ac_cv_objext" >&6; }
3491 OBJEXT=$ac_cv_objext
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3494 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3495 if ${ac_cv_c_compiler_gnu+:} false; then :
3496 $as_echo_n "(cached) " >&6
3498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3499 /* end confdefs.h. */
3512 if ac_fn_c_try_compile "$LINENO"; then :
3517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3518 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3522 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3523 if test $ac_compiler_gnu = yes; then
3528 ac_test_CFLAGS=${CFLAGS+set}
3529 ac_save_CFLAGS=$CFLAGS
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3531 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3532 if ${ac_cv_prog_cc_g+:} false; then :
3533 $as_echo_n "(cached) " >&6
3535 ac_save_c_werror_flag=$ac_c_werror_flag
3536 ac_c_werror_flag=yes
3539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3540 /* end confdefs.h. */
3550 if ac_fn_c_try_compile "$LINENO"; then :
3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3565 if ac_fn_c_try_compile "$LINENO"; then :
3568 ac_c_werror_flag=$ac_save_c_werror_flag
3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h. */
3581 if ac_fn_c_try_compile "$LINENO"; then :
3584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3589 ac_c_werror_flag=$ac_save_c_werror_flag
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3592 $as_echo "$ac_cv_prog_cc_g" >&6; }
3593 if test "$ac_test_CFLAGS" = set; then
3594 CFLAGS=$ac_save_CFLAGS
3595 elif test $ac_cv_prog_cc_g = yes; then
3596 if test "$GCC" = yes; then
3602 if test "$GCC" = yes; then
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3609 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3610 if ${ac_cv_prog_cc_c89+:} false; then :
3611 $as_echo_n "(cached) " >&6
3613 ac_cv_prog_cc_c89=no
3615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3616 /* end confdefs.h. */
3620 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3621 struct buf { int x; };
3622 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3623 static char *e (p, i)
3629 static char *f (char * (*g) (char **, int), char **p, ...)
3634 s = g (p, va_arg (v,int));
3639 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3640 function prototypes and stuff, but not '\xHH' hex character constants.
3641 These don't provoke an error unfortunately, instead are silently treated
3642 as 'x'. The following induces an error, until -std is added to get
3643 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3644 array size at least. It's necessary to write '\x00'==0 to get something
3645 that's true only with -std. */
3646 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3648 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3649 inside strings and character constants. */
3651 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3653 int test (int i, double x);
3654 struct s1 {int (*f) (int a);};
3655 struct s2 {int (*f) (double a);};
3656 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3662 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3667 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3668 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3670 CC="$ac_save_CC $ac_arg"
3671 if ac_fn_c_try_compile "$LINENO"; then :
3672 ac_cv_prog_cc_c89=$ac_arg
3674 rm -f core conftest.err conftest.$ac_objext
3675 test "x$ac_cv_prog_cc_c89" != "xno" && break
3677 rm -f conftest.$ac_ext
3682 case "x$ac_cv_prog_cc_c89" in
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3685 $as_echo "none needed" >&6; } ;;
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3688 $as_echo "unsupported" >&6; } ;;
3690 CC="$CC $ac_cv_prog_cc_c89"
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3692 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3694 if test "x$ac_cv_prog_cc_c89" != xno; then :
3699 ac_cpp='$CPP $CPPFLAGS'
3700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3705 ac_cpp='$CXXCPP $CPPFLAGS'
3706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3709 if test -z "$CXX"; then
3710 if test -n "$CCC"; then
3713 if test -n "$ac_tool_prefix"; then
3714 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3716 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3717 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3719 $as_echo_n "checking for $ac_word... " >&6; }
3720 if ${ac_cv_prog_CXX+:} false; then :
3721 $as_echo_n "(cached) " >&6
3723 if test -n "$CXX"; then
3724 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3730 test -z "$as_dir" && as_dir=.
3731 for ac_exec_ext in '' $ac_executable_extensions; do
3732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3733 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 if test -n "$CXX"; then
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3746 $as_echo "$CXX" >&6; }
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3749 $as_echo "no" >&6; }
3753 test -n "$CXX" && break
3756 if test -z "$CXX"; then
3758 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3760 # Extract the first word of "$ac_prog", so it can be a program name with args.
3761 set dummy $ac_prog; ac_word=$2
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3763 $as_echo_n "checking for $ac_word... " >&6; }
3764 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3765 $as_echo_n "(cached) " >&6
3767 if test -n "$ac_ct_CXX"; then
3768 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3774 test -z "$as_dir" && as_dir=.
3775 for ac_exec_ext in '' $ac_executable_extensions; do
3776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3777 ac_cv_prog_ac_ct_CXX="$ac_prog"
3778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3787 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3788 if test -n "$ac_ct_CXX"; then
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3790 $as_echo "$ac_ct_CXX" >&6; }
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3793 $as_echo "no" >&6; }
3797 test -n "$ac_ct_CXX" && break
3800 if test "x$ac_ct_CXX" = x; then
3803 case $cross_compiling:$ac_tool_warned in
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3807 ac_tool_warned=yes ;;
3815 # Provide some information about the compiler.
3816 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3819 for ac_option in --version -v -V -qversion; do
3820 { { ac_try="$ac_compiler $ac_option >&5"
3822 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3823 *) ac_try_echo
=$ac_try;;
3825 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3826 $as_echo "$ac_try_echo"; } >&5
3827 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3829 if test -s conftest.err
; then
3831 ... rest of stderr output deleted ...
3832 10q' conftest.err
>conftest.er1
3833 cat conftest.er1
>&5
3835 rm -f conftest.er1 conftest.err
3836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3837 test $ac_status = 0; }
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3841 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3842 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3843 $as_echo_n "(cached) " >&6
3845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3846 /* end confdefs.h. */
3859 if ac_fn_cxx_try_compile
"$LINENO"; then :
3864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3865 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3869 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3870 if test $ac_compiler_gnu = yes; then
3875 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3876 ac_save_CXXFLAGS
=$CXXFLAGS
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3878 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3879 if ${ac_cv_prog_cxx_g+:} false
; then :
3880 $as_echo_n "(cached) " >&6
3882 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3883 ac_cxx_werror_flag
=yes
3886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3897 if ac_fn_cxx_try_compile
"$LINENO"; then :
3898 ac_cv_prog_cxx_g
=yes
3901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h. */
3912 if ac_fn_cxx_try_compile
"$LINENO"; then :
3915 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3928 if ac_fn_cxx_try_compile
"$LINENO"; then :
3929 ac_cv_prog_cxx_g
=yes
3931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3936 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3939 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3940 if test "$ac_test_CXXFLAGS" = set; then
3941 CXXFLAGS
=$ac_save_CXXFLAGS
3942 elif test $ac_cv_prog_cxx_g = yes; then
3943 if test "$GXX" = yes; then
3949 if test "$GXX" = yes; then
3956 ac_cpp
='$CPP $CPPFLAGS'
3957 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3958 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3959 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3961 if test -n "$ac_tool_prefix"; then
3962 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3963 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3965 $as_echo_n "checking for $ac_word... " >&6; }
3966 if ${ac_cv_prog_CPPBIN+:} false
; then :
3967 $as_echo_n "(cached) " >&6
3969 if test -n "$CPPBIN"; then
3970 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
3972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3976 test -z "$as_dir" && as_dir
=.
3977 for ac_exec_ext
in '' $ac_executable_extensions; do
3978 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3979 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
3980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3989 CPPBIN
=$ac_cv_prog_CPPBIN
3990 if test -n "$CPPBIN"; then
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
3992 $as_echo "$CPPBIN" >&6; }
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3995 $as_echo "no" >&6; }
4000 if test -z "$ac_cv_prog_CPPBIN"; then
4001 ac_ct_CPPBIN
=$CPPBIN
4002 # Extract the first word of "cpp", so it can be a program name with args.
4003 set dummy cpp
; ac_word
=$2
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4005 $as_echo_n "checking for $ac_word... " >&6; }
4006 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4007 $as_echo_n "(cached) " >&6
4009 if test -n "$ac_ct_CPPBIN"; then
4010 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4016 test -z "$as_dir" && as_dir
=.
4017 for ac_exec_ext
in '' $ac_executable_extensions; do
4018 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4019 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4029 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4030 if test -n "$ac_ct_CPPBIN"; then
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4032 $as_echo "$ac_ct_CPPBIN" >&6; }
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4035 $as_echo "no" >&6; }
4038 if test "x$ac_ct_CPPBIN" = x
; then
4041 case $cross_compiling:$ac_tool_warned in
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4045 ac_tool_warned
=yes ;;
4047 CPPBIN
=$ac_ct_CPPBIN
4050 CPPBIN
="$ac_cv_prog_CPPBIN"
4054 cat >>confdefs.h
<<_ACEOF
4055 #define EXEEXT "$ac_exeext"
4061 if test "x$enable_win64" = "xyes"
4066 notice_platform
="64-bit "
4073 notice_platform
="32-bit "
4076 enable_win16
=${enable_win16:-yes}
4078 with_fontconfig
=${with_fontconfig:-no}
4081 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4086 $as_echo_n "checking whether $CC works... " >&6; }
4088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4099 if ac_fn_c_try_link
"$LINENO"; then :
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4101 $as_echo "yes" >&6; }
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4104 $as_echo "no" >&6; }
4105 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4107 rm -f core conftest.err conftest.
$ac_objext \
4108 conftest
$ac_exeext conftest.
$ac_ext
4110 notice_platform
="32-bit "
4113 enable_win16
=${enable_win16:-yes}
4115 if test "x${GCC}" = "xyes"
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4118 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4120 /* end confdefs.h. */
4125 void func(__builtin_ms_va_list *args);
4130 if ac_fn_c_try_compile
"$LINENO"; then :
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4132 $as_echo "yes" >&6; }
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4135 $as_echo "no" >&6; }
4136 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4146 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4148 /* end confdefs.h. */
4149 int ac_test(int i) { return i; }
4153 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4158 if ac_fn_c_try_link
"$LINENO"; then :
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4160 $as_echo "yes" >&6; }
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4163 $as_echo "no" >&6; }
4164 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4166 rm -f core conftest.err conftest.
$ac_objext \
4167 conftest
$ac_exeext conftest.
$ac_ext
4168 CFLAGS
="$CFLAGS -marm"
4170 *-mingw32*|
*-cygwin*)
4171 enable_win16
=${enable_win16:-no}
4172 CFLAGS
="$CFLAGS -D_WIN32"
4175 enable_win16
=${enable_win16:-yes}
4179 enable_win16
=${enable_win16:-no}
4180 enable_win64
=${enable_win64:-no}
4182 enable_winetest
=${enable_winetest:-$enable_tests}
4184 if test -n "$with_wine64"
4186 if test "x$enable_win64" = "xyes"
4188 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4189 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4193 enable_fonts
=${enable_fonts:-no}
4194 enable_server
=${enable_server:-no}
4195 enable_tools
=${enable_tools:-no}
4196 elif test "x$enable_win64" = "xyes"
4198 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4202 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4203 if ${wine_cv_toolsdir+:} false
; then :
4204 $as_echo_n "(cached) " >&6
4206 wine_cv_toolsdir
="$with_wine_tools"
4207 if test -z "$with_wine_tools"; then
4208 if test "$cross_compiling" = "yes"; then
4209 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4210 elif test -n "$with_wine64"; then
4211 wine_cv_toolsdir
="$with_wine64"
4214 if test -z "$wine_cv_toolsdir"; then
4215 wine_cv_toolsdir
="\$(top_builddir)"
4216 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4217 case "$wine_cv_toolsdir" in
4219 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4222 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4226 $as_echo "$wine_cv_toolsdir" >&6; }
4227 TOOLSDIR
=$wine_cv_toolsdir
4229 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4231 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4237 # Extract the first word of "$ac_prog", so it can be a program name with args.
4238 set dummy
$ac_prog; ac_word
=$2
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4240 $as_echo_n "checking for $ac_word... " >&6; }
4241 if ${ac_cv_prog_FLEX+:} false
; then :
4242 $as_echo_n "(cached) " >&6
4244 if test -n "$FLEX"; then
4245 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4251 test -z "$as_dir" && as_dir
=.
4252 for ac_exec_ext
in '' $ac_executable_extensions; do
4253 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4254 ac_cv_prog_FLEX
="$ac_prog"
4255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4264 FLEX
=$ac_cv_prog_FLEX
4265 if test -n "$FLEX"; then
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4267 $as_echo "$FLEX" >&6; }
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4270 $as_echo "no" >&6; }
4274 test -n "$FLEX" && break
4276 test -n "$FLEX" || FLEX
="none"
4278 if test "$FLEX" = "none"
4280 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4283 $as_echo_n "checking whether flex is recent enough... " >&6; }
4284 cat >conftest.l
<<EOF
4286 #include "prediluvian.h"
4290 if $FLEX -t conftest.l
>/dev
/null
2>&5
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4293 $as_echo "yes" >&6; }
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4296 $as_echo "no" >&6; }
4297 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4300 for ac_prog
in bison
4302 # Extract the first word of "$ac_prog", so it can be a program name with args.
4303 set dummy
$ac_prog; ac_word
=$2
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4305 $as_echo_n "checking for $ac_word... " >&6; }
4306 if ${ac_cv_prog_BISON+:} false
; then :
4307 $as_echo_n "(cached) " >&6
4309 if test -n "$BISON"; then
4310 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4316 test -z "$as_dir" && as_dir
=.
4317 for ac_exec_ext
in '' $ac_executable_extensions; do
4318 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4319 ac_cv_prog_BISON
="$ac_prog"
4320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 BISON
=$ac_cv_prog_BISON
4330 if test -n "$BISON"; then
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4332 $as_echo "$BISON" >&6; }
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4335 $as_echo "no" >&6; }
4339 test -n "$BISON" && break
4341 test -n "$BISON" || BISON
="none"
4343 if test "$BISON" = "none"
4345 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4348 if test -n "$ac_tool_prefix"; then
4349 for ac_prog
in ar gar
4351 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4352 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354 $as_echo_n "checking for $ac_word... " >&6; }
4355 if ${ac_cv_prog_AR+:} false
; then :
4356 $as_echo_n "(cached) " >&6
4358 if test -n "$AR"; then
4359 ac_cv_prog_AR
="$AR" # Let the user override the test.
4361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4365 test -z "$as_dir" && as_dir
=.
4366 for ac_exec_ext
in '' $ac_executable_extensions; do
4367 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4368 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4379 if test -n "$AR"; then
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4381 $as_echo "$AR" >&6; }
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4384 $as_echo "no" >&6; }
4388 test -n "$AR" && break
4391 if test -z "$AR"; then
4393 for ac_prog
in ar gar
4395 # Extract the first word of "$ac_prog", so it can be a program name with args.
4396 set dummy
$ac_prog; ac_word
=$2
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4398 $as_echo_n "checking for $ac_word... " >&6; }
4399 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4400 $as_echo_n "(cached) " >&6
4402 if test -n "$ac_ct_AR"; then
4403 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4409 test -z "$as_dir" && as_dir
=.
4410 for ac_exec_ext
in '' $ac_executable_extensions; do
4411 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4412 ac_cv_prog_ac_ct_AR
="$ac_prog"
4413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4422 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4423 if test -n "$ac_ct_AR"; then
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4425 $as_echo "$ac_ct_AR" >&6; }
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4428 $as_echo "no" >&6; }
4432 test -n "$ac_ct_AR" && break
4435 if test "x$ac_ct_AR" = x
; then
4438 case $cross_compiling:$ac_tool_warned in
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4442 ac_tool_warned
=yes ;;
4450 if test -n "$ac_tool_prefix"; then
4451 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4452 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4454 $as_echo_n "checking for $ac_word... " >&6; }
4455 if ${ac_cv_prog_RANLIB+:} false
; then :
4456 $as_echo_n "(cached) " >&6
4458 if test -n "$RANLIB"; then
4459 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4465 test -z "$as_dir" && as_dir
=.
4466 for ac_exec_ext
in '' $ac_executable_extensions; do
4467 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4468 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4478 RANLIB
=$ac_cv_prog_RANLIB
4479 if test -n "$RANLIB"; then
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4481 $as_echo "$RANLIB" >&6; }
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4484 $as_echo "no" >&6; }
4489 if test -z "$ac_cv_prog_RANLIB"; then
4490 ac_ct_RANLIB
=$RANLIB
4491 # Extract the first word of "ranlib", so it can be a program name with args.
4492 set dummy ranlib
; ac_word
=$2
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4494 $as_echo_n "checking for $ac_word... " >&6; }
4495 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4496 $as_echo_n "(cached) " >&6
4498 if test -n "$ac_ct_RANLIB"; then
4499 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4505 test -z "$as_dir" && as_dir
=.
4506 for ac_exec_ext
in '' $ac_executable_extensions; do
4507 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4508 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4518 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4519 if test -n "$ac_ct_RANLIB"; then
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4521 $as_echo "$ac_ct_RANLIB" >&6; }
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4524 $as_echo "no" >&6; }
4527 if test "x$ac_ct_RANLIB" = x
; then
4530 case $cross_compiling:$ac_tool_warned in
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4534 ac_tool_warned
=yes ;;
4536 RANLIB
=$ac_ct_RANLIB
4539 RANLIB
="$ac_cv_prog_RANLIB"
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4543 $as_echo_n "checking whether ln -s works... " >&6; }
4545 if test "$LN_S" = "ln -s"; then
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4547 $as_echo "yes" >&6; }
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4550 $as_echo "no, using $LN_S" >&6; }
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4554 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4555 if ${ac_cv_path_GREP+:} false
; then :
4556 $as_echo_n "(cached) " >&6
4558 if test -z "$GREP"; then
4559 ac_path_GREP_found
=false
4560 # Loop through the user's path and test for each of PROGNAME-LIST
4561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4562 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4565 test -z "$as_dir" && as_dir
=.
4566 for ac_prog
in grep ggrep
; do
4567 for ac_exec_ext
in '' $ac_executable_extensions; do
4568 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4569 as_fn_executable_p
"$ac_path_GREP" ||
continue
4570 # Check for GNU ac_path_GREP and select it if it is found.
4571 # Check for GNU $ac_path_GREP
4572 case `"$ac_path_GREP" --version 2>&1` in
4574 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4577 $as_echo_n 0123456789 >"conftest.in"
4580 cat "conftest.in" "conftest.in" >"conftest.tmp"
4581 mv "conftest.tmp" "conftest.in"
4582 cp "conftest.in" "conftest.nl"
4583 $as_echo 'GREP' >> "conftest.nl"
4584 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4585 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4586 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4587 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4588 # Best one so far, save it but keep looking for a better one
4589 ac_cv_path_GREP
="$ac_path_GREP"
4590 ac_path_GREP_max
=$ac_count
4592 # 10*(2^10) chars as input seems more than enough
4593 test $ac_count -gt 10 && break
4595 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4598 $ac_path_GREP_found && break 3
4603 if test -z "$ac_cv_path_GREP"; then
4604 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4607 ac_cv_path_GREP
=$GREP
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4612 $as_echo "$ac_cv_path_GREP" >&6; }
4613 GREP
="$ac_cv_path_GREP"
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4617 $as_echo_n "checking for egrep... " >&6; }
4618 if ${ac_cv_path_EGREP+:} false
; then :
4619 $as_echo_n "(cached) " >&6
4621 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4622 then ac_cv_path_EGREP
="$GREP -E"
4624 if test -z "$EGREP"; then
4625 ac_path_EGREP_found
=false
4626 # Loop through the user's path and test for each of PROGNAME-LIST
4627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4628 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4631 test -z "$as_dir" && as_dir
=.
4632 for ac_prog
in egrep; do
4633 for ac_exec_ext
in '' $ac_executable_extensions; do
4634 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4635 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4636 # Check for GNU ac_path_EGREP and select it if it is found.
4637 # Check for GNU $ac_path_EGREP
4638 case `"$ac_path_EGREP" --version 2>&1` in
4640 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4643 $as_echo_n 0123456789 >"conftest.in"
4646 cat "conftest.in" "conftest.in" >"conftest.tmp"
4647 mv "conftest.tmp" "conftest.in"
4648 cp "conftest.in" "conftest.nl"
4649 $as_echo 'EGREP' >> "conftest.nl"
4650 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4651 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4652 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4653 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4654 # Best one so far, save it but keep looking for a better one
4655 ac_cv_path_EGREP
="$ac_path_EGREP"
4656 ac_path_EGREP_max
=$ac_count
4658 # 10*(2^10) chars as input seems more than enough
4659 test $ac_count -gt 10 && break
4661 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4664 $ac_path_EGREP_found && break 3
4669 if test -z "$ac_cv_path_EGREP"; then
4670 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4673 ac_cv_path_EGREP
=$EGREP
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4679 $as_echo "$ac_cv_path_EGREP" >&6; }
4680 EGREP
="$ac_cv_path_EGREP"
4683 # Extract the first word of "ldconfig", so it can be a program name with args.
4684 set dummy ldconfig
; ac_word
=$2
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4686 $as_echo_n "checking for $ac_word... " >&6; }
4687 if ${ac_cv_path_LDCONFIG+:} false
; then :
4688 $as_echo_n "(cached) " >&6
4692 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4696 for as_dir
in /sbin
/usr
/sbin
$PATH
4699 test -z "$as_dir" && as_dir
=.
4700 for ac_exec_ext
in '' $ac_executable_extensions; do
4701 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4702 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4710 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4714 LDCONFIG
=$ac_cv_path_LDCONFIG
4715 if test -n "$LDCONFIG"; then
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4717 $as_echo "$LDCONFIG" >&6; }
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4720 $as_echo "no" >&6; }
4724 # Find a good install program. We prefer a C program (faster),
4725 # so one script is as good as another. But avoid the broken or
4726 # incompatible versions:
4727 # SysV /etc/install, /usr/sbin/install
4728 # SunOS /usr/etc/install
4729 # IRIX /sbin/install
4731 # AmigaOS /C/install, which installs bootblocks on floppy discs
4732 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4733 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4734 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4735 # OS/2's system install, which has a completely different semantic
4736 # ./install, which can be erroneously created by make from ./install.sh.
4737 # Reject install programs that cannot install multiple files.
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4739 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4740 if test -z "$INSTALL"; then
4741 if ${ac_cv_path_install+:} false
; then :
4742 $as_echo_n "(cached) " >&6
4744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4748 test -z "$as_dir" && as_dir
=.
4749 # Account for people who put trailing slashes in PATH elements.
4750 case $as_dir/ in #((
4751 .
/ | .
// |
/[cC
]/* | \
4752 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4753 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4756 # OSF1 and SCO ODT 3.0 have their own names for install.
4757 # Don't use installbsd from OSF since it installs stuff as root
4759 for ac_prog
in ginstall scoinst
install; do
4760 for ac_exec_ext
in '' $ac_executable_extensions; do
4761 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4762 if test $ac_prog = install &&
4763 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4764 # AIX install. It has an incompatible calling convention.
4766 elif test $ac_prog = install &&
4767 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4768 # program-specific install script used by HP pwplus--don't use.
4771 rm -rf conftest.one conftest.two conftest.dir
4772 echo one
> conftest.one
4773 echo two
> conftest.two
4775 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4776 test -s conftest.one
&& test -s conftest.two
&&
4777 test -s conftest.dir
/conftest.one
&&
4778 test -s conftest.dir
/conftest.two
4780 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4793 rm -rf conftest.one conftest.two conftest.dir
4796 if test "${ac_cv_path_install+set}" = set; then
4797 INSTALL
=$ac_cv_path_install
4799 # As a last resort, use the slow shell script. Don't cache a
4800 # value for INSTALL within a source directory, because that will
4801 # break other packages using the cache if that directory is
4802 # removed, or if the value is a relative name.
4803 INSTALL
=$ac_install_sh
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4807 $as_echo "$INSTALL" >&6; }
4809 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4810 # It thinks the first close brace ends the variable substitution.
4811 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4813 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4815 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4818 [\\/$
]* | ?
:[\\/]* ) ;;
4819 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4822 for ac_prog
in lclint lint
4824 # Extract the first word of "$ac_prog", so it can be a program name with args.
4825 set dummy
$ac_prog; ac_word
=$2
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4827 $as_echo_n "checking for $ac_word... " >&6; }
4828 if ${ac_cv_prog_LINT+:} false
; then :
4829 $as_echo_n "(cached) " >&6
4831 if test -n "$LINT"; then
4832 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4838 test -z "$as_dir" && as_dir
=.
4839 for ac_exec_ext
in '' $ac_executable_extensions; do
4840 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4841 ac_cv_prog_LINT
="$ac_prog"
4842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4851 LINT
=$ac_cv_prog_LINT
4852 if test -n "$LINT"; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4854 $as_echo "$LINT" >&6; }
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4857 $as_echo "no" >&6; }
4861 test -n "$LINT" && break
4864 if test "$LINT" = "lint"
4866 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4870 for ac_prog
in fontforge
4872 # Extract the first word of "$ac_prog", so it can be a program name with args.
4873 set dummy
$ac_prog; ac_word
=$2
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4875 $as_echo_n "checking for $ac_word... " >&6; }
4876 if ${ac_cv_prog_FONTFORGE+:} false
; then :
4877 $as_echo_n "(cached) " >&6
4879 if test -n "$FONTFORGE"; then
4880 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4886 test -z "$as_dir" && as_dir
=.
4887 for ac_exec_ext
in '' $ac_executable_extensions; do
4888 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4889 ac_cv_prog_FONTFORGE
="$ac_prog"
4890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4899 FONTFORGE
=$ac_cv_prog_FONTFORGE
4900 if test -n "$FONTFORGE"; then
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4902 $as_echo "$FONTFORGE" >&6; }
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 $as_echo "no" >&6; }
4909 test -n "$FONTFORGE" && break
4911 test -n "$FONTFORGE" || FONTFORGE
="false"
4913 for ac_prog
in pkg-config
4915 # Extract the first word of "$ac_prog", so it can be a program name with args.
4916 set dummy
$ac_prog; ac_word
=$2
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4918 $as_echo_n "checking for $ac_word... " >&6; }
4919 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
4920 $as_echo_n "(cached) " >&6
4922 if test -n "$PKG_CONFIG"; then
4923 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
4925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4929 test -z "$as_dir" && as_dir
=.
4930 for ac_exec_ext
in '' $ac_executable_extensions; do
4931 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4932 ac_cv_prog_PKG_CONFIG
="$ac_prog"
4933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4942 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
4943 if test -n "$PKG_CONFIG"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4945 $as_echo "$PKG_CONFIG" >&6; }
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4948 $as_echo "no" >&6; }
4952 test -n "$PKG_CONFIG" && break
4954 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
4958 # Extract the first word of "$ac_prog", so it can be a program name with args.
4959 set dummy
$ac_prog; ac_word
=$2
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4961 $as_echo_n "checking for $ac_word... " >&6; }
4962 if ${ac_cv_prog_RSVG+:} false
; then :
4963 $as_echo_n "(cached) " >&6
4965 if test -n "$RSVG"; then
4966 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
4968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4972 test -z "$as_dir" && as_dir
=.
4973 for ac_exec_ext
in '' $ac_executable_extensions; do
4974 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4975 ac_cv_prog_RSVG
="$ac_prog"
4976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4985 RSVG
=$ac_cv_prog_RSVG
4986 if test -n "$RSVG"; then
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
4988 $as_echo "$RSVG" >&6; }
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4991 $as_echo "no" >&6; }
4995 test -n "$RSVG" && break
4997 test -n "$RSVG" || RSVG
="false"
4999 for ac_prog
in convert
5001 # Extract the first word of "$ac_prog", so it can be a program name with args.
5002 set dummy
$ac_prog; ac_word
=$2
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5004 $as_echo_n "checking for $ac_word... " >&6; }
5005 if ${ac_cv_prog_CONVERT+:} false
; then :
5006 $as_echo_n "(cached) " >&6
5008 if test -n "$CONVERT"; then
5009 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5015 test -z "$as_dir" && as_dir
=.
5016 for ac_exec_ext
in '' $ac_executable_extensions; do
5017 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5018 ac_cv_prog_CONVERT
="$ac_prog"
5019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5028 CONVERT
=$ac_cv_prog_CONVERT
5029 if test -n "$CONVERT"; then
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5031 $as_echo "$CONVERT" >&6; }
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5034 $as_echo "no" >&6; }
5038 test -n "$CONVERT" && break
5040 test -n "$CONVERT" || CONVERT
="false"
5042 for ac_prog
in icotool
5044 # Extract the first word of "$ac_prog", so it can be a program name with args.
5045 set dummy
$ac_prog; ac_word
=$2
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5047 $as_echo_n "checking for $ac_word... " >&6; }
5048 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5049 $as_echo_n "(cached) " >&6
5051 if test -n "$ICOTOOL"; then
5052 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5058 test -z "$as_dir" && as_dir
=.
5059 for ac_exec_ext
in '' $ac_executable_extensions; do
5060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5061 ac_cv_prog_ICOTOOL
="$ac_prog"
5062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5071 ICOTOOL
=$ac_cv_prog_ICOTOOL
5072 if test -n "$ICOTOOL"; then
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5074 $as_echo "$ICOTOOL" >&6; }
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077 $as_echo "no" >&6; }
5081 test -n "$ICOTOOL" && break
5083 test -n "$ICOTOOL" || ICOTOOL
="false"
5085 for ac_prog
in msgfmt
5087 # Extract the first word of "$ac_prog", so it can be a program name with args.
5088 set dummy
$ac_prog; ac_word
=$2
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5090 $as_echo_n "checking for $ac_word... " >&6; }
5091 if ${ac_cv_prog_MSGFMT+:} false
; then :
5092 $as_echo_n "(cached) " >&6
5094 if test -n "$MSGFMT"; then
5095 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5101 test -z "$as_dir" && as_dir
=.
5102 for ac_exec_ext
in '' $ac_executable_extensions; do
5103 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5104 ac_cv_prog_MSGFMT
="$ac_prog"
5105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5114 MSGFMT
=$ac_cv_prog_MSGFMT
5115 if test -n "$MSGFMT"; then
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5117 $as_echo "$MSGFMT" >&6; }
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120 $as_echo "no" >&6; }
5124 test -n "$MSGFMT" && break
5126 test -n "$MSGFMT" || MSGFMT
="false"
5129 if test "x$enable_maintainer_mode" != "xyes"
5134 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5135 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5137 if test "$CONVERT" = false
5139 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5142 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5143 convert_version
=`convert --version | head -n1`
5144 if test "x$convert_version" != "x"
5146 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5147 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5148 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5153 if test "$CONVERT" = false
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5156 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5157 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5160 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5164 if test "$ICOTOOL" = false
5166 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5169 $as_echo_n "checking for recent enough icotool... " >&6; }
5170 icotool_version
=`icotool --version | head -n1`
5171 if test "x$icotool_version" != "x"
5173 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5174 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5175 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5178 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5181 if test "$ICOTOOL" = false
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5184 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5185 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5188 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5194 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5197 test "x$with_gettext" != xno || MSGFMT
=false
5198 if test "$MSGFMT" != "false"
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5201 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5202 cat >conftest.po
<<EOF
5208 if $MSGFMT -o /dev
/null conftest.po
2>&5
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5211 $as_echo "yes" >&6; }
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5214 $as_echo "no" >&6; }
5218 if test "$MSGFMT" = false
; then :
5219 case "x$with_gettext" in
5220 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5222 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5223 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5229 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5230 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5231 $as_echo_n "(cached) " >&6
5233 ac_check_lib_save_LIBS
=$LIBS
5235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5236 /* end confdefs.h. */
5238 /* Override any GCC internal prototype to avoid an error.
5239 Use char because int might match the return type of a GCC
5240 builtin and then its argument prototype would still apply. */
5244 char i386_set_ldt ();
5248 return i386_set_ldt ();
5253 if ac_fn_c_try_link
"$LINENO"; then :
5254 ac_cv_lib_i386_i386_set_ldt
=yes
5256 ac_cv_lib_i386_i386_set_ldt
=no
5258 rm -f core conftest.err conftest.
$ac_objext \
5259 conftest
$ac_exeext conftest.
$ac_ext
5260 LIBS
=$ac_check_lib_save_LIBS
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5263 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5264 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5265 cat >>confdefs.h
<<_ACEOF
5266 #define HAVE_LIBI386 1
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5274 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5275 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5276 $as_echo_n "(cached) " >&6
5278 ac_check_lib_save_LIBS
=$LIBS
5279 LIBS
="-lossaudio $LIBS"
5280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5281 /* end confdefs.h. */
5283 /* Override any GCC internal prototype to avoid an error.
5284 Use char because int might match the return type of a GCC
5285 builtin and then its argument prototype would still apply. */
5293 return _oss_ioctl ();
5298 if ac_fn_c_try_link
"$LINENO"; then :
5299 ac_cv_lib_ossaudio__oss_ioctl
=yes
5301 ac_cv_lib_ossaudio__oss_ioctl
=no
5303 rm -f core conftest.err conftest.
$ac_objext \
5304 conftest
$ac_exeext conftest.
$ac_ext
5305 LIBS
=$ac_check_lib_save_LIBS
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5308 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5309 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5310 cat >>confdefs.h
<<_ACEOF
5311 #define HAVE_LIBOSSAUDIO 1
5314 LIBS
="-lossaudio $LIBS"
5325 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
5327 # Check whether --enable-largefile was given.
5328 if test "${enable_largefile+set}" = set; then :
5329 enableval
=$enable_largefile;
5332 if test "$enable_largefile" != no
; then
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5335 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5336 if ${ac_cv_sys_largefile_CC+:} false
; then :
5337 $as_echo_n "(cached) " >&6
5339 ac_cv_sys_largefile_CC
=no
5340 if test "$GCC" != yes; then
5343 # IRIX 6.2 and later do not support large files by default,
5344 # so use the C compiler's -n32 option if that helps.
5345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5346 /* end confdefs.h. */
5347 #include <sys/types.h>
5348 /* Check that off_t can represent 2**63 - 1 correctly.
5349 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5350 since some C++ compilers masquerading as C compilers
5351 incorrectly reject 9223372036854775807. */
5352 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5353 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5354 && LARGE_OFF_T % 2147483647 == 1)
5364 if ac_fn_c_try_compile
"$LINENO"; then :
5367 rm -f core conftest.err conftest.
$ac_objext
5369 if ac_fn_c_try_compile
"$LINENO"; then :
5370 ac_cv_sys_largefile_CC
=' -n32'; break
5372 rm -f core conftest.err conftest.
$ac_objext
5376 rm -f conftest.
$ac_ext
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5380 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5381 if test "$ac_cv_sys_largefile_CC" != no
; then
5382 CC
=$CC$ac_cv_sys_largefile_CC
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5386 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5387 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5388 $as_echo_n "(cached) " >&6
5391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5392 /* end confdefs.h. */
5393 #include <sys/types.h>
5394 /* Check that off_t can represent 2**63 - 1 correctly.
5395 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5396 since some C++ compilers masquerading as C compilers
5397 incorrectly reject 9223372036854775807. */
5398 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5399 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5400 && LARGE_OFF_T % 2147483647 == 1)
5410 if ac_fn_c_try_compile
"$LINENO"; then :
5411 ac_cv_sys_file_offset_bits
=no
; break
5413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5415 /* end confdefs.h. */
5416 #define _FILE_OFFSET_BITS 64
5417 #include <sys/types.h>
5418 /* Check that off_t can represent 2**63 - 1 correctly.
5419 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5420 since some C++ compilers masquerading as C compilers
5421 incorrectly reject 9223372036854775807. */
5422 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5423 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5424 && LARGE_OFF_T % 2147483647 == 1)
5434 if ac_fn_c_try_compile
"$LINENO"; then :
5435 ac_cv_sys_file_offset_bits
=64; break
5437 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5438 ac_cv_sys_file_offset_bits
=unknown
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5443 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5444 case $ac_cv_sys_file_offset_bits in #(
5447 cat >>confdefs.h
<<_ACEOF
5448 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5453 if test $ac_cv_sys_file_offset_bits = unknown
; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5455 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5456 if ${ac_cv_sys_large_files+:} false
; then :
5457 $as_echo_n "(cached) " >&6
5460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5461 /* end confdefs.h. */
5462 #include <sys/types.h>
5463 /* Check that off_t can represent 2**63 - 1 correctly.
5464 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5465 since some C++ compilers masquerading as C compilers
5466 incorrectly reject 9223372036854775807. */
5467 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5468 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5469 && LARGE_OFF_T % 2147483647 == 1)
5479 if ac_fn_c_try_compile
"$LINENO"; then :
5480 ac_cv_sys_large_files
=no
; break
5482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5484 /* end confdefs.h. */
5485 #define _LARGE_FILES 1
5486 #include <sys/types.h>
5487 /* Check that off_t can represent 2**63 - 1 correctly.
5488 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5489 since some C++ compilers masquerading as C compilers
5490 incorrectly reject 9223372036854775807. */
5491 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5492 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5493 && LARGE_OFF_T % 2147483647 == 1)
5503 if ac_fn_c_try_compile
"$LINENO"; then :
5504 ac_cv_sys_large_files
=1; break
5506 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5507 ac_cv_sys_large_files
=unknown
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5512 $as_echo "$ac_cv_sys_large_files" >&6; }
5513 case $ac_cv_sys_large_files in #(
5516 cat >>confdefs.h
<<_ACEOF
5517 #define _LARGE_FILES $ac_cv_sys_large_files
5529 ac_cpp
='$CPP $CPPFLAGS'
5530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5534 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5535 # On Suns, sometimes $CPP names a directory.
5536 if test -n "$CPP" && test -d "$CPP"; then
5539 if test -z "$CPP"; then
5540 if ${ac_cv_prog_CPP+:} false
; then :
5541 $as_echo_n "(cached) " >&6
5543 # Double quotes because CPP needs to be expanded
5544 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5547 for ac_c_preproc_warn_flag
in '' yes
5549 # Use a header file that comes with gcc, so configuring glibc
5550 # with a fresh cross-compiler works.
5551 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5552 # <limits.h> exists even on freestanding compilers.
5553 # On the NeXT, cc -E runs the code through the compiler's parser,
5554 # not just through cpp. "Syntax error" is here to catch this case.
5555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5556 /* end confdefs.h. */
5558 # include <limits.h>
5560 # include <assert.h>
5564 if ac_fn_c_try_cpp
"$LINENO"; then :
5567 # Broken: fails on valid input.
5570 rm -f conftest.err conftest.i conftest.
$ac_ext
5572 # OK, works on sane cases. Now check whether nonexistent headers
5573 # can be detected and how.
5574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5575 /* end confdefs.h. */
5576 #include <ac_nonexistent.h>
5578 if ac_fn_c_try_cpp
"$LINENO"; then :
5579 # Broken: success on invalid input.
5582 # Passes both tests.
5586 rm -f conftest.err conftest.i conftest.
$ac_ext
5589 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5590 rm -f conftest.i conftest.err conftest.
$ac_ext
5591 if $ac_preproc_ok; then :
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5604 $as_echo "$CPP" >&6; }
5606 for ac_c_preproc_warn_flag
in '' yes
5608 # Use a header file that comes with gcc, so configuring glibc
5609 # with a fresh cross-compiler works.
5610 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5611 # <limits.h> exists even on freestanding compilers.
5612 # On the NeXT, cc -E runs the code through the compiler's parser,
5613 # not just through cpp. "Syntax error" is here to catch this case.
5614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5615 /* end confdefs.h. */
5617 # include <limits.h>
5619 # include <assert.h>
5623 if ac_fn_c_try_cpp
"$LINENO"; then :
5626 # Broken: fails on valid input.
5629 rm -f conftest.err conftest.i conftest.
$ac_ext
5631 # OK, works on sane cases. Now check whether nonexistent headers
5632 # can be detected and how.
5633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5634 /* end confdefs.h. */
5635 #include <ac_nonexistent.h>
5637 if ac_fn_c_try_cpp
"$LINENO"; then :
5638 # Broken: success on invalid input.
5641 # Passes both tests.
5645 rm -f conftest.err conftest.i conftest.
$ac_ext
5648 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5649 rm -f conftest.i conftest.err conftest.
$ac_ext
5650 if $ac_preproc_ok; then :
5653 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5655 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5656 See \`config.log' for more details" "$LINENO" 5; }
5660 ac_cpp
='$CPP $CPPFLAGS'
5661 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5662 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5663 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5667 $as_echo_n "checking for ANSI C header files... " >&6; }
5668 if ${ac_cv_header_stdc+:} false
; then :
5669 $as_echo_n "(cached) " >&6
5671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5672 /* end confdefs.h. */
5686 if ac_fn_c_try_compile
"$LINENO"; then :
5687 ac_cv_header_stdc
=yes
5689 ac_cv_header_stdc
=no
5691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5693 if test $ac_cv_header_stdc = yes; then
5694 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5696 /* end confdefs.h. */
5700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5701 $EGREP "memchr" >/dev
/null
2>&1; then :
5704 ac_cv_header_stdc
=no
5710 if test $ac_cv_header_stdc = yes; then
5711 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5713 /* end confdefs.h. */
5717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5718 $EGREP "free" >/dev
/null
2>&1; then :
5721 ac_cv_header_stdc
=no
5727 if test $ac_cv_header_stdc = yes; then
5728 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5729 if test "$cross_compiling" = yes; then :
5732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5733 /* end confdefs.h. */
5736 #if ((' ' & 0x0FF) == 0x020)
5737 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5738 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5740 # define ISLOWER(c) \
5741 (('a' <= (c) && (c) <= 'i') \
5742 || ('j' <= (c) && (c) <= 'r') \
5743 || ('s' <= (c) && (c) <= 'z'))
5744 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5747 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5752 for (i = 0; i < 256; i++)
5753 if (XOR (islower (i), ISLOWER (i))
5754 || toupper (i) != TOUPPER (i))
5759 if ac_fn_c_try_run
"$LINENO"; then :
5762 ac_cv_header_stdc
=no
5764 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5765 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5771 $as_echo "$ac_cv_header_stdc" >&6; }
5772 if test $ac_cv_header_stdc = yes; then
5774 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5778 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5779 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5780 inttypes.h stdint.h unistd.h
5782 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5783 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5785 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5786 cat >>confdefs.h
<<_ACEOF
5787 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5797 ApplicationServices
/ApplicationServices.h \
5798 AudioToolbox
/AudioConverter.h \
5799 AudioUnit
/AudioUnit.h \
5800 AudioUnit
/AudioComponent.h \
5803 CoreAudio
/CoreAudio.h \
5804 CoreServices
/CoreServices.h \
5805 DiskArbitration
/DiskArbitration.h \
5807 IOKit
/hid
/IOHIDLib.h \
5810 QuickTime
/ImageCompression.h \
5811 Security
/Security.h \
5825 fontconfig
/fontconfig.h \
5864 netinet
/in_systm.h \
5929 valgrind
/memcheck.h \
5930 valgrind
/valgrind.h \
5934 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5935 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5936 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5937 cat >>confdefs.h
<<_ACEOF
5938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5946 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5947 if ${ac_cv_header_stat_broken+:} false
; then :
5948 $as_echo_n "(cached) " >&6
5950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5951 /* end confdefs.h. */
5952 #include <sys/types.h>
5953 #include <sys/stat.h>
5955 #if defined S_ISBLK && defined S_IFDIR
5956 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5959 #if defined S_ISBLK && defined S_IFCHR
5960 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5963 #if defined S_ISLNK && defined S_IFREG
5964 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5967 #if defined S_ISSOCK && defined S_IFREG
5968 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5972 if ac_fn_c_try_compile
"$LINENO"; then :
5973 ac_cv_header_stat_broken
=no
5975 ac_cv_header_stat_broken
=yes
5977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5980 $as_echo "$ac_cv_header_stat_broken" >&6; }
5981 if test $ac_cv_header_stat_broken = yes; then
5983 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5989 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
5991 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5992 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5993 #ifdef HAVE_SYS_PARAM_H
5994 # include <sys/param.h>
5997 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5998 cat >>confdefs.h
<<_ACEOF
5999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6014 netinet
/if_ether.h \
6015 netinet
/if_inarp.h \
6023 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6024 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6025 #ifdef HAVE_SYS_SOCKET_H
6026 # include <sys/socket.h>
6028 #ifdef HAVE_SYS_SOCKETVAR_H
6029 # include <sys/socketvar.h>
6031 #ifdef HAVE_NET_ROUTE_H
6032 # include <net/route.h>
6034 #ifdef HAVE_NETINET_IN_H
6035 # include <netinet/in.h>
6037 #ifdef HAVE_NETINET_IN_SYSTM_H
6038 # include <netinet/in_systm.h>
6040 #ifdef HAVE_NET_IF_H
6041 # include <net/if.h>
6043 #ifdef HAVE_NETINET_IP_H
6044 # include <netinet/ip.h>
6047 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6048 cat >>confdefs.h
<<_ACEOF
6049 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6057 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6059 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6060 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6064 #ifdef HAVE_SYS_SOCKET_H
6065 # include <sys/socket.h>
6067 #ifdef HAVE_SYS_SOCKETVAR_H
6068 # include <sys/socketvar.h>
6070 #ifdef HAVE_SYS_TIMEOUT_H
6071 # include <sys/timeout.h>
6073 #ifdef HAVE_NETINET_IN_H
6074 # include <netinet/in.h>
6076 #ifdef HAVE_NETINET_IN_SYSTM_H
6077 # include <netinet/in_systm.h>
6079 #ifdef HAVE_NETINET_IP_H
6080 # include <netinet/ip.h>
6082 #ifdef HAVE_NETINET_IP_VAR_H
6083 # include <netinet/ip_var.h>
6085 #ifdef HAVE_NETINET_IP_ICMP_H
6086 # include <netinet/ip_icmp.h>
6088 #ifdef HAVE_NETINET_UDP_H
6089 # include <netinet/udp.h>
6091 #ifdef HAVE_NETINET_TCP_H
6092 # include <netinet/tcp.h>
6094 #ifdef HAVE_NETINET_TCP_TIMER_H
6095 #include <netinet/tcp_timer.h>
6098 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6099 cat >>confdefs.h
<<_ACEOF
6100 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6108 for ac_header
in linux
/ipx.h linux
/irda.h
6110 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6111 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6112 #ifdef HAVE_ASM_TYPES_H
6113 # include <asm/types.h>
6115 #ifdef HAVE_SYS_SOCKET_H
6116 # include <sys/socket.h>
6118 #ifdef HAVE_LINUX_TYPES_H
6119 # include <linux/types.h>
6122 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6123 cat >>confdefs.h
<<_ACEOF
6124 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6132 for ac_header
in mach-o
/dyld_images.h
6134 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6135 # include <stdbool.h>
6137 #ifdef HAVE_STDINT_H
6138 # include <stdint.h>
6141 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6142 cat >>confdefs.h
<<_ACEOF
6143 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6151 for ac_header
in resolv.h
6153 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6154 #ifdef HAVE_SYS_SOCKET_H
6155 # include <sys/socket.h>
6157 #ifdef HAVE_NETINET_IN_H
6158 # include <netinet/in.h>
6160 #ifdef HAVE_ARPA_NAMESER_H
6161 # include <arpa/nameser.h>
6164 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6165 cat >>confdefs.h
<<_ACEOF
6166 #define HAVE_RESOLV_H 1
6174 for ac_header
in ifaddrs.h
6176 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6178 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6179 cat >>confdefs.h
<<_ACEOF
6180 #define HAVE_IFADDRS_H 1
6188 for ac_header
in ucontext.h
6190 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6192 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6193 cat >>confdefs.h
<<_ACEOF
6194 #define HAVE_UCONTEXT_H 1
6202 for ac_header
in sys
/thr.h
6204 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6205 #ifdef HAVE_UCONTEXT_H
6206 #include <ucontext.h>
6209 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6210 cat >>confdefs.h
<<_ACEOF
6211 #define HAVE_SYS_THR_H 1
6219 for ac_header
in pthread_np.h
6221 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6222 #include <pthread.h>
6225 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6226 cat >>confdefs.h
<<_ACEOF
6227 #define HAVE_PTHREAD_NP_H 1
6235 for ac_header
in linux
/videodev.h linux
/videodev2.h
6237 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6238 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6239 #include <sys/time.h>
6241 #include <sys/types.h>
6242 #ifdef HAVE_ASM_TYPES_H
6243 #include <asm/types.h>
6246 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6247 cat >>confdefs.h
<<_ACEOF
6248 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6256 for ac_header
in linux
/capi.h
6258 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6260 if test "x$ac_cv_header_linux_capi_h" = xyes
; then :
6261 cat >>confdefs.h
<<_ACEOF
6262 #define HAVE_LINUX_CAPI_H 1
6273 DLLFLAGS
="-D_REENTRANT"
6287 STATIC_IMPLIBEXT
="def.a"
6288 # Extract the first word of "ldd", so it can be a program name with args.
6289 set dummy ldd
; ac_word
=$2
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6291 $as_echo_n "checking for $ac_word... " >&6; }
6292 if ${ac_cv_path_LDD+:} false
; then :
6293 $as_echo_n "(cached) " >&6
6297 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6301 as_dummy
="/sbin:/usr/sbin:$PATH"
6302 for as_dir
in $as_dummy
6305 test -z "$as_dir" && as_dir
=.
6306 for ac_exec_ext
in '' $ac_executable_extensions; do
6307 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6308 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6316 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6321 if test -n "$LDD"; then
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6323 $as_echo "$LDD" >&6; }
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6326 $as_echo "no" >&6; }
6333 if test -n "$ac_tool_prefix"; then
6334 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6335 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6337 $as_echo_n "checking for $ac_word... " >&6; }
6338 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6339 $as_echo_n "(cached) " >&6
6341 if test -n "$DLLTOOL"; then
6342 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6348 test -z "$as_dir" && as_dir
=.
6349 for ac_exec_ext
in '' $ac_executable_extensions; do
6350 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6351 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6361 DLLTOOL
=$ac_cv_prog_DLLTOOL
6362 if test -n "$DLLTOOL"; then
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6364 $as_echo "$DLLTOOL" >&6; }
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6367 $as_echo "no" >&6; }
6372 if test -z "$ac_cv_prog_DLLTOOL"; then
6373 ac_ct_DLLTOOL
=$DLLTOOL
6374 # Extract the first word of "dlltool", so it can be a program name with args.
6375 set dummy dlltool
; ac_word
=$2
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6377 $as_echo_n "checking for $ac_word... " >&6; }
6378 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6379 $as_echo_n "(cached) " >&6
6381 if test -n "$ac_ct_DLLTOOL"; then
6382 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6388 test -z "$as_dir" && as_dir
=.
6389 for ac_exec_ext
in '' $ac_executable_extensions; do
6390 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6391 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6401 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6402 if test -n "$ac_ct_DLLTOOL"; then
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6404 $as_echo "$ac_ct_DLLTOOL" >&6; }
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6407 $as_echo "no" >&6; }
6410 if test "x$ac_ct_DLLTOOL" = x
; then
6413 case $cross_compiling:$ac_tool_warned in
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6417 ac_tool_warned
=yes ;;
6419 DLLTOOL
=$ac_ct_DLLTOOL
6422 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6425 if test -n "$ac_tool_prefix"; then
6426 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6427 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429 $as_echo_n "checking for $ac_word... " >&6; }
6430 if ${ac_cv_prog_DLLWRAP+:} false
; then :
6431 $as_echo_n "(cached) " >&6
6433 if test -n "$DLLWRAP"; then
6434 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
6436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6440 test -z "$as_dir" && as_dir
=.
6441 for ac_exec_ext
in '' $ac_executable_extensions; do
6442 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6443 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
6444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6453 DLLWRAP
=$ac_cv_prog_DLLWRAP
6454 if test -n "$DLLWRAP"; then
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6456 $as_echo "$DLLWRAP" >&6; }
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6459 $as_echo "no" >&6; }
6464 if test -z "$ac_cv_prog_DLLWRAP"; then
6465 ac_ct_DLLWRAP
=$DLLWRAP
6466 # Extract the first word of "dllwrap", so it can be a program name with args.
6467 set dummy dllwrap
; ac_word
=$2
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6469 $as_echo_n "checking for $ac_word... " >&6; }
6470 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false
; then :
6471 $as_echo_n "(cached) " >&6
6473 if test -n "$ac_ct_DLLWRAP"; then
6474 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
6476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6480 test -z "$as_dir" && as_dir
=.
6481 for ac_exec_ext
in '' $ac_executable_extensions; do
6482 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6483 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
6484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6493 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
6494 if test -n "$ac_ct_DLLWRAP"; then
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6496 $as_echo "$ac_ct_DLLWRAP" >&6; }
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6499 $as_echo "no" >&6; }
6502 if test "x$ac_ct_DLLWRAP" = x
; then
6505 case $cross_compiling:$ac_tool_warned in
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6509 ac_tool_warned
=yes ;;
6511 DLLWRAP
=$ac_ct_DLLWRAP
6514 DLLWRAP
="$ac_cv_prog_DLLWRAP"
6517 if test "$DLLWRAP" = "false"; then
6523 STATIC_IMPLIBEXT
="a"
6524 enable_iphlpapi
=${enable_iphlpapi:-no}
6525 enable_kernel32
=${enable_kernel32:-no}
6526 enable_msvcrt
=${enable_msvcrt:-no}
6527 enable_ntdll
=${enable_ntdll:-no}
6528 enable_ws2_32
=${enable_ws2_32:-no}
6529 enable_loader
=${enable_loader:-no}
6530 enable_server
=${enable_server:-no}
6531 with_x
=${with_x:-no}
6532 with_pthread
=${with_pthread:-no}
6537 DLLFLAGS
="$DLLFLAGS -fPIC"
6538 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6539 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6540 LDSHARED
="\$(CC) -dynamiclib"
6541 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6542 COREFOUNDATIONLIB
="-framework CoreFoundation"
6544 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6546 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
6548 CORESERVICESLIB
="-framework CoreServices"
6552 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6555 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6558 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6560 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6563 if test "$ac_cv_header_Security_Security_h" = "yes"
6565 SECURITYLIB
="-framework Security -framework CoreFoundation"
6567 ac_save_LIBS
="$LIBS"
6568 LIBS
="$LIBS $SECURITYLIB"
6569 for ac_func
in SSLCopyPeerCertificates
6571 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6572 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
6573 cat >>confdefs.h
<<_ACEOF
6574 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6580 LIBS
="$ac_save_LIBS"
6581 with_gnutls
=${with_gnutls:-no}
6583 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6585 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6587 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6590 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6593 ac_save_LIBS
="$LIBS"
6594 LIBS
="$LIBS $COREAUDIO"
6595 for ac_func
in AUGraphAddNode
6597 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6598 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
6599 cat >>confdefs.h
<<_ACEOF
6600 #define HAVE_AUGRAPHADDNODE 1
6606 LIBS
="$ac_save_LIBS"
6608 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6610 FRAMEWORK_OPENAL
="-framework OpenAL"
6613 cat >>confdefs.h
<<_ACEOF
6614 #define HAVE_OPENAL 1
6617 ac_cv_lib_openal
=yes
6619 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6621 LIBOPENCL
="-framework OpenCL"
6623 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6625 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6627 ac_save_LIBS
="$LIBS"
6628 LIBS
="$LIBS $IOKITLIB"
6629 for ac_func
in IOHIDManagerCreate
6631 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6632 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
6633 cat >>confdefs.h
<<_ACEOF
6634 #define HAVE_IOHIDMANAGERCREATE 1
6640 LIBS
="$ac_save_LIBS"
6644 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6646 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6648 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6650 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6652 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6654 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6656 CARBONLIB
="-framework Carbon"
6658 enable_winequartz_drv
=${enable_winequartz_drv:-yes}
6660 if test "x$enable_win16" = "xyes"
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6663 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6664 if test "$cross_compiling" = yes; then :
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6666 $as_echo "cross-compiling, assuming yes" >&6; }
6668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6669 /* end confdefs.h. */
6672 "good:\tnop;nop\n\t"
6673 ".globl _testfunc\n"
6674 "_testfunc:\tcallw good");
6675 extern void testfunc();
6679 unsigned short *p = (unsigned short *)testfunc;
6680 return p[0] != 0xe866 || p[1] != 0xfffa
6685 if ac_fn_c_try_run
"$LINENO"; then :
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6687 $as_echo "yes" >&6; }
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690 $as_echo "no" >&6; }
6691 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
6693 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6694 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6700 DLLFLAGS
="$DLLFLAGS -fPIC"
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6703 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6704 if ${ac_cv_c_dll_gnuelf+:} false
; then :
6705 $as_echo_n "(cached) " >&6
6707 ac_wine_try_cflags_saved
=$CFLAGS
6708 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6710 /* end confdefs.h. */
6713 if ac_fn_c_try_link
"$LINENO"; then :
6714 ac_cv_c_dll_gnuelf
="yes"
6716 ac_cv_c_dll_gnuelf
="no"
6718 rm -f core conftest.err conftest.
$ac_objext \
6719 conftest
$ac_exeext conftest.
$ac_ext
6720 CFLAGS
=$ac_wine_try_cflags_saved
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6723 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6724 if test "$ac_cv_c_dll_gnuelf" = "yes"
6726 LDSHARED
="\$(CC) -shared"
6727 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6729 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6730 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
6731 $as_echo_n "(cached) " >&6
6733 ac_wine_try_cflags_saved
=$CFLAGS
6734 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6736 /* end confdefs.h. */
6737 int main(int argc, char **argv) { return 0; }
6739 if ac_fn_c_try_link
"$LINENO"; then :
6740 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
6742 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
6744 rm -f core conftest.err conftest.
$ac_objext \
6745 conftest
$ac_exeext conftest.
$ac_ext
6746 CFLAGS
=$ac_wine_try_cflags_saved
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6749 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6750 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6751 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6754 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6755 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
6756 $as_echo_n "(cached) " >&6
6758 ac_wine_try_cflags_saved
=$CFLAGS
6759 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6761 /* end confdefs.h. */
6762 int main(int argc, char **argv) { return 0; }
6764 if ac_fn_c_try_link
"$LINENO"; then :
6765 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
6767 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
6769 rm -f core conftest.err conftest.
$ac_objext \
6770 conftest
$ac_exeext conftest.
$ac_ext
6771 CFLAGS
=$ac_wine_try_cflags_saved
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6774 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6775 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6776 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6781 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6782 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
6783 $as_echo_n "(cached) " >&6
6785 ac_wine_try_cflags_saved
=$CFLAGS
6786 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6788 /* end confdefs.h. */
6789 int main(int argc, char **argv) { return 0; }
6791 if ac_fn_c_try_link
"$LINENO"; then :
6792 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6794 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6796 rm -f core conftest.err conftest.
$ac_objext \
6797 conftest
$ac_exeext conftest.
$ac_ext
6798 CFLAGS
=$ac_wine_try_cflags_saved
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6801 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6802 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6803 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6806 { $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
6807 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6808 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
6809 $as_echo_n "(cached) " >&6
6811 ac_wine_try_cflags_saved
=$CFLAGS
6812 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6814 /* end confdefs.h. */
6815 int main(int argc, char **argv) { return 0; }
6817 if ac_fn_c_try_link
"$LINENO"; then :
6818 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6820 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6822 rm -f core conftest.err conftest.
$ac_objext \
6823 conftest
$ac_exeext conftest.
$ac_ext
6824 CFLAGS
=$ac_wine_try_cflags_saved
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6827 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6828 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6829 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6832 echo '{ global: *; };' >conftest.map
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6834 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6835 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
6836 $as_echo_n "(cached) " >&6
6838 ac_wine_try_cflags_saved
=$CFLAGS
6839 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6841 /* end confdefs.h. */
6842 int main(int argc, char **argv) { return 0; }
6844 if ac_fn_c_try_link
"$LINENO"; then :
6845 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
6847 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
6849 rm -f core conftest.err conftest.
$ac_objext \
6850 conftest
$ac_exeext conftest.
$ac_ext
6851 CFLAGS
=$ac_wine_try_cflags_saved
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
6854 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
6855 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
6856 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6861 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6862 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
6863 $as_echo_n "(cached) " >&6
6865 ac_wine_try_cflags_saved
=$CFLAGS
6866 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6868 /* end confdefs.h. */
6869 int main(int argc, char **argv) { return 0; }
6871 if ac_fn_c_try_link
"$LINENO"; then :
6872 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6874 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6876 rm -f core conftest.err conftest.
$ac_objext \
6877 conftest
$ac_exeext conftest.
$ac_ext
6878 CFLAGS
=$ac_wine_try_cflags_saved
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6881 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6882 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6883 LDEXECFLAGS
="-Wl,--export-dynamic"
6887 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6889 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6890 if eval \
${$as_ac_var+:} false
; then :
6891 $as_echo_n "(cached) " >&6
6893 ac_wine_try_cflags_saved
=$CFLAGS
6894 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6896 /* end confdefs.h. */
6897 int main(int argc, char **argv) { return 0; }
6899 if ac_fn_c_try_link
"$LINENO"; then :
6900 eval "$as_ac_var=yes"
6902 eval "$as_ac_var=no"
6904 rm -f core conftest.err conftest.
$ac_objext \
6905 conftest
$ac_exeext conftest.
$ac_ext
6906 CFLAGS
=$ac_wine_try_cflags_saved
6908 eval ac_res
=\$
$as_ac_var
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6910 $as_echo "$ac_res" >&6; }
6911 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6912 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6913 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6915 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6917 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6918 if eval \
${$as_ac_var+:} false
; then :
6919 $as_echo_n "(cached) " >&6
6921 ac_wine_try_cflags_saved
=$CFLAGS
6922 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6924 /* end confdefs.h. */
6925 int main(int argc, char **argv) { return 0; }
6927 if ac_fn_c_try_link
"$LINENO"; then :
6928 eval "$as_ac_var=yes"
6930 eval "$as_ac_var=no"
6932 rm -f core conftest.err conftest.
$ac_objext \
6933 conftest
$ac_exeext conftest.
$ac_ext
6934 CFLAGS
=$ac_wine_try_cflags_saved
6936 eval ac_res
=\$
$as_ac_var
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6938 $as_echo "$ac_res" >&6; }
6939 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6940 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6941 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6946 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6947 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
6948 $as_echo_n "(cached) " >&6
6950 ac_wine_try_cflags_saved
=$CFLAGS
6951 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
6952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6953 /* end confdefs.h. */
6954 int main(int argc, char **argv) { return 0; }
6956 if ac_fn_c_try_link
"$LINENO"; then :
6957 ac_cv_cflags__Wl___enable_new_dtags
=yes
6959 ac_cv_cflags__Wl___enable_new_dtags
=no
6961 rm -f core conftest.err conftest.
$ac_objext \
6962 conftest
$ac_exeext conftest.
$ac_ext
6963 CFLAGS
=$ac_wine_try_cflags_saved
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6966 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6967 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6968 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6972 *i
[3456789]86* | x86_64
)
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6974 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6975 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
6976 $as_echo_n "(cached) " >&6
6978 ac_wine_try_cflags_saved
=$CFLAGS
6979 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6981 /* end confdefs.h. */
6982 int main(int argc, char **argv) { return 0; }
6984 if ac_fn_c_try_link
"$LINENO"; then :
6985 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
6987 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
6989 rm -f core conftest.err conftest.
$ac_objext \
6990 conftest
$ac_exeext conftest.
$ac_ext
6991 CFLAGS
=$ac_wine_try_cflags_saved
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
6994 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
6995 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
6997 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
6998 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7002 # Extract the first word of "prelink", so it can be a program name with args.
7003 set dummy prelink
; ac_word
=$2
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7005 $as_echo_n "checking for $ac_word... " >&6; }
7006 if ${ac_cv_path_PRELINK+:} false
; then :
7007 $as_echo_n "(cached) " >&6
7011 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7015 for as_dir
in /sbin
/usr
/sbin
$PATH
7018 test -z "$as_dir" && as_dir
=.
7019 for ac_exec_ext
in '' $ac_executable_extensions; do
7020 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7021 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7029 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7033 PRELINK
=$ac_cv_path_PRELINK
7034 if test -n "$PRELINK"; then
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7036 $as_echo "$PRELINK" >&6; }
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7039 $as_echo "no" >&6; }
7043 if test "x$PRELINK" = xfalse
7045 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7052 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7053 if ${ac_cv_c_dll_unixware+:} false
; then :
7054 $as_echo_n "(cached) " >&6
7056 ac_wine_try_cflags_saved
=$CFLAGS
7057 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7059 /* end confdefs.h. */
7062 if ac_fn_c_try_link
"$LINENO"; then :
7063 ac_cv_c_dll_unixware
="yes"
7065 ac_cv_c_dll_unixware
="no"
7067 rm -f core conftest.err conftest.
$ac_objext \
7068 conftest
$ac_exeext conftest.
$ac_ext
7069 CFLAGS
=$ac_wine_try_cflags_saved
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7072 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7073 if test "$ac_cv_c_dll_unixware" = "yes"
7075 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7076 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7080 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7081 if ${ac_cv_c_dll_hpux+:} false
; then :
7082 $as_echo_n "(cached) " >&6
7084 ac_wine_try_cflags_saved
=$CFLAGS
7085 CFLAGS
="$CFLAGS -shared"
7086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7087 /* end confdefs.h. */
7090 if ac_fn_c_try_link
"$LINENO"; then :
7091 ac_cv_c_dll_hpux
="yes"
7093 ac_cv_c_dll_hpux
="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_c_dll_hpux" >&5
7100 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7101 if test "$ac_cv_c_dll_hpux" = "yes"
7105 LDDLLFLAGS
="-shared -fPIC"
7106 LDSHARED
="\$(CC) -shared"
7113 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7114 enable_winequartz_drv
=${enable_winequartz_drv:-no}
7116 if test "$LIBEXT" = "a"; then
7117 as_fn_error $?
"could not find a way to build shared libraries.
7118 It is currently not possible to build Wine without shared library
7119 (.so) support to allow transparent switch between .so and .dll files.
7120 If you are using Linux, you will need a newer binutils.
7124 CROSSTEST_DISABLE
=\
#
7126 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7130 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
7133 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 " ;;
7135 ac_prefix_list
="" ;;
7137 for ac_prog
in $ac_prefix_list
7139 # Extract the first word of "$ac_prog", so it can be a program name with args.
7140 set dummy
$ac_prog; ac_word
=$2
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7142 $as_echo_n "checking for $ac_word... " >&6; }
7143 if ${ac_cv_prog_CROSSCC+:} false
; then :
7144 $as_echo_n "(cached) " >&6
7146 if test -n "$CROSSCC"; then
7147 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7153 test -z "$as_dir" && as_dir
=.
7154 for ac_exec_ext
in '' $ac_executable_extensions; do
7155 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7156 ac_cv_prog_CROSSCC
="$ac_prog"
7157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7166 CROSSCC
=$ac_cv_prog_CROSSCC
7167 if test -n "$CROSSCC"; then
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7169 $as_echo "$CROSSCC" >&6; }
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7172 $as_echo "no" >&6; }
7176 test -n "$CROSSCC" && break
7178 test -n "$CROSSCC" || CROSSCC
="false"
7180 if test "$CROSSCC" != "false"
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7185 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7187 /* end confdefs.h. */
7197 if ac_fn_c_try_compile
"$LINENO"; then :
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7199 $as_echo "yes" >&6; }
7206 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7210 if test -n "$target"
7212 CROSSTEST_DISABLE
=""
7213 CROSSTARGET
="$target"
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218 $as_echo "no" >&6; }
7220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7226 if test "$ac_cv_header_pthread_h" = "yes"
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7229 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7230 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
7231 $as_echo_n "(cached) " >&6
7233 ac_check_lib_save_LIBS
=$LIBS
7234 LIBS
="-lpthread $LIBS"
7235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7236 /* end confdefs.h. */
7238 /* Override any GCC internal prototype to avoid an error.
7239 Use char because int might match the return type of a GCC
7240 builtin and then its argument prototype would still apply. */
7244 char pthread_create ();
7248 return pthread_create ();
7253 if ac_fn_c_try_link
"$LINENO"; then :
7254 ac_cv_lib_pthread_pthread_create
=yes
7256 ac_cv_lib_pthread_pthread_create
=no
7258 rm -f core conftest.err conftest.
$ac_objext \
7259 conftest
$ac_exeext conftest.
$ac_ext
7260 LIBS
=$ac_check_lib_save_LIBS
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7263 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7264 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
7265 LIBPTHREAD
="-lpthread"
7270 if test "x$LIBPTHREAD" = "x"; then :
7271 case "x$with_pthread" in
7273 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7274 Wine cannot support threads without libpthread.
7275 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7281 $as_echo_n "checking for X... " >&6; }
7284 # Check whether --with-x was given.
7285 if test "${with_x+set}" = set; then :
7289 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7290 if test "x$with_x" = xno
; then
7291 # The user explicitly disabled X.
7294 case $x_includes,$x_libraries in #(
7295 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
7296 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
7297 $as_echo_n "(cached) " >&6
7299 # One or both of the vars are not set, and there is no cached value.
7300 ac_x_includes
=no ac_x_libraries
=no
7301 rm -f -r conftest.dir
7302 if mkdir conftest.dir
; then
7304 cat >Imakefile
<<'_ACEOF'
7306 @echo incroot='${INCROOT}'
7308 @echo usrlibdir='${USRLIBDIR}'
7310 @echo libdir='${LIBDIR}'
7312 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7313 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7314 for ac_var
in incroot usrlibdir libdir
; do
7315 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7317 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7318 for ac_extension
in a so sl dylib la dll
; do
7319 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7320 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7321 ac_im_usrlibdir
=$ac_im_libdir; break
7324 # Screen out bogus values from the imake configuration. They are
7325 # bogus both because they are the default anyway, and because
7326 # using them would break gcc on systems where it needs fixed includes.
7327 case $ac_im_incroot in
7328 /usr
/include
) ac_x_includes
= ;;
7329 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7331 case $ac_im_usrlibdir in
7332 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7333 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7337 rm -f -r conftest.dir
7340 # Standard set of common directories for X headers.
7341 # Check X11 before X11Rn because it is often a symlink to the current release.
7355 /usr/local/X11/include
7356 /usr/local/X11R7/include
7357 /usr/local/X11R6/include
7358 /usr/local/X11R5/include
7359 /usr/local/X11R4/include
7361 /usr/local/include/X11
7362 /usr/local/include/X11R7
7363 /usr/local/include/X11R6
7364 /usr/local/include/X11R5
7365 /usr/local/include/X11R4
7369 /usr/XFree86/include/X11
7373 /usr/unsupported/include
7375 /usr/local/x11r5/include
7376 /usr/lpp/Xamples/include
7378 /usr/openwin/include
7379 /usr/openwin/share/include'
7381 if test "$ac_x_includes" = no
; then
7382 # Guess where to find include files, by looking for Xlib.h.
7383 # First, try using that file with no special directory specified.
7384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7385 /* end confdefs.h. */
7386 #include <X11/Xlib.h>
7388 if ac_fn_c_try_cpp
"$LINENO"; then :
7389 # We can compile using X headers with no special include directory.
7392 for ac_dir
in $ac_x_header_dirs; do
7393 if test -r "$ac_dir/X11/Xlib.h"; then
7394 ac_x_includes
=$ac_dir
7399 rm -f conftest.err conftest.i conftest.
$ac_ext
7400 fi # $ac_x_includes = no
7402 if test "$ac_x_libraries" = no
; then
7403 # Check for the libraries.
7404 # See if we find them without any special options.
7405 # Don't add to $LIBS permanently.
7408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7409 /* end confdefs.h. */
7410 #include <X11/Xlib.h>
7419 if ac_fn_c_try_link
"$LINENO"; then :
7421 # We can link X programs with no special library path.
7425 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7427 # Don't even attempt the hair of trying to link an X program!
7428 for ac_extension
in a so sl dylib la dll
; do
7429 if test -r "$ac_dir/libX11.$ac_extension"; then
7430 ac_x_libraries
=$ac_dir
7436 rm -f core conftest.err conftest.
$ac_objext \
7437 conftest
$ac_exeext conftest.
$ac_ext
7438 fi # $ac_x_libraries = no
7440 case $ac_x_includes,$ac_x_libraries in #(
7442 # Didn't find X, or a directory has "'" in its name.
7443 ac_cv_have_x
="have_x=no";; #(
7445 # Record where we found X for the cache.
7446 ac_cv_have_x
="have_x=yes\
7447 ac_x_includes='$ac_x_includes'\
7448 ac_x_libraries='$ac_x_libraries'"
7454 eval "$ac_cv_have_x"
7457 if test "$have_x" != yes; then
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7459 $as_echo "$have_x" >&6; }
7462 # If each of the values was on the command line, it overrides each guess.
7463 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7464 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7465 # Update the cache value to reflect the command line values.
7466 ac_cv_have_x
="have_x=yes\
7467 ac_x_includes='$x_includes'\
7468 ac_x_libraries='$x_libraries'"
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7470 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7473 if test "$no_x" = yes; then
7474 # Not all programs may use this symbol, but it does not hurt to define it.
7476 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7478 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7480 if test -n "$x_includes"; then
7481 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7484 # It would also be nice to do this for all -L options, not just this one.
7485 if test -n "$x_libraries"; then
7486 X_LIBS
="$X_LIBS -L$x_libraries"
7487 # For Solaris; some versions of Sun CC require a space after -R and
7488 # others require no space. Words are not sufficient . . . .
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7490 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7491 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7492 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7493 ac_c_werror_flag
=yes
7494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7495 /* end confdefs.h. */
7505 if ac_fn_c_try_link
"$LINENO"; then :
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7507 $as_echo "no" >&6; }
7508 X_LIBS
="$X_LIBS -R$x_libraries"
7510 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7512 /* end confdefs.h. */
7522 if ac_fn_c_try_link
"$LINENO"; then :
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7524 $as_echo "yes" >&6; }
7525 X_LIBS
="$X_LIBS -R $x_libraries"
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7528 $as_echo "neither works" >&6; }
7530 rm -f core conftest.err conftest.
$ac_objext \
7531 conftest
$ac_exeext conftest.
$ac_ext
7533 rm -f core conftest.err conftest.
$ac_objext \
7534 conftest
$ac_exeext conftest.
$ac_ext
7535 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7539 # Check for system-dependent libraries X programs must link with.
7540 # Do this before checking for the system-independent R6 libraries
7541 # (-lICE), since we may need -lsocket or whatever for X linking.
7543 if test "$ISC" = yes; then
7544 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7546 # Martyn Johnson says this is needed for Ultrix, if the X
7547 # libraries were built with DECnet support. And Karl Berry says
7548 # the Alpha needs dnet_stub (dnet does not exist).
7549 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7551 /* end confdefs.h. */
7553 /* Override any GCC internal prototype to avoid an error.
7554 Use char because int might match the return type of a GCC
7555 builtin and then its argument prototype would still apply. */
7559 char XOpenDisplay ();
7563 return XOpenDisplay ();
7568 if ac_fn_c_try_link
"$LINENO"; then :
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7572 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7573 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
7574 $as_echo_n "(cached) " >&6
7576 ac_check_lib_save_LIBS
=$LIBS
7578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7579 /* end confdefs.h. */
7581 /* Override any GCC internal prototype to avoid an error.
7582 Use char because int might match the return type of a GCC
7583 builtin and then its argument prototype would still apply. */
7591 return dnet_ntoa ();
7596 if ac_fn_c_try_link
"$LINENO"; then :
7597 ac_cv_lib_dnet_dnet_ntoa
=yes
7599 ac_cv_lib_dnet_dnet_ntoa
=no
7601 rm -f core conftest.err conftest.
$ac_objext \
7602 conftest
$ac_exeext conftest.
$ac_ext
7603 LIBS
=$ac_check_lib_save_LIBS
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7606 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7607 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
7608 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7611 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7613 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7614 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
7615 $as_echo_n "(cached) " >&6
7617 ac_check_lib_save_LIBS
=$LIBS
7618 LIBS
="-ldnet_stub $LIBS"
7619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7620 /* end confdefs.h. */
7622 /* Override any GCC internal prototype to avoid an error.
7623 Use char because int might match the return type of a GCC
7624 builtin and then its argument prototype would still apply. */
7632 return dnet_ntoa ();
7637 if ac_fn_c_try_link
"$LINENO"; then :
7638 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7640 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7642 rm -f core conftest.err conftest.
$ac_objext \
7643 conftest
$ac_exeext conftest.
$ac_ext
7644 LIBS
=$ac_check_lib_save_LIBS
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7647 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7648 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
7649 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7654 rm -f core conftest.err conftest.
$ac_objext \
7655 conftest
$ac_exeext conftest.
$ac_ext
7656 LIBS
="$ac_xsave_LIBS"
7658 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7659 # to get the SysV transport functions.
7660 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7662 # The nsl library prevents programs from opening the X display
7663 # on Irix 5.2, according to T.E. Dickey.
7664 # The functions gethostbyname, getservbyname, and inet_addr are
7665 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7666 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7667 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
7671 if test $ac_cv_func_gethostbyname = no
; then
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7673 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7674 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
7675 $as_echo_n "(cached) " >&6
7677 ac_check_lib_save_LIBS
=$LIBS
7679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7680 /* end confdefs.h. */
7682 /* Override any GCC internal prototype to avoid an error.
7683 Use char because int might match the return type of a GCC
7684 builtin and then its argument prototype would still apply. */
7688 char gethostbyname ();
7692 return gethostbyname ();
7697 if ac_fn_c_try_link
"$LINENO"; then :
7698 ac_cv_lib_nsl_gethostbyname
=yes
7700 ac_cv_lib_nsl_gethostbyname
=no
7702 rm -f core conftest.err conftest.
$ac_objext \
7703 conftest
$ac_exeext conftest.
$ac_ext
7704 LIBS
=$ac_check_lib_save_LIBS
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7707 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7708 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
7709 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7712 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7714 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7715 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
7716 $as_echo_n "(cached) " >&6
7718 ac_check_lib_save_LIBS
=$LIBS
7720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7721 /* end confdefs.h. */
7723 /* Override any GCC internal prototype to avoid an error.
7724 Use char because int might match the return type of a GCC
7725 builtin and then its argument prototype would still apply. */
7729 char gethostbyname ();
7733 return gethostbyname ();
7738 if ac_fn_c_try_link
"$LINENO"; then :
7739 ac_cv_lib_bsd_gethostbyname
=yes
7741 ac_cv_lib_bsd_gethostbyname
=no
7743 rm -f core conftest.err conftest.
$ac_objext \
7744 conftest
$ac_exeext conftest.
$ac_ext
7745 LIBS
=$ac_check_lib_save_LIBS
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7748 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7749 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
7750 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7756 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7757 # socket/setsockopt and other routines are undefined under SCO ODT
7758 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7759 # on later versions), says Simon Leinen: it contains gethostby*
7760 # variants that don't use the name server (or something). -lsocket
7761 # must be given before -lnsl if both are needed. We assume that
7762 # if connect needs -lnsl, so does gethostbyname.
7763 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
7764 if test "x$ac_cv_func_connect" = xyes
; then :
7768 if test $ac_cv_func_connect = no
; then
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7770 $as_echo_n "checking for connect in -lsocket... " >&6; }
7771 if ${ac_cv_lib_socket_connect+:} false
; then :
7772 $as_echo_n "(cached) " >&6
7774 ac_check_lib_save_LIBS
=$LIBS
7775 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7777 /* end confdefs.h. */
7779 /* Override any GCC internal prototype to avoid an error.
7780 Use char because int might match the return type of a GCC
7781 builtin and then its argument prototype would still apply. */
7794 if ac_fn_c_try_link
"$LINENO"; then :
7795 ac_cv_lib_socket_connect
=yes
7797 ac_cv_lib_socket_connect
=no
7799 rm -f core conftest.err conftest.
$ac_objext \
7800 conftest
$ac_exeext conftest.
$ac_ext
7801 LIBS
=$ac_check_lib_save_LIBS
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7804 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7805 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
7806 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7811 # Guillermo Gomez says -lposix is necessary on A/UX.
7812 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
7813 if test "x$ac_cv_func_remove" = xyes
; then :
7817 if test $ac_cv_func_remove = no
; then
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7819 $as_echo_n "checking for remove in -lposix... " >&6; }
7820 if ${ac_cv_lib_posix_remove+:} false
; then :
7821 $as_echo_n "(cached) " >&6
7823 ac_check_lib_save_LIBS
=$LIBS
7824 LIBS
="-lposix $LIBS"
7825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7826 /* end confdefs.h. */
7828 /* Override any GCC internal prototype to avoid an error.
7829 Use char because int might match the return type of a GCC
7830 builtin and then its argument prototype would still apply. */
7843 if ac_fn_c_try_link
"$LINENO"; then :
7844 ac_cv_lib_posix_remove
=yes
7846 ac_cv_lib_posix_remove
=no
7848 rm -f core conftest.err conftest.
$ac_objext \
7849 conftest
$ac_exeext conftest.
$ac_ext
7850 LIBS
=$ac_check_lib_save_LIBS
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7853 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7854 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
7855 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7860 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7861 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
7862 if test "x$ac_cv_func_shmat" = xyes
; then :
7866 if test $ac_cv_func_shmat = no
; then
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7868 $as_echo_n "checking for shmat in -lipc... " >&6; }
7869 if ${ac_cv_lib_ipc_shmat+:} false
; then :
7870 $as_echo_n "(cached) " >&6
7872 ac_check_lib_save_LIBS
=$LIBS
7874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7877 /* Override any GCC internal prototype to avoid an error.
7878 Use char because int might match the return type of a GCC
7879 builtin and then its argument prototype would still apply. */
7892 if ac_fn_c_try_link
"$LINENO"; then :
7893 ac_cv_lib_ipc_shmat
=yes
7895 ac_cv_lib_ipc_shmat
=no
7897 rm -f core conftest.err conftest.
$ac_objext \
7898 conftest
$ac_exeext conftest.
$ac_ext
7899 LIBS
=$ac_check_lib_save_LIBS
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7902 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7903 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
7904 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7910 # Check for libraries that X11R6 Xt/Xaw programs need.
7911 ac_save_LDFLAGS
=$LDFLAGS
7912 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7913 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7914 # check for ICE first), but we must link in the order -lSM -lICE or
7915 # we get undefined symbols. So assume we have SM if we have ICE.
7916 # These have to be linked with before -lX11, unlike the other
7917 # libraries we check for below, so use a different variable.
7918 # John Interrante, Karl Berry
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7920 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7921 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
7922 $as_echo_n "(cached) " >&6
7924 ac_check_lib_save_LIBS
=$LIBS
7925 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7927 /* end confdefs.h. */
7929 /* Override any GCC internal prototype to avoid an error.
7930 Use char because int might match the return type of a GCC
7931 builtin and then its argument prototype would still apply. */
7935 char IceConnectionNumber ();
7939 return IceConnectionNumber ();
7944 if ac_fn_c_try_link
"$LINENO"; then :
7945 ac_cv_lib_ICE_IceConnectionNumber
=yes
7947 ac_cv_lib_ICE_IceConnectionNumber
=no
7949 rm -f core conftest.err conftest.
$ac_objext \
7950 conftest
$ac_exeext conftest.
$ac_ext
7951 LIBS
=$ac_check_lib_save_LIBS
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7954 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7955 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
7956 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7959 LDFLAGS
=$ac_save_LDFLAGS
7964 if test "$have_x" = "yes"
7967 ac_save_CPPFLAGS
="$CPPFLAGS"
7968 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7971 $as_echo_n "checking for -lX11... " >&6; }
7972 if ${ac_cv_lib_soname_X11+:} false
; then :
7973 $as_echo_n "(cached) " >&6
7975 ac_check_soname_save_LIBS
=$LIBS
7976 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7978 /* end confdefs.h. */
7980 /* Override any GCC internal prototype to avoid an error.
7981 Use char because int might match the return type of a GCC
7982 builtin and then its argument prototype would still apply. */
7986 char XCreateWindow ();
7990 return XCreateWindow ();
7995 if ac_fn_c_try_link
"$LINENO"; then :
7997 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7998 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'` ;;
7999 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8002 rm -f core conftest.err conftest.
$ac_objext \
8003 conftest
$ac_exeext conftest.
$ac_ext
8004 LIBS
=$ac_check_soname_save_LIBS
8006 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8008 $as_echo "not found" >&6; }
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8012 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8014 cat >>confdefs.h
<<_ACEOF
8015 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8021 $as_echo_n "checking for -lXext... " >&6; }
8022 if ${ac_cv_lib_soname_Xext+:} false
; then :
8023 $as_echo_n "(cached) " >&6
8025 ac_check_soname_save_LIBS
=$LIBS
8026 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8028 /* end confdefs.h. */
8030 /* Override any GCC internal prototype to avoid an error.
8031 Use char because int might match the return type of a GCC
8032 builtin and then its argument prototype would still apply. */
8036 char XextCreateExtension ();
8040 return XextCreateExtension ();
8045 if ac_fn_c_try_link
"$LINENO"; then :
8047 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8048 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'` ;;
8049 *) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8052 rm -f core conftest.err conftest.
$ac_objext \
8053 conftest
$ac_exeext conftest.
$ac_ext
8054 LIBS
=$ac_check_soname_save_LIBS
8056 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8058 $as_echo "not found" >&6; }
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8062 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8064 cat >>confdefs.h
<<_ACEOF
8065 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8071 for ac_header
in X11
/Xlib.h \
8074 X11
/Xcursor
/Xcursor.h \
8075 X11
/extensions
/shape.h \
8076 X11
/extensions
/XInput.h \
8077 X11
/extensions
/XInput2.h \
8078 X11
/extensions
/Xcomposite.h \
8079 X11
/extensions
/Xinerama.h \
8080 X11
/extensions
/Xrandr.h \
8081 X11
/extensions
/Xrender.h \
8082 X11
/extensions
/xf86vmode.h \
8083 X11
/extensions
/xf86vmproto.h
8085 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8086 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8087 # include <X11/Xlib.h>
8089 #ifdef HAVE_X11_XUTIL_H
8090 # include <X11/Xutil.h>
8093 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8094 cat >>confdefs.h
<<_ACEOF
8095 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8103 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8106 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8107 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
8108 $as_echo_n "(cached) " >&6
8110 ac_check_lib_save_LIBS
=$LIBS
8111 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8113 /* end confdefs.h. */
8115 /* Override any GCC internal prototype to avoid an error.
8116 Use char because int might match the return type of a GCC
8117 builtin and then its argument prototype would still apply. */
8121 char XkbQueryExtension ();
8125 return XkbQueryExtension ();
8130 if ac_fn_c_try_link
"$LINENO"; then :
8131 ac_cv_lib_X11_XkbQueryExtension
=yes
8133 ac_cv_lib_X11_XkbQueryExtension
=no
8135 rm -f core conftest.err conftest.
$ac_objext \
8136 conftest
$ac_exeext conftest.
$ac_ext
8137 LIBS
=$ac_check_lib_save_LIBS
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8140 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8141 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
8143 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8149 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8152 $as_echo_n "checking for -lXcursor... " >&6; }
8153 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
8154 $as_echo_n "(cached) " >&6
8156 ac_check_soname_save_LIBS
=$LIBS
8157 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8159 /* end confdefs.h. */
8161 /* Override any GCC internal prototype to avoid an error.
8162 Use char because int might match the return type of a GCC
8163 builtin and then its argument prototype would still apply. */
8167 char XcursorImageLoadCursor ();
8171 return XcursorImageLoadCursor ();
8176 if ac_fn_c_try_link
"$LINENO"; then :
8178 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8179 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'` ;;
8180 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8183 rm -f core conftest.err conftest.
$ac_objext \
8184 conftest
$ac_exeext conftest.
$ac_ext
8185 LIBS
=$ac_check_soname_save_LIBS
8187 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8189 $as_echo "not found" >&6; }
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8193 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8195 cat >>confdefs.h
<<_ACEOF
8196 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8202 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8203 case "x$with_xcursor" in
8204 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8206 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8207 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8211 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8214 $as_echo_n "checking for -lXi... " >&6; }
8215 if ${ac_cv_lib_soname_Xi+:} false
; then :
8216 $as_echo_n "(cached) " >&6
8218 ac_check_soname_save_LIBS
=$LIBS
8219 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8221 /* end confdefs.h. */
8223 /* Override any GCC internal prototype to avoid an error.
8224 Use char because int might match the return type of a GCC
8225 builtin and then its argument prototype would still apply. */
8229 char XOpenDevice ();
8233 return XOpenDevice ();
8238 if ac_fn_c_try_link
"$LINENO"; then :
8240 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8241 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'` ;;
8242 *) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8245 rm -f core conftest.err conftest.
$ac_objext \
8246 conftest
$ac_exeext conftest.
$ac_ext
8247 LIBS
=$ac_check_soname_save_LIBS
8249 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8251 $as_echo "not found" >&6; }
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8255 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8257 cat >>confdefs.h
<<_ACEOF
8258 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8264 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8265 case "x$with_xinput" in
8266 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8268 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8269 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8273 if test "x$ac_cv_lib_soname_Xi" != x
8275 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8276 case "x$with_xinput2" in
8277 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8279 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
8280 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8285 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8288 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8289 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
8290 $as_echo_n "(cached) " >&6
8292 ac_check_lib_save_LIBS
=$LIBS
8293 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8295 /* end confdefs.h. */
8297 /* Override any GCC internal prototype to avoid an error.
8298 Use char because int might match the return type of a GCC
8299 builtin and then its argument prototype would still apply. */
8303 char XShapeQueryExtension ();
8307 return XShapeQueryExtension ();
8312 if ac_fn_c_try_link
"$LINENO"; then :
8313 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8315 ac_cv_lib_Xext_XShapeQueryExtension
=no
8317 rm -f core conftest.err conftest.
$ac_objext \
8318 conftest
$ac_exeext conftest.
$ac_ext
8319 LIBS
=$ac_check_lib_save_LIBS
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8322 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8323 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
8325 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8330 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8331 case "x$with_xshape" in
8332 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8334 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8335 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8339 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8342 $as_echo_n "checking for -lXxf86vm... " >&6; }
8343 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
8344 $as_echo_n "(cached) " >&6
8346 ac_check_soname_save_LIBS
=$LIBS
8347 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8349 /* end confdefs.h. */
8351 /* Override any GCC internal prototype to avoid an error.
8352 Use char because int might match the return type of a GCC
8353 builtin and then its argument prototype would still apply. */
8357 char XF86VidModeQueryExtension ();
8361 return XF86VidModeQueryExtension ();
8366 if ac_fn_c_try_link
"$LINENO"; then :
8368 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8369 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'` ;;
8370 *) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8373 rm -f core conftest.err conftest.
$ac_objext \
8374 conftest
$ac_exeext conftest.
$ac_ext
8375 LIBS
=$ac_check_soname_save_LIBS
8377 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8379 $as_echo "not found" >&6; }
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8383 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8385 cat >>confdefs.h
<<_ACEOF
8386 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8392 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8393 case "x$with_xxf86vm" in
8394 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8396 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8397 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8401 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"
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8404 $as_echo_n "checking for -lXrender... " >&6; }
8405 if ${ac_cv_lib_soname_Xrender+:} false
; then :
8406 $as_echo_n "(cached) " >&6
8408 ac_check_soname_save_LIBS
=$LIBS
8409 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8411 /* end confdefs.h. */
8413 /* Override any GCC internal prototype to avoid an error.
8414 Use char because int might match the return type of a GCC
8415 builtin and then its argument prototype would still apply. */
8419 char XRenderQueryExtension ();
8423 return XRenderQueryExtension ();
8428 if ac_fn_c_try_link
"$LINENO"; then :
8430 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8431 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'` ;;
8432 *) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8435 rm -f core conftest.err conftest.
$ac_objext \
8436 conftest
$ac_exeext conftest.
$ac_ext
8437 LIBS
=$ac_check_soname_save_LIBS
8439 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8441 $as_echo "not found" >&6; }
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8445 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8447 cat >>confdefs.h
<<_ACEOF
8448 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8452 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8453 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
8454 $as_echo_n "(cached) " >&6
8456 ac_check_lib_save_LIBS
=$LIBS
8457 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8459 /* end confdefs.h. */
8461 /* Override any GCC internal prototype to avoid an error.
8462 Use char because int might match the return type of a GCC
8463 builtin and then its argument prototype would still apply. */
8467 char XRenderSetPictureTransform ();
8471 return XRenderSetPictureTransform ();
8476 if ac_fn_c_try_link
"$LINENO"; then :
8477 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8479 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8481 rm -f core conftest.err conftest.
$ac_objext \
8482 conftest
$ac_exeext conftest.
$ac_ext
8483 LIBS
=$ac_check_lib_save_LIBS
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8486 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8487 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
8489 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8494 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8495 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
8496 $as_echo_n "(cached) " >&6
8498 ac_check_lib_save_LIBS
=$LIBS
8499 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8501 /* end confdefs.h. */
8503 /* Override any GCC internal prototype to avoid an error.
8504 Use char because int might match the return type of a GCC
8505 builtin and then its argument prototype would still apply. */
8509 char XRenderCreateLinearGradient ();
8513 return XRenderCreateLinearGradient ();
8518 if ac_fn_c_try_link
"$LINENO"; then :
8519 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
8521 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
8523 rm -f core conftest.err conftest.
$ac_objext \
8524 conftest
$ac_exeext conftest.
$ac_ext
8525 LIBS
=$ac_check_lib_save_LIBS
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8528 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8529 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
8531 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8538 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8539 case "x$with_xrender" in
8540 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8542 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8543 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8547 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8551 #include <X11/Xlib.h>
8552 #include <X11/extensions/Xrandr.h>
8556 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8561 if ac_fn_c_try_compile
"$LINENO"; then :
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8563 $as_echo_n "checking for -lXrandr... " >&6; }
8564 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
8565 $as_echo_n "(cached) " >&6
8567 ac_check_soname_save_LIBS
=$LIBS
8568 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8570 /* end confdefs.h. */
8572 /* Override any GCC internal prototype to avoid an error.
8573 Use char because int might match the return type of a GCC
8574 builtin and then its argument prototype would still apply. */
8578 char XRRQueryExtension ();
8582 return XRRQueryExtension ();
8587 if ac_fn_c_try_link
"$LINENO"; then :
8589 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8590 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'` ;;
8591 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8594 rm -f core conftest.err conftest.
$ac_objext \
8595 conftest
$ac_exeext conftest.
$ac_ext
8596 LIBS
=$ac_check_soname_save_LIBS
8598 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8600 $as_echo "not found" >&6; }
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8604 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8606 cat >>confdefs.h
<<_ACEOF
8607 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8611 /* end confdefs.h. */
8612 #include <X11/extensions/Xrandr.h>
8616 static typeof(XRRGetScreenResources) *f; if (f) return 0;
8621 if ac_fn_c_try_compile
"$LINENO"; then :
8623 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
8626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8631 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8632 case "x$with_xrandr" in
8633 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8635 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8636 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8640 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8643 /* end confdefs.h. */
8644 #include <X11/Xlib.h>
8645 #include <X11/extensions/Xinerama.h>
8649 static typeof(XineramaQueryScreens) * func; if (func) return 0;
8654 if ac_fn_c_try_compile
"$LINENO"; then :
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8656 $as_echo_n "checking for -lXinerama... " >&6; }
8657 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
8658 $as_echo_n "(cached) " >&6
8660 ac_check_soname_save_LIBS
=$LIBS
8661 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8663 /* end confdefs.h. */
8665 /* Override any GCC internal prototype to avoid an error.
8666 Use char because int might match the return type of a GCC
8667 builtin and then its argument prototype would still apply. */
8671 char XineramaQueryScreens ();
8675 return XineramaQueryScreens ();
8680 if ac_fn_c_try_link
"$LINENO"; then :
8682 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8683 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'` ;;
8684 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8687 rm -f core conftest.err conftest.
$ac_objext \
8688 conftest
$ac_exeext conftest.
$ac_ext
8689 LIBS
=$ac_check_soname_save_LIBS
8691 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8693 $as_echo "not found" >&6; }
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8697 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8699 cat >>confdefs.h
<<_ACEOF
8700 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8708 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8709 case "x$with_xinerama" in
8710 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8712 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8713 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8717 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8720 $as_echo_n "checking for -lXcomposite... " >&6; }
8721 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
8722 $as_echo_n "(cached) " >&6
8724 ac_check_soname_save_LIBS
=$LIBS
8725 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8727 /* end confdefs.h. */
8729 /* Override any GCC internal prototype to avoid an error.
8730 Use char because int might match the return type of a GCC
8731 builtin and then its argument prototype would still apply. */
8735 char XCompositeRedirectWindow ();
8739 return XCompositeRedirectWindow ();
8744 if ac_fn_c_try_link
"$LINENO"; then :
8746 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8747 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'` ;;
8748 *) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8751 rm -f core conftest.err conftest.
$ac_objext \
8752 conftest
$ac_exeext conftest.
$ac_ext
8753 LIBS
=$ac_check_soname_save_LIBS
8755 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8757 $as_echo "not found" >&6; }
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8761 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8763 cat >>confdefs.h
<<_ACEOF
8764 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8770 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8771 case "x$with_xcomposite" in
8772 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8774 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8775 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8779 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8780 #include <X11/Xlib.h>
8783 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
8785 cat >>confdefs.h
<<_ACEOF
8786 #define HAVE_XICCALLBACK_CALLBACK 1
8791 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
8792 #include <X11/Xlib.h>
8795 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
8797 cat >>confdefs.h
<<_ACEOF
8798 #define HAVE_XEVENT_XCOOKIE 1
8807 if test "x$with_opengl" != "xno"
8809 for ac_header
in GL
/gl.h GL
/glx.h GL
/glu.h
8811 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8812 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8813 # include <GL/glx.h>
8816 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8817 cat >>confdefs.h
<<_ACEOF
8818 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8825 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8828 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8829 if ${wine_cv_opengl_header_version_OK+:} false
; then :
8830 $as_echo_n "(cached) " >&6
8832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8833 /* end confdefs.h. */
8838 GLenum test = GL_UNSIGNED_SHORT_5_6_5; return (test == GL_UNSIGNED_SHORT_5_6_5);
8843 if ac_fn_c_try_compile
"$LINENO"; then :
8844 wine_cv_opengl_header_version_OK
="yes"
8846 wine_cv_opengl_header_version_OK
="no"
8848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8851 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8853 if test "$wine_cv_opengl_header_version_OK" = "yes"
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8856 $as_echo_n "checking for -lGL... " >&6; }
8857 if ${ac_cv_lib_soname_GL+:} false
; then :
8858 $as_echo_n "(cached) " >&6
8860 ac_check_soname_save_LIBS
=$LIBS
8861 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8863 /* end confdefs.h. */
8865 /* Override any GCC internal prototype to avoid an error.
8866 Use char because int might match the return type of a GCC
8867 builtin and then its argument prototype would still apply. */
8871 char glXCreateContext ();
8875 return glXCreateContext ();
8880 if ac_fn_c_try_link
"$LINENO"; then :
8882 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8883 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'` ;;
8884 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8887 rm -f core conftest.err conftest.
$ac_objext \
8888 conftest
$ac_exeext conftest.
$ac_ext
8889 LIBS
=$ac_check_soname_save_LIBS
8891 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8893 $as_echo "not found" >&6; }
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8895 $as_echo_n "checking for -lGL... " >&6; }
8896 if ${ac_cv_lib_soname_GL+:} false
; then :
8897 $as_echo_n "(cached) " >&6
8899 ac_check_soname_save_LIBS
=$LIBS
8900 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"
8901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8902 /* end confdefs.h. */
8904 /* Override any GCC internal prototype to avoid an error.
8905 Use char because int might match the return type of a GCC
8906 builtin and then its argument prototype would still apply. */
8910 char glXCreateContext ();
8914 return glXCreateContext ();
8919 if ac_fn_c_try_link
"$LINENO"; then :
8921 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8922 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'` ;;
8923 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8926 rm -f core conftest.err conftest.
$ac_objext \
8927 conftest
$ac_exeext conftest.
$ac_ext
8928 LIBS
=$ac_check_soname_save_LIBS
8930 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8932 $as_echo "not found" >&6; }
8933 if test -f /usr
/X11R
6/lib
/libGL.a
8935 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
8936 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8938 opengl_msg
="No OpenGL library found on this system."
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8942 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8944 cat >>confdefs.h
<<_ACEOF
8945 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8948 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"
8950 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8955 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8957 cat >>confdefs.h
<<_ACEOF
8958 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8963 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8966 if test "$ac_cv_header_GL_glu_h" = "yes"
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8969 $as_echo_n "checking for -lGLU... " >&6; }
8970 if ${ac_cv_lib_soname_GLU+:} false
; then :
8971 $as_echo_n "(cached) " >&6
8973 ac_check_soname_save_LIBS
=$LIBS
8974 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8976 /* end confdefs.h. */
8978 /* Override any GCC internal prototype to avoid an error.
8979 Use char because int might match the return type of a GCC
8980 builtin and then its argument prototype would still apply. */
8988 return gluLookAt ();
8993 if ac_fn_c_try_link
"$LINENO"; then :
8995 dll
) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8996 dylib
) ac_cv_lib_soname_GLU
=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8997 *) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9000 rm -f core conftest.err conftest.
$ac_objext \
9001 conftest
$ac_exeext conftest.
$ac_ext
9002 LIBS
=$ac_check_soname_save_LIBS
9004 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9006 $as_echo "not found" >&6; }
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
9010 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
9012 cat >>confdefs.h
<<_ACEOF
9013 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
9019 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
9020 case "x$with_glu" in
9021 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9023 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9024 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9028 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
9031 opengl_msg
="OpenGL development headers not found."
9033 test -n "$opengl_msg" && enable_opengl32
=${enable_opengl32:-no}
9034 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32
=${enable_glu32:-no}
9036 enable_opengl32
=${enable_opengl32:-no}
9037 enable_glu32
=${enable_glu32:-no}
9039 if test -n "$opengl_msg"; then :
9040 case "x$with_opengl" in
9041 x
) as_fn_append wine_warnings
"|$opengl_msg
9042 OpenGL and Direct3D won't be supported." ;;
9044 *) as_fn_error $?
"$opengl_msg
9045 OpenGL and Direct3D won't be supported.
9046 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9050 CPPFLAGS
="$ac_save_CPPFLAGS"
9055 enable_winex11_drv
=${enable_winex11_drv:-no}
9056 enable_opengl32
=${enable_opengl32:-no}
9057 enable_glu32
=${enable_glu32:-no}
9059 if test "x$XLIB" = "x"; then :
9062 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
9063 without X support, which probably isn't what you want. You will need
9064 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9065 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9069 if test "$ac_cv_header_CL_cl_h" = "yes"
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9072 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9073 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
9074 $as_echo_n "(cached) " >&6
9076 ac_check_lib_save_LIBS
=$LIBS
9077 LIBS
="-lOpenCL $LIBS"
9078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9079 /* end confdefs.h. */
9081 /* Override any GCC internal prototype to avoid an error.
9082 Use char because int might match the return type of a GCC
9083 builtin and then its argument prototype would still apply. */
9087 char clGetPlatformInfo ();
9091 return clGetPlatformInfo ();
9096 if ac_fn_c_try_link
"$LINENO"; then :
9097 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9099 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9101 rm -f core conftest.err conftest.
$ac_objext \
9102 conftest
$ac_exeext conftest.
$ac_ext
9103 LIBS
=$ac_check_lib_save_LIBS
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9106 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9107 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
9108 LIBOPENCL
="-lOpenCL"
9113 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9114 case "x$with_opencl" in
9115 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9117 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9118 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9121 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9130 if test "x$with_xml" != "xno"
9132 ac_save_CPPFLAGS
="$CPPFLAGS"
9133 if test "$PKG_CONFIG" != "false"
9135 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9136 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9138 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
9139 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
9141 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
9142 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
9144 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9145 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9146 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9147 cat >>confdefs.h
<<_ACEOF
9148 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9155 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"
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9158 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9159 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
9160 $as_echo_n "(cached) " >&6
9162 ac_check_lib_save_LIBS
=$LIBS
9163 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9165 /* end confdefs.h. */
9167 /* Override any GCC internal prototype to avoid an error.
9168 Use char because int might match the return type of a GCC
9169 builtin and then its argument prototype would still apply. */
9173 char xmlParseMemory ();
9177 return xmlParseMemory ();
9182 if ac_fn_c_try_link
"$LINENO"; then :
9183 ac_cv_lib_xml2_xmlParseMemory
=yes
9185 ac_cv_lib_xml2_xmlParseMemory
=no
9187 rm -f core conftest.err conftest.
$ac_objext \
9188 conftest
$ac_exeext conftest.
$ac_ext
9189 LIBS
=$ac_check_lib_save_LIBS
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9192 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9193 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
9195 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9197 XML2LIBS
="$ac_xml_libs"
9198 XML2INCL
="$ac_xml_cflags"
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9202 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9203 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
9204 $as_echo_n "(cached) " >&6
9206 ac_check_lib_save_LIBS
=$LIBS
9207 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9209 /* end confdefs.h. */
9211 /* Override any GCC internal prototype to avoid an error.
9212 Use char because int might match the return type of a GCC
9213 builtin and then its argument prototype would still apply. */
9217 char xmlReadMemory ();
9221 return xmlReadMemory ();
9226 if ac_fn_c_try_link
"$LINENO"; then :
9227 ac_cv_lib_xml2_xmlReadMemory
=yes
9229 ac_cv_lib_xml2_xmlReadMemory
=no
9231 rm -f core conftest.err conftest.
$ac_objext \
9232 conftest
$ac_exeext conftest.
$ac_ext
9233 LIBS
=$ac_check_lib_save_LIBS
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9236 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9237 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
9239 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9244 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9245 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
9246 $as_echo_n "(cached) " >&6
9248 ac_check_lib_save_LIBS
=$LIBS
9249 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9251 /* end confdefs.h. */
9253 /* Override any GCC internal prototype to avoid an error.
9254 Use char because int might match the return type of a GCC
9255 builtin and then its argument prototype would still apply. */
9259 char xmlNewDocPI ();
9263 return xmlNewDocPI ();
9268 if ac_fn_c_try_link
"$LINENO"; then :
9269 ac_cv_lib_xml2_xmlNewDocPI
=yes
9271 ac_cv_lib_xml2_xmlNewDocPI
=no
9273 rm -f core conftest.err conftest.
$ac_objext \
9274 conftest
$ac_exeext conftest.
$ac_ext
9275 LIBS
=$ac_check_lib_save_LIBS
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9278 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9279 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
9281 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9286 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9287 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
9288 $as_echo_n "(cached) " >&6
9290 ac_check_lib_save_LIBS
=$LIBS
9291 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9293 /* end confdefs.h. */
9295 /* Override any GCC internal prototype to avoid an error.
9296 Use char because int might match the return type of a GCC
9297 builtin and then its argument prototype would still apply. */
9301 char xmlSchemaSetParserStructuredErrors ();
9305 return xmlSchemaSetParserStructuredErrors ();
9310 if ac_fn_c_try_link
"$LINENO"; then :
9311 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9313 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9315 rm -f core conftest.err conftest.
$ac_objext \
9316 conftest
$ac_exeext conftest.
$ac_ext
9317 LIBS
=$ac_check_lib_save_LIBS
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9320 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9321 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
9323 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9328 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9329 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
9330 $as_echo_n "(cached) " >&6
9332 ac_check_lib_save_LIBS
=$LIBS
9333 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9335 /* end confdefs.h. */
9337 /* Override any GCC internal prototype to avoid an error.
9338 Use char because int might match the return type of a GCC
9339 builtin and then its argument prototype would still apply. */
9343 char xmlSchemaSetValidStructuredErrors ();
9347 return xmlSchemaSetValidStructuredErrors ();
9352 if ac_fn_c_try_link
"$LINENO"; then :
9353 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9355 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9357 rm -f core conftest.err conftest.
$ac_objext \
9358 conftest
$ac_exeext conftest.
$ac_ext
9359 LIBS
=$ac_check_lib_save_LIBS
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9362 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9363 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
9365 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9370 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9371 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
9372 $as_echo_n "(cached) " >&6
9374 ac_check_lib_save_LIBS
=$LIBS
9375 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9377 /* end confdefs.h. */
9379 /* Override any GCC internal prototype to avoid an error.
9380 Use char because int might match the return type of a GCC
9381 builtin and then its argument prototype would still apply. */
9385 char xmlFirstElementChild ();
9389 return xmlFirstElementChild ();
9394 if ac_fn_c_try_link
"$LINENO"; then :
9395 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9397 ac_cv_lib_xml2_xmlFirstElementChild
=no
9399 rm -f core conftest.err conftest.
$ac_objext \
9400 conftest
$ac_exeext conftest.
$ac_ext
9401 LIBS
=$ac_check_lib_save_LIBS
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9404 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9405 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
9407 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9411 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9413 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
9415 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9420 CPPFLAGS
="$ac_save_CPPFLAGS"
9422 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9423 case "x$with_xml" in
9424 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9426 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9427 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9431 if test "x$with_xslt" != "xno"
9433 if test "$PKG_CONFIG" != "false"
9435 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9436 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9438 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
9439 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
9441 ac_save_CPPFLAGS
="$CPPFLAGS"
9442 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9443 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9445 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9446 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9447 # include <libxslt/pattern.h>
9450 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9451 cat >>confdefs.h
<<_ACEOF
9452 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9459 CPPFLAGS
="$ac_save_CPPFLAGS"
9460 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9463 $as_echo_n "checking for -lxslt... " >&6; }
9464 if ${ac_cv_lib_soname_xslt+:} false
; then :
9465 $as_echo_n "(cached) " >&6
9467 ac_check_soname_save_LIBS
=$LIBS
9468 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9470 /* end confdefs.h. */
9472 /* Override any GCC internal prototype to avoid an error.
9473 Use char because int might match the return type of a GCC
9474 builtin and then its argument prototype would still apply. */
9478 char xsltCompilePattern ();
9482 return xsltCompilePattern ();
9487 if ac_fn_c_try_link
"$LINENO"; then :
9489 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9490 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'` ;;
9491 *) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9494 rm -f core conftest.err conftest.
$ac_objext \
9495 conftest
$ac_exeext conftest.
$ac_ext
9496 LIBS
=$ac_check_soname_save_LIBS
9498 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9500 $as_echo "not found" >&6; }
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9504 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9506 cat >>confdefs.h
<<_ACEOF
9507 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9510 XSLTINCL
="$ac_xslt_cflags"
9514 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9515 case "x$with_xslt" in
9516 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9518 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
9519 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9523 if test "x$with_dbus" != "xno"
9525 ac_save_CPPFLAGS
="$CPPFLAGS"
9526 if test "$PKG_CONFIG" != "false"
9528 ac_dbus_libs
="`$PKG_CONFIG --libs dbus-1 2>/dev/null`"
9529 ac_dbus_cflags
="`$PKG_CONFIG --cflags dbus-1 2>/dev/null`"
9530 CPPFLAGS
="$CPPFLAGS $ac_dbus_cflags"
9532 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
9533 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
9535 $as_echo_n "checking for -ldbus-1... " >&6; }
9536 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
9537 $as_echo_n "(cached) " >&6
9539 ac_check_soname_save_LIBS
=$LIBS
9540 LIBS
="-ldbus-1 $ac_dbus_libs $LIBS"
9541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9542 /* end confdefs.h. */
9544 /* Override any GCC internal prototype to avoid an error.
9545 Use char because int might match the return type of a GCC
9546 builtin and then its argument prototype would still apply. */
9550 char dbus_connection_close ();
9554 return dbus_connection_close ();
9559 if ac_fn_c_try_link
"$LINENO"; then :
9561 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9562 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'` ;;
9563 *) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9566 rm -f core conftest.err conftest.
$ac_objext \
9567 conftest
$ac_exeext conftest.
$ac_ext
9568 LIBS
=$ac_check_soname_save_LIBS
9570 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9572 $as_echo "not found" >&6; }
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
9576 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
9578 cat >>confdefs.h
<<_ACEOF
9579 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
9582 DBUSINCL
="$ac_dbus_cflags"
9588 CPPFLAGS
="$ac_save_CPPFLAGS"
9590 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
9591 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9592 case "x$with_dbus" in
9593 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9595 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
9596 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
9600 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
9602 ac_save_CPPFLAGS
="$CPPFLAGS"
9603 if test "$PKG_CONFIG" != "false"
9605 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
9606 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9607 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
9609 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
9610 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9612 $as_echo_n "checking for -lhal... " >&6; }
9613 if ${ac_cv_lib_soname_hal+:} false
; then :
9614 $as_echo_n "(cached) " >&6
9616 ac_check_soname_save_LIBS
=$LIBS
9617 LIBS
="-lhal $ac_hal_libs $LIBS"
9618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9619 /* end confdefs.h. */
9621 /* Override any GCC internal prototype to avoid an error.
9622 Use char because int might match the return type of a GCC
9623 builtin and then its argument prototype would still apply. */
9627 char libhal_ctx_new ();
9631 return libhal_ctx_new ();
9636 if ac_fn_c_try_link
"$LINENO"; then :
9638 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9639 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'` ;;
9640 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9643 rm -f core conftest.err conftest.
$ac_objext \
9644 conftest
$ac_exeext conftest.
$ac_ext
9645 LIBS
=$ac_check_soname_save_LIBS
9647 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9649 $as_echo "not found" >&6; }
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9653 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9655 cat >>confdefs.h
<<_ACEOF
9656 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9659 HALINCL
="$ac_hal_cflags"
9665 CPPFLAGS
="$ac_save_CPPFLAGS"
9666 if test "x$ac_cv_lib_soname_hal" = "x" -a \
9667 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9668 case "x$with_hal" in
9669 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
9671 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
9672 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9677 if test "x$with_gnutls" != "xno"
9679 ac_save_CPPFLAGS
="$CPPFLAGS"
9680 if test "$PKG_CONFIG" != "false"
9682 ac_gnutls_libs
="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9683 ac_gnutls_cflags
="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9684 CPPFLAGS
="$CPPFLAGS $ac_gnutls_cflags"
9686 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9687 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
9688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9689 /* end confdefs.h. */
9690 #include <gnutls/gnutls.h>
9694 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
9699 if ac_fn_c_try_compile
"$LINENO"; then :
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9701 $as_echo_n "checking for -lgnutls... " >&6; }
9702 if ${ac_cv_lib_soname_gnutls+:} false
; then :
9703 $as_echo_n "(cached) " >&6
9705 ac_check_soname_save_LIBS
=$LIBS
9706 LIBS
="-lgnutls $ac_gnutls_libs $LIBS"
9707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9708 /* end confdefs.h. */
9710 /* Override any GCC internal prototype to avoid an error.
9711 Use char because int might match the return type of a GCC
9712 builtin and then its argument prototype would still apply. */
9716 char gnutls_global_init ();
9720 return gnutls_global_init ();
9725 if ac_fn_c_try_link
"$LINENO"; then :
9727 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9728 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'` ;;
9729 *) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9732 rm -f core conftest.err conftest.
$ac_objext \
9733 conftest
$ac_exeext conftest.
$ac_ext
9734 LIBS
=$ac_check_soname_save_LIBS
9736 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9738 $as_echo "not found" >&6; }
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9742 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9744 cat >>confdefs.h
<<_ACEOF
9745 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9748 GNUTLSINCL
="$ac_gnutls_cflags"
9752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9756 CPPFLAGS
="$ac_save_CPPFLAGS"
9758 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9759 case "x$with_gnutls" in
9760 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9762 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
9763 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9768 if test "$ac_cv_header_ncurses_h" = "yes"
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9771 $as_echo_n "checking for -lncurses... " >&6; }
9772 if ${ac_cv_lib_soname_ncurses+:} false
; then :
9773 $as_echo_n "(cached) " >&6
9775 ac_check_soname_save_LIBS
=$LIBS
9776 LIBS
="-lncurses $LIBS"
9777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9780 /* Override any GCC internal prototype to avoid an error.
9781 Use char because int might match the return type of a GCC
9782 builtin and then its argument prototype would still apply. */
9795 if ac_fn_c_try_link
"$LINENO"; then :
9797 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9798 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'` ;;
9799 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9802 rm -f core conftest.err conftest.
$ac_objext \
9803 conftest
$ac_exeext conftest.
$ac_ext
9804 LIBS
=$ac_check_soname_save_LIBS
9806 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9808 $as_echo "not found" >&6; }
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9812 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9814 cat >>confdefs.h
<<_ACEOF
9815 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9818 CURSESLIBS
="-lncurses"
9820 elif test "$ac_cv_header_curses_h" = "yes"
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9823 $as_echo_n "checking for -lcurses... " >&6; }
9824 if ${ac_cv_lib_soname_curses+:} false
; then :
9825 $as_echo_n "(cached) " >&6
9827 ac_check_soname_save_LIBS
=$LIBS
9828 LIBS
="-lcurses $LIBS"
9829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9830 /* end confdefs.h. */
9832 /* Override any GCC internal prototype to avoid an error.
9833 Use char because int might match the return type of a GCC
9834 builtin and then its argument prototype would still apply. */
9847 if ac_fn_c_try_link
"$LINENO"; then :
9849 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9850 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'` ;;
9851 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9854 rm -f core conftest.err conftest.
$ac_objext \
9855 conftest
$ac_exeext conftest.
$ac_ext
9856 LIBS
=$ac_check_soname_save_LIBS
9858 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9860 $as_echo "not found" >&6; }
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9864 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9866 cat >>confdefs.h
<<_ACEOF
9867 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9870 CURSESLIBS
="-lcurses"
9873 ac_save_LIBS
="$LIBS"
9874 LIBS
="$LIBS $CURSESLIBS"
9875 for ac_func
in mousemask
9877 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
9878 if test "x$ac_cv_func_mousemask" = xyes
; then :
9879 cat >>confdefs.h
<<_ACEOF
9880 #define HAVE_MOUSEMASK 1
9886 LIBS
="$ac_save_LIBS"
9887 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9888 case "x$with_curses" in
9889 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9891 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9892 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9896 if test "x$with_sane" != "xno"
9898 ac_save_CPPFLAGS
="$CPPFLAGS"
9899 # Extract the first word of "sane-config", so it can be a program name with args.
9900 set dummy sane-config
; ac_word
=$2
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9902 $as_echo_n "checking for $ac_word... " >&6; }
9903 if ${ac_cv_prog_sane_devel+:} false
; then :
9904 $as_echo_n "(cached) " >&6
9906 if test -n "$sane_devel"; then
9907 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9913 test -z "$as_dir" && as_dir
=.
9914 for ac_exec_ext
in '' $ac_executable_extensions; do
9915 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9916 ac_cv_prog_sane_devel
="sane-config"
9917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9924 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9927 sane_devel
=$ac_cv_prog_sane_devel
9928 if test -n "$sane_devel"; then
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9930 $as_echo "$sane_devel" >&6; }
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9933 $as_echo "no" >&6; }
9937 if test "$sane_devel" != "no"
9939 ac_sane_incl
="`$sane_devel --cflags`"
9940 ac_sane_libs
="`$sane_devel --ldflags`"
9941 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
9943 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9944 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9946 $as_echo_n "checking for -lsane... " >&6; }
9947 if ${ac_cv_lib_soname_sane+:} false
; then :
9948 $as_echo_n "(cached) " >&6
9950 ac_check_soname_save_LIBS
=$LIBS
9951 LIBS
="-lsane $ac_sane_libs $LIBS"
9952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9953 /* end confdefs.h. */
9955 /* Override any GCC internal prototype to avoid an error.
9956 Use char because int might match the return type of a GCC
9957 builtin and then its argument prototype would still apply. */
9965 return sane_init ();
9970 if ac_fn_c_try_link
"$LINENO"; then :
9972 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9973 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'` ;;
9974 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9977 rm -f core conftest.err conftest.
$ac_objext \
9978 conftest
$ac_exeext conftest.
$ac_ext
9979 LIBS
=$ac_check_soname_save_LIBS
9981 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9983 $as_echo "not found" >&6; }
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9987 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9989 cat >>confdefs.h
<<_ACEOF
9990 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9993 SANEINCL
="$ac_sane_incl"
9999 CPPFLAGS
="$ac_save_CPPFLAGS"
10001 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10002 case "x$with_sane" in
10003 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10005 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
10006 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10010 if test "x$with_v4l" != "xno"
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10013 $as_echo_n "checking for -lv4l1... " >&6; }
10014 if ${ac_cv_lib_soname_v4l1+:} false
; then :
10015 $as_echo_n "(cached) " >&6
10017 ac_check_soname_save_LIBS
=$LIBS
10018 LIBS
="-lv4l1 $LIBS"
10019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10020 /* end confdefs.h. */
10022 /* Override any GCC internal prototype to avoid an error.
10023 Use char because int might match the return type of a GCC
10024 builtin and then its argument prototype would still apply. */
10032 return v4l1_open ();
10037 if ac_fn_c_try_link
"$LINENO"; then :
10039 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10040 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'` ;;
10041 *) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10044 rm -f core conftest.err conftest.
$ac_objext \
10045 conftest
$ac_exeext conftest.
$ac_ext
10046 LIBS
=$ac_check_soname_save_LIBS
10048 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10050 $as_echo "not found" >&6; }
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10054 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10056 cat >>confdefs.h
<<_ACEOF
10057 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10063 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10064 case "x$with_v4l" in
10065 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
10067 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
10068 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10072 if test "x$with_gphoto" != "xno"
10074 ac_save_CPPFLAGS
="$CPPFLAGS"
10075 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10076 set dummy gphoto2-config
; ac_word
=$2
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10078 $as_echo_n "checking for $ac_word... " >&6; }
10079 if ${ac_cv_prog_gphoto2_devel+:} false
; then :
10080 $as_echo_n "(cached) " >&6
10082 if test -n "$gphoto2_devel"; then
10083 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
10085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10086 for as_dir
in $PATH
10089 test -z "$as_dir" && as_dir
=.
10090 for ac_exec_ext
in '' $ac_executable_extensions; do
10091 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10092 ac_cv_prog_gphoto2_devel
="gphoto2-config"
10093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10100 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10103 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10104 if test -n "$gphoto2_devel"; then
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10106 $as_echo "$gphoto2_devel" >&6; }
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10109 $as_echo "no" >&6; }
10113 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10114 set dummy gphoto2-port-config
; ac_word
=$2
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10116 $as_echo_n "checking for $ac_word... " >&6; }
10117 if ${ac_cv_prog_gphoto2port_devel+:} false
; then :
10118 $as_echo_n "(cached) " >&6
10120 if test -n "$gphoto2port_devel"; then
10121 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
10123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10124 for as_dir
in $PATH
10127 test -z "$as_dir" && as_dir
=.
10128 for ac_exec_ext
in '' $ac_executable_extensions; do
10129 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10130 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
10131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10138 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
10141 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
10142 if test -n "$gphoto2port_devel"; then
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10144 $as_echo "$gphoto2port_devel" >&6; }
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10147 $as_echo "no" >&6; }
10151 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10153 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10155 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10158 -L/usr
/lib|
-L/usr
/lib64
) ;;
10159 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
10162 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
10164 ac_gphoto2_libs
=${ac_gphoto2_libs:-"-lgphoto2"}
10165 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10166 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10168 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10169 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
10170 $as_echo_n "(cached) " >&6
10172 ac_check_lib_save_LIBS
=$LIBS
10173 LIBS
="-lgphoto2 $ac_gphoto2_libs $LIBS"
10174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10175 /* end confdefs.h. */
10177 /* Override any GCC internal prototype to avoid an error.
10178 Use char because int might match the return type of a GCC
10179 builtin and then its argument prototype would still apply. */
10183 char gp_camera_new ();
10187 return gp_camera_new ();
10192 if ac_fn_c_try_link
"$LINENO"; then :
10193 ac_cv_lib_gphoto2_gp_camera_new
=yes
10195 ac_cv_lib_gphoto2_gp_camera_new
=no
10197 rm -f core conftest.err conftest.
$ac_objext \
10198 conftest
$ac_exeext conftest.
$ac_ext
10199 LIBS
=$ac_check_lib_save_LIBS
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10202 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10203 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
10205 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10207 GPHOTO2LIBS
="$ac_gphoto2_libs"
10209 GPHOTO2INCL
="$ac_gphoto2_incl"
10216 CPPFLAGS
="$ac_save_CPPFLAGS"
10218 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10219 case "x$with_gphoto" in
10220 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10222 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10223 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10228 if test "$ac_cv_header_resolv_h" = "yes"
10230 ac_save_LIBS
="$LIBS"
10231 for lib
in '' -lresolv
10233 LIBS
="$lib $ac_save_LIBS"
10234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10235 /* end confdefs.h. */
10236 #ifdef HAVE_NETINET_IN_H
10237 #include <netinet/in.h>
10239 #include <resolv.h>
10243 res_query("foo",ns_c_in,0,0,0);
10248 if ac_fn_c_try_link
"$LINENO"; then :
10250 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10255 rm -f core conftest.err conftest.
$ac_objext \
10256 conftest
$ac_exeext conftest.
$ac_ext
10257 if test "${RESOLVLIBS+set}" = set; then
10261 LIBS
="$ac_save_LIBS"
10266 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10269 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10270 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false
; then :
10271 $as_echo_n "(cached) " >&6
10273 ac_check_lib_save_LIBS
=$LIBS
10274 LIBS
="-llcms $LIBS"
10275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10278 /* Override any GCC internal prototype to avoid an error.
10279 Use char because int might match the return type of a GCC
10280 builtin and then its argument prototype would still apply. */
10284 char cmsOpenProfileFromFile ();
10288 return cmsOpenProfileFromFile ();
10293 if ac_fn_c_try_link
"$LINENO"; then :
10294 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10296 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10298 rm -f core conftest.err conftest.
$ac_objext \
10299 conftest
$ac_exeext conftest.
$ac_ext
10300 LIBS
=$ac_check_lib_save_LIBS
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10303 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10304 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes
; then :
10306 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10312 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10313 case "x$with_cms" in
10314 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10316 *) as_fn_error $?
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10317 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10321 if test "x$with_freetype" != "xno"
10323 if test "$PKG_CONFIG" != "false"
10325 ac_freetype_incl
="`$PKG_CONFIG --cflags freetype2 2>/dev/null`"
10326 ac_freetype_libs
="`$PKG_CONFIG --libs freetype2 2>/dev/null`"
10328 for ac_prog
in freetype-config freetype2-config
10330 # Extract the first word of "$ac_prog", so it can be a program name with args.
10331 set dummy
$ac_prog; ac_word
=$2
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10333 $as_echo_n "checking for $ac_word... " >&6; }
10334 if ${ac_cv_prog_ft_devel+:} false
; then :
10335 $as_echo_n "(cached) " >&6
10337 if test -n "$ft_devel"; then
10338 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10341 for as_dir
in $PATH
10344 test -z "$as_dir" && as_dir
=.
10345 for ac_exec_ext
in '' $ac_executable_extensions; do
10346 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10347 ac_cv_prog_ft_devel
="$ac_prog"
10348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10357 ft_devel
=$ac_cv_prog_ft_devel
10358 if test -n "$ft_devel"; then
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10360 $as_echo "$ft_devel" >&6; }
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10363 $as_echo "no" >&6; }
10367 test -n "$ft_devel" && break
10369 test -n "$ft_devel" || ft_devel
="no"
10371 if test "$ft_devel" != "no"
10373 ac_freetype_incl
=`$ft_devel --cflags`
10374 ac_freetype_libs
=`$ft_devel --libs`
10377 ac_freetype_libs
=${ac_freetype_libs:-"-lfreetype"}
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10379 $as_echo_n "checking for -lfreetype... " >&6; }
10380 if ${ac_cv_lib_soname_freetype+:} false
; then :
10381 $as_echo_n "(cached) " >&6
10383 ac_check_soname_save_LIBS
=$LIBS
10384 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
10385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10386 /* end confdefs.h. */
10388 /* Override any GCC internal prototype to avoid an error.
10389 Use char because int might match the return type of a GCC
10390 builtin and then its argument prototype would still apply. */
10394 char FT_Init_FreeType ();
10398 return FT_Init_FreeType ();
10403 if ac_fn_c_try_link
"$LINENO"; then :
10405 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10406 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'` ;;
10407 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10410 rm -f core conftest.err conftest.
$ac_objext \
10411 conftest
$ac_exeext conftest.
$ac_ext
10412 LIBS
=$ac_check_soname_save_LIBS
10414 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10416 $as_echo "not found" >&6; }
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10420 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10422 cat >>confdefs.h
<<_ACEOF
10423 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10428 if test "$ft_lib" = "yes"
10430 ac_save_CPPFLAGS
="$CPPFLAGS"
10431 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
10432 for ac_header
in ft2build.h \
10433 freetype
/freetype.h \
10434 freetype
/ftglyph.h \
10435 freetype
/fttypes.h \
10436 freetype
/tttables.h \
10437 freetype
/ftsnames.h \
10438 freetype
/ttnameid.h \
10439 freetype
/ftoutln.h \
10440 freetype
/ftwinfnt.h \
10441 freetype
/ftmodapi.h \
10442 freetype
/ftlcdfil.h
10444 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10445 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10446 # include <ft2build.h>
10449 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10450 cat >>confdefs.h
<<_ACEOF
10451 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10459 /* end confdefs.h. */
10460 #include <ft2build.h>
10461 #include <freetype/fttrigon.h>
10463 if ac_fn_c_try_cpp
"$LINENO"; then :
10465 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10467 wine_cv_fttrigon
=yes
10469 wine_cv_fttrigon
=no
10471 rm -f conftest.err conftest.i conftest.
$ac_ext
10472 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10474 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
10476 cat >>confdefs.h
<<_ACEOF
10477 #define HAVE_FT_TRUETYPEENGINETYPE 1
10483 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10486 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10488 FREETYPELIBS
="$ac_freetype_libs"
10490 FREETYPEINCL
="$ac_freetype_incl"
10495 if test "x$FREETYPELIBS" = "x"; then :
10496 case "x$with_freetype" in
10498 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10499 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10502 test "x$FREETYPELIBS" = "x" && enable_fonts
=${enable_fonts:-no}
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10505 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10506 if ${ac_cv_c_ppdev+:} false
; then :
10507 $as_echo_n "(cached) " >&6
10509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10510 /* end confdefs.h. */
10511 #ifdef HAVE_SYS_IOCTL_H
10512 # include <sys/ioctl.h>
10514 #include <linux/ppdev.h>
10518 ioctl (1,PPCLAIM,0)
10523 if ac_fn_c_try_compile
"$LINENO"; then :
10524 ac_cv_c_ppdev
="yes"
10528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10531 $as_echo "$ac_cv_c_ppdev" >&6; }
10532 if test "$ac_cv_c_ppdev" = "yes"
10535 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10539 ac_wine_check_funcs_save_LIBS
="$LIBS"
10540 LIBS
="$LIBS $LIBPTHREAD"
10542 pthread_attr_get_np \
10543 pthread_getattr_np \
10544 pthread_get_stackaddr_np \
10545 pthread_get_stacksize_np
10547 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10548 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10549 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10550 cat >>confdefs.h
<<_ACEOF
10551 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10557 LIBS
="$ac_wine_check_funcs_save_LIBS"
10559 if test "$ac_cv_header_zlib_h" = "yes"
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10562 $as_echo_n "checking for inflate in -lz... " >&6; }
10563 if ${ac_cv_lib_z_inflate+:} false
; then :
10564 $as_echo_n "(cached) " >&6
10566 ac_check_lib_save_LIBS
=$LIBS
10568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10569 /* end confdefs.h. */
10571 /* Override any GCC internal prototype to avoid an error.
10572 Use char because int might match the return type of a GCC
10573 builtin and then its argument prototype would still apply. */
10586 if ac_fn_c_try_link
"$LINENO"; then :
10587 ac_cv_lib_z_inflate
=yes
10589 ac_cv_lib_z_inflate
=no
10591 rm -f core conftest.err conftest.
$ac_objext \
10592 conftest
$ac_exeext conftest.
$ac_ext
10593 LIBS
=$ac_check_lib_save_LIBS
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10596 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10597 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
10599 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10606 if test "x$ZLIB" = "x"; then :
10607 case "x$with_zlib" in
10608 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10610 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
10611 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10615 if test "x$enable_tools" != xno
10617 if test "$ac_cv_header_gettext_po_h" = "yes"
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10620 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10621 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
10622 $as_echo_n "(cached) " >&6
10624 ac_check_lib_save_LIBS
=$LIBS
10625 LIBS
="-lgettextpo $LIBS"
10626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10627 /* end confdefs.h. */
10629 /* Override any GCC internal prototype to avoid an error.
10630 Use char because int might match the return type of a GCC
10631 builtin and then its argument prototype would still apply. */
10635 char po_message_msgctxt ();
10639 return po_message_msgctxt ();
10644 if ac_fn_c_try_link
"$LINENO"; then :
10645 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
10647 ac_cv_lib_gettextpo_po_message_msgctxt
=no
10649 rm -f core conftest.err conftest.
$ac_objext \
10650 conftest
$ac_exeext conftest.
$ac_ext
10651 LIBS
=$ac_check_lib_save_LIBS
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10654 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10655 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
10657 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10659 LIBGETTEXTPO
="-lgettextpo"
10664 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
10665 case "x$with_gettextpo" in
10666 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
10668 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
10669 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10674 if test "x$with_gstreamer" != "xno"
10676 ac_save_CPPFLAGS
="$CPPFLAGS"
10677 if test "$PKG_CONFIG" != "false"; then
10679 for i
in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10682 -I*) ac_gst_incl
="$ac_gst_incl $i";;
10685 ac_gst_libs
="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10686 CPPFLAGS
="$CPPFLAGS $ac_gst_incl"
10687 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10688 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
10689 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10690 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
10692 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
10693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10694 /* end confdefs.h. */
10695 #include <gst/app/gstappsink.h>
10699 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
10704 if ac_fn_c_try_compile
"$LINENO"; then :
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10706 $as_echo "yes" >&6; }
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10708 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10709 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
10710 $as_echo_n "(cached) " >&6
10712 ac_check_lib_save_LIBS
=$LIBS
10713 LIBS
="-lgstreamer-0.10 $LIBS"
10714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10715 /* end confdefs.h. */
10717 /* Override any GCC internal prototype to avoid an error.
10718 Use char because int might match the return type of a GCC
10719 builtin and then its argument prototype would still apply. */
10723 char gst_pad_get_caps_reffed ();
10727 return gst_pad_get_caps_reffed ();
10732 if ac_fn_c_try_link
"$LINENO"; then :
10733 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
10735 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
10737 rm -f core conftest.err conftest.
$ac_objext \
10738 conftest
$ac_exeext conftest.
$ac_ext
10739 LIBS
=$ac_check_lib_save_LIBS
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10742 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10743 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10745 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10746 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
10747 $as_echo_n "(cached) " >&6
10749 ac_check_lib_save_LIBS
=$LIBS
10750 LIBS
="-lgstapp-0.10 $ac_gst_libs $LIBS"
10751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10754 /* Override any GCC internal prototype to avoid an error.
10755 Use char because int might match the return type of a GCC
10756 builtin and then its argument prototype would still apply. */
10760 char gst_app_buffer_new ();
10764 return gst_app_buffer_new ();
10769 if ac_fn_c_try_link
"$LINENO"; then :
10770 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
10772 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
10774 rm -f core conftest.err conftest.
$ac_objext \
10775 conftest
$ac_exeext conftest.
$ac_ext
10776 LIBS
=$ac_check_lib_save_LIBS
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10779 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10780 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
10781 GSTREAMER_LIBS
="$ac_gst_libs"
10783 GSTREAMER_INCL
="$ac_gst_incl"
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10791 $as_echo "no" >&6; }
10793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10801 CPPFLAGS
="$ac_save_CPPFLAGS"
10803 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
10804 case "x$with_gstreamer" in
10805 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
10807 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
10808 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10811 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
10815 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
10818 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
10819 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
10820 $as_echo_n "(cached) " >&6
10822 ac_check_lib_save_LIBS
=$LIBS
10823 LIBS
="-lasound $LIBS"
10824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10827 /* Override any GCC internal prototype to avoid an error.
10828 Use char because int might match the return type of a GCC
10829 builtin and then its argument prototype would still apply. */
10833 char snd_pcm_hw_params_get_access_mask ();
10837 return snd_pcm_hw_params_get_access_mask ();
10842 if ac_fn_c_try_link
"$LINENO"; then :
10843 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
10845 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
10847 rm -f core conftest.err conftest.
$ac_objext \
10848 conftest
$ac_exeext conftest.
$ac_ext
10849 LIBS
=$ac_check_lib_save_LIBS
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
10852 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
10853 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
10854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10855 /* end confdefs.h. */
10856 #ifdef HAVE_ALSA_ASOUNDLIB_H
10857 #include <alsa/asoundlib.h>
10858 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10859 #include <sys/asoundlib.h>
10864 snd_pcm_hw_params_get_access_mask(NULL, NULL)
10869 if ac_fn_c_try_compile
"$LINENO"; then :
10870 ALSALIBS
="-lasound"
10872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10877 if test "x$with_oss" != xno
10879 ac_save_CPPFLAGS
="$CPPFLAGS"
10880 if test -f /etc
/oss.conf
10884 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
10885 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
10886 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10887 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
10888 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
10890 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
10892 cat >>confdefs.h
<<_ACEOF
10893 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
10896 OSS4INCL
="$ac_oss_incl"
10903 CPPFLAGS
="$ac_save_CPPFLAGS"
10904 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
10906 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
10911 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10914 $as_echo_n "checking for -lcapi20... " >&6; }
10915 if ${ac_cv_lib_soname_capi20+:} false
; then :
10916 $as_echo_n "(cached) " >&6
10918 ac_check_soname_save_LIBS
=$LIBS
10919 LIBS
="-lcapi20 $LIBS"
10920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10921 /* end confdefs.h. */
10923 /* Override any GCC internal prototype to avoid an error.
10924 Use char because int might match the return type of a GCC
10925 builtin and then its argument prototype would still apply. */
10929 char capi20_register ();
10933 return capi20_register ();
10938 if ac_fn_c_try_link
"$LINENO"; then :
10940 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10941 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'` ;;
10942 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10945 rm -f core conftest.err conftest.
$ac_objext \
10946 conftest
$ac_exeext conftest.
$ac_ext
10947 LIBS
=$ac_check_soname_save_LIBS
10949 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10951 $as_echo "not found" >&6; }
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10955 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10957 cat >>confdefs.h
<<_ACEOF
10958 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
10964 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10965 case "x$with_capi" in
10966 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
10968 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
10969 This is an error since --with-capi was requested." "$LINENO" 5 ;;
10975 if test "x$with_cups" != "xno"
10977 ac_save_CPPFLAGS
="$CPPFLAGS"
10978 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
10979 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
10980 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
10981 for ac_header
in cups
/cups.h
10983 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
10984 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
10985 cat >>confdefs.h
<<_ACEOF
10986 #define HAVE_CUPS_CUPS_H 1
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
10989 $as_echo_n "checking for -lcups... " >&6; }
10990 if ${ac_cv_lib_soname_cups+:} false
; then :
10991 $as_echo_n "(cached) " >&6
10993 ac_check_soname_save_LIBS
=$LIBS
10994 LIBS
="-lcups $ac_cups_libs $LIBS"
10995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10996 /* end confdefs.h. */
10998 /* Override any GCC internal prototype to avoid an error.
10999 Use char because int might match the return type of a GCC
11000 builtin and then its argument prototype would still apply. */
11004 char cupsGetDefault ();
11008 return cupsGetDefault ();
11013 if ac_fn_c_try_link
"$LINENO"; then :
11015 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11016 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'` ;;
11017 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11020 rm -f core conftest.err conftest.
$ac_objext \
11021 conftest
$ac_exeext conftest.
$ac_ext
11022 LIBS
=$ac_check_soname_save_LIBS
11024 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11026 $as_echo "not found" >&6; }
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11030 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11032 cat >>confdefs.h
<<_ACEOF
11033 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11036 CUPSINCL
="$ac_cups_cflags"
11042 CPPFLAGS
="$ac_save_CPPFLAGS"
11044 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11045 case "x$with_cups" in
11046 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11048 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
11049 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11053 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11056 $as_echo_n "checking for -lfontconfig... " >&6; }
11057 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11058 $as_echo_n "(cached) " >&6
11060 ac_check_soname_save_LIBS
=$LIBS
11061 LIBS
="-lfontconfig $LIBS"
11062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11065 /* Override any GCC internal prototype to avoid an error.
11066 Use char because int might match the return type of a GCC
11067 builtin and then its argument prototype would still apply. */
11080 if ac_fn_c_try_link
"$LINENO"; then :
11082 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11083 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'` ;;
11084 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11087 rm -f core conftest.err conftest.
$ac_objext \
11088 conftest
$ac_exeext conftest.
$ac_ext
11089 LIBS
=$ac_check_soname_save_LIBS
11091 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11093 $as_echo "not found" >&6; }
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11097 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11099 cat >>confdefs.h
<<_ACEOF
11100 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11105 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11107 ac_save_CPPFLAGS
="$CPPFLAGS"
11108 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11109 $as_unset ac_cv_header_fontconfig_fontconfig_h
11110 for ac_header
in fontconfig
/fontconfig.h
11112 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11113 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
11114 cat >>confdefs.h
<<_ACEOF
11115 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11122 CPPFLAGS
="$ac_save_CPPFLAGS"
11123 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11125 FONTCONFIGINCL
="$X_CFLAGS"
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11128 $as_echo_n "checking for -lfontconfig... " >&6; }
11129 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11130 $as_echo_n "(cached) " >&6
11132 ac_check_soname_save_LIBS
=$LIBS
11133 LIBS
="-lfontconfig $X_LIBS $LIBS"
11134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11135 /* end confdefs.h. */
11137 /* Override any GCC internal prototype to avoid an error.
11138 Use char because int might match the return type of a GCC
11139 builtin and then its argument prototype would still apply. */
11152 if ac_fn_c_try_link
"$LINENO"; then :
11154 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11155 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'` ;;
11156 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11159 rm -f core conftest.err conftest.
$ac_objext \
11160 conftest
$ac_exeext conftest.
$ac_ext
11161 LIBS
=$ac_check_soname_save_LIBS
11163 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11165 $as_echo "not found" >&6; }
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11169 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11171 cat >>confdefs.h
<<_ACEOF
11172 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11179 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11180 case "x$with_fontconfig" in
11181 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11183 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11184 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11188 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11191 $as_echo_n "checking for -lssl... " >&6; }
11192 if ${ac_cv_lib_soname_ssl+:} false
; then :
11193 $as_echo_n "(cached) " >&6
11195 ac_check_soname_save_LIBS
=$LIBS
11197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11200 /* Override any GCC internal prototype to avoid an error.
11201 Use char because int might match the return type of a GCC
11202 builtin and then its argument prototype would still apply. */
11206 char SSL_library_init ();
11210 return SSL_library_init ();
11215 if ac_fn_c_try_link
"$LINENO"; then :
11217 dll
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11218 dylib
) ac_cv_lib_soname_ssl
=`otool -L conftest$ac_exeext | grep "libssl\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libssl\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11219 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11222 rm -f core conftest.err conftest.
$ac_objext \
11223 conftest
$ac_exeext conftest.
$ac_ext
11224 LIBS
=$ac_check_soname_save_LIBS
11226 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11228 $as_echo "not found" >&6; }
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11232 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11234 cat >>confdefs.h
<<_ACEOF
11235 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11241 $as_echo_n "checking for -lcrypto... " >&6; }
11242 if ${ac_cv_lib_soname_crypto+:} false
; then :
11243 $as_echo_n "(cached) " >&6
11245 ac_check_soname_save_LIBS
=$LIBS
11246 LIBS
="-lcrypto $LIBS"
11247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11248 /* end confdefs.h. */
11250 /* Override any GCC internal prototype to avoid an error.
11251 Use char because int might match the return type of a GCC
11252 builtin and then its argument prototype would still apply. */
11256 char BIO_new_socket ();
11260 return BIO_new_socket ();
11265 if ac_fn_c_try_link
"$LINENO"; then :
11267 dll
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11268 dylib
) ac_cv_lib_soname_crypto
=`otool -L conftest$ac_exeext | grep "libcrypto\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcrypto\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11269 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11272 rm -f core conftest.err conftest.
$ac_objext \
11273 conftest
$ac_exeext conftest.
$ac_ext
11274 LIBS
=$ac_check_soname_save_LIBS
11276 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11278 $as_echo "not found" >&6; }
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11282 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11284 cat >>confdefs.h
<<_ACEOF
11285 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11291 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11292 case "x$with_openssl" in
11293 x
) as_fn_append wine_warnings
"|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11295 *) as_fn_error $?
"OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11296 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11300 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11303 $as_echo_n "checking for -lgsm... " >&6; }
11304 if ${ac_cv_lib_soname_gsm+:} false
; then :
11305 $as_echo_n "(cached) " >&6
11307 ac_check_soname_save_LIBS
=$LIBS
11309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11310 /* end confdefs.h. */
11312 /* Override any GCC internal prototype to avoid an error.
11313 Use char because int might match the return type of a GCC
11314 builtin and then its argument prototype would still apply. */
11318 char gsm_create ();
11322 return gsm_create ();
11327 if ac_fn_c_try_link
"$LINENO"; then :
11329 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11330 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'` ;;
11331 *) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11334 rm -f core conftest.err conftest.
$ac_objext \
11335 conftest
$ac_exeext conftest.
$ac_ext
11336 LIBS
=$ac_check_soname_save_LIBS
11338 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11340 $as_echo "not found" >&6; }
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11344 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11346 cat >>confdefs.h
<<_ACEOF
11347 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11353 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11354 case "x$with_gsm" in
11355 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11357 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11358 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11362 if test "$ac_cv_header_jpeglib_h" = "yes"
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11365 $as_echo_n "checking for -ljpeg... " >&6; }
11366 if ${ac_cv_lib_soname_jpeg+:} false
; then :
11367 $as_echo_n "(cached) " >&6
11369 ac_check_soname_save_LIBS
=$LIBS
11370 LIBS
="-ljpeg $LIBS"
11371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11374 /* Override any GCC internal prototype to avoid an error.
11375 Use char because int might match the return type of a GCC
11376 builtin and then its argument prototype would still apply. */
11380 char jpeg_start_decompress ();
11384 return jpeg_start_decompress ();
11389 if ac_fn_c_try_link
"$LINENO"; then :
11391 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11392 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'` ;;
11393 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11396 rm -f core conftest.err conftest.
$ac_objext \
11397 conftest
$ac_exeext conftest.
$ac_ext
11398 LIBS
=$ac_check_soname_save_LIBS
11400 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11402 $as_echo "not found" >&6; }
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11406 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11408 cat >>confdefs.h
<<_ACEOF
11409 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11415 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11416 case "x$with_jpeg" in
11417 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11419 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11420 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11424 if test "$ac_cv_header_png_h" = "yes"
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11427 $as_echo_n "checking for -lpng... " >&6; }
11428 if ${ac_cv_lib_soname_png+:} false
; then :
11429 $as_echo_n "(cached) " >&6
11431 ac_check_soname_save_LIBS
=$LIBS
11432 LIBS
="-lpng -lm -lz $LIBS"
11433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11436 /* Override any GCC internal prototype to avoid an error.
11437 Use char because int might match the return type of a GCC
11438 builtin and then its argument prototype would still apply. */
11442 char png_create_read_struct ();
11446 return png_create_read_struct ();
11451 if ac_fn_c_try_link
"$LINENO"; then :
11453 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11454 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'` ;;
11455 *) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11458 rm -f core conftest.err conftest.
$ac_objext \
11459 conftest
$ac_exeext conftest.
$ac_ext
11460 LIBS
=$ac_check_soname_save_LIBS
11462 if test "x$ac_cv_lib_soname_png" = "x"; then :
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11464 $as_echo "not found" >&6; }
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11468 $as_echo "$ac_cv_lib_soname_png" >&6; }
11470 cat >>confdefs.h
<<_ACEOF
11471 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11477 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11478 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11479 $as_echo_n "(cached) " >&6
11481 ac_check_lib_save_LIBS
=$LIBS
11482 LIBS
="-lpng -lm -lz $LIBS"
11483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11492 char png_set_expand_gray_1_2_4_to_8 ();
11496 return png_set_expand_gray_1_2_4_to_8 ();
11501 if ac_fn_c_try_link
"$LINENO"; then :
11502 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11504 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11506 rm -f core conftest.err conftest.
$ac_objext \
11507 conftest
$ac_exeext conftest.
$ac_ext
11508 LIBS
=$ac_check_lib_save_LIBS
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11511 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11512 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11514 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11519 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11521 ac_save_CPPFLAGS
="$CPPFLAGS"
11522 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11523 $as_unset ac_cv_header_png_h
11524 for ac_header
in png.h
11526 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11527 if test "x$ac_cv_header_png_h" = xyes
; then :
11528 cat >>confdefs.h
<<_ACEOF
11529 #define HAVE_PNG_H 1
11536 CPPFLAGS
="$ac_save_CPPFLAGS"
11537 if test "$ac_cv_header_png_h" = "yes"
11539 PNGINCL
="$X_CFLAGS"
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11542 $as_echo_n "checking for -lpng... " >&6; }
11543 if ${ac_cv_lib_soname_png+:} false
; then :
11544 $as_echo_n "(cached) " >&6
11546 ac_check_soname_save_LIBS
=$LIBS
11547 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11549 /* end confdefs.h. */
11551 /* Override any GCC internal prototype to avoid an error.
11552 Use char because int might match the return type of a GCC
11553 builtin and then its argument prototype would still apply. */
11557 char png_create_read_struct ();
11561 return png_create_read_struct ();
11566 if ac_fn_c_try_link
"$LINENO"; then :
11568 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11569 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'` ;;
11570 *) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11573 rm -f core conftest.err conftest.
$ac_objext \
11574 conftest
$ac_exeext conftest.
$ac_ext
11575 LIBS
=$ac_check_soname_save_LIBS
11577 if test "x$ac_cv_lib_soname_png" = "x"; then :
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11579 $as_echo "not found" >&6; }
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11583 $as_echo "$ac_cv_lib_soname_png" >&6; }
11585 cat >>confdefs.h
<<_ACEOF
11586 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11592 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11593 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11594 $as_echo_n "(cached) " >&6
11596 ac_check_lib_save_LIBS
=$LIBS
11597 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11599 /* end confdefs.h. */
11601 /* Override any GCC internal prototype to avoid an error.
11602 Use char because int might match the return type of a GCC
11603 builtin and then its argument prototype would still apply. */
11607 char png_set_expand_gray_1_2_4_to_8 ();
11611 return png_set_expand_gray_1_2_4_to_8 ();
11616 if ac_fn_c_try_link
"$LINENO"; then :
11617 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11619 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11621 rm -f core conftest.err conftest.
$ac_objext \
11622 conftest
$ac_exeext conftest.
$ac_ext
11623 LIBS
=$ac_check_lib_save_LIBS
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11626 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11627 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11628 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11634 if test "x$ac_cv_lib_soname_png" = "x"; then :
11635 case "x$with_png" in
11636 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11638 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
11639 This is an error since --with-png was requested." "$LINENO" 5 ;;
11643 if test "$ac_cv_header_tiffio_h" = "yes"
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11646 $as_echo_n "checking for -ltiff... " >&6; }
11647 if ${ac_cv_lib_soname_tiff+:} false
; then :
11648 $as_echo_n "(cached) " >&6
11650 ac_check_soname_save_LIBS
=$LIBS
11651 LIBS
="-ltiff $LIBS"
11652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11655 /* Override any GCC internal prototype to avoid an error.
11656 Use char because int might match the return type of a GCC
11657 builtin and then its argument prototype would still apply. */
11661 char TIFFClientOpen ();
11665 return TIFFClientOpen ();
11670 if ac_fn_c_try_link
"$LINENO"; then :
11672 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11673 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'` ;;
11674 *) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11677 rm -f core conftest.err conftest.
$ac_objext \
11678 conftest
$ac_exeext conftest.
$ac_ext
11679 LIBS
=$ac_check_soname_save_LIBS
11681 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11683 $as_echo "not found" >&6; }
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11687 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11689 cat >>confdefs.h
<<_ACEOF
11690 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11696 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11697 case "x$with_tiff" in
11698 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11700 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
11701 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11705 if test "$ac_cv_header_mpg123_h" = "yes"
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11708 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11709 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
11710 $as_echo_n "(cached) " >&6
11712 ac_check_lib_save_LIBS
=$LIBS
11713 LIBS
="-lmpg123 $LIBS"
11714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11715 /* end confdefs.h. */
11717 /* Override any GCC internal prototype to avoid an error.
11718 Use char because int might match the return type of a GCC
11719 builtin and then its argument prototype would still apply. */
11723 char mpg123_feed ();
11727 return mpg123_feed ();
11732 if ac_fn_c_try_link
"$LINENO"; then :
11733 ac_cv_lib_mpg123_mpg123_feed
=yes
11735 ac_cv_lib_mpg123_mpg123_feed
=no
11737 rm -f core conftest.err conftest.
$ac_objext \
11738 conftest
$ac_exeext conftest.
$ac_ext
11739 LIBS
=$ac_check_lib_save_LIBS
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11742 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11743 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
11744 LIBMPG123
="-lmpg123"
11749 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
11750 case "x$with_mpg123" in
11751 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11753 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11754 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11757 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}
11759 if test "$ac_cv_header_AL_al_h" = "yes"
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11762 $as_echo_n "checking for -lopenal... " >&6; }
11763 if ${ac_cv_lib_soname_openal+:} false
; then :
11764 $as_echo_n "(cached) " >&6
11766 ac_check_soname_save_LIBS
=$LIBS
11767 LIBS
="-lopenal $LIBS"
11768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11769 /* end confdefs.h. */
11771 /* Override any GCC internal prototype to avoid an error.
11772 Use char because int might match the return type of a GCC
11773 builtin and then its argument prototype would still apply. */
11777 char alGetSource3i ();
11781 return alGetSource3i ();
11786 if ac_fn_c_try_link
"$LINENO"; then :
11788 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11789 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'` ;;
11790 *) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11793 rm -f core conftest.err conftest.
$ac_objext \
11794 conftest
$ac_exeext conftest.
$ac_ext
11795 LIBS
=$ac_check_soname_save_LIBS
11797 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11799 $as_echo "not found" >&6; }
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11803 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11805 cat >>confdefs.h
<<_ACEOF
11806 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11809 LIBOPENAL
="-lopenal"
11811 ac_cv_lib_openal
=yes
11813 cat >>confdefs.h
<<_ACEOF
11814 #define HAVE_OPENAL 1
11819 if test "x$ac_cv_lib_openal" != xyes
; then :
11820 case "x$with_openal" in
11821 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11823 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11824 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11827 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
11829 if test "$ac_cv_header_kstat_h" = "yes"
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11832 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11833 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
11834 $as_echo_n "(cached) " >&6
11836 ac_check_lib_save_LIBS
=$LIBS
11837 LIBS
="-lkstat $LIBS"
11838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11839 /* end confdefs.h. */
11841 /* Override any GCC internal prototype to avoid an error.
11842 Use char because int might match the return type of a GCC
11843 builtin and then its argument prototype would still apply. */
11847 char kstat_open ();
11851 return kstat_open ();
11856 if ac_fn_c_try_link
"$LINENO"; then :
11857 ac_cv_lib_kstat_kstat_open
=yes
11859 ac_cv_lib_kstat_kstat_open
=no
11861 rm -f core conftest.err conftest.
$ac_objext \
11862 conftest
$ac_exeext conftest.
$ac_ext
11863 LIBS
=$ac_check_lib_save_LIBS
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11866 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11867 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
11869 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11878 $as_echo_n "checking for -lodbc... " >&6; }
11879 if ${ac_cv_lib_soname_odbc+:} false
; then :
11880 $as_echo_n "(cached) " >&6
11882 ac_check_soname_save_LIBS
=$LIBS
11883 LIBS
="-lodbc $LIBS"
11884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11887 /* Override any GCC internal prototype to avoid an error.
11888 Use char because int might match the return type of a GCC
11889 builtin and then its argument prototype would still apply. */
11893 char SQLConnect ();
11897 return SQLConnect ();
11902 if ac_fn_c_try_link
"$LINENO"; then :
11904 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11905 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'` ;;
11906 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11909 rm -f core conftest.err conftest.
$ac_objext \
11910 conftest
$ac_exeext conftest.
$ac_ext
11911 LIBS
=$ac_check_soname_save_LIBS
11913 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11915 $as_echo "not found" >&6; }
11916 cat >>confdefs.h
<<_ACEOF
11917 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
11922 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
11924 cat >>confdefs.h
<<_ACEOF
11925 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
11931 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
11932 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
11933 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
11934 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
11936 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
11937 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
11938 "x$with_alsa$with_coreaudio$with_oss" != xnonono
11940 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
11946 if test "x${GCC}" = "xyes"
11948 EXTRACFLAGS
="-Wall -pipe"
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
11951 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
11952 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
11953 $as_echo_n "(cached) " >&6
11955 if test "$cross_compiling" = yes; then :
11956 ac_cv_c_gcc_strength_bug
="yes"
11958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11959 /* end confdefs.h. */
11960 int L[4] = {0,1,2,3};
11964 static int Array[3];
11965 unsigned int B = 3;
11967 for(i=0; i<B; i++) Array[i] = i - 3;
11968 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11970 return (Array[1] != -2 || L[2] != 3)
11975 if ac_fn_c_try_run
"$LINENO"; then :
11976 ac_cv_c_gcc_strength_bug
="no"
11978 ac_cv_c_gcc_strength_bug
="yes"
11980 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11981 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
11986 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
11987 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11989 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
11993 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
11994 if ${ac_cv_cflags__fno_builtin+:} false
; then :
11995 $as_echo_n "(cached) " >&6
11997 ac_wine_try_cflags_saved
=$CFLAGS
11998 CFLAGS
="$CFLAGS -fno-builtin"
11999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12000 /* end confdefs.h. */
12001 int main(int argc, char **argv) { return 0; }
12003 if ac_fn_c_try_link
"$LINENO"; then :
12004 ac_cv_cflags__fno_builtin
=yes
12006 ac_cv_cflags__fno_builtin
=no
12008 rm -f core conftest.err conftest.
$ac_objext \
12009 conftest
$ac_exeext conftest.
$ac_ext
12010 CFLAGS
=$ac_wine_try_cflags_saved
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12013 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12014 if test $ac_cv_cflags__fno_builtin = yes; then :
12015 BUILTINFLAG
="-fno-builtin"
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12019 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12020 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
12021 $as_echo_n "(cached) " >&6
12023 ac_wine_try_cflags_saved
=$CFLAGS
12024 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12026 /* end confdefs.h. */
12027 int main(int argc, char **argv) { return 0; }
12029 if ac_fn_c_try_link
"$LINENO"; then :
12030 ac_cv_cflags__fno_strict_aliasing
=yes
12032 ac_cv_cflags__fno_strict_aliasing
=no
12034 rm -f core conftest.err conftest.
$ac_objext \
12035 conftest
$ac_exeext conftest.
$ac_ext
12036 CFLAGS
=$ac_wine_try_cflags_saved
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12039 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12040 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12041 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12044 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12045 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
12046 $as_echo_n "(cached) " >&6
12048 ac_wine_try_cflags_saved
=$CFLAGS
12049 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12051 /* end confdefs.h. */
12052 int main(int argc, char **argv) { return 0; }
12054 if ac_fn_c_try_link
"$LINENO"; then :
12055 ac_cv_cflags__Wdeclaration_after_statement
=yes
12057 ac_cv_cflags__Wdeclaration_after_statement
=no
12059 rm -f core conftest.err conftest.
$ac_objext \
12060 conftest
$ac_exeext conftest.
$ac_ext
12061 CFLAGS
=$ac_wine_try_cflags_saved
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12064 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12065 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12066 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12069 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12070 if ${ac_cv_cflags__Wempty_body+:} false
; then :
12071 $as_echo_n "(cached) " >&6
12073 ac_wine_try_cflags_saved
=$CFLAGS
12074 CFLAGS
="$CFLAGS -Wempty-body"
12075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12076 /* end confdefs.h. */
12077 int main(int argc, char **argv) { return 0; }
12079 if ac_fn_c_try_link
"$LINENO"; then :
12080 ac_cv_cflags__Wempty_body
=yes
12082 ac_cv_cflags__Wempty_body
=no
12084 rm -f core conftest.err conftest.
$ac_objext \
12085 conftest
$ac_exeext conftest.
$ac_ext
12086 CFLAGS
=$ac_wine_try_cflags_saved
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12089 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12090 if test $ac_cv_cflags__Wempty_body = yes; then :
12091 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12094 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12095 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
12096 $as_echo_n "(cached) " >&6
12098 ac_wine_try_cflags_saved
=$CFLAGS
12099 CFLAGS
="$CFLAGS -Wignored-qualifiers"
12100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12101 /* end confdefs.h. */
12102 int main(int argc, char **argv) { return 0; }
12104 if ac_fn_c_try_link
"$LINENO"; then :
12105 ac_cv_cflags__Wignored_qualifiers
=yes
12107 ac_cv_cflags__Wignored_qualifiers
=no
12109 rm -f core conftest.err conftest.
$ac_objext \
12110 conftest
$ac_exeext conftest.
$ac_ext
12111 CFLAGS
=$ac_wine_try_cflags_saved
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12114 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12115 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12116 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12119 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12120 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
12121 $as_echo_n "(cached) " >&6
12123 ac_wine_try_cflags_saved
=$CFLAGS
12124 CFLAGS
="$CFLAGS -Wstrict-prototypes"
12125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12126 /* end confdefs.h. */
12127 int main(int argc, char **argv) { return 0; }
12129 if ac_fn_c_try_link
"$LINENO"; then :
12130 ac_cv_cflags__Wstrict_prototypes
=yes
12132 ac_cv_cflags__Wstrict_prototypes
=no
12134 rm -f core conftest.err conftest.
$ac_objext \
12135 conftest
$ac_exeext conftest.
$ac_ext
12136 CFLAGS
=$ac_wine_try_cflags_saved
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12139 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12140 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12141 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12144 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12145 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
12146 $as_echo_n "(cached) " >&6
12148 ac_wine_try_cflags_saved
=$CFLAGS
12149 CFLAGS
="$CFLAGS -Wtype-limits"
12150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h. */
12152 int main(int argc, char **argv) { return 0; }
12154 if ac_fn_c_try_link
"$LINENO"; then :
12155 ac_cv_cflags__Wtype_limits
=yes
12157 ac_cv_cflags__Wtype_limits
=no
12159 rm -f core conftest.err conftest.
$ac_objext \
12160 conftest
$ac_exeext conftest.
$ac_ext
12161 CFLAGS
=$ac_wine_try_cflags_saved
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12164 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12165 if test $ac_cv_cflags__Wtype_limits = yes; then :
12166 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12169 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12170 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
12171 $as_echo_n "(cached) " >&6
12173 ac_wine_try_cflags_saved
=$CFLAGS
12174 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
12175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12176 /* end confdefs.h. */
12177 int main(int argc, char **argv) { return 0; }
12179 if ac_fn_c_try_link
"$LINENO"; then :
12180 ac_cv_cflags__Wunused_but_set_parameter
=yes
12182 ac_cv_cflags__Wunused_but_set_parameter
=no
12184 rm -f core conftest.err conftest.
$ac_objext \
12185 conftest
$ac_exeext conftest.
$ac_ext
12186 CFLAGS
=$ac_wine_try_cflags_saved
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12189 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12190 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12191 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12194 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12195 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
12196 $as_echo_n "(cached) " >&6
12198 ac_wine_try_cflags_saved
=$CFLAGS
12199 CFLAGS
="$CFLAGS -Wwrite-strings"
12200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h. */
12202 int main(int argc, char **argv) { return 0; }
12204 if ac_fn_c_try_link
"$LINENO"; then :
12205 ac_cv_cflags__Wwrite_strings
=yes
12207 ac_cv_cflags__Wwrite_strings
=no
12209 rm -f core conftest.err conftest.
$ac_objext \
12210 conftest
$ac_exeext conftest.
$ac_ext
12211 CFLAGS
=$ac_wine_try_cflags_saved
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12214 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12215 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12216 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12220 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12221 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12222 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
12223 $as_echo_n "(cached) " >&6
12225 ac_wine_try_cflags_saved
=$CFLAGS
12226 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
12227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12228 /* end confdefs.h. */
12229 int main(int argc, char **argv) { return 0; }
12231 if ac_fn_c_try_link
"$LINENO"; then :
12232 ac_cv_cflags__fno_omit_frame_pointer
=yes
12234 ac_cv_cflags__fno_omit_frame_pointer
=no
12236 rm -f core conftest.err conftest.
$ac_objext \
12237 conftest
$ac_exeext conftest.
$ac_ext
12238 CFLAGS
=$ac_wine_try_cflags_saved
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12241 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12242 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12243 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
12248 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12249 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12250 if ${ac_cv_cflags__Wno_format+:} false
; then :
12251 $as_echo_n "(cached) " >&6
12253 ac_wine_try_cflags_saved
=$CFLAGS
12254 CFLAGS
="$CFLAGS -Wno-format"
12255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12256 /* end confdefs.h. */
12257 int main(int argc, char **argv) { return 0; }
12259 if ac_fn_c_try_link
"$LINENO"; then :
12260 ac_cv_cflags__Wno_format
=yes
12262 ac_cv_cflags__Wno_format
=no
12264 rm -f core conftest.err conftest.
$ac_objext \
12265 conftest
$ac_exeext conftest.
$ac_ext
12266 CFLAGS
=$ac_wine_try_cflags_saved
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12269 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12270 if test $ac_cv_cflags__Wno_format = yes; then :
12271 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
12275 saved_CFLAGS
="$CFLAGS"
12276 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12278 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12279 if ${ac_cv_c_string_h_warnings+:} false
; then :
12280 $as_echo_n "(cached) " >&6
12282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h. */
12284 #include <string.h>
12293 if ac_fn_c_try_compile
"$LINENO"; then :
12294 ac_cv_c_string_h_warnings
=no
12296 ac_cv_c_string_h_warnings
=yes
12298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12301 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12302 CFLAGS
="$saved_CFLAGS"
12303 if test "$ac_cv_c_string_h_warnings" = "no"
12305 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12308 saved_CFLAGS
="$CFLAGS"
12309 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12311 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12312 if ${ac_cv_c_logicalop_noisy+:} false
; then :
12313 $as_echo_n "(cached) " >&6
12315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12316 /* end confdefs.h. */
12317 #include <string.h>
12321 char*f(const char *h,char n) {return strchr(h,n);}
12326 if ac_fn_c_try_compile
"$LINENO"; then :
12327 ac_cv_c_logicalop_noisy
=no
12329 ac_cv_c_logicalop_noisy
=yes
12331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12334 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12335 CFLAGS
="$saved_CFLAGS"
12336 if test "$ac_cv_c_logicalop_noisy" = "no"
12338 EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12341 if test "x$enable_maintainer_mode" = "xyes"
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12344 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12345 if ${ac_cv_cflags__Werror+:} false
; then :
12346 $as_echo_n "(cached) " >&6
12348 ac_wine_try_cflags_saved
=$CFLAGS
12349 CFLAGS
="$CFLAGS -Werror"
12350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12351 /* end confdefs.h. */
12352 int main(int argc, char **argv) { return 0; }
12354 if ac_fn_c_try_link
"$LINENO"; then :
12355 ac_cv_cflags__Werror
=yes
12357 ac_cv_cflags__Werror
=no
12359 rm -f core conftest.err conftest.
$ac_objext \
12360 conftest
$ac_exeext conftest.
$ac_ext
12361 CFLAGS
=$ac_wine_try_cflags_saved
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12364 $as_echo "$ac_cv_cflags__Werror" >&6; }
12365 if test $ac_cv_cflags__Werror = yes; then :
12366 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12370 saved_CFLAGS
="$CFLAGS"
12371 CFLAGS
="$CFLAGS -Werror"
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12373 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12374 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
12375 $as_echo_n "(cached) " >&6
12377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12378 /* end confdefs.h. */
12379 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12388 if ac_fn_c_try_compile
"$LINENO"; then :
12389 ac_cv_have_ms_hook_prologue
="yes"
12391 ac_cv_have_ms_hook_prologue
="no"
12393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12396 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12397 CFLAGS
="$saved_CFLAGS"
12398 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12401 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12404 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12411 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12412 if ${ac_cv_c_fortify_enabled+:} false
; then :
12413 $as_echo_n "(cached) " >&6
12415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12416 /* end confdefs.h. */
12417 #include <string.h>
12421 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12422 #error Fortify enabled
12428 if ac_fn_c_try_compile
"$LINENO"; then :
12429 ac_cv_c_fortify_enabled
=no
12431 ac_cv_c_fortify_enabled
=yes
12433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12436 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12437 if test "$ac_cv_c_fortify_enabled" = yes
12439 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12444 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12445 if ${ac_cv_c_extern_prefix+:} false
; then :
12446 $as_echo_n "(cached) " >&6
12448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12449 /* end confdefs.h. */
12450 extern int ac_test;
12454 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12459 if ac_fn_c_try_link
"$LINENO"; then :
12460 ac_cv_c_extern_prefix
="yes"
12462 ac_cv_c_extern_prefix
="no"
12464 rm -f core conftest.err conftest.
$ac_objext \
12465 conftest
$ac_exeext conftest.
$ac_ext
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12468 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12473 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12474 if ${ac_cv_c_stdcall_suffix+:} false
; then :
12475 $as_echo_n "(cached) " >&6
12477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h. */
12480 #define __stdcall __attribute__((__stdcall__))
12482 int __stdcall ac_test(int i) { return i; }
12486 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12491 if ac_fn_c_try_link
"$LINENO"; then :
12492 ac_cv_c_stdcall_suffix
="yes"
12494 ac_cv_c_stdcall_suffix
="no"
12496 rm -f core conftest.err conftest.
$ac_objext \
12497 conftest
$ac_exeext conftest.
$ac_ext
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12500 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12501 *) ac_cv_c_stdcall_suffix
="no" ;;
12505 if test "$ac_cv_c_extern_prefix" = "yes"
12507 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12509 asm_name_prefix
="_"
12511 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12517 if test "$ac_cv_c_stdcall_suffix" = "yes"
12519 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12522 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12528 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12529 if ${ac_cv_asm_func_def+:} false
; then :
12530 $as_echo_n "(cached) " >&6
12532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12533 /* end confdefs.h. */
12538 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12543 if ac_fn_c_try_link
"$LINENO"; then :
12544 ac_cv_asm_func_def
=".def"
12546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12547 /* end confdefs.h. */
12552 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12557 if ac_fn_c_try_link
"$LINENO"; then :
12558 ac_cv_asm_func_def
=".type @function"
12560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12561 /* end confdefs.h. */
12566 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12571 if ac_fn_c_try_link
"$LINENO"; then :
12572 ac_cv_asm_func_def
=".type 2"
12574 ac_cv_asm_func_def
="unknown"
12576 rm -f core conftest.err conftest.
$ac_objext \
12577 conftest
$ac_exeext conftest.
$ac_ext
12579 rm -f core conftest.err conftest.
$ac_objext \
12580 conftest
$ac_exeext conftest.
$ac_ext
12582 rm -f core conftest.err conftest.
$ac_objext \
12583 conftest
$ac_exeext conftest.
$ac_ext
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12586 $as_echo "$ac_cv_asm_func_def" >&6; }
12589 case "$ac_cv_asm_func_def" in
12591 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12593 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12595 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12597 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
12599 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12601 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
12603 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12605 asm_func_header
="" ;;
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12609 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12610 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
12611 $as_echo_n "(cached) " >&6
12613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12614 /* end confdefs.h. */
12615 asm(".text\n\t.long 0");
12624 if ac_fn_c_try_compile
"$LINENO"; then :
12625 ac_cv_c_asm_outside_funcs
="yes"
12627 ac_cv_c_asm_outside_funcs
="no"
12629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12632 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12635 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12636 if ${ac_cv_c_dot_previous+:} false
; then :
12637 $as_echo_n "(cached) " >&6
12639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12640 /* end confdefs.h. */
12645 asm(".text\nac_test:\t.long 0\n\t.previous");
12650 if ac_fn_c_try_link
"$LINENO"; then :
12651 ac_cv_c_dot_previous
="yes"
12653 ac_cv_c_dot_previous
="no"
12655 rm -f core conftest.err conftest.
$ac_objext \
12656 conftest
$ac_exeext conftest.
$ac_ext
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12659 $as_echo "$ac_cv_c_dot_previous" >&6; }
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12662 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12663 if ${ac_cv_c_cfi_support+:} false
; then :
12664 $as_echo_n "(cached) " >&6
12666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12667 /* end confdefs.h. */
12668 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12677 if ac_fn_c_try_compile
"$LINENO"; then :
12678 ac_cv_c_cfi_support
="yes"
12680 ac_cv_c_cfi_support
="no"
12682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12685 $as_echo "$ac_cv_c_cfi_support" >&6; }
12687 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12688 asm_func_trailer
=""
12689 if test "$ac_cv_c_dot_previous" = "yes"
12691 asm_func_trailer
="\\n\\t.previous"
12693 if test "$ac_cv_c_cfi_support" = "yes"
12695 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
12696 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
12698 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12700 UNWINDFLAGS
=-fasynchronous-unwind-tables
12703 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12707 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
12710 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12712 cat >>confdefs.h
<<_ACEOF
12713 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12717 cat >>confdefs.h
<<_ACEOF
12718 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12723 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12726 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12736 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12741 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12749 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12756 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
12761 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
12763 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
12770 ac_save_CFLAGS
="$CFLAGS"
12771 CFLAGS
="$CFLAGS $BUILTINFLAG"
12848 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12849 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12850 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12851 cat >>confdefs.h
<<_ACEOF
12852 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12858 CFLAGS
="$ac_save_CFLAGS"
12860 if test "$ac_cv_func_dlopen" = no
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12863 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12864 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12865 $as_echo_n "(cached) " >&6
12867 ac_check_lib_save_LIBS
=$LIBS
12869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12870 /* end confdefs.h. */
12872 /* Override any GCC internal prototype to avoid an error.
12873 Use char because int might match the return type of a GCC
12874 builtin and then its argument prototype would still apply. */
12887 if ac_fn_c_try_link
"$LINENO"; then :
12888 ac_cv_lib_dl_dlopen
=yes
12890 ac_cv_lib_dl_dlopen
=no
12892 rm -f core conftest.err conftest.
$ac_objext \
12893 conftest
$ac_exeext conftest.
$ac_ext
12894 LIBS
=$ac_check_lib_save_LIBS
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12897 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12898 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12899 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12905 ac_wine_check_funcs_save_LIBS
="$LIBS"
12906 LIBS
="$LIBS $LIBDL"
12907 for ac_func
in dladdr
12909 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
12910 if test "x$ac_cv_func_dladdr" = xyes
; then :
12911 cat >>confdefs.h
<<_ACEOF
12912 #define HAVE_DLADDR 1
12918 LIBS
="$ac_wine_check_funcs_save_LIBS"
12920 if test "$ac_cv_func_poll" = no
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12923 $as_echo_n "checking for poll in -lpoll... " >&6; }
12924 if ${ac_cv_lib_poll_poll+:} false
; then :
12925 $as_echo_n "(cached) " >&6
12927 ac_check_lib_save_LIBS
=$LIBS
12928 LIBS
="-lpoll $LIBS"
12929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12930 /* end confdefs.h. */
12932 /* Override any GCC internal prototype to avoid an error.
12933 Use char because int might match the return type of a GCC
12934 builtin and then its argument prototype would still apply. */
12947 if ac_fn_c_try_link
"$LINENO"; then :
12948 ac_cv_lib_poll_poll
=yes
12950 ac_cv_lib_poll_poll
=no
12952 rm -f core conftest.err conftest.
$ac_objext \
12953 conftest
$ac_exeext conftest.
$ac_ext
12954 LIBS
=$ac_check_lib_save_LIBS
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12957 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12958 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
12959 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12967 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12968 if ${ac_cv_search_gethostbyname+:} false
; then :
12969 $as_echo_n "(cached) " >&6
12971 ac_func_search_save_LIBS
=$LIBS
12972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12973 /* end confdefs.h. */
12975 /* Override any GCC internal prototype to avoid an error.
12976 Use char because int might match the return type of a GCC
12977 builtin and then its argument prototype would still apply. */
12981 char gethostbyname ();
12985 return gethostbyname ();
12990 for ac_lib
in '' nsl
; do
12991 if test -z "$ac_lib"; then
12992 ac_res
="none required"
12995 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12997 if ac_fn_c_try_link
"$LINENO"; then :
12998 ac_cv_search_gethostbyname
=$ac_res
13000 rm -f core conftest.err conftest.
$ac_objext \
13002 if ${ac_cv_search_gethostbyname+:} false
; then :
13006 if ${ac_cv_search_gethostbyname+:} false
; then :
13009 ac_cv_search_gethostbyname
=no
13011 rm conftest.
$ac_ext
13012 LIBS
=$ac_func_search_save_LIBS
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13015 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13016 ac_res
=$ac_cv_search_gethostbyname
13017 if test "$ac_res" != no
; then :
13018 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13024 $as_echo_n "checking for library containing connect... " >&6; }
13025 if ${ac_cv_search_connect+:} false
; then :
13026 $as_echo_n "(cached) " >&6
13028 ac_func_search_save_LIBS
=$LIBS
13029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13030 /* end confdefs.h. */
13032 /* Override any GCC internal prototype to avoid an error.
13033 Use char because int might match the return type of a GCC
13034 builtin and then its argument prototype would still apply. */
13047 for ac_lib
in '' socket
; do
13048 if test -z "$ac_lib"; then
13049 ac_res
="none required"
13052 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13054 if ac_fn_c_try_link
"$LINENO"; then :
13055 ac_cv_search_connect
=$ac_res
13057 rm -f core conftest.err conftest.
$ac_objext \
13059 if ${ac_cv_search_connect+:} false
; then :
13063 if ${ac_cv_search_connect+:} false
; then :
13066 ac_cv_search_connect
=no
13068 rm conftest.
$ac_ext
13069 LIBS
=$ac_func_search_save_LIBS
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13072 $as_echo "$ac_cv_search_connect" >&6; }
13073 ac_res
=$ac_cv_search_connect
13074 if test "$ac_res" != no
; then :
13075 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13081 $as_echo_n "checking for library containing inet_aton... " >&6; }
13082 if ${ac_cv_search_inet_aton+:} false
; then :
13083 $as_echo_n "(cached) " >&6
13085 ac_func_search_save_LIBS
=$LIBS
13086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h. */
13089 /* Override any GCC internal prototype to avoid an error.
13090 Use char because int might match the return type of a GCC
13091 builtin and then its argument prototype would still apply. */
13099 return inet_aton ();
13104 for ac_lib
in '' resolv
; do
13105 if test -z "$ac_lib"; then
13106 ac_res
="none required"
13109 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13111 if ac_fn_c_try_link
"$LINENO"; then :
13112 ac_cv_search_inet_aton
=$ac_res
13114 rm -f core conftest.err conftest.
$ac_objext \
13116 if ${ac_cv_search_inet_aton+:} false
; then :
13120 if ${ac_cv_search_inet_aton+:} false
; then :
13123 ac_cv_search_inet_aton
=no
13125 rm conftest.
$ac_ext
13126 LIBS
=$ac_func_search_save_LIBS
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13129 $as_echo "$ac_cv_search_inet_aton" >&6; }
13130 ac_res
=$ac_cv_search_inet_aton
13131 if test "$ac_res" != no
; then :
13132 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13151 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13152 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13153 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13154 cat >>confdefs.h
<<_ACEOF
13155 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13164 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13166 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13168 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13170 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13171 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
13172 $as_echo_n "(cached) " >&6
13174 ac_check_lib_save_LIBS
=$LIBS
13175 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13177 /* end confdefs.h. */
13179 /* Override any GCC internal prototype to avoid an error.
13180 Use char because int might match the return type of a GCC
13181 builtin and then its argument prototype would still apply. */
13185 char ldap_initialize ();
13189 return ldap_initialize ();
13194 if ac_fn_c_try_link
"$LINENO"; then :
13195 ac_cv_lib_ldap_r_ldap_initialize
=yes
13197 ac_cv_lib_ldap_r_ldap_initialize
=no
13199 rm -f core conftest.err conftest.
$ac_objext \
13200 conftest
$ac_exeext conftest.
$ac_ext
13201 LIBS
=$ac_check_lib_save_LIBS
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13204 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13205 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13207 $as_echo_n "checking for ber_init in -llber... " >&6; }
13208 if ${ac_cv_lib_lber_ber_init+:} false
; then :
13209 $as_echo_n "(cached) " >&6
13211 ac_check_lib_save_LIBS
=$LIBS
13212 LIBS
="-llber $LIBPTHREAD $LIBS"
13213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13214 /* end confdefs.h. */
13216 /* Override any GCC internal prototype to avoid an error.
13217 Use char because int might match the return type of a GCC
13218 builtin and then its argument prototype would still apply. */
13226 return ber_init ();
13231 if ac_fn_c_try_link
"$LINENO"; then :
13232 ac_cv_lib_lber_ber_init
=yes
13234 ac_cv_lib_lber_ber_init
=no
13236 rm -f core conftest.err conftest.
$ac_objext \
13237 conftest
$ac_exeext conftest.
$ac_ext
13238 LIBS
=$ac_check_lib_save_LIBS
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13241 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13242 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
13244 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13246 LDAPLIBS
="-lldap_r -llber"
13253 ac_wine_check_funcs_save_LIBS
="$LIBS"
13254 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13256 ldap_count_references \
13257 ldap_first_reference \
13258 ldap_next_reference \
13259 ldap_parse_reference \
13260 ldap_parse_sort_control \
13261 ldap_parse_sortresponse_control \
13262 ldap_parse_vlv_control \
13263 ldap_parse_vlvresponse_control
13265 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13266 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13267 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13268 cat >>confdefs.h
<<_ACEOF
13269 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13275 LIBS
="$ac_wine_check_funcs_save_LIBS"
13277 if test "x$LDAPLIBS" = "x"; then :
13278 case "x$with_ldap" in
13279 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13281 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13282 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13287 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13288 if ${wine_cv_one_arg_mkdir+:} false
; then :
13289 $as_echo_n "(cached) " >&6
13291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13292 /* end confdefs.h. */
13293 #include <sys/stat.h>
13302 if ac_fn_c_try_compile
"$LINENO"; then :
13303 wine_cv_one_arg_mkdir
=yes
13305 wine_cv_one_arg_mkdir
=no
13307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13310 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13311 if test "$wine_cv_one_arg_mkdir" = "yes"
13314 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13319 $as_echo_n "checking for sched_setaffinity... " >&6; }
13320 if ${wine_cv_have_sched_setaffinity+:} false
; then :
13321 $as_echo_n "(cached) " >&6
13323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13324 /* end confdefs.h. */
13325 #define _GNU_SOURCE
13330 sched_setaffinity(0, 0, 0);
13335 if ac_fn_c_try_link
"$LINENO"; then :
13336 wine_cv_have_sched_setaffinity
=yes
13338 wine_cv_have_sched_setaffinity
=no
13340 rm -f core conftest.err conftest.
$ac_objext \
13341 conftest
$ac_exeext conftest.
$ac_ext
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13344 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13345 if test "$wine_cv_have_sched_setaffinity" = "yes"
13348 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13354 $as_echo_n "checking for inline... " >&6; }
13355 if ${ac_cv_c_inline+:} false
; then :
13356 $as_echo_n "(cached) " >&6
13359 for ac_kw
in inline __inline__ __inline
; do
13360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13361 /* end confdefs.h. */
13362 #ifndef __cplusplus
13364 static $ac_kw foo_t static_foo () {return 0; }
13365 $ac_kw foo_t foo () {return 0; }
13369 if ac_fn_c_try_compile
"$LINENO"; then :
13370 ac_cv_c_inline
=$ac_kw
13372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13373 test "$ac_cv_c_inline" != no
&& break
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13378 $as_echo "$ac_cv_c_inline" >&6; }
13380 case $ac_cv_c_inline in
13383 case $ac_cv_c_inline in
13385 *) ac_val
=$ac_cv_c_inline;;
13387 cat >>confdefs.h
<<_ACEOF
13388 #ifndef __cplusplus
13389 #define inline $ac_val
13395 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13396 if test "x$ac_cv_type_mode_t" = xyes
; then :
13398 cat >>confdefs.h
<<_ACEOF
13399 #define HAVE_MODE_T 1
13404 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13405 if test "x$ac_cv_type_off_t" = xyes
; then :
13407 cat >>confdefs.h
<<_ACEOF
13408 #define HAVE_OFF_T 1
13413 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13414 if test "x$ac_cv_type_pid_t" = xyes
; then :
13416 cat >>confdefs.h
<<_ACEOF
13417 #define HAVE_PID_T 1
13422 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13423 if test "x$ac_cv_type_size_t" = xyes
; then :
13425 cat >>confdefs.h
<<_ACEOF
13426 #define HAVE_SIZE_T 1
13431 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13432 if test "x$ac_cv_type_ssize_t" = xyes
; then :
13434 cat >>confdefs.h
<<_ACEOF
13435 #define HAVE_SSIZE_T 1
13440 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13441 if test "x$ac_cv_type_long_long" = xyes
; then :
13443 cat >>confdefs.h
<<_ACEOF
13444 #define HAVE_LONG_LONG 1
13449 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13450 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
13452 cat >>confdefs.h
<<_ACEOF
13453 #define HAVE_FSBLKCNT_T 1
13458 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13459 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
13461 cat >>confdefs.h
<<_ACEOF
13462 #define HAVE_FSFILCNT_T 1
13468 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13469 #include <signal.h>
13471 if test "x$ac_cv_type_sigset_t" = xyes
; then :
13473 cat >>confdefs.h
<<_ACEOF
13474 #define HAVE_SIGSET_T 1
13480 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13482 if test "x$ac_cv_type_request_sense" = xyes
; then :
13484 cat >>confdefs.h
<<_ACEOF
13485 #define HAVE_REQUEST_SENSE 1
13492 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13493 #ifdef HAVE_SYS_SOCKET_H
13494 #include <sys/socket.h>
13496 #ifdef HAVE_SYS_SOCKETVAR_H
13497 #include <sys/socketvar.h>
13499 #ifdef HAVE_NET_ROUTE_H
13500 #include <net/route.h>
13502 #ifdef HAVE_NETINET_IN_H
13503 #include <netinet/in.h>
13505 #ifdef HAVE_NETINET_IN_SYSTM_H
13506 #include <netinet/in_systm.h>
13508 #ifdef HAVE_NETINET_IP_H
13509 #include <netinet/ip.h>
13511 #ifdef HAVE_NETINET_IN_PCB_H
13512 #include <netinet/in_pcb.h>
13515 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
13517 cat >>confdefs.h
<<_ACEOF
13518 #define HAVE_STRUCT_XINPGEN 1
13525 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13526 #include <linux/input.h>
13529 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
13531 cat >>confdefs.h
<<_ACEOF
13532 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13540 $as_echo_n "checking for sigaddset... " >&6; }
13541 if ${wine_cv_have_sigaddset+:} false
; then :
13542 $as_echo_n "(cached) " >&6
13544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13545 /* end confdefs.h. */
13546 #include <signal.h>
13550 sigset_t set; sigaddset(&set,SIGTERM);
13555 if ac_fn_c_try_link
"$LINENO"; then :
13556 wine_cv_have_sigaddset
=yes
13558 wine_cv_have_sigaddset
=no
13560 rm -f core conftest.err conftest.
$ac_objext \
13561 conftest
$ac_exeext conftest.
$ac_ext
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13564 $as_echo "$wine_cv_have_sigaddset" >&6; }
13565 if test "$wine_cv_have_sigaddset" = "yes"
13568 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13574 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13575 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
13576 $as_echo_n "(cached) " >&6
13578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13579 /* end confdefs.h. */
13587 struct hostent *result;
13594 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13595 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13601 if ac_fn_c_try_link
"$LINENO"; then :
13602 wine_cv_linux_gethostbyname_r_6
=yes
13604 wine_cv_linux_gethostbyname_r_6
=no
13607 rm -f core conftest.err conftest.
$ac_objext \
13608 conftest
$ac_exeext conftest.
$ac_ext
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13612 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13613 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13616 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13620 if test "$ac_cv_header_linux_joystick_h" = "yes"
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13623 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13624 if ${wine_cv_linux_joystick_22_api+:} false
; then :
13625 $as_echo_n "(cached) " >&6
13627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13630 #include <sys/ioctl.h>
13631 #include <sys/types.h>
13632 #include <linux/joystick.h>
13634 struct js_event blub;
13635 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13636 #error "no 2.2 header"
13647 if ac_fn_c_try_compile
"$LINENO"; then :
13648 wine_cv_linux_joystick_22_api
=yes
13650 wine_cv_linux_joystick_22_api
=no
13652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13656 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13657 if test "$wine_cv_linux_joystick_22_api" = "yes"
13660 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13666 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13667 #ifdef HAVE_SYS_PARAM_H
13668 # include <sys/param.h>
13670 #ifdef HAVE_SYS_MOUNT_H
13671 # include <sys/mount.h>
13673 #ifdef HAVE_SYS_VFS_H
13674 # include <sys/vfs.h>
13676 #ifdef HAVE_SYS_STATFS_H
13677 # include <sys/statfs.h>
13680 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
13682 cat >>confdefs.h
<<_ACEOF
13683 #define HAVE_STRUCT_STATFS_F_BFREE 1
13688 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13689 #ifdef HAVE_SYS_PARAM_H
13690 # include <sys/param.h>
13692 #ifdef HAVE_SYS_MOUNT_H
13693 # include <sys/mount.h>
13695 #ifdef HAVE_SYS_VFS_H
13696 # include <sys/vfs.h>
13698 #ifdef HAVE_SYS_STATFS_H
13699 # include <sys/statfs.h>
13702 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
13704 cat >>confdefs.h
<<_ACEOF
13705 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13710 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13711 #ifdef HAVE_SYS_PARAM_H
13712 # include <sys/param.h>
13714 #ifdef HAVE_SYS_MOUNT_H
13715 # include <sys/mount.h>
13717 #ifdef HAVE_SYS_VFS_H
13718 # include <sys/vfs.h>
13720 #ifdef HAVE_SYS_STATFS_H
13721 # include <sys/statfs.h>
13724 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
13726 cat >>confdefs.h
<<_ACEOF
13727 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13732 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13733 #ifdef HAVE_SYS_PARAM_H
13734 # include <sys/param.h>
13736 #ifdef HAVE_SYS_MOUNT_H
13737 # include <sys/mount.h>
13739 #ifdef HAVE_SYS_VFS_H
13740 # include <sys/vfs.h>
13742 #ifdef HAVE_SYS_STATFS_H
13743 # include <sys/statfs.h>
13746 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
13748 cat >>confdefs.h
<<_ACEOF
13749 #define HAVE_STRUCT_STATFS_F_FFREE 1
13754 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13755 #ifdef HAVE_SYS_PARAM_H
13756 # include <sys/param.h>
13758 #ifdef HAVE_SYS_MOUNT_H
13759 # include <sys/mount.h>
13761 #ifdef HAVE_SYS_VFS_H
13762 # include <sys/vfs.h>
13764 #ifdef HAVE_SYS_STATFS_H
13765 # include <sys/statfs.h>
13768 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
13770 cat >>confdefs.h
<<_ACEOF
13771 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13776 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13777 #ifdef HAVE_SYS_PARAM_H
13778 # include <sys/param.h>
13780 #ifdef HAVE_SYS_MOUNT_H
13781 # include <sys/mount.h>
13783 #ifdef HAVE_SYS_VFS_H
13784 # include <sys/vfs.h>
13786 #ifdef HAVE_SYS_STATFS_H
13787 # include <sys/statfs.h>
13790 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
13792 cat >>confdefs.h
<<_ACEOF
13793 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13800 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13801 #include <sys/statvfs.h>
13804 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
13806 cat >>confdefs.h
<<_ACEOF
13807 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13814 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
13815 #include <dirent.h>
13818 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
13820 cat >>confdefs.h
<<_ACEOF
13821 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
13828 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13829 #ifdef HAVE_SYS_SOCKET_H
13830 # include <sys/socket.h>
13832 #ifdef HAVE_SYS_UN_H
13833 # include <sys/un.h>
13836 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
13838 cat >>confdefs.h
<<_ACEOF
13839 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13844 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13845 #ifdef HAVE_SYS_SOCKET_H
13846 # include <sys/socket.h>
13848 #ifdef HAVE_SYS_UN_H
13849 # include <sys/un.h>
13852 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
13854 cat >>confdefs.h
<<_ACEOF
13855 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13860 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13861 #ifdef HAVE_SYS_SOCKET_H
13862 # include <sys/socket.h>
13864 #ifdef HAVE_SYS_UN_H
13865 # include <sys/un.h>
13868 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
13870 cat >>confdefs.h
<<_ACEOF
13871 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13878 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13879 #ifdef HAVE_SCSI_SG_H
13880 #include <scsi/sg.h>
13883 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
13885 cat >>confdefs.h
<<_ACEOF
13886 #define HAVE_SCSIREQ_T_CMD 1
13891 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>
13892 #ifdef HAVE_SCSI_SG_H
13893 #include <scsi/sg.h>
13896 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
13898 cat >>confdefs.h
<<_ACEOF
13899 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13906 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13908 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
13910 cat >>confdefs.h
<<_ACEOF
13911 #define HAVE_SIGINFO_T_SI_FD 1
13918 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13919 #ifdef HAVE_SYS_MTIO_H
13920 #include <sys/mtio.h>
13923 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
13925 cat >>confdefs.h
<<_ACEOF
13926 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13931 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13932 #ifdef HAVE_SYS_MTIO_H
13933 #include <sys/mtio.h>
13936 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
13938 cat >>confdefs.h
<<_ACEOF
13939 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13944 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13945 #ifdef HAVE_SYS_MTIO_H
13946 #include <sys/mtio.h>
13949 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
13951 cat >>confdefs.h
<<_ACEOF
13952 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13959 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13960 #include <getopt.h>
13963 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
13965 cat >>confdefs.h
<<_ACEOF
13966 #define HAVE_STRUCT_OPTION_NAME 1
13973 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13974 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
13976 cat >>confdefs.h
<<_ACEOF
13977 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13982 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13983 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
13985 cat >>confdefs.h
<<_ACEOF
13986 #define HAVE_STRUCT_STAT_ST_MTIM 1
13991 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13992 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
13994 cat >>confdefs.h
<<_ACEOF
13995 #define HAVE_STRUCT_STAT_ST_CTIM 1
14000 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14001 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
14003 cat >>confdefs.h
<<_ACEOF
14004 #define HAVE_STRUCT_STAT_ST_ATIM 1
14011 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
14012 #include <sys/types.h>
14014 #ifdef HAVE_NETINET_IN_H
14015 #include <netinet/in.h>
14018 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
14020 cat >>confdefs.h
<<_ACEOF
14021 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14028 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14029 #include <sys/types.h>
14031 #ifdef HAVE_NETINET_IN_H
14032 # include <netinet/in.h>
14034 #ifdef HAVE_ARPA_NAMESER_H
14035 # include <arpa/nameser.h>
14038 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
14040 cat >>confdefs.h
<<_ACEOF
14041 #define HAVE_NS_MSG__MSG_PTR 1
14048 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_NETINET_ICMP_VAR
14049 #include <netinet/icmp_var.h>
14052 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
14054 cat >>confdefs.h
<<_ACEOF
14055 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14062 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14063 #include <sys/types.h>
14065 #ifdef HAVE_ALIAS_H
14068 #ifdef HAVE_SYS_SOCKET_H
14069 #include <sys/socket.h>
14071 #ifdef HAVE_SYS_SOCKETVAR_H
14072 #include <sys/socketvar.h>
14074 #ifdef HAVE_SYS_TIMEOUT_H
14075 #include <sys/timeout.h>
14077 #ifdef HAVE_NETINET_IN_H
14078 #include <netinet/in.h>
14080 #ifdef HAVE_NETINET_IN_SYSTM_H
14081 #include <netinet/in_systm.h>
14083 #ifdef HAVE_NETINET_IP_H
14084 #include <netinet/ip.h>
14086 #ifdef HAVE_NETINET_IP_VAR_H
14087 #include <netinet/ip_var.h>
14089 #ifdef HAVE_NETINET_IP_ICMP_H
14090 #include <netinet/ip_icmp.h>
14092 #ifdef HAVE_NETINET_ICMP_VAR
14093 #include <netinet/icmp_var.h>
14096 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
14098 cat >>confdefs.h
<<_ACEOF
14099 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14106 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_NETINET_IP_VAR_H
14107 #include <netinet/ip_var.h>
14110 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
14112 cat >>confdefs.h
<<_ACEOF
14113 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14120 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
14121 #include <netinet/ip_var.h>
14124 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
14126 cat >>confdefs.h
<<_ACEOF
14127 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14134 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_NETINET_TCP_VAR_H
14135 #include <netinet/tcp_var.h>
14138 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
14140 cat >>confdefs.h
<<_ACEOF
14141 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14148 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
14149 #include <netinet/tcp_var.h>
14152 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
14154 cat >>confdefs.h
<<_ACEOF
14155 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14162 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_NETINET_UDP_VAR_H
14163 #include <netinet/udp_var.h>
14166 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
14168 cat >>confdefs.h
<<_ACEOF
14169 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14176 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14177 #include <sys/types.h>
14179 #ifdef HAVE_NET_IF_H
14180 # include <net/if.h>
14183 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
14185 cat >>confdefs.h
<<_ACEOF
14186 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14194 $as_echo_n "checking for timezone variable... " >&6; }
14195 if ${ac_cv_have_timezone+:} false
; then :
14196 $as_echo_n "(cached) " >&6
14198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14199 /* end confdefs.h. */
14209 if ac_fn_c_try_link
"$LINENO"; then :
14210 ac_cv_have_timezone
="yes"
14212 ac_cv_have_timezone
="no"
14214 rm -f core conftest.err conftest.
$ac_objext \
14215 conftest
$ac_exeext conftest.
$ac_ext
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14218 $as_echo "$ac_cv_have_timezone" >&6; }
14219 if test "$ac_cv_have_timezone" = "yes"
14222 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14226 $as_echo_n "checking for daylight variable... " >&6; }
14227 if ${ac_cv_have_daylight+:} false
; then :
14228 $as_echo_n "(cached) " >&6
14230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14231 /* end confdefs.h. */
14241 if ac_fn_c_try_link
"$LINENO"; then :
14242 ac_cv_have_daylight
="yes"
14244 ac_cv_have_daylight
="no"
14246 rm -f core conftest.err conftest.
$ac_objext \
14247 conftest
$ac_exeext conftest.
$ac_ext
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14250 $as_echo "$ac_cv_have_daylight" >&6; }
14251 if test "$ac_cv_have_daylight" = "yes"
14254 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14258 ac_save_LIBS
="$LIBS"
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14261 $as_echo_n "checking for isinf... " >&6; }
14262 if ${ac_cv_have_isinf+:} false
; then :
14263 $as_echo_n "(cached) " >&6
14265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14266 /* end confdefs.h. */
14271 float f = 0.0; return isinf(f)
14276 if ac_fn_c_try_link
"$LINENO"; then :
14277 ac_cv_have_isinf
="yes"
14279 ac_cv_have_isinf
="no"
14281 rm -f core conftest.err conftest.
$ac_objext \
14282 conftest
$ac_exeext conftest.
$ac_ext
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14285 $as_echo "$ac_cv_have_isinf" >&6; }
14286 if test "$ac_cv_have_isinf" = "yes"
14289 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14294 $as_echo_n "checking for isnan... " >&6; }
14295 if ${ac_cv_have_isnan+:} false
; then :
14296 $as_echo_n "(cached) " >&6
14298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14299 /* end confdefs.h. */
14304 float f = 0.0; return isnan(f)
14309 if ac_fn_c_try_link
"$LINENO"; then :
14310 ac_cv_have_isnan
="yes"
14312 ac_cv_have_isnan
="no"
14314 rm -f core conftest.err conftest.
$ac_objext \
14315 conftest
$ac_exeext conftest.
$ac_ext
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14318 $as_echo "$ac_cv_have_isnan" >&6; }
14319 if test "$ac_cv_have_isnan" = "yes"
14322 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14325 LIBS
="$ac_save_LIBS"
14329 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14330 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14331 if ${ac_cv_cpp_def___i386__+:} false
; then :
14332 $as_echo_n "(cached) " >&6
14334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14335 /* end confdefs.h. */
14340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14341 $EGREP "yes" >/dev
/null
2>&1; then :
14342 ac_cv_cpp_def___i386__
=yes
14344 ac_cv_cpp_def___i386__
=no
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14350 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14351 if test $ac_cv_cpp_def___i386__ = yes; then :
14352 CFLAGS
="$CFLAGS -D__i386__"
14353 LINTFLAGS
="$LINTFLAGS -D__i386__"
14355 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14356 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14357 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
14358 $as_echo_n "(cached) " >&6
14360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14367 $EGREP "yes" >/dev
/null
2>&1; then :
14368 ac_cv_cpp_def___x86_64__
=yes
14370 ac_cv_cpp_def___x86_64__
=no
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14376 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14377 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14378 CFLAGS
="$CFLAGS -D__x86_64__"
14379 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
14381 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
14382 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
14383 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
14384 $as_echo_n "(cached) " >&6
14386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14387 /* end confdefs.h. */
14388 #ifndef __sparc64__
14392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14393 $EGREP "yes" >/dev
/null
2>&1; then :
14394 ac_cv_cpp_def___sparc64__
=yes
14396 ac_cv_cpp_def___sparc64__
=no
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
14402 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
14403 if test $ac_cv_cpp_def___sparc64__ = yes; then :
14404 CFLAGS
="$CFLAGS -D__sparc64__"
14405 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
14407 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14408 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14409 if ${ac_cv_cpp_def___sparc__+:} false
; then :
14410 $as_echo_n "(cached) " >&6
14412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14413 /* end confdefs.h. */
14418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14419 $EGREP "yes" >/dev
/null
2>&1; then :
14420 ac_cv_cpp_def___sparc__
=yes
14422 ac_cv_cpp_def___sparc__
=no
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14428 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14429 if test $ac_cv_cpp_def___sparc__ = yes; then :
14430 CFLAGS
="$CFLAGS -D__sparc__"
14431 LINTFLAGS
="$LINTFLAGS -D__sparc__"
14433 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
14434 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
14435 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
14436 $as_echo_n "(cached) " >&6
14438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14439 /* end confdefs.h. */
14440 #ifndef __powerpc64__
14444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14445 $EGREP "yes" >/dev
/null
2>&1; then :
14446 ac_cv_cpp_def___powerpc64__
=yes
14448 ac_cv_cpp_def___powerpc64__
=no
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
14454 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
14455 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
14456 CFLAGS
="$CFLAGS -D__powerpc64__"
14457 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
14459 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14460 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14461 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
14462 $as_echo_n "(cached) " >&6
14464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14465 /* end confdefs.h. */
14466 #ifndef __powerpc__
14470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14471 $EGREP "yes" >/dev
/null
2>&1; then :
14472 ac_cv_cpp_def___powerpc__
=yes
14474 ac_cv_cpp_def___powerpc__
=no
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14480 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14481 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14482 CFLAGS
="$CFLAGS -D__powerpc__"
14483 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
14485 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
14486 $as_echo_n "checking whether we need to define __arm__... " >&6; }
14487 if ${ac_cv_cpp_def___arm__+:} false
; then :
14488 $as_echo_n "(cached) " >&6
14490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14491 /* end confdefs.h. */
14496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14497 $EGREP "yes" >/dev
/null
2>&1; then :
14498 ac_cv_cpp_def___arm__
=yes
14500 ac_cv_cpp_def___arm__
=no
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
14506 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
14507 if test $ac_cv_cpp_def___arm__ = yes; then :
14508 CFLAGS
="$CFLAGS -D__arm__"
14509 LINTFLAGS
="$LINTFLAGS -D__arm__"
14513 case $host_vendor in
14514 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14515 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14516 if ${ac_cv_cpp_def___sun__+:} false
; then :
14517 $as_echo_n "(cached) " >&6
14519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14520 /* end confdefs.h. */
14525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14526 $EGREP "yes" >/dev
/null
2>&1; then :
14527 ac_cv_cpp_def___sun__
=yes
14529 ac_cv_cpp_def___sun__
=no
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14535 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14536 if test $ac_cv_cpp_def___sun__ = yes; then :
14537 CFLAGS
="$CFLAGS -D__sun__"
14538 LINTFLAGS
="$LINTFLAGS -D__sun__"
14546 ac_config_commands
="$ac_config_commands include/stamp-h"
14549 ALL_MAKEFILE_DEPENDS
="
14550 # Rules automatically generated by configure
14555 Makefile: Makefile.in Make.vars.in Make.rules config.status
14556 @./config.status Make.tmp Makefile"
14559 ALL_TEST_RESOURCES
=""
14562 wine_fn_append_file
()
14564 as_fn_append
$1 " \\$as_nl $2"
14567 wine_fn_append_rule
()
14569 as_fn_append
$1 "$as_nl$2"
14572 wine_fn_has_flag
()
14574 expr ",$2," : ".*,$1,.*" >/dev
/null
14577 wine_fn_all_dir_rules
()
14581 ac_makedep
="\$(MAKEDEP)"
14582 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
14583 if test $ac_dir != tools
14585 ac_alldeps
="$2 $ac_makedep"
14588 *.
in) ac_input
=$ac_input:$2 ;;
14589 *) ac_makedep
="$2 $ac_makedep" ;;
14592 wine_fn_append_file ALL_DIRS
$ac_dir
14593 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14594 "__clean__: $ac_dir/__clean__
14595 .PHONY: $ac_dir/__clean__
14596 $ac_dir/__clean__: $ac_dir/Makefile
14597 @cd $ac_dir && \$(MAKE) clean
14598 \$(RM) $ac_dir/Makefile
14599 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14600 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14601 depend: $ac_dir/__depend__
14602 .PHONY: $ac_dir/__depend__
14603 $ac_dir/__depend__: $ac_makedep dummy
14604 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14607 wine_fn_pot_rules
()
14612 test "x$with_gettextpo" = xyes ||
return
14614 if wine_fn_has_flag mc
$ac_flags
14616 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
14617 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14618 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
14619 @cd $ac_dir && \$(MAKE) msg.pot
14620 $ac_dir/msg.pot: tools/wmc include"
14622 if wine_fn_has_flag po
$ac_flags
14624 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
14625 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14626 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
14627 @cd $ac_dir && \$(MAKE) rsrc.pot
14628 $ac_dir/rsrc.pot: tools/wrc include"
14632 wine_fn_config_makefile
()
14638 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14642 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
14643 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14646 $ac_dir: $ac_dir/Makefile dummy
14647 @cd $ac_dir && \$(MAKE)"
14649 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
14651 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14652 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14653 $ac_dir/__install__:: $ac_dir
14654 @cd $ac_dir && \$(MAKE) install
14655 $ac_dir/__uninstall__:: $ac_dir/Makefile
14656 @cd $ac_dir && \$(MAKE) uninstall
14657 install:: $ac_dir/__install__
14658 __uninstall__: $ac_dir/__uninstall__"
14660 if wine_fn_has_flag install-lib
$ac_flags
14662 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14663 ".PHONY: $ac_dir/__install-lib__
14664 $ac_dir/__install-lib__:: $ac_dir
14665 @cd $ac_dir && \$(MAKE) install-lib
14666 install-lib:: $ac_dir/__install-lib__"
14669 if wine_fn_has_flag install-dev
$ac_flags
14671 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14672 ".PHONY: $ac_dir/__install-dev
14673 $ac_dir/__install-dev__:: $ac_dir
14674 @cd $ac_dir && \$(MAKE) install-dev
14675 install-dev:: $ac_dir/__install-dev__"
14679 wine_fn_config_lib
()
14683 ac_dir
=dlls
/$ac_name
14684 wine_fn_config_makefile
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
14686 if wine_fn_has_flag install-dev
$ac_flags
14689 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14690 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14691 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
14692 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14693 $ac_dir/__uninstall__::
14694 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14695 install install-dev:: $ac_dir/__install__
14696 __uninstall__: $ac_dir/__uninstall__"
14699 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: $ac_dir"
14700 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: tools/widl tools/winebuild tools/winegcc include"
14703 wine_fn_config_dll
()
14706 ac_dir
=dlls
/$ac_name
14709 ac_implib
=${4:-$ac_name}
14710 ac_file
=$ac_dir/lib
$ac_implib
14712 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
14716 *16) ac_implibflags
=" -m16" ;;
14718 *) ac_dll
=$ac_dll.dll
;;
14721 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
14723 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14724 test "$ac_enable" != enable_win16 ||
return 0
14725 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
14727 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14728 "$ac_dir: __builddeps__
14729 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
14730 @cd $ac_dir && \$(MAKE) \$@"
14732 if wine_fn_has_flag install-lib
$ac_flags
14735 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14736 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
14737 install install-lib:: $ac_dir/__install-lib__
14738 __uninstall__: $ac_dir/__uninstall__"
14739 if test -n "$DLLEXT"
14741 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14742 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14743 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
14744 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
14745 $ac_dir/__uninstall__::
14746 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
14748 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14749 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14750 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
14751 $ac_dir/__uninstall__::
14752 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
14756 wine_fn_pot_rules
$ac_dir $ac_flags
14759 if wine_fn_has_flag staticimplib
$ac_flags
14761 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14762 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14763 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14764 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
14765 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
14766 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
14767 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
14768 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14769 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14770 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14771 $ac_dir/__uninstall__::
14772 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14773 install install-dev:: $ac_dir/__install-dev__
14774 __uninstall__: $ac_dir/__uninstall__"
14776 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
14778 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14779 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
14780 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
14781 $ac_dir/__uninstall__::
14782 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
14785 if test "x$CROSSTEST_DISABLE" = x
14787 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14788 "__builddeps__: $ac_file.cross.a
14789 $ac_file.cross.a: $ac_dir/Makefile dummy
14790 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
14793 elif wine_fn_has_flag implib
$ac_flags
14795 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14796 "__builddeps__: $ac_file.$IMPLIBEXT
14797 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14798 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14799 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14800 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14801 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14802 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14803 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14804 $ac_dir/__uninstall__::
14805 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14806 install install-dev:: $ac_dir/__install-dev__
14807 __uninstall__: $ac_dir/__uninstall__"
14808 if test "x$CROSSTEST_DISABLE" = x
14810 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14811 "__builddeps__: $ac_file.cross.a
14812 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14813 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
14816 if test "$ac_name" != "$ac_implib"
14818 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14819 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14820 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14821 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
14823 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14824 if test "x$CROSSTEST_DISABLE" = x
14826 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14827 "__builddeps__: dlls/lib$ac_implib.cross.a
14828 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14829 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
14835 wine_fn_config_program
()
14838 ac_dir
=programs
/$ac_name
14841 ac_program
=$ac_name
14845 *) ac_program
=$ac_program.exe
;;
14848 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
14850 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14853 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14854 "$ac_dir: __builddeps__"
14856 wine_fn_pot_rules
$ac_dir $ac_flags
14858 wine_fn_has_flag
install $ac_flags ||
return
14859 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14860 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14861 install install-lib:: $ac_dir/__install__
14862 __uninstall__: $ac_dir/__uninstall__"
14864 if test -n "$DLLEXT"
14866 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14867 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14868 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
14869 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
14870 $ac_dir/__uninstall__::
14871 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
14873 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
14875 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14876 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
14877 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
14878 $ac_dir/__uninstall__::
14879 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
14882 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14883 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14884 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
14885 $ac_dir/__uninstall__::
14886 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
14889 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
14891 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14892 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
14893 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
14894 $ac_dir/__uninstall__::
14895 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
14900 wine_fn_config_test
()
14905 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
14906 wine_fn_all_dir_rules
$ac_dir Maketest.rules
14908 if test "x$enable_tests" = xno
; then :
14911 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14914 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
14915 @cd $ac_dir && \$(MAKE)
14916 programs/winetest: $ac_dir
14917 check test: $ac_dir/__test__
14918 .PHONY: $ac_dir/__test__
14919 $ac_dir/__test__: dummy
14920 @cd $ac_dir && \$(MAKE) test
14922 \$(RM) $ac_dir/*.ok"
14924 if test "x$CROSSTEST_DISABLE" = x
14926 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14927 "crosstest: $ac_dir/__crosstest__
14928 .PHONY: $ac_dir/__crosstest__
14929 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
14930 @cd $ac_dir && \$(MAKE) crosstest"
14935 wine_fn_config_tool
()
14939 if test "x$enable_tools" = xno
; then :
14943 wine_fn_config_makefile
$ac_dir enable_tools
$ac_flags
14945 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__tooldeps__: $ac_dir"
14946 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: libs/port"
14948 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
14952 wine_fn_config_makerules
()
14956 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14957 "$ac_rules: $ac_rules.in $ac_deps config.status
14958 @./config.status $ac_rules
14963 wine_fn_config_symlink
()
14966 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14968 @./config.status $ac_link
14973 if test "x$CROSSTEST_DISABLE" != x
14975 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14977 @echo \"crosstest is not supported (mingw not installed?)\" && false"
14979 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
14980 wine_fn_config_symlink dlls
/shell32
/AUTHORS
14981 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14982 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
14983 if test "x$enable_fonts" != xno
; then
14984 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14985 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
14987 if test "x$enable_fonts" != xno
; then
14988 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14989 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
14991 if test "x$enable_fonts" != xno
; then
14992 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14993 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
14995 if test "x$enable_fonts" != xno
; then
14996 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14997 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
14999 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
15000 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
15001 if test "x$enable_tools" != xno
; then
15002 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15003 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
15005 ac_config_links
="$ac_config_links wine:tools/winewrapper"
15006 wine_fn_config_symlink wine
15007 if test "x$enable_win64" != xno
; then
15008 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
15009 wine_fn_config_symlink wine64
15012 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
15014 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
15016 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
15018 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
15020 ac_config_commands
="$ac_config_commands dlls/user32/resources"
15022 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
15024 ac_config_commands
="$ac_config_commands include/wine"
15027 wine_fn_config_makerules Make.rules
15028 MAKE_RULES
=Make.rules
15029 ac_config_files
="$ac_config_files Make.rules"
15031 wine_fn_config_makerules Maketest.rules Make.rules
15032 MAKE_TEST_RULES
=Maketest.rules
15033 ac_config_files
="$ac_config_files Maketest.rules"
15035 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
15036 MAKE_DLL_RULES
=dlls
/Makedll.rules
15037 ac_config_files
="$ac_config_files dlls/Makedll.rules"
15039 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
15040 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
15041 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
15043 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
15044 MAKE_PROG_RULES
=programs
/Makeprog.rules
15045 ac_config_files
="$ac_config_files programs/Makeprog.rules"
15048 wine_fn_config_dll acledit enable_acledit
15049 wine_fn_config_dll aclui enable_aclui implib
15050 wine_fn_config_dll activeds enable_activeds implib
15051 wine_fn_config_dll actxprxy enable_actxprxy
15052 wine_fn_config_lib adsiid
15053 wine_fn_config_dll advapi32 enable_advapi32 implib
15054 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
15055 wine_fn_config_dll advpack enable_advpack implib
15056 wine_fn_config_test dlls
/advpack
/tests advpack_test
15057 wine_fn_config_dll amstream enable_amstream
15058 wine_fn_config_test dlls
/amstream
/tests amstream_test
15059 wine_fn_config_dll apphelp enable_apphelp
15060 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15061 wine_fn_config_dll atl enable_atl implib
15062 wine_fn_config_test dlls
/atl
/tests atl_test
15063 wine_fn_config_dll atl80 enable_atl80
15064 wine_fn_config_dll authz enable_authz
15065 wine_fn_config_dll avicap32 enable_avicap32 implib
15066 wine_fn_config_dll avifil32 enable_avifil32 implib
,po
15067 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
15068 wine_fn_config_dll avifile.dll16 enable_win16
15069 wine_fn_config_dll avrt enable_avrt implib
15070 wine_fn_config_dll bcrypt enable_bcrypt
15071 wine_fn_config_dll browseui enable_browseui po
15072 wine_fn_config_test dlls
/browseui
/tests browseui_test
15073 wine_fn_config_dll cabinet enable_cabinet implib
15074 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
15075 wine_fn_config_dll capi2032 enable_capi2032 implib
15076 wine_fn_config_dll cards enable_cards implib
15077 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15078 wine_fn_config_dll clusapi enable_clusapi implib
15079 wine_fn_config_dll comcat enable_comcat
15080 wine_fn_config_test dlls
/comcat
/tests comcat_test
15081 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
15082 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
15083 wine_fn_config_dll comdlg32 enable_comdlg32 implib
,po
15084 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
15085 wine_fn_config_dll
comm.drv16 enable_win16
15086 wine_fn_config_dll commdlg.dll16 enable_win16
15087 wine_fn_config_dll compobj.dll16 enable_win16
15088 wine_fn_config_dll compstui enable_compstui implib
15089 wine_fn_config_dll credui enable_credui implib
,po
15090 wine_fn_config_test dlls
/credui
/tests credui_test
15091 wine_fn_config_dll crtdll enable_crtdll implib
15092 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
15093 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
15094 wine_fn_config_dll cryptdlg enable_cryptdlg po
15095 wine_fn_config_dll cryptdll enable_cryptdll implib
15096 wine_fn_config_dll cryptnet enable_cryptnet implib
15097 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
15098 wine_fn_config_dll cryptui enable_cryptui implib
,po
15099 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
15100 wine_fn_config_dll ctapi32 enable_ctapi32
15101 wine_fn_config_dll ctl3d.dll16 enable_win16
15102 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15103 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15104 wine_fn_config_dll d3d10 enable_d3d10 implib
15105 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
15106 wine_fn_config_dll d3d10core enable_d3d10core implib
15107 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
15108 wine_fn_config_dll d3d8 enable_d3d8 implib
15109 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
15110 wine_fn_config_dll d3d9 enable_d3d9 implib
15111 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
15112 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15113 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15114 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15115 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15116 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15117 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15118 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15119 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15120 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15121 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15122 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15123 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
15124 wine_fn_config_dll d3dim enable_d3dim implib
15125 wine_fn_config_dll d3drm enable_d3drm implib
15126 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
15127 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15128 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15129 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15130 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15131 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15132 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15133 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15134 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15135 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15136 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15137 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15138 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15139 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15140 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15141 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15142 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15143 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15144 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15145 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15146 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15147 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15148 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15149 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15150 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15151 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
15152 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15153 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15154 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15155 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15156 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15157 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15158 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15159 wine_fn_config_dll d3dxof enable_d3dxof implib
15160 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
15161 wine_fn_config_dll dbgeng enable_dbgeng implib
15162 wine_fn_config_dll dbghelp enable_dbghelp implib
15163 wine_fn_config_dll dciman32 enable_dciman32 implib
15164 wine_fn_config_dll ddeml.dll16 enable_win16
15165 wine_fn_config_dll ddraw enable_ddraw implib
15166 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
15167 wine_fn_config_dll ddrawex enable_ddrawex
15168 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
15169 wine_fn_config_dll devenum enable_devenum po
15170 wine_fn_config_test dlls
/devenum
/tests devenum_test
15171 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15172 wine_fn_config_dll dinput enable_dinput implib
,po
,staticimplib
15173 wine_fn_config_test dlls
/dinput
/tests dinput_test
15174 wine_fn_config_dll dinput8 enable_dinput8 implib
15175 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
15176 wine_fn_config_dll dispdib.dll16 enable_win16
15177 wine_fn_config_dll dispex enable_dispex
15178 wine_fn_config_test dlls
/dispex
/tests dispex_test
15179 wine_fn_config_dll display.drv16 enable_win16
15180 wine_fn_config_dll dmband enable_dmband
15181 wine_fn_config_test dlls
/dmband
/tests dmband_test
15182 wine_fn_config_dll dmcompos enable_dmcompos
15183 wine_fn_config_dll dmime enable_dmime
15184 wine_fn_config_test dlls
/dmime
/tests dmime_test
15185 wine_fn_config_dll dmloader enable_dmloader
15186 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
15187 wine_fn_config_dll dmscript enable_dmscript
15188 wine_fn_config_dll dmstyle enable_dmstyle
15189 wine_fn_config_dll dmsynth enable_dmsynth
15190 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
15191 wine_fn_config_dll dmusic enable_dmusic
15192 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
15193 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15194 wine_fn_config_dll dnsapi enable_dnsapi implib
15195 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
15196 wine_fn_config_dll dplay enable_dplay implib
15197 wine_fn_config_dll dplayx enable_dplayx implib
15198 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
15199 wine_fn_config_dll dpnaddr enable_dpnaddr
15200 wine_fn_config_dll dpnet enable_dpnet implib
15201 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
15202 wine_fn_config_dll dpnhpast enable_dpnhpast
15203 wine_fn_config_dll dpnlobby enable_dpnlobby
15204 wine_fn_config_dll dpwsockx enable_dpwsockx
15205 wine_fn_config_dll drmclien enable_drmclien
15206 wine_fn_config_dll dsound enable_dsound implib
15207 wine_fn_config_test dlls
/dsound
/tests dsound_test
15208 wine_fn_config_dll dssenh enable_dssenh
15209 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
15210 wine_fn_config_dll dswave enable_dswave
15211 wine_fn_config_dll dwmapi enable_dwmapi implib
15212 wine_fn_config_dll dxdiagn enable_dxdiagn po
15213 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
15214 wine_fn_config_lib dxerr8
15215 wine_fn_config_lib dxerr9
15216 wine_fn_config_dll dxgi enable_dxgi implib
15217 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
15218 wine_fn_config_lib dxguid
15219 wine_fn_config_dll explorerframe enable_explorerframe
15220 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
15221 wine_fn_config_dll faultrep enable_faultrep implib
15222 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
15223 wine_fn_config_dll fltlib enable_fltlib
15224 wine_fn_config_dll fusion enable_fusion
15225 wine_fn_config_test dlls
/fusion
/tests fusion_test
15226 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15227 wine_fn_config_dll gameux enable_gameux
15228 wine_fn_config_test dlls
/gameux
/tests gameux_test
15229 wine_fn_config_dll gdi.exe16 enable_win16
15230 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
15231 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
15232 wine_fn_config_dll gdiplus enable_gdiplus implib
15233 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
15234 wine_fn_config_dll glu32 enable_glu32 implib
15235 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15236 wine_fn_config_dll gpkcsp enable_gpkcsp
15237 wine_fn_config_dll hal enable_hal
15238 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx po
15239 wine_fn_config_dll hid enable_hid implib
15240 wine_fn_config_dll hlink enable_hlink implib
15241 wine_fn_config_test dlls
/hlink
/tests hlink_test
15242 wine_fn_config_dll hnetcfg enable_hnetcfg
15243 wine_fn_config_dll httpapi enable_httpapi
15244 wine_fn_config_dll iccvid enable_iccvid po
15245 wine_fn_config_dll icmp enable_icmp
15246 wine_fn_config_dll ieframe enable_ieframe implib
,po
15247 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
15248 wine_fn_config_dll ifsmgr.vxd enable_win16
15249 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15250 wine_fn_config_dll imagehlp enable_imagehlp implib
15251 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
15252 wine_fn_config_dll imm.dll16 enable_win16
15253 wine_fn_config_dll imm32 enable_imm32 implib
15254 wine_fn_config_test dlls
/imm32
/tests imm32_test
15255 wine_fn_config_dll inetcomm enable_inetcomm implib
15256 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
15257 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15258 wine_fn_config_dll inetmib1 enable_inetmib1
15259 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
15260 wine_fn_config_dll infosoft enable_infosoft
15261 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
15262 wine_fn_config_dll initpki enable_initpki
15263 wine_fn_config_dll inkobj enable_inkobj
15264 wine_fn_config_dll inseng enable_inseng
15265 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15266 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
15267 wine_fn_config_dll itircl enable_itircl
15268 wine_fn_config_dll itss enable_itss
15269 wine_fn_config_test dlls
/itss
/tests itss_test
15270 wine_fn_config_dll joy.cpl enable_joy_cpl po
15271 wine_fn_config_dll jscript enable_jscript po
15272 wine_fn_config_test dlls
/jscript
/tests jscript_test
15273 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
15274 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
15275 wine_fn_config_dll keyboard.drv16 enable_win16
15276 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15277 wine_fn_config_dll ktmw32 enable_ktmw32
15278 wine_fn_config_dll loadperf enable_loadperf implib
15279 wine_fn_config_dll localspl enable_localspl po
15280 wine_fn_config_test dlls
/localspl
/tests localspl_test
15281 wine_fn_config_dll localui enable_localui po
15282 wine_fn_config_test dlls
/localui
/tests localui_test
15283 wine_fn_config_dll lz32 enable_lz32 implib
15284 wine_fn_config_test dlls
/lz32
/tests lz32_test
15285 wine_fn_config_dll lzexpand.dll16 enable_win16
15286 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
15287 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
15288 wine_fn_config_dll mapistub enable_mapistub
15289 wine_fn_config_dll mciavi32 enable_mciavi32
15290 wine_fn_config_dll mcicda enable_mcicda
15291 wine_fn_config_dll mciqtz32 enable_mciqtz32
15292 wine_fn_config_dll mciseq enable_mciseq
15293 wine_fn_config_dll mciwave enable_mciwave
15294 wine_fn_config_dll mgmtapi enable_mgmtapi
15295 wine_fn_config_dll midimap enable_midimap
15296 wine_fn_config_dll mlang enable_mlang implib
15297 wine_fn_config_test dlls
/mlang
/tests mlang_test
15298 wine_fn_config_dll mmcndmgr enable_mmcndmgr
15299 wine_fn_config_dll mmdevapi enable_mmdevapi
15300 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
15301 wine_fn_config_dll mmdevldr.vxd enable_win16
15302 wine_fn_config_dll mmsystem.dll16 enable_win16
15303 wine_fn_config_dll monodebg.vxd enable_win16
15304 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15305 wine_fn_config_dll mouse.drv16 enable_win16
15306 wine_fn_config_dll mpr enable_mpr implib
,po
15307 wine_fn_config_test dlls
/mpr
/tests mpr_test
15308 wine_fn_config_dll mprapi enable_mprapi implib
15309 wine_fn_config_dll msacm.dll16 enable_win16
15310 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15311 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
15312 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
15313 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15314 wine_fn_config_dll mscat32 enable_mscat32
15315 wine_fn_config_dll mscms enable_mscms implib
15316 wine_fn_config_test dlls
/mscms
/tests mscms_test
15317 wine_fn_config_dll mscoree enable_mscoree
15318 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
15319 wine_fn_config_dll msctf enable_msctf
15320 wine_fn_config_test dlls
/msctf
/tests msctf_test
15321 wine_fn_config_dll msdaps enable_msdaps
15322 wine_fn_config_dll msdmo enable_msdmo implib
15323 wine_fn_config_dll msftedit enable_msftedit
15324 wine_fn_config_dll msg711.acm enable_msg711_acm
15325 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15326 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15327 wine_fn_config_dll mshtml enable_mshtml implib
,po
15328 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
15329 wine_fn_config_dll msi enable_msi implib
,po
15330 wine_fn_config_test dlls
/msi
/tests msi_test
15331 wine_fn_config_dll msident enable_msident
15332 wine_fn_config_dll msimg32 enable_msimg32 implib
15333 wine_fn_config_dll msimsg enable_msimsg
15334 wine_fn_config_dll msimtf enable_msimtf
15335 wine_fn_config_dll msisip enable_msisip
15336 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15337 wine_fn_config_dll msnet32 enable_msnet32
15338 wine_fn_config_dll mspatcha enable_mspatcha
15339 wine_fn_config_dll msrle32 enable_msrle32 po
15340 wine_fn_config_dll mssign32 enable_mssign32
15341 wine_fn_config_dll mssip32 enable_mssip32
15342 wine_fn_config_dll mstask enable_mstask
15343 wine_fn_config_test dlls
/mstask
/tests mstask_test
15344 wine_fn_config_dll msvcirt enable_msvcirt
15345 wine_fn_config_dll msvcm80 enable_msvcm80
15346 wine_fn_config_dll msvcm90 enable_msvcm90
15347 wine_fn_config_dll msvcp100 enable_msvcp100
15348 wine_fn_config_dll msvcp60 enable_msvcp60
15349 wine_fn_config_dll msvcp70 enable_msvcp70
15350 wine_fn_config_dll msvcp71 enable_msvcp71
15351 wine_fn_config_dll msvcp80 enable_msvcp80
15352 wine_fn_config_dll msvcp90 enable_msvcp90
15353 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
15354 wine_fn_config_dll msvcr100 enable_msvcr100
15355 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15356 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15357 wine_fn_config_dll msvcr80 enable_msvcr80
15358 wine_fn_config_dll msvcr90 enable_msvcr90
15359 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
15360 wine_fn_config_dll msvcrt enable_msvcrt implib
15361 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
15362 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15363 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15364 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15365 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
15366 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
15367 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
15368 wine_fn_config_dll msvidc32 enable_msvidc32 po
15369 wine_fn_config_dll msvideo.dll16 enable_win16
15370 wine_fn_config_dll mswsock enable_mswsock implib
15371 wine_fn_config_dll msxml enable_msxml
15372 wine_fn_config_dll msxml2 enable_msxml2
15373 wine_fn_config_dll msxml3 enable_msxml3
15374 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
15375 wine_fn_config_dll msxml4 enable_msxml4
15376 wine_fn_config_dll msxml6 enable_msxml6
15377 wine_fn_config_dll nddeapi enable_nddeapi implib
15378 wine_fn_config_dll netapi32 enable_netapi32 implib
15379 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
15380 wine_fn_config_dll newdev enable_newdev implib
15381 wine_fn_config_dll normaliz enable_normaliz implib
15382 wine_fn_config_dll npmshtml enable_npmshtml
15383 wine_fn_config_dll ntdll enable_ntdll implib
15384 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
15385 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15386 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
15387 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15388 wine_fn_config_dll ntprint enable_ntprint
15389 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
15390 wine_fn_config_dll objsel enable_objsel
15391 wine_fn_config_dll odbc32 enable_odbc32 implib
15392 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15393 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
15394 wine_fn_config_dll ole2.dll16 enable_win16
15395 wine_fn_config_dll ole2conv.dll16 enable_win16
15396 wine_fn_config_dll ole2disp.dll16 enable_win16
15397 wine_fn_config_dll ole2nls.dll16 enable_win16
15398 wine_fn_config_dll ole2prox.dll16 enable_win16
15399 wine_fn_config_dll ole2thk.dll16 enable_win16
15400 wine_fn_config_dll ole32 enable_ole32 implib
15401 wine_fn_config_test dlls
/ole32
/tests ole32_test
15402 wine_fn_config_dll oleacc enable_oleacc implib
,po
15403 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
15404 wine_fn_config_dll oleaut32 enable_oleaut32 implib
,po
15405 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
15406 wine_fn_config_dll olecli.dll16 enable_win16
15407 wine_fn_config_dll olecli32 enable_olecli32 implib
15408 wine_fn_config_dll oledb32 enable_oledb32
15409 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
15410 wine_fn_config_dll oledlg enable_oledlg implib
,po
15411 wine_fn_config_dll olepro32 enable_olepro32 implib
15412 wine_fn_config_dll olesvr.dll16 enable_win16
15413 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15414 wine_fn_config_dll olethk32 enable_olethk32
15415 wine_fn_config_dll openal32 enable_openal32
15416 wine_fn_config_dll opencl enable_opencl
15417 wine_fn_config_dll opengl32 enable_opengl32 implib
15418 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
15419 wine_fn_config_dll pdh enable_pdh implib
15420 wine_fn_config_test dlls
/pdh
/tests pdh_test
15421 wine_fn_config_dll photometadatahandler enable_photometadatahandler
15422 wine_fn_config_dll pidgen enable_pidgen
15423 wine_fn_config_dll powrprof enable_powrprof implib
15424 wine_fn_config_dll printui enable_printui
15425 wine_fn_config_dll propsys enable_propsys implib
15426 wine_fn_config_test dlls
/propsys
/tests propsys_test
15427 wine_fn_config_dll psapi enable_psapi implib
15428 wine_fn_config_test dlls
/psapi
/tests psapi_test
15429 wine_fn_config_dll pstorec enable_pstorec
15430 wine_fn_config_dll qcap enable_qcap
15431 wine_fn_config_dll qedit enable_qedit
15432 wine_fn_config_test dlls
/qedit
/tests qedit_test
15433 wine_fn_config_dll qmgr enable_qmgr
15434 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
15435 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15436 wine_fn_config_dll quartz enable_quartz implib
15437 wine_fn_config_test dlls
/quartz
/tests quartz_test
15438 wine_fn_config_dll query enable_query
15439 wine_fn_config_dll rasapi16.dll16 enable_win16
15440 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15441 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
15442 wine_fn_config_dll rasdlg enable_rasdlg implib
15443 wine_fn_config_dll regapi enable_regapi
15444 wine_fn_config_dll resutils enable_resutils implib
15445 wine_fn_config_dll riched20 enable_riched20 implib
15446 wine_fn_config_test dlls
/riched20
/tests riched20_test
15447 wine_fn_config_dll riched32 enable_riched32
15448 wine_fn_config_test dlls
/riched32
/tests riched32_test
15449 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15450 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
15451 wine_fn_config_dll rsabase enable_rsabase
15452 wine_fn_config_dll rsaenh enable_rsaenh implib
15453 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
15454 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15455 wine_fn_config_dll rtutils enable_rtutils implib
15456 wine_fn_config_dll samlib enable_samlib
15457 wine_fn_config_dll sane.ds enable_sane_ds po
15458 wine_fn_config_dll scarddlg enable_scarddlg
15459 wine_fn_config_dll sccbase enable_sccbase
15460 wine_fn_config_dll schannel enable_schannel
15461 wine_fn_config_test dlls
/schannel
/tests schannel_test
15462 wine_fn_config_dll scrrun enable_scrrun
15463 wine_fn_config_test dlls
/scrrun
/tests scrrun_test
15464 wine_fn_config_dll secur32 enable_secur32 implib
15465 wine_fn_config_test dlls
/secur32
/tests secur32_test
15466 wine_fn_config_dll security enable_security
15467 wine_fn_config_dll sensapi enable_sensapi implib
15468 wine_fn_config_dll serialui enable_serialui implib
,po
15469 wine_fn_config_test dlls
/serialui
/tests serialui_test
15470 wine_fn_config_dll setupapi enable_setupapi implib
,po
15471 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
15472 wine_fn_config_dll setupx.dll16 enable_win16
15473 wine_fn_config_dll sfc enable_sfc implib
15474 wine_fn_config_dll sfc_os enable_sfc_os implib
15475 wine_fn_config_dll shdoclc enable_shdoclc po
15476 wine_fn_config_dll shdocvw enable_shdocvw implib
15477 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
15478 wine_fn_config_dll shell.dll16 enable_win16
15479 wine_fn_config_dll shell32 enable_shell32 implib
,po
15480 wine_fn_config_test dlls
/shell32
/tests shell32_test
15481 wine_fn_config_dll shfolder enable_shfolder implib
15482 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
15483 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
15484 wine_fn_config_dll slbcsp enable_slbcsp
15485 wine_fn_config_dll slc enable_slc implib
15486 wine_fn_config_dll snmpapi enable_snmpapi implib
15487 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
15488 wine_fn_config_dll softpub enable_softpub
15489 wine_fn_config_dll sound.drv16 enable_win16
15490 wine_fn_config_dll spoolss enable_spoolss implib
15491 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
15492 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15493 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15494 wine_fn_config_dll sti enable_sti implib
15495 wine_fn_config_test dlls
/sti
/tests sti_test
15496 wine_fn_config_dll storage.dll16 enable_win16
15497 wine_fn_config_dll stress.dll16 enable_win16
15498 wine_fn_config_lib strmbase
15499 wine_fn_config_lib strmiids
15500 wine_fn_config_dll svrapi enable_svrapi
15501 wine_fn_config_dll sxs enable_sxs implib
15502 wine_fn_config_test dlls
/sxs
/tests sxs_test
15503 wine_fn_config_dll system.drv16 enable_win16
15504 wine_fn_config_dll t2embed enable_t2embed
15505 wine_fn_config_dll tapi32 enable_tapi32 implib
15506 wine_fn_config_dll toolhelp.dll16 enable_win16
15507 wine_fn_config_dll traffic enable_traffic
15508 wine_fn_config_dll twain.dll16 enable_win16
15509 wine_fn_config_dll twain_32 enable_twain_32
15510 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
15511 wine_fn_config_dll typelib.dll16 enable_win16
15512 wine_fn_config_dll unicows enable_unicows implib
15513 wine_fn_config_dll updspapi enable_updspapi
15514 wine_fn_config_dll url enable_url implib
15515 wine_fn_config_dll urlmon enable_urlmon implib
15516 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
15517 wine_fn_config_dll usbd.sys enable_usbd_sys implib
15518 wine_fn_config_dll user.exe16 enable_win16
15519 wine_fn_config_dll user32 enable_user32 implib
,po
15520 wine_fn_config_test dlls
/user32
/tests user32_test
15521 wine_fn_config_dll userenv enable_userenv implib
15522 wine_fn_config_test dlls
/userenv
/tests userenv_test
15523 wine_fn_config_dll usp10 enable_usp10 implib
15524 wine_fn_config_test dlls
/usp10
/tests usp10_test
15525 wine_fn_config_lib uuid
15526 wine_fn_config_dll uxtheme enable_uxtheme implib
15527 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
15528 wine_fn_config_dll vbscript enable_vbscript
15529 wine_fn_config_test dlls
/vbscript
/tests vbscript_test
15530 wine_fn_config_dll vcomp enable_vcomp
15531 wine_fn_config_dll vcomp100 enable_vcomp100
15532 wine_fn_config_dll vdhcp.vxd enable_win16
15533 wine_fn_config_dll vdmdbg enable_vdmdbg implib
15534 wine_fn_config_dll ver.dll16 enable_win16
15535 wine_fn_config_dll version enable_version implib
15536 wine_fn_config_test dlls
/version
/tests version_test
15537 wine_fn_config_dll vmm.vxd enable_win16
15538 wine_fn_config_dll vnbt.vxd enable_win16
15539 wine_fn_config_dll vnetbios.vxd enable_win16
15540 wine_fn_config_dll vtdapi.vxd enable_win16
15541 wine_fn_config_dll vwin32.vxd enable_win16
15542 wine_fn_config_dll w32skrnl enable_win16
15543 wine_fn_config_dll w32sys.dll16 enable_win16
15544 wine_fn_config_dll wbemprox enable_wbemprox
15545 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
15546 wine_fn_config_dll wer enable_wer implib
15547 wine_fn_config_test dlls
/wer
/tests wer_test
15548 wine_fn_config_dll wevtapi enable_wevtapi
15549 wine_fn_config_dll wiaservc enable_wiaservc
15550 wine_fn_config_dll win32s16.dll16 enable_win16
15551 wine_fn_config_dll win87em.dll16 enable_win16
15552 wine_fn_config_dll winaspi.dll16 enable_win16
15553 wine_fn_config_dll windebug.dll16 enable_win16
15554 wine_fn_config_dll windowscodecs enable_windowscodecs implib
15555 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
15556 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15557 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15558 wine_fn_config_lib winecrt0
15559 wine_fn_config_dll wined3d enable_wined3d implib
15560 wine_fn_config_dll winegstreamer enable_winegstreamer
15561 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15562 wine_fn_config_dll winemapi enable_winemapi
15563 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15564 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15565 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
15566 wine_fn_config_dll wineps16.drv16 enable_win16
15567 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
15568 wine_fn_config_dll winequartz.drv enable_winequartz_drv
15569 wine_fn_config_dll winex11.drv enable_winex11_drv
15570 wine_fn_config_dll wing.dll16 enable_win16
15571 wine_fn_config_dll wing32 enable_wing32
15572 wine_fn_config_dll winhttp enable_winhttp implib
15573 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
15574 wine_fn_config_dll wininet enable_wininet implib
,po
15575 wine_fn_config_test dlls
/wininet
/tests wininet_test
15576 wine_fn_config_dll winmm enable_winmm implib
,po
15577 wine_fn_config_test dlls
/winmm
/tests winmm_test
15578 wine_fn_config_dll winnls.dll16 enable_win16
15579 wine_fn_config_dll winnls32 enable_winnls32 implib
15580 wine_fn_config_dll winscard enable_winscard implib
15581 wine_fn_config_dll winsock.dll16 enable_win16
15582 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
15583 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
15584 wine_fn_config_dll winsta enable_winsta
15585 wine_fn_config_dll wintab.dll16 enable_win16
15586 wine_fn_config_dll wintab32 enable_wintab32 implib
15587 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
15588 wine_fn_config_dll wintrust enable_wintrust implib
15589 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
15590 wine_fn_config_dll wlanapi enable_wlanapi
15591 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
15592 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
15593 wine_fn_config_dll wmi enable_wmi
15594 wine_fn_config_dll wmiutils enable_wmiutils
15595 wine_fn_config_dll wmvcore enable_wmvcore
15596 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
15597 wine_fn_config_dll wow32 enable_win16 implib
15598 wine_fn_config_dll ws2_32 enable_ws2_32 implib
15599 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
15600 wine_fn_config_dll wshom.ocx enable_wshom_ocx
15601 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test
15602 wine_fn_config_dll wsnmp32 enable_wsnmp32
15603 wine_fn_config_dll wsock32 enable_wsock32 implib
15604 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
15605 wine_fn_config_dll wuapi enable_wuapi
15606 wine_fn_config_dll wuaueng enable_wuaueng
15607 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15608 wine_fn_config_dll xinput1_1 enable_xinput1_1
15609 wine_fn_config_dll xinput1_2 enable_xinput1_2
15610 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
15611 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
15612 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15613 wine_fn_config_dll xmllite enable_xmllite
15614 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
15615 wine_fn_config_dll xolehlp enable_xolehlp
15616 wine_fn_config_dll xpsprint enable_xpsprint
15617 wine_fn_config_makefile documentation enable_documentation
15618 wine_fn_config_makefile fonts enable_fonts install-lib
15619 wine_fn_config_makefile include enable_include install-dev
15620 wine_fn_config_makefile libs
/port enable_libs_port
15621 wine_fn_config_makefile libs
/wine enable_libs_wine install-dev
,install-lib
15622 wine_fn_config_makefile libs
/wpp enable_libs_wpp
15623 wine_fn_config_makefile loader enable_loader install-lib
,manpage
15624 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
15625 wine_fn_config_program attrib enable_attrib
install,po
15626 wine_fn_config_program cabarc enable_cabarc
install
15627 wine_fn_config_program cacls enable_cacls
install
15628 wine_fn_config_program
clock enable_clock
install,po
15629 wine_fn_config_program cmd enable_cmd
install,po
15630 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
15631 wine_fn_config_program control enable_control
install
15632 wine_fn_config_program cscript enable_cscript
install
15633 wine_fn_config_program dxdiag enable_dxdiag
install,po
15634 wine_fn_config_program eject enable_eject
install
15635 wine_fn_config_program
expand enable_expand
install
15636 wine_fn_config_program explorer enable_explorer
install,po
15637 wine_fn_config_program extrac32 enable_extrac32
install
15638 wine_fn_config_program hh enable_hh
install
15639 wine_fn_config_program hostname enable_hostname
install,po
15640 wine_fn_config_program icinfo enable_icinfo
install
15641 wine_fn_config_program iexplore enable_iexplore
install
15642 wine_fn_config_program ipconfig enable_ipconfig
install,po
15643 wine_fn_config_program lodctr enable_lodctr
install
15644 wine_fn_config_program mofcomp enable_mofcomp
install
15645 wine_fn_config_program mshta enable_mshta
install
15646 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
15647 wine_fn_config_program net enable_net
install,po
15648 wine_fn_config_program netsh enable_netsh
install
15649 wine_fn_config_program ngen enable_ngen
install
15650 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
15651 wine_fn_config_program oleview enable_oleview
install,po
15652 wine_fn_config_program
ping enable_ping
install
15653 wine_fn_config_program plugplay enable_plugplay
install
15654 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
15655 wine_fn_config_program progman enable_progman
install,po
15656 wine_fn_config_program reg enable_reg
install,po
15657 wine_fn_config_program regasm enable_regasm
install
15658 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
15659 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
15660 wine_fn_config_program regsvcs enable_regsvcs
install
15661 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
15662 wine_fn_config_program rpcss enable_rpcss
install
15663 wine_fn_config_program rundll.exe16 enable_win16
install
15664 wine_fn_config_program rundll32 enable_rundll32
install
15665 wine_fn_config_program sc enable_sc
install
15666 wine_fn_config_program secedit enable_secedit
install
15667 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
15668 wine_fn_config_program services enable_services
install
15669 wine_fn_config_test programs
/services
/tests services.exe_test
15670 wine_fn_config_program spoolsv enable_spoolsv
install
15671 wine_fn_config_program start enable_start
install,po
15672 wine_fn_config_program svchost enable_svchost
install
15673 wine_fn_config_program taskkill enable_taskkill
install,po
15674 wine_fn_config_program taskmgr enable_taskmgr
install,po
15675 wine_fn_config_program termsv enable_termsv
install
15676 wine_fn_config_program uninstaller enable_uninstaller
install,po
15677 wine_fn_config_program unlodctr enable_unlodctr
install
15678 wine_fn_config_program view enable_view
install,po
15679 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
15680 wine_fn_config_program winebrowser enable_winebrowser
install
15681 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
15682 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
15683 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
15684 wine_fn_config_program winedevice enable_winedevice
install
15685 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
15686 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
15687 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
15688 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
15689 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
15690 wine_fn_config_program winetest enable_winetest
15691 wine_fn_config_program winevdm enable_win16
install
15692 wine_fn_config_program winhelp.exe16 enable_win16
install
15693 wine_fn_config_program winhlp32 enable_winhlp32
install,po
15694 wine_fn_config_program winoldap.mod16 enable_win16
install
15695 wine_fn_config_program winver enable_winver
install
15696 wine_fn_config_program wmic enable_wmic
install,po
15697 wine_fn_config_program wordpad enable_wordpad
install,po
15698 wine_fn_config_program
write enable_write
install,po
15699 wine_fn_config_program wscript enable_wscript
install
15700 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
15701 wine_fn_config_program wusa enable_wusa
install
15702 wine_fn_config_program xcopy enable_xcopy
install,po
15703 wine_fn_config_makefile server enable_server install-lib
,manpage
15704 wine_fn_config_tool tools install-dev
,install-lib
,manpage
15705 wine_fn_config_tool tools
/widl install-dev
,manpage
15706 wine_fn_config_tool tools
/winebuild install-dev
,manpage
15707 wine_fn_config_tool tools
/winedump install-dev
,manpage
15708 wine_fn_config_tool tools
/winegcc install-dev
,manpage
15709 wine_fn_config_tool tools
/wmc install-dev
,manpage
15710 wine_fn_config_tool tools
/wrc install-dev
,manpage
15760 ac_config_commands
="$ac_config_commands Makefile"
15763 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
15767 if test "x$enable_maintainer_mode" = xyes
15769 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(srcdir)/configure: configure.ac aclocal.m4
15770 cd \$(srcdir) && autoconf --warnings=all
15771 \$(srcdir)/include/config.h.in: include/stamp-h.in
15772 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
15773 cd \$(srcdir) && autoheader --warnings=all
15774 @echo timestamp > \$@"
15777 if test "x$with_gettextpo" = xyes
15779 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
15780 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"ALL_POT_FILES =$ALL_POT_FILES
15781 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
15782 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
15783 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
15784 msgcat -o \$@ \$(ALL_POT_FILES)"
15787 if test "$MSGFMT" != false
15789 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
15791 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: \$(ALL_MO_FILES)"
15796 if test "x$enable_tools" != xno
15798 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(MAKEDEP): tools/Makefile
15800 \$(RM) tools/makedep\$(EXEEXT)"
15803 if test -n "$with_wine64"
15805 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
15806 fonts server tools:
15807 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
15808 $with_wine64/loader/wine:
15809 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
15810 $with_wine64/loader/wine-preloader:
15811 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
15813 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
15816 cat >confcache
<<\_ACEOF
15817 # This file is a shell script that caches the results of configure
15818 # tests run on this system so they can be shared between configure
15819 # scripts and configure runs, see configure's option --config-cache.
15820 # It is not useful on other systems. If it contains results you don't
15821 # want to keep, you may remove or edit it.
15823 # config.status only pays attention to the cache file if you give it
15824 # the --recheck option to rerun configure.
15826 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15827 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15828 # following values.
15832 # The following way of writing the cache mishandles newlines in values,
15833 # but we know of no workaround that is simple, portable, and efficient.
15834 # So, we kill variables containing newlines.
15835 # Ultrix sh set writes to stderr and can't be redirected directly,
15836 # and sets the high bit in the cache file unless we assign to the vars.
15838 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15839 eval ac_val
=\$
$ac_var
15843 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15844 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15847 _ | IFS | as_nl
) ;; #(
15848 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15849 *) { eval $ac_var=; unset $ac_var;} ;;
15855 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15856 *${as_nl}ac_space
=\
*)
15857 # `set' does not quote correctly, so add quotes: double-quote
15858 # substitution turns \\\\ into \\, and sed turns \\ into \.
15861 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15864 # `set' quotes correctly as required by POSIX, so do not add quotes.
15865 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15874 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15876 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15878 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15879 if test -w "$cache_file"; then
15880 if test "x$cache_file" != "x/dev/null"; then
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15882 $as_echo "$as_me: updating cache $cache_file" >&6;}
15883 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15884 cat confcache
>"$cache_file"
15886 case $cache_file in #(
15888 mv -f confcache
"$cache_file"$$
&&
15889 mv -f "$cache_file"$$
"$cache_file" ;; #(
15891 mv -f confcache
"$cache_file" ;;
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15897 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15902 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15903 # Let make expand exec_prefix.
15904 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15906 DEFS
=-DHAVE_CONFIG_H
15911 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15912 # 1. Remove the extension, and $U if already installed.
15913 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15914 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15915 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15916 # will be set to the directory where LIBOBJS objects are built.
15917 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15918 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15920 LIBOBJS
=$ac_libobjs
15922 LTLIBOBJS
=$ac_ltlibobjs
15926 : "${CONFIG_STATUS=./config.status}"
15928 ac_clean_files_save
=$ac_clean_files
15929 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15931 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15933 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15935 # Generated by $as_me.
15936 # Run this file to recreate the current configuration.
15937 # Compiler output produced by configure, useful for debugging
15938 # configure, is in config.log if it exists.
15941 ac_cs_recheck=false
15944 SHELL=\${CONFIG_SHELL-$SHELL}
15947 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15948 ## -------------------- ##
15949 ## M4sh Initialization. ##
15950 ## -------------------- ##
15952 # Be more Bourne compatible
15953 DUALCASE
=1; export DUALCASE
# for MKS sh
15954 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15957 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15958 # is contrary to our usage. Disable this feature.
15959 alias -g '${1+"$@"}'='"$@"'
15960 setopt NO_GLOB_SUBST
15962 case `(set -o) 2>/dev/null` in #(
15974 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15975 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15976 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15977 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15978 # Prefer a ksh shell builtin over an external printf program on Solaris,
15979 # but without wasting forks for bash or zsh.
15980 if test -z "$BASH_VERSION$ZSH_VERSION" \
15981 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15982 as_echo='print
-r --'
15983 as_echo_n='print
-rn --'
15984 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15985 as_echo='printf %s
\n'
15986 as_echo_n='printf %s
'
15988 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15989 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15990 as_echo_n='/usr
/ucb
/echo -n'
15992 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15993 as_echo_n_body='eval
15997 expr "X$arg" : "X\\(.*\\)$as_nl";
15998 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16000 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16002 export as_echo_n_body
16003 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16005 export as_echo_body
16006 as_echo='sh
-c $as_echo_body as_echo
'
16009 # The user is always right.
16010 if test "${PATH_SEPARATOR+set}" != set; then
16012 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16013 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16020 # We need space, tab and new line, in precisely that order. Quoting is
16021 # there to prevent editors from complaining about space-tab.
16022 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16023 # splitting by setting IFS to empty value.)
16026 # Find who we are. Look in the path if we contain no directory separator.
16029 *[\\/]* ) as_myself=$0 ;;
16030 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16031 for as_dir in $PATH
16034 test -z "$as_dir" && as_dir=.
16035 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16041 # We did not find ourselves, most probably we were run as `sh COMMAND'
16042 # in which case we are not to be found in the path.
16043 if test "x$as_myself" = x
; then
16046 if test ! -f "$as_myself"; then
16047 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16051 # Unset variables that we do not need and which cause bugs (e.g. in
16052 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16053 # suppresses any "Segmentation fault" message there. '((' could
16054 # trigger a bug in pdksh 5.2.14.
16055 for as_var
in BASH_ENV ENV MAIL MAILPATH
16056 do eval test x\
${$as_var+set} = xset \
16057 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16070 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16073 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16074 # ----------------------------------------
16075 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16076 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16077 # script with STATUS, using 1 if that was 0.
16080 as_status
=$1; test $as_status -eq 0 && as_status
=1
16082 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16083 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16085 $as_echo "$as_me: error: $2" >&2
16086 as_fn_exit
$as_status
16090 # as_fn_set_status STATUS
16091 # -----------------------
16092 # Set $? to STATUS, without forking.
16093 as_fn_set_status
()
16096 } # as_fn_set_status
16098 # as_fn_exit STATUS
16099 # -----------------
16100 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16104 as_fn_set_status
$1
16110 # Portably unset VAR.
16113 { eval $1=; unset $1;}
16115 as_unset
=as_fn_unset
16116 # as_fn_append VAR VALUE
16117 # ----------------------
16118 # Append the text in VALUE to the end of the definition contained in VAR. Take
16119 # advantage of any shell optimizations that allow amortized linear growth over
16120 # repeated appends, instead of the typical quadratic growth present in naive
16122 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16123 eval 'as_fn_append ()
16134 # as_fn_arith ARG...
16135 # ------------------
16136 # Perform arithmetic evaluation on the ARGs, and store the result in the
16137 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16138 # must be portable across $(()) and expr.
16139 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16140 eval 'as_fn_arith ()
16147 as_val
=`expr "$@" || test $? -eq 1`
16152 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16153 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16159 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16160 as_basename
=basename
16165 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16171 as_me
=`$as_basename -- "$0" ||
16172 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16173 X"$0" : 'X\(//\)$' \| \
16174 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16176 sed '/^.*\/\([^/][^/]*\)\/*$/{
16190 # Avoid depending upon Character Ranges.
16191 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16192 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16193 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16194 as_cr_digits
='0123456789'
16195 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16197 ECHO_C
= ECHO_N
= ECHO_T
=
16198 case `echo -n x` in #(((((
16200 case `echo 'xy\c'` in
16201 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16203 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16210 rm -f conf$$ conf$$.exe conf$$.
file
16211 if test -d conf$$.dir
; then
16212 rm -f conf$$.dir
/conf$$.
file
16215 mkdir conf$$.dir
2>/dev
/null
16217 if (echo >conf$$.
file) 2>/dev
/null
; then
16218 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16220 # ... but there are two gotchas:
16221 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16222 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16223 # In both cases, we have to default to `cp -pR'.
16224 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16226 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16234 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16235 rmdir conf$$.dir
2>/dev
/null
16240 # Create "$as_dir" as a directory, including parents if necessary.
16245 -*) as_dir
=.
/$as_dir;;
16247 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16251 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16252 *) as_qdir
=$as_dir;;
16254 as_dirs
="'$as_qdir' $as_dirs"
16255 as_dir
=`$as_dirname -- "$as_dir" ||
16256 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16257 X"$as_dir" : 'X\(//\)[^/]' \| \
16258 X"$as_dir" : 'X\(//\)$' \| \
16259 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16260 $as_echo X"$as_dir" |
16261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16265 /^X\(\/\/\)[^/].*/{
16278 test -d "$as_dir" && break
16280 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16281 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16285 if mkdir
-p .
2>/dev
/null
; then
16286 as_mkdir_p
='mkdir -p "$as_dir"'
16288 test -d .
/-p && rmdir .
/-p
16293 # as_fn_executable_p FILE
16294 # -----------------------
16295 # Test if FILE is an executable regular file.
16296 as_fn_executable_p
()
16298 test -f "$1" && test -x "$1"
16299 } # as_fn_executable_p
16300 as_test_x
='test -x'
16301 as_executable_p
=as_fn_executable_p
16303 # Sed expression to map a string onto a valid CPP name.
16304 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16306 # Sed expression to map a string onto a valid variable name.
16307 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16311 ## ----------------------------------- ##
16312 ## Main body of $CONFIG_STATUS script. ##
16313 ## ----------------------------------- ##
16315 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16318 # Save the log message, to keep $0 and so on meaningful, and to
16319 # report actual input values of CONFIG_FILES etc. instead of their
16320 # values after options handling.
16322 This file was extended by Wine $as_me 1.5.8, which was
16323 generated by GNU Autoconf 2.69. Invocation command line was
16325 CONFIG_FILES = $CONFIG_FILES
16326 CONFIG_HEADERS = $CONFIG_HEADERS
16327 CONFIG_LINKS = $CONFIG_LINKS
16328 CONFIG_COMMANDS = $CONFIG_COMMANDS
16331 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16336 case $ac_config_files in *"
16337 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16340 case $ac_config_headers in *"
16341 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16346 # Files that config.status was made for.
16347 config_files="$ac_config_files"
16348 config_headers="$ac_config_headers"
16349 config_links="$ac_config_links"
16350 config_commands="$ac_config_commands"
16354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16356 \`$as_me' instantiates files and other configuration actions
16357 from templates according to the current configuration. Unless the files
16358 and actions are specified as TAGs, all are instantiated by default.
16360 Usage: $0 [OPTION]... [TAG]...
16362 -h, --help print this help, then exit
16363 -V, --version print version number and configuration settings, then exit
16364 --config print configuration, then exit
16365 -q, --quiet, --silent
16366 do not print progress messages
16367 -d, --debug don't remove temporary files
16368 --recheck update $as_me by reconfiguring in the same conditions
16369 --file=FILE[:TEMPLATE]
16370 instantiate the configuration file FILE
16371 --header=FILE[:TEMPLATE]
16372 instantiate the configuration header FILE
16374 Configuration files:
16377 Configuration headers:
16380 Configuration links:
16383 Configuration commands:
16386 Report bugs to <wine-devel@winehq.org>.
16387 Wine home page: <http://www.winehq.org>."
16390 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16391 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16393 Wine config.status 1.5.8
16394 configured by $0, generated by GNU Autoconf 2.69,
16395 with options \\"\$ac_cs_config\\"
16397 Copyright (C) 2012 Free Software Foundation, Inc.
16398 This config.status script is free software; the Free Software Foundation
16399 gives unlimited permission to copy, distribute and modify it."
16404 test -n "\$AWK" || AWK=awk
16407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16408 # The default lists apply if the user does not specify any file.
16414 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16415 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16419 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16431 # Handling of the options.
16432 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16434 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16435 $as_echo "$ac_cs_version"; exit ;;
16436 --config |
--confi |
--conf |
--con |
--co |
--c )
16437 $as_echo "$ac_cs_config"; exit ;;
16438 --debug |
--debu |
--deb |
--de |
--d |
-d )
16440 --file |
--fil |
--fi |
--f )
16443 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16444 '') as_fn_error $?
"missing file argument" ;;
16446 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16447 ac_need_defaults
=false
;;
16448 --header |
--heade |
--head |
--hea )
16451 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16453 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16454 ac_need_defaults
=false
;;
16456 # Conflict between --help and --header
16457 as_fn_error $?
"ambiguous option: \`$1'
16458 Try \`$0 --help' for more information.";;
16459 --help |
--hel |
-h )
16460 $as_echo "$ac_cs_usage"; exit ;;
16461 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16462 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16465 # This is an error.
16466 -*) as_fn_error $?
"unrecognized option: \`$1'
16467 Try \`$0 --help' for more information." ;;
16469 *) as_fn_append ac_config_targets
" $1"
16470 ac_need_defaults
=false
;;
16476 ac_configure_extra_args
=
16478 if $ac_cs_silent; then
16480 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16485 if \$ac_cs_recheck; then
16486 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16488 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16489 CONFIG_SHELL='$SHELL'
16490 export CONFIG_SHELL
16495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16499 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16500 ## Running $as_me. ##
16506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16510 wine_fn_output_makefile ()
16512 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16513 $ALL_MAKEFILE_DEPENDS
16515 as_fn_error $? "could not create Makefile" "$LINENO" 5
16520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16522 # Handling of arguments.
16523 for ac_config_target
in $ac_config_targets
16525 case $ac_config_target in
16526 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
16527 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
16528 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16529 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16530 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16531 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16532 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16533 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16534 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
16535 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16536 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
16537 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
16538 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
16539 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16540 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16541 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16542 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
16543 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16544 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
16545 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
16546 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
16547 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
16548 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16549 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
16550 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
16551 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16553 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16558 # If the user did not use the arguments to specify the items to instantiate,
16559 # then the envvar interface is used. Set only those that are not.
16560 # We use the long form for the default assignment because of an extremely
16561 # bizarre bug on SunOS 4.1.3.
16562 if $ac_need_defaults; then
16563 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16564 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16565 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
16566 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16569 # Have a temporary directory for convenience. Make it in the build tree
16570 # simply because there is no reason against having it here, and in addition,
16571 # creating and moving files from /tmp can sometimes cause problems.
16572 # Hook for its removal unless debugging.
16573 # Note that there is a small window in which the directory will not be cleaned:
16574 # after its creation but before its name has been assigned to `$tmp'.
16578 trap 'exit_status=$?
16579 : "${ac_tmp:=$tmp}"
16580 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16582 trap 'as_fn_exit 1' 1 2 13 15
16584 # Create a (secure) tmp directory for tmp files.
16587 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16591 tmp
=.
/conf$$
-$RANDOM
16592 (umask 077 && mkdir
"$tmp")
16593 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16596 # Set up the scripts for CONFIG_FILES section.
16597 # No need to generate them if there are no CONFIG_FILES.
16598 # This happens for instance with `./config.status config.h'.
16599 if test -n "$CONFIG_FILES"; then
16601 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16602 ac_cs_awk_getline
=:
16603 ac_cs_awk_pipe_init
=
16604 ac_cs_awk_read_file
='
16605 while ((getline aline < (F[key])) > 0)
16608 ac_cs_awk_pipe_fini
=
16610 ac_cs_awk_getline
=false
16611 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16612 ac_cs_awk_read_file
='
16614 print "cat " F[key] " &&"
16615 '$ac_cs_awk_pipe_init
16616 # The final `:' finishes the AND list.
16617 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16619 ac_cr
=`echo X | tr X '\015'`
16620 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16621 # But we know of no other shell where ac_cr would be empty at this
16622 # point, so we can use a bashism as a fallback.
16623 if test "x$ac_cr" = x
; then
16624 eval ac_cr
=\$
\'\\r
\'
16626 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16627 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16630 ac_cs_awk_cr
=$ac_cr
16633 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16636 # Create commands to substitute file output variables.
16638 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16639 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16640 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16643 } >conf$
$files.sh
&&
16644 . .
/conf$
$files.sh ||
16645 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16646 rm -f conf$
$files.sh
16649 echo "cat >conf$$subs.awk <<_ACEOF" &&
16650 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16652 } >conf$$subs.sh ||
16653 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16654 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16656 for ac_last_try in false false false false false :; do
16657 . ./conf$$subs.sh ||
16658 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16660 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16661 if test $ac_delim_n = $ac_delim_num; then
16663 elif $ac_last_try; then
16664 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16666 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16669 rm -f conf$$subs.sh
16671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16672 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16676 s/^/S["/; s
/!.
*/"]=/
16686 s/\(.\{148\}\)..*/\1/
16688 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16693 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16700 s/\(.\{148\}\)..*/\1/
16702 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16706 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16711 ' <conf$$subs.awk | sed '
16716 ' >>$CONFIG_STATUS || ac_write_fail=1
16717 rm -f conf$$subs.awk
16718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16720 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16721 for (key in S) S_is_set[key] = 1
16723 \$ac_cs_awk_pipe_init
16727 nfields = split(line, field, "@
")
16729 len = length(field[1])
16730 for (i = 2; i < nfields; i++) {
16732 keylen = length(key)
16733 if (S_is_set[key]) {
16735 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16736 len += length(value) + length(field[++i])
16741 if (nfields == 3 && !substed) {
16743 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16744 \$ac_cs_awk_read_file
16750 \$ac_cs_awk_pipe_fini
16753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16754 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16755 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16758 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16759 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16762 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16763 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16764 # trailing colons and then remove the whole line if VPATH becomes empty
16765 # (actually we leave an empty line to preserve line numbers).
16766 if test "x
$srcdir" = x.; then
16767 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16786 fi # test -n "$CONFIG_FILES"
16788 # Set up the scripts for CONFIG_HEADERS section.
16789 # No need to generate them if there are no CONFIG_HEADERS.
16790 # This happens for instance with `./config.status Makefile'.
16791 if test -n "$CONFIG_HEADERS"; then
16792 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16796 # Transform confdefs.h into an awk script `defines.awk', embedded as
16797 # here-document in config.status, that substitutes the proper values into
16798 # config.h.in to produce config.h.
16800 # Create a delimiter string that does not exist in confdefs.h, to ease
16801 # handling of long lines.
16803 for ac_last_try in false false :; do
16804 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16805 if test -z "$ac_tt"; then
16807 elif $ac_last_try; then
16808 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16810 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16814 # For the awk script, D is an array of macro values keyed by name,
16815 # likewise P contains macro parameters if any. Preserve backslash
16816 # newline sequences.
16818 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16820 s/.\{148\}/&'"$ac_delim"'/g
16823 s/^[ ]*#[ ]*define[ ][ ]*/ /
16830 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16832 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16836 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16837 D["\
1"]=" \
3\\\\\\n
"\\/p
16839 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16844 s/.\{148\}/&'"$ac_delim"'/g
16849 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16852 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16854 ' <confdefs.h | sed '
16855 s/'"$ac_delim"'/"\\\
16856 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16858 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16859 for (key in D) D_is_set[key] = 1
16862 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16864 split(line, arg, " ")
16865 if (arg[1] == "#") {
16869 defundef
= substr
(arg
[1], 2)
16872 split(mac1
, mac2
, "(") #)
16874 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16875 if (D_is_set
[macro
]) {
16876 # Preserve the white space surrounding the "#".
16877 print prefix
"define", macro P
[macro
] D
[macro
]
16880 # Replace #undef with comments. This is necessary, for example,
16881 # in the case of _POSIX_SOURCE, which is predefined and required
16882 # on some systems where configure will not decide to define it.
16883 if (defundef
== "undef") {
16884 print
"/*", prefix defundef
, macro
, "*/"
16892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16893 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16894 fi # test -n "$CONFIG_HEADERS"
16897 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
16902 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16904 case $ac_mode$ac_tag in
16906 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16907 :[FH
]-) ac_tag
=-:-;;
16908 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16925 -) ac_f
="$ac_tmp/stdin";;
16926 *) # Look for the file first in the build tree, then in the source tree
16927 # (if the path is not absolute). The absolute path cannot be DOS-style,
16928 # because $ac_f cannot contain `:'.
16932 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16934 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16936 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16937 as_fn_append ac_file_inputs
" '$ac_f'"
16940 # Let's still pretend it is `configure' which instantiates (i.e., don't
16941 # use $as_me), people would be surprised to read:
16942 # /* config.h. Generated by config.status. */
16943 configure_input
='Generated from '`
16944 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16946 if test x
"$ac_file" != x-
; then
16947 configure_input
="$ac_file. $configure_input"
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16949 $as_echo "$as_me: creating $ac_file" >&6;}
16951 # Neutralize special characters interpreted by sed in replacement strings.
16952 case $configure_input in #(
16953 *\
&* |
*\|
* |
*\\* )
16954 ac_sed_conf_input
=`$as_echo "$configure_input" |
16955 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16956 *) ac_sed_conf_input
=$configure_input;;
16960 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16961 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16966 ac_dir
=`$as_dirname -- "$ac_file" ||
16967 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16968 X"$ac_file" : 'X\(//\)[^/]' \| \
16969 X"$ac_file" : 'X\(//\)$' \| \
16970 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16971 $as_echo X"$ac_file" |
16972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16976 /^X\(\/\/\)[^/].*/{
16989 as_dir
="$ac_dir"; as_fn_mkdir_p
16993 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16995 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16996 # A ".." for each directory in $ac_dir_suffix.
16997 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16998 case $ac_top_builddir_sub in
16999 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17000 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17003 ac_abs_top_builddir
=$ac_pwd
17004 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17005 # for backward compatibility:
17006 ac_top_builddir
=$ac_top_build_prefix
17009 .
) # We are building in place.
17011 ac_top_srcdir
=$ac_top_builddir_sub
17012 ac_abs_top_srcdir
=$ac_pwd ;;
17013 [\\/]* | ?
:[\\/]* ) # Absolute name.
17014 ac_srcdir
=$srcdir$ac_dir_suffix;
17015 ac_top_srcdir
=$srcdir
17016 ac_abs_top_srcdir
=$srcdir ;;
17017 *) # Relative name.
17018 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17019 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17020 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17022 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17032 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17033 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17038 # If the template does not know about datarootdir, expand it.
17039 # FIXME: This hack should be removed a few years after 2.60.
17040 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17051 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17052 *datarootdir
*) ac_datarootdir_seen
=yes;;
17053 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17055 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17058 ac_datarootdir_hack='
17059 s&@datadir@&$datadir&g
17060 s&@docdir@&$docdir&g
17061 s&@infodir@&$infodir&g
17062 s&@localedir@&$localedir&g
17063 s&@mandir@&$mandir&g
17064 s&\\\${datarootdir}&$datarootdir&g' ;;
17068 # Neutralize VPATH when `$srcdir' = `.'.
17069 # Shell code in configure.ac might set extrasub.
17070 # FIXME: do we really want to maintain this feature?
17071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17072 ac_sed_extra="$ac_vpsub
17075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17077 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17078 s|@configure_input@|
$ac_sed_conf_input|
;t t
17079 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17080 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17081 s
&@srcdir@
&$ac_srcdir&;t t
17082 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17083 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17084 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17085 s
&@builddir@
&$ac_builddir&;t t
17086 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17087 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17088 s
&@INSTALL@
&$ac_INSTALL&;t t
17089 $ac_datarootdir_hack
17091 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17092 if $ac_cs_awk_getline; then
17093 $AWK -f "$ac_tmp/subs.
awk"
17095 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
17097 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17099 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17100 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17101 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17102 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17104 which seems to be undefined. Please make sure it is defined" >&5
17105 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17106 which seems to be undefined. Please make sure it is defined" >&2;}
17108 rm -f "$ac_tmp/stdin"
17110 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17111 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17113 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17119 if test x"$ac_file" != x-; then
17121 $as_echo "/* $configure_input */" \
17122 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17123 } >"$ac_tmp/config.h" \
17124 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17125 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17127 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17130 mv "$ac_tmp/config.h" "$ac_file" \
17131 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17134 $as_echo "/* $configure_input */" \
17135 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17136 || as_fn_error $? "could not create -" "$LINENO" 5
17144 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
17147 # Prefer the file from the source tree if names are identical.
17148 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17149 ac_source=$srcdir/$ac_source
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17153 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17155 if test ! -r "$ac_source"; then
17156 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17160 # Try a relative symlink, then a hard link, then a copy.
17162 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17163 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17165 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17166 ln "$ac_source" "$ac_file" 2>/dev/null ||
17167 cp -p "$ac_source" "$ac_file" ||
17168 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17171 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17172 $as_echo "$as_me: executing $ac_file commands" >&6;}
17177 case $ac_file$ac_mode in
17178 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17179 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17180 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17181 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17182 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17183 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17184 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17185 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17186 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17187 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17188 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17189 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17190 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17191 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17192 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17193 "Makefile":C) wine_fn_output_makefile Makefile ;;
17201 ac_clean_files=$ac_clean_files_save
17203 test $ac_write_fail = 0 ||
17204 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17207 # configure is writing to config.log, and then calls config.status.
17208 # config.status does its own redirection, appending to config.log.
17209 # Unfortunately, on DOS this fails, as config.log is still kept open
17210 # by configure, so config.status won't be able to
write to it
; its
17211 # output is simply discarded. So we exec the FD to /dev/null,
17212 # effectively closing config.log, so it can be properly (re)opened and
17213 # appended to by config.status. When coming back to configure, we
17214 # need to make the FD available again.
17215 if test "$no_create" != yes; then
17217 ac_config_status_args
=
17218 test "$silent" = yes &&
17219 ac_config_status_args
="$ac_config_status_args --quiet"
17221 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17223 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17224 # would make configure fail if this is the last instruction.
17225 $ac_cs_success || as_fn_exit
1
17227 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17229 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17233 if test "$no_create" = "yes"
17239 if test "x$wine_notices != "x
; then
17242 for msg
in $wine_notices; do
17244 if test -n "$msg"; then
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17246 $as_echo "$as_me: $msg" >&6;}
17251 for msg
in $wine_warnings; do
17253 if test -n "$msg"; then
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17256 $as_echo "$as_me: WARNING: $msg" >&2;}
17262 $as_me: Finished. Do '${ac_make}' to compile Wine.