2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.5.23.
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.23'
584 PACKAGE_STRING
='Wine 1.5.23'
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
691 APPLICATIONSERVICESLIB
782 program_transform_name
793 ac_subst_files
='MAKE_RULES
799 enable_option_checking
803 enable_maintainer_mode
853 ac_precious_vars
='build_alias
868 # Initialize some variables set by options.
870 ac_init_version
=false
871 ac_unrecognized_opts
=
873 # The variables have the same names as the options, with
874 # dashes changed to underlines.
882 program_transform_name
=s
,x
,x
,
890 # Installation directory options.
891 # These are left unexpanded so users can "make install exec_prefix=/foo"
892 # and all the variables that are supposed to be based on exec_prefix
893 # by default will actually change.
894 # Use braces instead of parens because sh, perl, etc. also accept them.
895 # (The list follows the same order as the GNU Coding Standards.)
896 bindir
='${exec_prefix}/bin'
897 sbindir
='${exec_prefix}/sbin'
898 libexecdir
='${exec_prefix}/libexec'
899 datarootdir
='${prefix}/share'
900 datadir
='${datarootdir}'
901 sysconfdir
='${prefix}/etc'
902 sharedstatedir
='${prefix}/com'
903 localstatedir
='${prefix}/var'
904 includedir
='${prefix}/include'
905 oldincludedir
='/usr/include'
906 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
907 infodir
='${datarootdir}/info'
912 libdir
='${exec_prefix}/lib'
913 localedir
='${datarootdir}/locale'
914 mandir
='${datarootdir}/man'
920 # If the previous option needs an argument, assign it.
921 if test -n "$ac_prev"; then
922 eval $ac_prev=\
$ac_option
928 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
933 # Accept the important Cygnus configure options, so we can diagnose typos.
935 case $ac_dashdash$ac_option in
939 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
941 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
944 -build |
--build |
--buil |
--bui |
--bu)
945 ac_prev
=build_alias
;;
946 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
947 build_alias
=$ac_optarg ;;
949 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
950 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
951 ac_prev
=cache_file
;;
952 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
953 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
954 cache_file
=$ac_optarg ;;
957 cache_file
=config.cache
;;
959 -datadir |
--datadir |
--datadi |
--datad)
961 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
962 datadir
=$ac_optarg ;;
964 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
965 |
--dataroo |
--dataro |
--datar)
966 ac_prev
=datarootdir
;;
967 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
968 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
969 datarootdir
=$ac_optarg ;;
971 -disable-* |
--disable-*)
972 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
975 as_fn_error $?
"invalid feature name: $ac_useropt"
976 ac_useropt_orig
=$ac_useropt
977 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
982 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
983 ac_unrecognized_sep
=', ';;
985 eval enable_
$ac_useropt=no
;;
987 -docdir |
--docdir |
--docdi |
--doc |
--do)
989 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
992 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
994 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
997 -enable-* |
--enable-*)
998 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
999 # Reject names that are not valid shell variable names.
1000 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1001 as_fn_error $?
"invalid feature name: $ac_useropt"
1002 ac_useropt_orig
=$ac_useropt
1003 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1004 case $ac_user_opts in
1006 "enable_
$ac_useropt"
1008 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1009 ac_unrecognized_sep
=', ';;
1011 eval enable_
$ac_useropt=\
$ac_optarg ;;
1013 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1014 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1015 |
--exec |
--exe |
--ex)
1016 ac_prev
=exec_prefix
;;
1017 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1018 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1019 |
--exec=* |
--exe=* |
--ex=*)
1020 exec_prefix
=$ac_optarg ;;
1022 -gas |
--gas |
--ga |
--g)
1023 # Obsolete; use --with-gas.
1026 -help |
--help |
--hel |
--he |
-h)
1027 ac_init_help
=long
;;
1028 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1029 ac_init_help
=recursive
;;
1030 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1031 ac_init_help
=short
;;
1033 -host |
--host |
--hos |
--ho)
1034 ac_prev
=host_alias
;;
1035 -host=* |
--host=* |
--hos=* |
--ho=*)
1036 host_alias
=$ac_optarg ;;
1038 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1040 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1042 htmldir
=$ac_optarg ;;
1044 -includedir |
--includedir |
--includedi |
--included |
--include \
1045 |
--includ |
--inclu |
--incl |
--inc)
1046 ac_prev
=includedir
;;
1047 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1048 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1049 includedir
=$ac_optarg ;;
1051 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1053 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1054 infodir
=$ac_optarg ;;
1056 -libdir |
--libdir |
--libdi |
--libd)
1058 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1059 libdir
=$ac_optarg ;;
1061 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1062 |
--libexe |
--libex |
--libe)
1063 ac_prev
=libexecdir
;;
1064 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1065 |
--libexe=* |
--libex=* |
--libe=*)
1066 libexecdir
=$ac_optarg ;;
1068 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1069 ac_prev
=localedir
;;
1070 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1071 localedir
=$ac_optarg ;;
1073 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1074 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1075 ac_prev
=localstatedir
;;
1076 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1077 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1078 localstatedir
=$ac_optarg ;;
1080 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1082 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1083 mandir
=$ac_optarg ;;
1085 -nfp |
--nfp |
--nf)
1086 # Obsolete; use --without-fp.
1089 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1090 |
--no-cr |
--no-c |
-n)
1093 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1094 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1097 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1098 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1099 |
--oldin |
--oldi |
--old |
--ol |
--o)
1100 ac_prev
=oldincludedir
;;
1101 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1102 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1103 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1104 oldincludedir
=$ac_optarg ;;
1106 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1108 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1109 prefix
=$ac_optarg ;;
1111 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1112 |
--program-pre |
--program-pr |
--program-p)
1113 ac_prev
=program_prefix
;;
1114 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1115 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1116 program_prefix
=$ac_optarg ;;
1118 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1119 |
--program-suf |
--program-su |
--program-s)
1120 ac_prev
=program_suffix
;;
1121 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1122 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1123 program_suffix
=$ac_optarg ;;
1125 -program-transform-name |
--program-transform-name \
1126 |
--program-transform-nam |
--program-transform-na \
1127 |
--program-transform-n |
--program-transform- \
1128 |
--program-transform |
--program-transfor \
1129 |
--program-transfo |
--program-transf \
1130 |
--program-trans |
--program-tran \
1131 |
--progr-tra |
--program-tr |
--program-t)
1132 ac_prev
=program_transform_name
;;
1133 -program-transform-name=* |
--program-transform-name=* \
1134 |
--program-transform-nam=* |
--program-transform-na=* \
1135 |
--program-transform-n=* |
--program-transform-=* \
1136 |
--program-transform=* |
--program-transfor=* \
1137 |
--program-transfo=* |
--program-transf=* \
1138 |
--program-trans=* |
--program-tran=* \
1139 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1140 program_transform_name
=$ac_optarg ;;
1142 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1144 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1145 pdfdir
=$ac_optarg ;;
1147 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1149 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1152 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1153 |
-silent |
--silent |
--silen |
--sile |
--sil)
1156 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1158 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1160 sbindir
=$ac_optarg ;;
1162 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1163 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1164 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1166 ac_prev
=sharedstatedir
;;
1167 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1168 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1169 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1171 sharedstatedir
=$ac_optarg ;;
1173 -site |
--site |
--sit)
1175 -site=* |
--site=* |
--sit=*)
1178 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1180 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1181 srcdir
=$ac_optarg ;;
1183 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1184 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1185 ac_prev
=sysconfdir
;;
1186 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1187 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1188 sysconfdir
=$ac_optarg ;;
1190 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1191 ac_prev
=target_alias
;;
1192 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1193 target_alias
=$ac_optarg ;;
1195 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1198 -version |
--version |
--versio |
--versi |
--vers |
-V)
1199 ac_init_version
=: ;;
1202 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1203 # Reject names that are not valid shell variable names.
1204 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1205 as_fn_error $?
"invalid package name: $ac_useropt"
1206 ac_useropt_orig
=$ac_useropt
1207 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1208 case $ac_user_opts in
1212 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1213 ac_unrecognized_sep
=', ';;
1215 eval with_
$ac_useropt=\
$ac_optarg ;;
1217 -without-* |
--without-*)
1218 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1219 # Reject names that are not valid shell variable names.
1220 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1221 as_fn_error $?
"invalid package name: $ac_useropt"
1222 ac_useropt_orig
=$ac_useropt
1223 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1224 case $ac_user_opts in
1228 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1229 ac_unrecognized_sep
=', ';;
1231 eval with_
$ac_useropt=no
;;
1234 # Obsolete; use --with-x.
1237 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1238 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1239 ac_prev
=x_includes
;;
1240 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1241 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1242 x_includes
=$ac_optarg ;;
1244 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1245 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1246 ac_prev
=x_libraries
;;
1247 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1248 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1249 x_libraries
=$ac_optarg ;;
1251 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1252 Try \`$0 --help' for more information"
1256 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1257 # Reject names that are not valid shell variable names.
1258 case $ac_envvar in #(
1259 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1260 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1262 eval $ac_envvar=\
$ac_optarg
1263 export $ac_envvar ;;
1266 # FIXME: should be removed in autoconf 3.0.
1267 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1268 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1269 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1270 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1276 if test -n "$ac_prev"; then
1277 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1278 as_fn_error $?
"missing argument to $ac_option"
1281 if test -n "$ac_unrecognized_opts"; then
1282 case $enable_option_checking in
1284 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1285 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1289 # Check all directory arguments for consistency.
1290 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1291 datadir sysconfdir sharedstatedir localstatedir includedir \
1292 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1293 libdir localedir mandir
1295 eval ac_val
=\$
$ac_var
1296 # Remove trailing slashes.
1299 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1300 eval $ac_var=\
$ac_val;;
1302 # Be sure to have absolute directory names.
1304 [\\/$
]* | ?
:[\\/]* ) continue;;
1305 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1307 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1310 # There might be people who depend on the old broken behavior: `$host'
1311 # used to hold the argument of --host etc.
1312 # FIXME: To remove some day.
1315 target
=$target_alias
1317 # FIXME: To remove some day.
1318 if test "x$host_alias" != x
; then
1319 if test "x$build_alias" = x
; then
1320 cross_compiling
=maybe
1321 elif test "x$build_alias" != "x$host_alias"; then
1327 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1329 test "$silent" = yes && exec 6>/dev
/null
1332 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1333 ac_ls_di
=`ls -di .` &&
1334 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1335 as_fn_error $?
"working directory cannot be determined"
1336 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1337 as_fn_error $?
"pwd does not report name of working directory"
1340 # Find the source files, if location was not specified.
1341 if test -z "$srcdir"; then
1342 ac_srcdir_defaulted
=yes
1343 # Try the directory containing this script, then the parent directory.
1344 ac_confdir
=`$as_dirname -- "$as_myself" ||
1345 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1346 X"$as_myself" : 'X\(//\)[^/]' \| \
1347 X"$as_myself" : 'X\(//\)$' \| \
1348 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1349 $as_echo X"$as_myself" |
1350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1368 if test ! -r "$srcdir/$ac_unique_file"; then
1372 ac_srcdir_defaulted
=no
1374 if test ! -r "$srcdir/$ac_unique_file"; then
1375 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1376 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1378 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1380 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1382 # When building in place, set srcdir=.
1383 if test "$ac_abs_confdir" = "$ac_pwd"; then
1386 # Remove unnecessary trailing slashes from srcdir.
1387 # Double slashes in file names in object file debugging info
1388 # mess up M-x gdb in Emacs.
1390 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1392 for ac_var
in $ac_precious_vars; do
1393 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1394 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1395 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1396 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1400 # Report the --help message.
1402 if test "$ac_init_help" = "long"; then
1403 # Omit some internal or obsolete options to make the list less imposing.
1404 # This message is too long to be a string in the A/UX 3.1 sh.
1406 \`configure' configures Wine 1.5.23 to adapt to many kinds of systems.
1408 Usage: $0 [OPTION]... [VAR=VALUE]...
1410 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1411 VAR=VALUE. See below for descriptions of some of the useful variables.
1413 Defaults for the options are specified in brackets.
1416 -h, --help display this help and exit
1417 --help=short display options specific to this package
1418 --help=recursive display the short help of all the included packages
1419 -V, --version display version information and exit
1420 -q, --quiet, --silent do not print \`checking ...' messages
1421 --cache-file=FILE cache test results in FILE [disabled]
1422 -C, --config-cache alias for \`--cache-file=config.cache'
1423 -n, --no-create do not create output files
1424 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1426 Installation directories:
1427 --prefix=PREFIX install architecture-independent files in PREFIX
1428 [$ac_default_prefix]
1429 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1432 By default, \`make install' will install all the files in
1433 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1434 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1435 for instance \`--prefix=\$HOME'.
1437 For better control, use the options below.
1439 Fine tuning of the installation directories:
1440 --bindir=DIR user executables [EPREFIX/bin]
1441 --sbindir=DIR system admin executables [EPREFIX/sbin]
1442 --libexecdir=DIR program executables [EPREFIX/libexec]
1443 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1444 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1445 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1446 --libdir=DIR object code libraries [EPREFIX/lib]
1447 --includedir=DIR C header files [PREFIX/include]
1448 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1449 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1450 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1451 --infodir=DIR info documentation [DATAROOTDIR/info]
1452 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1453 --mandir=DIR man documentation [DATAROOTDIR/man]
1454 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1455 --htmldir=DIR html documentation [DOCDIR]
1456 --dvidir=DIR dvi documentation [DOCDIR]
1457 --pdfdir=DIR pdf documentation [DOCDIR]
1458 --psdir=DIR ps documentation [DOCDIR]
1464 --x-includes=DIR X include files are
in DIR
1465 --x-libraries=DIR X library files are
in DIR
1468 --build=BUILD configure
for building on BUILD
[guessed
]
1469 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1473 if test -n "$ac_init_help"; then
1474 case $ac_init_help in
1475 short | recursive
) echo "Configuration of Wine 1.5.23:";;
1480 --disable-option-checking ignore unrecognized
--enable/--with options
1481 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1482 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1483 --disable-win16 do not include Win16 support
1484 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1486 --disable-tests do not build the regression tests
1487 --enable-maintainer-mode
1488 enable maintainer-specific build rules
1489 --disable-largefile omit support for large files
1492 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1493 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1494 --without-alsa do not use the Alsa sound support
1495 --without-capi do not use CAPI (ISDN support)
1496 --without-cms do not use CMS (color management support)
1497 --without-coreaudio do not use the CoreAudio sound support
1498 --without-cups do not use CUPS
1499 --without-curses do not use (n)curses
1500 --without-dbus do not use DBus (dynamic device support)
1501 --without-fontconfig do not use fontconfig
1502 --without-freetype do not use the FreeType library
1503 --without-gettext do not use gettext
1504 --with-gettextpo use the GetTextPO library to rebuild po files
1505 --without-gphoto do not use gphoto (Digital Camera support)
1506 --without-glu do not use the GLU library
1507 --without-gnutls do not use GnuTLS (schannel support)
1508 --without-gsm do not use libgsm (GSM 06.10 codec support)
1509 --without-gstreamer do not use GStreamer (codecs support)
1510 --without-hal do not use HAL (dynamic device support)
1511 --without-jpeg do not use JPEG
1512 --without-ldap do not use LDAP
1513 --without-mpg123 do not use the mpg123 library
1514 --without-openal do not use OpenAL
1515 --without-opencl do not use OpenCL
1516 --without-opengl do not use OpenGL
1517 --without-openssl do not use OpenSSL
1518 --without-osmesa do not use the OSMesa library
1519 --without-oss do not use the OSS sound support
1520 --without-png do not use PNG
1521 --without-pthread do not use the pthread library
1522 --without-sane do not use SANE (scanner support)
1523 --without-tiff do not use TIFF
1524 --without-v4l do not use v4l1 (v4l support)
1525 --without-xcomposite do not use the Xcomposite extension
1526 --without-xcursor do not use the Xcursor extension
1527 --without-xinerama do not use Xinerama (multi-monitor support)
1528 --without-xinput do not use the Xinput extension
1529 --without-xinput2 do not use the Xinput 2 extension
1530 --without-xml do not use XML
1531 --without-xrandr do not use Xrandr (resolution changes)
1532 --without-xrender do not use the Xrender extension
1533 --without-xshape do not use the Xshape extension
1534 --without-xshm do not use XShm (shared memory extension)
1535 --without-xslt do not use XSLT
1536 --without-xxf86vm do not use XFree video mode extension
1537 --without-zlib do not use Zlib (data compression)
1538 --with-wine-tools=DIR use Wine tools from directory DIR
1539 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1540 --with-x use the X Window System
1542 Some influential environment variables:
1543 CC C compiler command
1544 CFLAGS C compiler flags
1545 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1546 nonstandard directory <lib dir>
1547 LIBS libraries to pass to the linker, e.g. -l<library>
1548 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1549 you have headers in a nonstandard directory <include dir>
1550 CXX C++ compiler command
1551 CXXFLAGS C++ compiler flags
1553 XMKMF Path to xmkmf, Makefile generator for X Window System
1555 Use these variables to override the choices made by `configure' or to
help
1556 it to
find libraries and programs with nonstandard names
/locations.
1558 Report bugs to
<wine-devel@winehq.org
>.
1559 Wine home page
: <http
://www.winehq.org
>.
1564 if test "$ac_init_help" = "recursive"; then
1565 # If there are subdirs, report their specific --help.
1566 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1567 test -d "$ac_dir" ||
1568 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1573 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1575 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1576 # A ".." for each directory in $ac_dir_suffix.
1577 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1578 case $ac_top_builddir_sub in
1579 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1580 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1583 ac_abs_top_builddir
=$ac_pwd
1584 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1585 # for backward compatibility:
1586 ac_top_builddir
=$ac_top_build_prefix
1589 .
) # We are building in place.
1591 ac_top_srcdir
=$ac_top_builddir_sub
1592 ac_abs_top_srcdir
=$ac_pwd ;;
1593 [\\/]* | ?
:[\\/]* ) # Absolute name.
1594 ac_srcdir
=$srcdir$ac_dir_suffix;
1595 ac_top_srcdir
=$srcdir
1596 ac_abs_top_srcdir
=$srcdir ;;
1598 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1599 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1600 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1602 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1604 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1605 # Check for guested configure.
1606 if test -f "$ac_srcdir/configure.gnu"; then
1608 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1609 elif test -f "$ac_srcdir/configure"; then
1611 $SHELL "$ac_srcdir/configure" --help=recursive
1613 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1615 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1619 test -n "$ac_init_help" && exit $ac_status
1620 if $ac_init_version; then
1622 Wine configure
1.5.23
1623 generated by GNU Autoconf
2.69
1625 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1626 This configure
script is free software
; the Free Software Foundation
1627 gives unlimited permission to copy
, distribute and modify it.
1632 ## ------------------------ ##
1633 ## Autoconf initialization. ##
1634 ## ------------------------ ##
1636 # ac_fn_c_try_compile LINENO
1637 # --------------------------
1638 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1639 ac_fn_c_try_compile
()
1641 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1642 rm -f conftest.
$ac_objext
1643 if { { ac_try
="$ac_compile"
1645 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1646 *) ac_try_echo=$ac_try;;
1648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1649 $as_echo "$ac_try_echo"; } >&5
1650 (eval "$ac_compile") 2>conftest.err
1652 if test -s conftest.err; then
1653 grep -v '^ *+' conftest.err >conftest.er1
1654 cat conftest.er1 >&5
1655 mv -f conftest.er1 conftest.err
1657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1658 test $ac_status = 0; } && {
1659 test -z "$ac_c_werror_flag" ||
1660 test ! -s conftest.err
1661 } && test -s conftest.$ac_objext; then :
1664 $as_echo "$as_me: failed program was:" >&5
1665 sed 's/^/| /' conftest.$ac_ext >&5
1669 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670 as_fn_set_status $ac_retval
1672 } # ac_fn_c_try_compile
1674 # ac_fn_cxx_try_compile LINENO
1675 # ----------------------------
1676 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1677 ac_fn_cxx_try_compile ()
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 rm -f conftest.$ac_objext
1681 if { { ac_try="$ac_compile"
1683 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1684 *) ac_try_echo
=$ac_try;;
1686 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_compile") 2>conftest.err
1690 if test -s conftest.err
; then
1691 grep -v '^ *+' conftest.err
>conftest.er1
1692 cat conftest.er1
>&5
1693 mv -f conftest.er1 conftest.err
1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696 test $ac_status = 0; } && {
1697 test -z "$ac_cxx_werror_flag" ||
1698 test ! -s conftest.err
1699 } && test -s conftest.
$ac_objext; then :
1702 $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.
$ac_ext >&5
1707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1708 as_fn_set_status
$ac_retval
1710 } # ac_fn_cxx_try_compile
1712 # ac_fn_c_try_link LINENO
1713 # -----------------------
1714 # Try to link conftest.$ac_ext, and return whether this succeeded.
1717 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1718 rm -f conftest.
$ac_objext conftest
$ac_exeext
1719 if { { ac_try
="$ac_link"
1721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_link") 2>conftest.err
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_c_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest$ac_exeext && {
1738 test "$cross_compiling" = yes ||
1739 test -x conftest$ac_exeext
1743 $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.$ac_ext >&5
1748 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1749 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1750 # interfere with the next link command; also delete a directory that is
1751 # left behind by Apple's compiler. We do this before executing the actions.
1752 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 as_fn_set_status $ac_retval
1756 } # ac_fn_c_try_link
1758 # ac_fn_c_try_cpp LINENO
1759 # ----------------------
1760 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 if { { ac_try="$ac_cpp conftest.$ac_ext"
1766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1767 *) ac_try_echo
=$ac_try;;
1769 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1773 if test -s conftest.err
; then
1774 grep -v '^ *+' conftest.err
>conftest.er1
1775 cat conftest.er1
>&5
1776 mv -f conftest.er1 conftest.err
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; } > conftest.i
&& {
1780 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1781 test ! -s conftest.err
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.
$ac_ext >&5
1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791 as_fn_set_status
$ac_retval
1795 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1796 # -------------------------------------------------------
1797 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1798 # the include files in INCLUDES and setting the cache variable VAR
1800 ac_fn_c_check_header_mongrel
()
1802 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1803 if eval \
${$3+:} false
; then :
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval \
${$3+:} false
; then :
1807 $as_echo_n "(cached) " >&6
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1811 $as_echo "$ac_res" >&6; }
1813 # Is the header compilable?
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1815 $as_echo_n "checking $2 usability... " >&6; }
1816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1817 /* end confdefs.h. */
1821 if ac_fn_c_try_compile
"$LINENO"; then :
1822 ac_header_compiler
=yes
1824 ac_header_compiler
=no
1826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1828 $as_echo "$ac_header_compiler" >&6; }
1830 # Is the header present?
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1832 $as_echo_n "checking $2 presence... " >&6; }
1833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1834 /* end confdefs.h. */
1837 if ac_fn_c_try_cpp
"$LINENO"; then :
1838 ac_header_preproc
=yes
1840 ac_header_preproc
=no
1842 rm -f conftest.err conftest.i conftest.
$ac_ext
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1844 $as_echo "$ac_header_preproc" >&6; }
1846 # So? What about this header?
1847 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1850 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1852 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1856 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1858 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1860 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1862 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1864 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1865 ( $as_echo "## ------------------------------------ ##
1866 ## Report this to wine-devel@winehq.org ##
1867 ## ------------------------------------ ##"
1868 ) |
sed "s/^/$as_me: WARNING: /" >&2
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1872 $as_echo_n "checking for $2... " >&6; }
1873 if eval \
${$3+:} false
; then :
1874 $as_echo_n "(cached) " >&6
1876 eval "$3=\$ac_header_compiler"
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880 $as_echo "$ac_res" >&6; }
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1884 } # ac_fn_c_check_header_mongrel
1886 # ac_fn_c_try_run LINENO
1887 # ----------------------
1888 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1889 # that executables *can* be run.
1892 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1893 if { { ac_try
="$ac_link"
1895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1896 *) ac_try_echo=$ac_try;;
1898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1899 $as_echo "$ac_try_echo"; } >&5
1900 (eval "$ac_link") 2>&5
1902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1903 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1904 { { case "(($ac_try" in
1905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1906 *) ac_try_echo
=$ac_try;;
1908 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1909 $as_echo "$ac_try_echo"; } >&5
1910 (eval "$ac_try") 2>&5
1912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1913 test $ac_status = 0; }; }; then :
1916 $as_echo "$as_me: program exited with status $ac_status" >&5
1917 $as_echo "$as_me: failed program was:" >&5
1918 sed 's/^/| /' conftest.
$ac_ext >&5
1920 ac_retval
=$ac_status
1922 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1924 as_fn_set_status
$ac_retval
1928 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1929 # -------------------------------------------------------
1930 # Tests whether HEADER exists and can be compiled using the include files in
1931 # INCLUDES, setting the cache variable VAR accordingly.
1932 ac_fn_c_check_header_compile
()
1934 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1936 $as_echo_n "checking for $2... " >&6; }
1937 if eval \
${$3+:} false
; then :
1938 $as_echo_n "(cached) " >&6
1940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1941 /* end confdefs.h. */
1945 if ac_fn_c_try_compile
"$LINENO"; then :
1950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1954 $as_echo "$ac_res" >&6; }
1955 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1957 } # ac_fn_c_check_header_compile
1959 # ac_fn_c_check_func LINENO FUNC VAR
1960 # ----------------------------------
1961 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1962 ac_fn_c_check_func
()
1964 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1966 $as_echo_n "checking for $2... " >&6; }
1967 if eval \
${$3+:} false
; then :
1968 $as_echo_n "(cached) " >&6
1970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1971 /* end confdefs.h. */
1972 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1974 #define $2 innocuous_$2
1976 /* System header to define __stub macros and hopefully few prototypes,
1977 which can conflict with char $2 (); below.
1978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1979 <limits.h> exists even on freestanding compilers. */
1982 # include <limits.h>
1984 # include <assert.h>
1989 /* Override any GCC internal prototype to avoid an error.
1990 Use char because int might match the return type of a GCC
1991 builtin and then its argument prototype would still apply. */
1996 /* The GNU C library defines this for functions which it implements
1997 to always fail with ENOSYS. Some functions are actually named
1998 something starting with __ and the normal name is an alias. */
1999 #if defined __stub_$2 || defined __stub___$2
2011 if ac_fn_c_try_link
"$LINENO"; then :
2016 rm -f core conftest.err conftest.
$ac_objext \
2017 conftest
$ac_exeext conftest.
$ac_ext
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2021 $as_echo "$ac_res" >&6; }
2022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2024 } # ac_fn_c_check_func
2026 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2027 # ----------------------------------------------------
2028 # Tries to find if the field MEMBER exists in type AGGR, after including
2029 # INCLUDES, setting cache variable VAR accordingly.
2030 ac_fn_c_check_member
()
2032 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2034 $as_echo_n "checking for $2.$3... " >&6; }
2035 if eval \
${$4+:} false
; then :
2036 $as_echo_n "(cached) " >&6
2038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2039 /* end confdefs.h. */
2051 if ac_fn_c_try_compile
"$LINENO"; then :
2054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2055 /* end confdefs.h. */
2061 if (sizeof ac_aggr.$3)
2067 if ac_fn_c_try_compile
"$LINENO"; then :
2072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2078 $as_echo "$ac_res" >&6; }
2079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2081 } # ac_fn_c_check_member
2083 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2084 # -------------------------------------------
2085 # Tests whether TYPE exists after having included INCLUDES, setting cache
2086 # variable VAR accordingly.
2087 ac_fn_c_check_type
()
2089 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2091 $as_echo_n "checking for $2... " >&6; }
2092 if eval \
${$3+:} false
; then :
2093 $as_echo_n "(cached) " >&6
2096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h. */
2108 if ac_fn_c_try_compile
"$LINENO"; then :
2109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2121 if ac_fn_c_try_compile
"$LINENO"; then :
2126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2132 $as_echo "$ac_res" >&6; }
2133 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2135 } # ac_fn_c_check_type
2136 cat >config.log
<<_ACEOF
2137 This file contains any messages produced by compilers while
2138 running configure, to aid debugging if configure makes a mistake.
2140 It was created by Wine $as_me 1.5.23, which was
2141 generated by GNU Autoconf 2.69. Invocation command line was
2153 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2154 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2155 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2156 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2157 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2159 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2160 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2162 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2163 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2164 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2165 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2166 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2167 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2168 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2176 test -z "$as_dir" && as_dir
=.
2177 $as_echo "PATH: $as_dir"
2193 # Keep a trace of the command line.
2194 # Strip out --no-create and --no-recursion so they do not pile up.
2195 # Strip out --silent because we don't want to record it for future runs.
2196 # Also quote any args containing shell meta-characters.
2197 # Make two passes to allow for proper duplicate-argument suppression.
2201 ac_must_keep_next
=false
2207 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2208 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2209 |
-silent |
--silent |
--silen |
--sile |
--sil)
2212 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2215 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2217 as_fn_append ac_configure_args1
" '$ac_arg'"
2218 if test $ac_must_keep_next = true
; then
2219 ac_must_keep_next
=false
# Got value, back to normal.
2222 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2223 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2224 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2225 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2226 case "$ac_configure_args0 " in
2227 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2230 -* ) ac_must_keep_next
=true
;;
2233 as_fn_append ac_configure_args
" '$ac_arg'"
2238 { ac_configure_args0
=; unset ac_configure_args0
;}
2239 { ac_configure_args1
=; unset ac_configure_args1
;}
2241 # When interrupted or exit'd, cleanup temporary files, and complete
2242 # config.log. We remove comments because anyway the quotes in there
2243 # would cause problems or look ugly.
2244 # WARNING: Use '\'' to represent an apostrophe within the trap.
2245 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2246 trap 'exit_status=$?
2247 # Save into config.log some information that might help in debugging.
2251 $as_echo "## ---------------- ##
2252 ## Cache variables. ##
2253 ## ---------------- ##"
2255 # The following way of writing the cache mishandles newlines in values,
2257 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2258 eval ac_val=\$$ac_var
2262 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2263 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2266 _ | IFS | as_nl) ;; #(
2267 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2268 *) { eval $ac_var=; unset $ac_var;} ;;
2273 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2274 *${as_nl}ac_space=\ *)
2276 "s/'\''/'\''\\\\'\'''\''/g;
2277 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2280 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2287 $as_echo "## ----------------- ##
2288 ## Output variables. ##
2289 ## ----------------- ##"
2291 for ac_var in $ac_subst_vars
2293 eval ac_val=\$$ac_var
2295 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2297 $as_echo "$ac_var='\''$ac_val'\''"
2301 if test -n "$ac_subst_files"; then
2302 $as_echo "## ------------------- ##
2303 ## File substitutions. ##
2304 ## ------------------- ##"
2306 for ac_var
in $ac_subst_files
2308 eval ac_val
=\$
$ac_var
2310 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2312 $as_echo "$ac_var='\''$ac_val'\''"
2317 if test -s confdefs.h; then
2318 $as_echo "## ----------- ##
2325 test "$ac_signal" != 0 &&
2326 $as_echo "$as_me: caught signal $ac_signal"
2327 $as_echo "$as_me: exit $exit_status"
2329 rm -f core *.core core.conftest.* &&
2330 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2333 for ac_signal
in 1 2 13 15; do
2334 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2338 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2339 rm -f -r conftest
* confdefs.h
2341 $as_echo "/* confdefs.h */" > confdefs.h
2343 # Predefined preprocessor variables.
2345 cat >>confdefs.h
<<_ACEOF
2346 #define PACKAGE_NAME "$PACKAGE_NAME"
2349 cat >>confdefs.h
<<_ACEOF
2350 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2353 cat >>confdefs.h
<<_ACEOF
2354 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2357 cat >>confdefs.h
<<_ACEOF
2358 #define PACKAGE_STRING "$PACKAGE_STRING"
2361 cat >>confdefs.h
<<_ACEOF
2362 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2365 cat >>confdefs.h
<<_ACEOF
2366 #define PACKAGE_URL "$PACKAGE_URL"
2370 # Let the site file select an alternate cache file if it wants to.
2371 # Prefer an explicitly selected file to automatically selected ones.
2374 if test -n "$CONFIG_SITE"; then
2375 # We do not want a PATH search for config.site.
2376 case $CONFIG_SITE in #((
2377 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2378 */*) ac_site_file1
=$CONFIG_SITE;;
2379 *) ac_site_file1
=.
/$CONFIG_SITE;;
2381 elif test "x$prefix" != xNONE
; then
2382 ac_site_file1
=$prefix/share
/config.site
2383 ac_site_file2
=$prefix/etc
/config.site
2385 ac_site_file1
=$ac_default_prefix/share
/config.site
2386 ac_site_file2
=$ac_default_prefix/etc
/config.site
2388 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2390 test "x$ac_site_file" = xNONE
&& continue
2391 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2393 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2394 sed 's/^/| /' "$ac_site_file" >&5
2396 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2398 as_fn_error $?
"failed to load site script $ac_site_file
2399 See \`config.log' for more details" "$LINENO" 5; }
2403 if test -r "$cache_file"; then
2404 # Some versions of bash will fail to source /dev/null (special files
2405 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2406 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2408 $as_echo "$as_me: loading cache $cache_file" >&6;}
2410 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2411 *) .
"./$cache_file";;
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2416 $as_echo "$as_me: creating cache $cache_file" >&6;}
2420 # Check that the precious variables saved in the cache have kept the same
2422 ac_cache_corrupted
=false
2423 for ac_var
in $ac_precious_vars; do
2424 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2425 eval ac_new_set
=\
$ac_env_${ac_var}_set
2426 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2427 eval ac_new_val
=\
$ac_env_${ac_var}_value
2428 case $ac_old_set,$ac_new_set in
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2431 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2432 ac_cache_corrupted
=: ;;
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2435 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2436 ac_cache_corrupted
=: ;;
2439 if test "x$ac_old_val" != "x$ac_new_val"; then
2440 # differences in whitespace do not lead to failure.
2441 ac_old_val_w
=`echo x $ac_old_val`
2442 ac_new_val_w
=`echo x $ac_new_val`
2443 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2445 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2446 ac_cache_corrupted
=:
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2449 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2450 eval $ac_var=\
$ac_old_val
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2453 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2455 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2458 # Pass precious variables to config.status.
2459 if test "$ac_new_set" = set; then
2461 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2462 *) ac_arg
=$ac_var=$ac_new_val ;;
2464 case " $ac_configure_args " in
2465 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2466 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2470 if $ac_cache_corrupted; then
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2474 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2475 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2477 ## -------------------- ##
2478 ## Main body of script. ##
2479 ## -------------------- ##
2482 ac_cpp
='$CPP $CPPFLAGS'
2483 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2484 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2485 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2489 ac_config_headers
="$ac_config_headers include/config.h"
2492 for ac_dir
in tools
"$srcdir"/tools
; do
2493 if test -f "$ac_dir/install-sh"; then
2495 ac_install_sh
="$ac_aux_dir/install-sh -c"
2497 elif test -f "$ac_dir/install.sh"; then
2499 ac_install_sh
="$ac_aux_dir/install.sh -c"
2501 elif test -f "$ac_dir/shtool"; then
2503 ac_install_sh
="$ac_aux_dir/shtool install -c"
2507 if test -z "$ac_aux_dir"; then
2508 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2511 # These three variables are undocumented and unsupported,
2512 # and are intended to be withdrawn in a future Autoconf release.
2513 # They can cause serious problems if a builder's source tree is in a directory
2514 # whose full name contains unusual characters.
2515 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2516 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2517 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2523 # Check whether --enable-win16 was given.
2524 if test "${enable_win16+set}" = set; then :
2525 enableval
=$enable_win16;
2528 # Check whether --enable-win64 was given.
2529 if test "${enable_win64+set}" = set; then :
2530 enableval
=$enable_win64;
2533 # Check whether --enable-tests was given.
2534 if test "${enable_tests+set}" = set; then :
2535 enableval
=$enable_tests;
2538 # Check whether --enable-maintainer-mode was given.
2539 if test "${enable_maintainer_mode+set}" = set; then :
2540 enableval
=$enable_maintainer_mode;
2545 # Check whether --with-alsa was given.
2546 if test "${with_alsa+set}" = set; then :
2547 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2551 # Check whether --with-capi was given.
2552 if test "${with_capi+set}" = set; then :
2553 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2557 # Check whether --with-cms was given.
2558 if test "${with_cms+set}" = set; then :
2559 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
2563 # Check whether --with-coreaudio was given.
2564 if test "${with_coreaudio+set}" = set; then :
2565 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2569 # Check whether --with-cups was given.
2570 if test "${with_cups+set}" = set; then :
2575 # Check whether --with-curses was given.
2576 if test "${with_curses+set}" = set; then :
2577 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2581 # Check whether --with-dbus was given.
2582 if test "${with_dbus+set}" = set; then :
2587 # Check whether --with-fontconfig was given.
2588 if test "${with_fontconfig+set}" = set; then :
2589 withval
=$with_fontconfig;
2593 # Check whether --with-freetype was given.
2594 if test "${with_freetype+set}" = set; then :
2595 withval
=$with_freetype;
2599 # Check whether --with-gettext was given.
2600 if test "${with_gettext+set}" = set; then :
2601 withval
=$with_gettext;
2605 # Check whether --with-gettextpo was given.
2606 if test "${with_gettextpo+set}" = set; then :
2607 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
2611 # Check whether --with-gphoto was given.
2612 if test "${with_gphoto+set}" = set; then :
2613 withval
=$with_gphoto;
2617 # Check whether --with-glu was given.
2618 if test "${with_glu+set}" = set; then :
2623 # Check whether --with-gnutls was given.
2624 if test "${with_gnutls+set}" = set; then :
2625 withval
=$with_gnutls;
2629 # Check whether --with-gsm was given.
2630 if test "${with_gsm+set}" = set; then :
2631 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2635 # Check whether --with-gstreamer was given.
2636 if test "${with_gstreamer+set}" = set; then :
2637 withval
=$with_gstreamer;
2641 # Check whether --with-hal was given.
2642 if test "${with_hal+set}" = set; then :
2647 # Check whether --with-jpeg was given.
2648 if test "${with_jpeg+set}" = set; then :
2649 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2653 # Check whether --with-ldap was given.
2654 if test "${with_ldap+set}" = set; then :
2655 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2659 # Check whether --with-mpg123 was given.
2660 if test "${with_mpg123+set}" = set; then :
2661 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2665 # Check whether --with-openal was given.
2666 if test "${with_openal+set}" = set; then :
2667 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2671 # Check whether --with-opencl was given.
2672 if test "${with_opencl+set}" = set; then :
2673 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
2677 # Check whether --with-opengl was given.
2678 if test "${with_opengl+set}" = set; then :
2679 withval
=$with_opengl;
2683 # Check whether --with-openssl was given.
2684 if test "${with_openssl+set}" = set; then :
2685 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2689 # Check whether --with-osmesa was given.
2690 if test "${with_osmesa+set}" = set; then :
2691 withval
=$with_osmesa;
2695 # Check whether --with-oss was given.
2696 if test "${with_oss+set}" = set; then :
2701 # Check whether --with-png was given.
2702 if test "${with_png+set}" = set; then :
2703 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2707 # Check whether --with-pthread was given.
2708 if test "${with_pthread+set}" = set; then :
2709 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2713 # Check whether --with-sane was given.
2714 if test "${with_sane+set}" = set; then :
2719 # Check whether --with-tiff was given.
2720 if test "${with_tiff+set}" = set; then :
2721 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2725 # Check whether --with-v4l was given.
2726 if test "${with_v4l+set}" = set; then :
2731 # Check whether --with-xcomposite was given.
2732 if test "${with_xcomposite+set}" = set; then :
2733 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2737 # Check whether --with-xcursor was given.
2738 if test "${with_xcursor+set}" = set; then :
2739 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2743 # Check whether --with-xinerama was given.
2744 if test "${with_xinerama+set}" = set; then :
2745 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2749 # Check whether --with-xinput was given.
2750 if test "${with_xinput+set}" = set; then :
2751 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2755 # Check whether --with-xinput2 was given.
2756 if test "${with_xinput2+set}" = set; then :
2757 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
2761 # Check whether --with-xml was given.
2762 if test "${with_xml+set}" = set; then :
2767 # Check whether --with-xrandr was given.
2768 if test "${with_xrandr+set}" = set; then :
2769 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2773 # Check whether --with-xrender was given.
2774 if test "${with_xrender+set}" = set; then :
2775 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2779 # Check whether --with-xshape was given.
2780 if test "${with_xshape+set}" = set; then :
2781 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2785 # Check whether --with-xshm was given.
2786 if test "${with_xshm+set}" = set; then :
2787 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2791 # Check whether --with-xslt was given.
2792 if test "${with_xslt+set}" = set; then :
2797 # Check whether --with-xxf86vm was given.
2798 if test "${with_xxf86vm+set}" = set; then :
2799 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
2803 # Check whether --with-zlib was given.
2804 if test "${with_zlib+set}" = set; then :
2805 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
2810 # Check whether --with-wine-tools was given.
2811 if test "${with_wine_tools+set}" = set; then :
2812 withval
=$with_wine_tools;
2816 # Check whether --with-wine64 was given.
2817 if test "${with_wine64+set}" = set; then :
2818 withval
=$with_wine64;
2822 # Make sure we can run config.sub.
2823 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2824 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2827 $as_echo_n "checking build system type... " >&6; }
2828 if ${ac_cv_build+:} false
; then :
2829 $as_echo_n "(cached) " >&6
2831 ac_build_alias
=$build_alias
2832 test "x$ac_build_alias" = x
&&
2833 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2834 test "x$ac_build_alias" = x
&&
2835 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2836 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2837 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2841 $as_echo "$ac_cv_build" >&6; }
2842 case $ac_cv_build in
2844 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2847 ac_save_IFS
=$IFS; IFS
='-'
2853 # Remember, the first character of IFS is used to create $*,
2854 # except with old shells:
2857 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2861 $as_echo_n "checking host system type... " >&6; }
2862 if ${ac_cv_host+:} false
; then :
2863 $as_echo_n "(cached) " >&6
2865 if test "x$host_alias" = x
; then
2866 ac_cv_host
=$ac_cv_build
2868 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2869 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2874 $as_echo "$ac_cv_host" >&6; }
2877 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2880 ac_save_IFS
=$IFS; IFS
='-'
2886 # Remember, the first character of IFS is used to create $*,
2887 # except with old shells:
2890 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2896 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2897 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2898 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2904 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2906 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2907 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2908 $as_echo_n "(cached) " >&6
2910 cat >conftest.
make <<\_ACEOF
2913 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2915 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2916 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2918 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2920 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2924 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2926 $as_echo "yes" >&6; }
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2930 $as_echo "no" >&6; }
2931 SET_MAKE
="MAKE=${MAKE-make}"
2935 ac_cpp
='$CPP $CPPFLAGS'
2936 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2937 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2938 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2939 if test -n "$ac_tool_prefix"; then
2940 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2941 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2943 $as_echo_n "checking for $ac_word... " >&6; }
2944 if ${ac_cv_prog_CC+:} false
; then :
2945 $as_echo_n "(cached) " >&6
2947 if test -n "$CC"; then
2948 ac_cv_prog_CC
="$CC" # Let the user override the test.
2950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2954 test -z "$as_dir" && as_dir
=.
2955 for ac_exec_ext
in '' $ac_executable_extensions; do
2956 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2957 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2968 if test -n "$CC"; then
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2970 $as_echo "$CC" >&6; }
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2973 $as_echo "no" >&6; }
2978 if test -z "$ac_cv_prog_CC"; then
2980 # Extract the first word of "gcc", so it can be a program name with args.
2981 set dummy gcc
; ac_word
=$2
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2983 $as_echo_n "checking for $ac_word... " >&6; }
2984 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2985 $as_echo_n "(cached) " >&6
2987 if test -n "$ac_ct_CC"; then
2988 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2994 test -z "$as_dir" && as_dir
=.
2995 for ac_exec_ext
in '' $ac_executable_extensions; do
2996 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2997 ac_cv_prog_ac_ct_CC
="gcc"
2998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3007 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3008 if test -n "$ac_ct_CC"; then
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3010 $as_echo "$ac_ct_CC" >&6; }
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3013 $as_echo "no" >&6; }
3016 if test "x$ac_ct_CC" = x
; then
3019 case $cross_compiling:$ac_tool_warned in
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3023 ac_tool_warned
=yes ;;
3031 if test -z "$CC"; then
3032 if test -n "$ac_tool_prefix"; then
3033 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3034 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3036 $as_echo_n "checking for $ac_word... " >&6; }
3037 if ${ac_cv_prog_CC+:} false
; then :
3038 $as_echo_n "(cached) " >&6
3040 if test -n "$CC"; then
3041 ac_cv_prog_CC
="$CC" # Let the user override the test.
3043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3047 test -z "$as_dir" && as_dir
=.
3048 for ac_exec_ext
in '' $ac_executable_extensions; do
3049 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3050 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3061 if test -n "$CC"; then
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3063 $as_echo "$CC" >&6; }
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3066 $as_echo "no" >&6; }
3072 if test -z "$CC"; then
3073 # Extract the first word of "cc", so it can be a program name with args.
3074 set dummy cc
; ac_word
=$2
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3076 $as_echo_n "checking for $ac_word... " >&6; }
3077 if ${ac_cv_prog_CC+:} false
; then :
3078 $as_echo_n "(cached) " >&6
3080 if test -n "$CC"; then
3081 ac_cv_prog_CC
="$CC" # Let the user override the test.
3084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3088 test -z "$as_dir" && as_dir
=.
3089 for ac_exec_ext
in '' $ac_executable_extensions; do
3090 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3091 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3092 ac_prog_rejected
=yes
3096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3103 if test $ac_prog_rejected = yes; then
3104 # We found a bogon in the path, so make sure we never use it.
3105 set dummy
$ac_cv_prog_CC
3107 if test $# != 0; then
3108 # We chose a different compiler from the bogus one.
3109 # However, it has the same basename, so the bogon will be chosen
3110 # first if we set CC to just the basename; use the full file name.
3112 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3118 if test -n "$CC"; then
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3120 $as_echo "$CC" >&6; }
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3123 $as_echo "no" >&6; }
3128 if test -z "$CC"; then
3129 if test -n "$ac_tool_prefix"; then
3130 for ac_prog
in cl.exe
3132 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3133 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3135 $as_echo_n "checking for $ac_word... " >&6; }
3136 if ${ac_cv_prog_CC+:} false
; then :
3137 $as_echo_n "(cached) " >&6
3139 if test -n "$CC"; then
3140 ac_cv_prog_CC
="$CC" # Let the user override the test.
3142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3146 test -z "$as_dir" && as_dir
=.
3147 for ac_exec_ext
in '' $ac_executable_extensions; do
3148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3149 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3160 if test -n "$CC"; then
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3162 $as_echo "$CC" >&6; }
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165 $as_echo "no" >&6; }
3169 test -n "$CC" && break
3172 if test -z "$CC"; then
3174 for ac_prog
in cl.exe
3176 # Extract the first word of "$ac_prog", so it can be a program name with args.
3177 set dummy
$ac_prog; ac_word
=$2
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3179 $as_echo_n "checking for $ac_word... " >&6; }
3180 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3181 $as_echo_n "(cached) " >&6
3183 if test -n "$ac_ct_CC"; then
3184 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3190 test -z "$as_dir" && as_dir
=.
3191 for ac_exec_ext
in '' $ac_executable_extensions; do
3192 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3193 ac_cv_prog_ac_ct_CC
="$ac_prog"
3194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3203 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3204 if test -n "$ac_ct_CC"; then
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3206 $as_echo "$ac_ct_CC" >&6; }
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3209 $as_echo "no" >&6; }
3213 test -n "$ac_ct_CC" && break
3216 if test "x$ac_ct_CC" = x
; then
3219 case $cross_compiling:$ac_tool_warned in
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3223 ac_tool_warned
=yes ;;
3232 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3234 as_fn_error $?
"no acceptable C compiler found in \$PATH
3235 See \`config.log' for more details" "$LINENO" 5; }
3237 # Provide some information about the compiler.
3238 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3241 for ac_option
in --version -v -V -qversion; do
3242 { { ac_try
="$ac_compiler $ac_option >&5"
3244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3245 *) ac_try_echo=$ac_try;;
3247 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3248 $as_echo "$ac_try_echo"; } >&5
3249 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3251 if test -s conftest.err; then
3253 ... rest of stderr output deleted ...
3254 10q' conftest.err >conftest.er1
3255 cat conftest.er1 >&5
3257 rm -f conftest.er1 conftest.err
3258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3259 test $ac_status = 0; }
3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3273 ac_clean_files_save=$ac_clean_files
3274 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3275 # Try to create an executable without -o first, disregard a.out.
3276 # It will help us diagnose broken compilers, and finding out an intuition
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3279 $as_echo_n "checking whether the C compiler works... " >&6; }
3280 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3282 # The possible output files:
3283 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3286 for ac_file in $ac_files
3289 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3290 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3295 if { { ac_try="$ac_link_default"
3297 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3298 *) ac_try_echo
=$ac_try;;
3300 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3301 $as_echo "$ac_try_echo"; } >&5
3302 (eval "$ac_link_default") 2>&5
3304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3305 test $ac_status = 0; }; then :
3306 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3307 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3308 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3309 # so that the user can short-circuit this test for compilers unknown to
3311 for ac_file
in $ac_files ''
3313 test -f "$ac_file" ||
continue
3315 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3318 # We found the default executable, but exeext='' is most
3322 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3324 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3326 # We set ac_cv_exeext here because the later test for it is not
3327 # safe: cross compilers may not add the suffix if given an `-o'
3328 # argument, so we may need to know it at that point already.
3329 # Even if this section looks crufty: it has the advantage of
3336 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3341 if test -z "$ac_file"; then :
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3343 $as_echo "no" >&6; }
3344 $as_echo "$as_me: failed program was:" >&5
3345 sed 's/^/| /' conftest.
$ac_ext >&5
3347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3349 as_fn_error
77 "C compiler cannot create executables
3350 See \`config.log' for more details" "$LINENO" 5; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3353 $as_echo "yes" >&6; }
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3356 $as_echo_n "checking for C compiler default output file name... " >&6; }
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3358 $as_echo "$ac_file" >&6; }
3359 ac_exeext
=$ac_cv_exeext
3361 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3362 ac_clean_files
=$ac_clean_files_save
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3364 $as_echo_n "checking for suffix of executables... " >&6; }
3365 if { { ac_try
="$ac_link"
3367 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3368 *) ac_try_echo=$ac_try;;
3370 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3371 $as_echo "$ac_try_echo"; } >&5
3372 (eval "$ac_link") 2>&5
3374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3375 test $ac_status = 0; }; then :
3376 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3377 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3378 # work properly (i.e., refer to `conftest.exe'), while it won't with
3380 for ac_file
in conftest.exe conftest conftest.
*; do
3381 test -f "$ac_file" ||
continue
3383 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3384 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3392 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3393 See \`config.log' for more details" "$LINENO" 5; }
3395 rm -f conftest conftest
$ac_cv_exeext
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3397 $as_echo "$ac_cv_exeext" >&6; }
3399 rm -f conftest.
$ac_ext
3400 EXEEXT
=$ac_cv_exeext
3402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3403 /* end confdefs.h. */
3408 FILE *f = fopen ("conftest.out", "w");
3409 return ferror (f) || fclose (f) != 0;
3415 ac_clean_files
="$ac_clean_files conftest.out"
3416 # Check that the compiler produces executables we can run. If not, either
3417 # the compiler is broken, or we cross compile.
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3419 $as_echo_n "checking whether we are cross compiling... " >&6; }
3420 if test "$cross_compiling" != yes; then
3421 { { ac_try
="$ac_link"
3423 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3424 *) ac_try_echo=$ac_try;;
3426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3427 $as_echo "$ac_try_echo"; } >&5
3428 (eval "$ac_link") 2>&5
3430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3431 test $ac_status = 0; }
3432 if { ac_try='./conftest$ac_cv_exeext'
3433 { { case "(($ac_try" in
3434 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3435 *) ac_try_echo
=$ac_try;;
3437 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3438 $as_echo "$ac_try_echo"; } >&5
3439 (eval "$ac_try") 2>&5
3441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3442 test $ac_status = 0; }; }; then
3445 if test "$cross_compiling" = maybe
; then
3448 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3450 as_fn_error $?
"cannot run C compiled programs.
3451 If you meant to cross compile, use \`--host'.
3452 See \`config.log' for more details" "$LINENO" 5; }
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3457 $as_echo "$cross_compiling" >&6; }
3459 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3460 ac_clean_files
=$ac_clean_files_save
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3462 $as_echo_n "checking for suffix of object files... " >&6; }
3463 if ${ac_cv_objext+:} false
; then :
3464 $as_echo_n "(cached) " >&6
3466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3467 /* end confdefs.h. */
3477 rm -f conftest.o conftest.obj
3478 if { { ac_try
="$ac_compile"
3480 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3481 *) ac_try_echo=$ac_try;;
3483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3484 $as_echo "$ac_try_echo"; } >&5
3485 (eval "$ac_compile") 2>&5
3487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3488 test $ac_status = 0; }; then :
3489 for ac_file in conftest.o conftest.obj conftest.*; do
3490 test -f "$ac_file" || continue;
3492 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3493 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3498 $as_echo "$as_me: failed program was:" >&5
3499 sed 's/^/| /' conftest.$ac_ext >&5
3501 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3503 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3504 See \
`config.log' for more details" "$LINENO" 5; }
3506 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3509 $as_echo "$ac_cv_objext" >&6; }
3510 OBJEXT=$ac_cv_objext
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3513 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3514 if ${ac_cv_c_compiler_gnu+:} false; then :
3515 $as_echo_n "(cached) " >&6
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3531 if ac_fn_c_try_compile "$LINENO"; then :
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3541 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3542 if test $ac_compiler_gnu = yes; then
3547 ac_test_CFLAGS=${CFLAGS+set}
3548 ac_save_CFLAGS=$CFLAGS
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3550 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3551 if ${ac_cv_prog_cc_g+:} false; then :
3552 $as_echo_n "(cached) " >&6
3554 ac_save_c_werror_flag=$ac_c_werror_flag
3555 ac_c_werror_flag=yes
3558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3559 /* end confdefs.h. */
3569 if ac_fn_c_try_compile "$LINENO"; then :
3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574 /* end confdefs.h. */
3584 if ac_fn_c_try_compile "$LINENO"; then :
3587 ac_c_werror_flag=$ac_save_c_werror_flag
3589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590 /* end confdefs.h. */
3600 if ac_fn_c_try_compile "$LINENO"; then :
3603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3608 ac_c_werror_flag=$ac_save_c_werror_flag
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3611 $as_echo "$ac_cv_prog_cc_g" >&6; }
3612 if test "$ac_test_CFLAGS" = set; then
3613 CFLAGS=$ac_save_CFLAGS
3614 elif test $ac_cv_prog_cc_g = yes; then
3615 if test "$GCC" = yes; then
3621 if test "$GCC" = yes; then
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3628 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3629 if ${ac_cv_prog_cc_c89+:} false; then :
3630 $as_echo_n "(cached) " >&6
3632 ac_cv_prog_cc_c89=no
3634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635 /* end confdefs.h. */
3639 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3640 struct buf { int x; };
3641 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3642 static char *e (p, i)
3648 static char *f (char * (*g) (char **, int), char **p, ...)
3653 s = g (p, va_arg (v,int));
3658 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3659 function prototypes and stuff, but not '\xHH' hex character constants.
3660 These don't provoke an error unfortunately, instead are silently treated
3661 as 'x'. The following induces an error, until -std is added to get
3662 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3663 array size at least. It's necessary to write '\x00'==0 to get something
3664 that's true only with -std. */
3665 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3667 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3668 inside strings and character constants. */
3670 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3672 int test (int i, double x);
3673 struct s1 {int (*f) (int a);};
3674 struct s2 {int (*f) (double a);};
3675 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3681 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3686 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3687 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3689 CC="$ac_save_CC $ac_arg"
3690 if ac_fn_c_try_compile "$LINENO"; then :
3691 ac_cv_prog_cc_c89=$ac_arg
3693 rm -f core conftest.err conftest.$ac_objext
3694 test "x$ac_cv_prog_cc_c89" != "xno" && break
3696 rm -f conftest.$ac_ext
3701 case "x$ac_cv_prog_cc_c89" in
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3704 $as_echo "none needed" >&6; } ;;
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3707 $as_echo "unsupported" >&6; } ;;
3709 CC="$CC $ac_cv_prog_cc_c89"
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3711 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3713 if test "x$ac_cv_prog_cc_c89" != xno; then :
3718 ac_cpp='$CPP $CPPFLAGS'
3719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3724 ac_cpp='$CXXCPP $CPPFLAGS'
3725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3728 if test -z "$CXX"; then
3729 if test -n "$CCC"; then
3732 if test -n "$ac_tool_prefix"; then
3733 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3735 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3736 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3739 if ${ac_cv_prog_CXX+:} false; then :
3740 $as_echo_n "(cached) " >&6
3742 if test -n "$CXX"; then
3743 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 test -z "$as_dir" && as_dir=.
3750 for ac_exec_ext in '' $ac_executable_extensions; do
3751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3752 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3763 if test -n "$CXX"; then
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3765 $as_echo "$CXX" >&6; }
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3768 $as_echo "no" >&6; }
3772 test -n "$CXX" && break
3775 if test -z "$CXX"; then
3777 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3779 # Extract the first word of "$ac_prog", so it can be a program name with args.
3780 set dummy $ac_prog; ac_word=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3784 $as_echo_n "(cached) " >&6
3786 if test -n "$ac_ct_CXX"; then
3787 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3793 test -z "$as_dir" && as_dir=.
3794 for ac_exec_ext in '' $ac_executable_extensions; do
3795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3796 ac_cv_prog_ac_ct_CXX="$ac_prog"
3797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3806 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3807 if test -n "$ac_ct_CXX"; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3809 $as_echo "$ac_ct_CXX" >&6; }
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3812 $as_echo "no" >&6; }
3816 test -n "$ac_ct_CXX" && break
3819 if test "x$ac_ct_CXX" = x; then
3822 case $cross_compiling:$ac_tool_warned in
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3826 ac_tool_warned=yes ;;
3834 # Provide some information about the compiler.
3835 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3838 for ac_option in --version -v -V -qversion; do
3839 { { ac_try="$ac_compiler $ac_option >&5"
3841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3842 *) ac_try_echo
=$ac_try;;
3844 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3845 $as_echo "$ac_try_echo"; } >&5
3846 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3848 if test -s conftest.err
; then
3850 ... rest of stderr output deleted ...
3851 10q' conftest.err
>conftest.er1
3852 cat conftest.er1
>&5
3854 rm -f conftest.er1 conftest.err
3855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3856 test $ac_status = 0; }
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3860 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3861 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3862 $as_echo_n "(cached) " >&6
3864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3865 /* end confdefs.h. */
3878 if ac_fn_cxx_try_compile
"$LINENO"; then :
3883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3884 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3888 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3889 if test $ac_compiler_gnu = yes; then
3894 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3895 ac_save_CXXFLAGS
=$CXXFLAGS
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3897 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3898 if ${ac_cv_prog_cxx_g+:} false
; then :
3899 $as_echo_n "(cached) " >&6
3901 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3902 ac_cxx_werror_flag
=yes
3905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h. */
3916 if ac_fn_cxx_try_compile
"$LINENO"; then :
3917 ac_cv_prog_cxx_g
=yes
3920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3921 /* end confdefs.h. */
3931 if ac_fn_cxx_try_compile
"$LINENO"; then :
3934 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3937 /* end confdefs.h. */
3947 if ac_fn_cxx_try_compile
"$LINENO"; then :
3948 ac_cv_prog_cxx_g
=yes
3950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3955 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3958 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3959 if test "$ac_test_CXXFLAGS" = set; then
3960 CXXFLAGS
=$ac_save_CXXFLAGS
3961 elif test $ac_cv_prog_cxx_g = yes; then
3962 if test "$GXX" = yes; then
3968 if test "$GXX" = yes; then
3975 ac_cpp
='$CPP $CPPFLAGS'
3976 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3977 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3978 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3980 if test -n "$ac_tool_prefix"; then
3981 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3982 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3984 $as_echo_n "checking for $ac_word... " >&6; }
3985 if ${ac_cv_prog_CPPBIN+:} false
; then :
3986 $as_echo_n "(cached) " >&6
3988 if test -n "$CPPBIN"; then
3989 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
3991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3995 test -z "$as_dir" && as_dir
=.
3996 for ac_exec_ext
in '' $ac_executable_extensions; do
3997 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3998 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
3999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4008 CPPBIN
=$ac_cv_prog_CPPBIN
4009 if test -n "$CPPBIN"; then
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4011 $as_echo "$CPPBIN" >&6; }
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4014 $as_echo "no" >&6; }
4019 if test -z "$ac_cv_prog_CPPBIN"; then
4020 ac_ct_CPPBIN
=$CPPBIN
4021 # Extract the first word of "cpp", so it can be a program name with args.
4022 set dummy cpp
; ac_word
=$2
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4024 $as_echo_n "checking for $ac_word... " >&6; }
4025 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4026 $as_echo_n "(cached) " >&6
4028 if test -n "$ac_ct_CPPBIN"; then
4029 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4035 test -z "$as_dir" && as_dir
=.
4036 for ac_exec_ext
in '' $ac_executable_extensions; do
4037 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4038 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4048 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4049 if test -n "$ac_ct_CPPBIN"; then
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4051 $as_echo "$ac_ct_CPPBIN" >&6; }
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4054 $as_echo "no" >&6; }
4057 if test "x$ac_ct_CPPBIN" = x
; then
4060 case $cross_compiling:$ac_tool_warned in
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4064 ac_tool_warned
=yes ;;
4066 CPPBIN
=$ac_ct_CPPBIN
4069 CPPBIN
="$ac_cv_prog_CPPBIN"
4073 cat >>confdefs.h
<<_ACEOF
4074 #define EXEEXT "$ac_exeext"
4080 if test "x$enable_win64" = "xyes"
4085 notice_platform
="64-bit "
4092 notice_platform
="32-bit "
4095 enable_win16
=${enable_win16:-yes}
4097 with_fontconfig
=${with_fontconfig:-no}
4100 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4105 $as_echo_n "checking whether $CC works... " >&6; }
4107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4108 /* end confdefs.h. */
4118 if ac_fn_c_try_link
"$LINENO"; then :
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4120 $as_echo "yes" >&6; }
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4123 $as_echo "no" >&6; }
4124 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4126 rm -f core conftest.err conftest.
$ac_objext \
4127 conftest
$ac_exeext conftest.
$ac_ext
4129 notice_platform
="32-bit "
4132 enable_win16
=${enable_win16:-yes}
4134 if test "x${GCC}" = "xyes"
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4137 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4144 void func(__builtin_ms_va_list *args);
4149 if ac_fn_c_try_compile
"$LINENO"; then :
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4151 $as_echo "yes" >&6; }
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4154 $as_echo "no" >&6; }
4155 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4165 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h. */
4168 int ac_test(int i) { return i; }
4172 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4177 if ac_fn_c_try_link
"$LINENO"; then :
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4179 $as_echo "yes" >&6; }
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4182 $as_echo "no" >&6; }
4183 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4185 rm -f core conftest.err conftest.
$ac_objext \
4186 conftest
$ac_exeext conftest.
$ac_ext
4187 CFLAGS
="$CFLAGS -marm"
4189 *-mingw32*|
*-cygwin*)
4190 enable_win16
=${enable_win16:-no}
4191 CFLAGS
="$CFLAGS -D_WIN32"
4194 enable_win16
=${enable_win16:-yes}
4198 enable_win16
=${enable_win16:-no}
4199 enable_win64
=${enable_win64:-no}
4201 enable_winetest
=${enable_winetest:-$enable_tests}
4203 if test -n "$with_wine64"
4205 if test "x$enable_win64" = "xyes"
4207 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4208 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4212 enable_fonts
=${enable_fonts:-no}
4213 enable_server
=${enable_server:-no}
4214 enable_tools
=${enable_tools:-no}
4215 elif test "x$enable_win64" = "xyes"
4217 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4221 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4222 if ${wine_cv_toolsdir+:} false
; then :
4223 $as_echo_n "(cached) " >&6
4225 wine_cv_toolsdir
="$with_wine_tools"
4226 if test -z "$with_wine_tools"; then
4227 if test "$cross_compiling" = "yes"; then
4228 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4229 elif test -n "$with_wine64"; then
4230 wine_cv_toolsdir
="$with_wine64"
4233 if test -z "$wine_cv_toolsdir"; then
4234 wine_cv_toolsdir
="\$(top_builddir)"
4235 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4236 case "$wine_cv_toolsdir" in
4238 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4241 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4245 $as_echo "$wine_cv_toolsdir" >&6; }
4246 TOOLSDIR
=$wine_cv_toolsdir
4248 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4250 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4256 # Extract the first word of "$ac_prog", so it can be a program name with args.
4257 set dummy
$ac_prog; ac_word
=$2
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4259 $as_echo_n "checking for $ac_word... " >&6; }
4260 if ${ac_cv_prog_FLEX+:} false
; then :
4261 $as_echo_n "(cached) " >&6
4263 if test -n "$FLEX"; then
4264 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4270 test -z "$as_dir" && as_dir
=.
4271 for ac_exec_ext
in '' $ac_executable_extensions; do
4272 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4273 ac_cv_prog_FLEX
="$ac_prog"
4274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4283 FLEX
=$ac_cv_prog_FLEX
4284 if test -n "$FLEX"; then
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4286 $as_echo "$FLEX" >&6; }
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4289 $as_echo "no" >&6; }
4293 test -n "$FLEX" && break
4295 test -n "$FLEX" || FLEX
="none"
4297 if test "$FLEX" = "none"
4299 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4302 $as_echo_n "checking whether flex is recent enough... " >&6; }
4303 cat >conftest.l
<<EOF
4305 #include "prediluvian.h"
4309 if $FLEX -t conftest.l
>/dev
/null
2>&5
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4312 $as_echo "yes" >&6; }
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4315 $as_echo "no" >&6; }
4316 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4319 for ac_prog
in bison
4321 # Extract the first word of "$ac_prog", so it can be a program name with args.
4322 set dummy
$ac_prog; ac_word
=$2
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4324 $as_echo_n "checking for $ac_word... " >&6; }
4325 if ${ac_cv_prog_BISON+:} false
; then :
4326 $as_echo_n "(cached) " >&6
4328 if test -n "$BISON"; then
4329 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4335 test -z "$as_dir" && as_dir
=.
4336 for ac_exec_ext
in '' $ac_executable_extensions; do
4337 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4338 ac_cv_prog_BISON
="$ac_prog"
4339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4348 BISON
=$ac_cv_prog_BISON
4349 if test -n "$BISON"; then
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4351 $as_echo "$BISON" >&6; }
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4354 $as_echo "no" >&6; }
4358 test -n "$BISON" && break
4360 test -n "$BISON" || BISON
="none"
4362 if test "$BISON" = "none"
4364 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4367 if test -n "$ac_tool_prefix"; then
4368 for ac_prog
in ar gar
4370 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4371 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4373 $as_echo_n "checking for $ac_word... " >&6; }
4374 if ${ac_cv_prog_AR+:} false
; then :
4375 $as_echo_n "(cached) " >&6
4377 if test -n "$AR"; then
4378 ac_cv_prog_AR
="$AR" # Let the user override the test.
4380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4384 test -z "$as_dir" && as_dir
=.
4385 for ac_exec_ext
in '' $ac_executable_extensions; do
4386 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4387 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4398 if test -n "$AR"; then
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4400 $as_echo "$AR" >&6; }
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4403 $as_echo "no" >&6; }
4407 test -n "$AR" && break
4410 if test -z "$AR"; then
4412 for ac_prog
in ar gar
4414 # Extract the first word of "$ac_prog", so it can be a program name with args.
4415 set dummy
$ac_prog; ac_word
=$2
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4417 $as_echo_n "checking for $ac_word... " >&6; }
4418 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4419 $as_echo_n "(cached) " >&6
4421 if test -n "$ac_ct_AR"; then
4422 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4428 test -z "$as_dir" && as_dir
=.
4429 for ac_exec_ext
in '' $ac_executable_extensions; do
4430 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4431 ac_cv_prog_ac_ct_AR
="$ac_prog"
4432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4441 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4442 if test -n "$ac_ct_AR"; then
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4444 $as_echo "$ac_ct_AR" >&6; }
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4447 $as_echo "no" >&6; }
4451 test -n "$ac_ct_AR" && break
4454 if test "x$ac_ct_AR" = x
; then
4457 case $cross_compiling:$ac_tool_warned in
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4461 ac_tool_warned
=yes ;;
4469 if test -n "$ac_tool_prefix"; then
4470 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4471 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4473 $as_echo_n "checking for $ac_word... " >&6; }
4474 if ${ac_cv_prog_RANLIB+:} false
; then :
4475 $as_echo_n "(cached) " >&6
4477 if test -n "$RANLIB"; then
4478 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4484 test -z "$as_dir" && as_dir
=.
4485 for ac_exec_ext
in '' $ac_executable_extensions; do
4486 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4487 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 RANLIB
=$ac_cv_prog_RANLIB
4498 if test -n "$RANLIB"; then
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4500 $as_echo "$RANLIB" >&6; }
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4503 $as_echo "no" >&6; }
4508 if test -z "$ac_cv_prog_RANLIB"; then
4509 ac_ct_RANLIB
=$RANLIB
4510 # Extract the first word of "ranlib", so it can be a program name with args.
4511 set dummy ranlib
; ac_word
=$2
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4513 $as_echo_n "checking for $ac_word... " >&6; }
4514 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4515 $as_echo_n "(cached) " >&6
4517 if test -n "$ac_ct_RANLIB"; then
4518 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4524 test -z "$as_dir" && as_dir
=.
4525 for ac_exec_ext
in '' $ac_executable_extensions; do
4526 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4527 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4537 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4538 if test -n "$ac_ct_RANLIB"; then
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4540 $as_echo "$ac_ct_RANLIB" >&6; }
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4543 $as_echo "no" >&6; }
4546 if test "x$ac_ct_RANLIB" = x
; then
4549 case $cross_compiling:$ac_tool_warned in
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4553 ac_tool_warned
=yes ;;
4555 RANLIB
=$ac_ct_RANLIB
4558 RANLIB
="$ac_cv_prog_RANLIB"
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4562 $as_echo_n "checking whether ln -s works... " >&6; }
4564 if test "$LN_S" = "ln -s"; then
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4566 $as_echo "yes" >&6; }
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4569 $as_echo "no, using $LN_S" >&6; }
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4573 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4574 if ${ac_cv_path_GREP+:} false
; then :
4575 $as_echo_n "(cached) " >&6
4577 if test -z "$GREP"; then
4578 ac_path_GREP_found
=false
4579 # Loop through the user's path and test for each of PROGNAME-LIST
4580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4581 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4584 test -z "$as_dir" && as_dir
=.
4585 for ac_prog
in grep ggrep
; do
4586 for ac_exec_ext
in '' $ac_executable_extensions; do
4587 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4588 as_fn_executable_p
"$ac_path_GREP" ||
continue
4589 # Check for GNU ac_path_GREP and select it if it is found.
4590 # Check for GNU $ac_path_GREP
4591 case `"$ac_path_GREP" --version 2>&1` in
4593 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4596 $as_echo_n 0123456789 >"conftest.in"
4599 cat "conftest.in" "conftest.in" >"conftest.tmp"
4600 mv "conftest.tmp" "conftest.in"
4601 cp "conftest.in" "conftest.nl"
4602 $as_echo 'GREP' >> "conftest.nl"
4603 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4604 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4605 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4606 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4607 # Best one so far, save it but keep looking for a better one
4608 ac_cv_path_GREP
="$ac_path_GREP"
4609 ac_path_GREP_max
=$ac_count
4611 # 10*(2^10) chars as input seems more than enough
4612 test $ac_count -gt 10 && break
4614 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4617 $ac_path_GREP_found && break 3
4622 if test -z "$ac_cv_path_GREP"; then
4623 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4626 ac_cv_path_GREP
=$GREP
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4631 $as_echo "$ac_cv_path_GREP" >&6; }
4632 GREP
="$ac_cv_path_GREP"
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4636 $as_echo_n "checking for egrep... " >&6; }
4637 if ${ac_cv_path_EGREP+:} false
; then :
4638 $as_echo_n "(cached) " >&6
4640 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4641 then ac_cv_path_EGREP
="$GREP -E"
4643 if test -z "$EGREP"; then
4644 ac_path_EGREP_found
=false
4645 # Loop through the user's path and test for each of PROGNAME-LIST
4646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4647 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4650 test -z "$as_dir" && as_dir
=.
4651 for ac_prog
in egrep; do
4652 for ac_exec_ext
in '' $ac_executable_extensions; do
4653 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4654 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4655 # Check for GNU ac_path_EGREP and select it if it is found.
4656 # Check for GNU $ac_path_EGREP
4657 case `"$ac_path_EGREP" --version 2>&1` in
4659 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4662 $as_echo_n 0123456789 >"conftest.in"
4665 cat "conftest.in" "conftest.in" >"conftest.tmp"
4666 mv "conftest.tmp" "conftest.in"
4667 cp "conftest.in" "conftest.nl"
4668 $as_echo 'EGREP' >> "conftest.nl"
4669 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4670 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4671 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4672 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4673 # Best one so far, save it but keep looking for a better one
4674 ac_cv_path_EGREP
="$ac_path_EGREP"
4675 ac_path_EGREP_max
=$ac_count
4677 # 10*(2^10) chars as input seems more than enough
4678 test $ac_count -gt 10 && break
4680 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4683 $ac_path_EGREP_found && break 3
4688 if test -z "$ac_cv_path_EGREP"; then
4689 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4692 ac_cv_path_EGREP
=$EGREP
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4698 $as_echo "$ac_cv_path_EGREP" >&6; }
4699 EGREP
="$ac_cv_path_EGREP"
4702 # Extract the first word of "ldconfig", so it can be a program name with args.
4703 set dummy ldconfig
; ac_word
=$2
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4705 $as_echo_n "checking for $ac_word... " >&6; }
4706 if ${ac_cv_path_LDCONFIG+:} false
; then :
4707 $as_echo_n "(cached) " >&6
4711 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4715 for as_dir
in /sbin
/usr
/sbin
$PATH
4718 test -z "$as_dir" && as_dir
=.
4719 for ac_exec_ext
in '' $ac_executable_extensions; do
4720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4721 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4729 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4733 LDCONFIG
=$ac_cv_path_LDCONFIG
4734 if test -n "$LDCONFIG"; then
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4736 $as_echo "$LDCONFIG" >&6; }
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 $as_echo "no" >&6; }
4743 # Find a good install program. We prefer a C program (faster),
4744 # so one script is as good as another. But avoid the broken or
4745 # incompatible versions:
4746 # SysV /etc/install, /usr/sbin/install
4747 # SunOS /usr/etc/install
4748 # IRIX /sbin/install
4750 # AmigaOS /C/install, which installs bootblocks on floppy discs
4751 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4752 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4753 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4754 # OS/2's system install, which has a completely different semantic
4755 # ./install, which can be erroneously created by make from ./install.sh.
4756 # Reject install programs that cannot install multiple files.
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4758 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4759 if test -z "$INSTALL"; then
4760 if ${ac_cv_path_install+:} false
; then :
4761 $as_echo_n "(cached) " >&6
4763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4767 test -z "$as_dir" && as_dir
=.
4768 # Account for people who put trailing slashes in PATH elements.
4769 case $as_dir/ in #((
4770 .
/ | .
// |
/[cC
]/* | \
4771 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4772 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4775 # OSF1 and SCO ODT 3.0 have their own names for install.
4776 # Don't use installbsd from OSF since it installs stuff as root
4778 for ac_prog
in ginstall scoinst
install; do
4779 for ac_exec_ext
in '' $ac_executable_extensions; do
4780 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4781 if test $ac_prog = install &&
4782 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4783 # AIX install. It has an incompatible calling convention.
4785 elif test $ac_prog = install &&
4786 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4787 # program-specific install script used by HP pwplus--don't use.
4790 rm -rf conftest.one conftest.two conftest.dir
4791 echo one
> conftest.one
4792 echo two
> conftest.two
4794 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4795 test -s conftest.one
&& test -s conftest.two
&&
4796 test -s conftest.dir
/conftest.one
&&
4797 test -s conftest.dir
/conftest.two
4799 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4812 rm -rf conftest.one conftest.two conftest.dir
4815 if test "${ac_cv_path_install+set}" = set; then
4816 INSTALL
=$ac_cv_path_install
4818 # As a last resort, use the slow shell script. Don't cache a
4819 # value for INSTALL within a source directory, because that will
4820 # break other packages using the cache if that directory is
4821 # removed, or if the value is a relative name.
4822 INSTALL
=$ac_install_sh
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4826 $as_echo "$INSTALL" >&6; }
4828 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4829 # It thinks the first close brace ends the variable substitution.
4830 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4832 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4834 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4837 [\\/$
]* | ?
:[\\/]* ) ;;
4838 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4841 for ac_prog
in lclint lint
4843 # Extract the first word of "$ac_prog", so it can be a program name with args.
4844 set dummy
$ac_prog; ac_word
=$2
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4846 $as_echo_n "checking for $ac_word... " >&6; }
4847 if ${ac_cv_prog_LINT+:} false
; then :
4848 $as_echo_n "(cached) " >&6
4850 if test -n "$LINT"; then
4851 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4857 test -z "$as_dir" && as_dir
=.
4858 for ac_exec_ext
in '' $ac_executable_extensions; do
4859 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4860 ac_cv_prog_LINT
="$ac_prog"
4861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4870 LINT
=$ac_cv_prog_LINT
4871 if test -n "$LINT"; then
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4873 $as_echo "$LINT" >&6; }
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4876 $as_echo "no" >&6; }
4880 test -n "$LINT" && break
4883 if test "$LINT" = "lint"
4885 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4889 for ac_prog
in fontforge
4891 # Extract the first word of "$ac_prog", so it can be a program name with args.
4892 set dummy
$ac_prog; ac_word
=$2
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4894 $as_echo_n "checking for $ac_word... " >&6; }
4895 if ${ac_cv_prog_FONTFORGE+:} false
; then :
4896 $as_echo_n "(cached) " >&6
4898 if test -n "$FONTFORGE"; then
4899 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4905 test -z "$as_dir" && as_dir
=.
4906 for ac_exec_ext
in '' $ac_executable_extensions; do
4907 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4908 ac_cv_prog_FONTFORGE
="$ac_prog"
4909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4918 FONTFORGE
=$ac_cv_prog_FONTFORGE
4919 if test -n "$FONTFORGE"; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4921 $as_echo "$FONTFORGE" >&6; }
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4924 $as_echo "no" >&6; }
4928 test -n "$FONTFORGE" && break
4930 test -n "$FONTFORGE" || FONTFORGE
="false"
4932 for ac_prog
in pkg-config
4934 # Extract the first word of "$ac_prog", so it can be a program name with args.
4935 set dummy
$ac_prog; ac_word
=$2
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4937 $as_echo_n "checking for $ac_word... " >&6; }
4938 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
4939 $as_echo_n "(cached) " >&6
4941 if test -n "$PKG_CONFIG"; then
4942 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
4944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4948 test -z "$as_dir" && as_dir
=.
4949 for ac_exec_ext
in '' $ac_executable_extensions; do
4950 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4951 ac_cv_prog_PKG_CONFIG
="$ac_prog"
4952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4961 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
4962 if test -n "$PKG_CONFIG"; then
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4964 $as_echo "$PKG_CONFIG" >&6; }
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967 $as_echo "no" >&6; }
4971 test -n "$PKG_CONFIG" && break
4973 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
4977 # Extract the first word of "$ac_prog", so it can be a program name with args.
4978 set dummy
$ac_prog; ac_word
=$2
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4980 $as_echo_n "checking for $ac_word... " >&6; }
4981 if ${ac_cv_prog_RSVG+:} false
; then :
4982 $as_echo_n "(cached) " >&6
4984 if test -n "$RSVG"; then
4985 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
4987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4991 test -z "$as_dir" && as_dir
=.
4992 for ac_exec_ext
in '' $ac_executable_extensions; do
4993 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4994 ac_cv_prog_RSVG
="$ac_prog"
4995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 RSVG
=$ac_cv_prog_RSVG
5005 if test -n "$RSVG"; then
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5007 $as_echo "$RSVG" >&6; }
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 $as_echo "no" >&6; }
5014 test -n "$RSVG" && break
5016 test -n "$RSVG" || RSVG
="false"
5018 for ac_prog
in convert
5020 # Extract the first word of "$ac_prog", so it can be a program name with args.
5021 set dummy
$ac_prog; ac_word
=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 $as_echo_n "checking for $ac_word... " >&6; }
5024 if ${ac_cv_prog_CONVERT+:} false
; then :
5025 $as_echo_n "(cached) " >&6
5027 if test -n "$CONVERT"; then
5028 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5034 test -z "$as_dir" && as_dir
=.
5035 for ac_exec_ext
in '' $ac_executable_extensions; do
5036 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5037 ac_cv_prog_CONVERT
="$ac_prog"
5038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 CONVERT
=$ac_cv_prog_CONVERT
5048 if test -n "$CONVERT"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5050 $as_echo "$CONVERT" >&6; }
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5057 test -n "$CONVERT" && break
5059 test -n "$CONVERT" || CONVERT
="false"
5061 for ac_prog
in icotool
5063 # Extract the first word of "$ac_prog", so it can be a program name with args.
5064 set dummy
$ac_prog; ac_word
=$2
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5066 $as_echo_n "checking for $ac_word... " >&6; }
5067 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5068 $as_echo_n "(cached) " >&6
5070 if test -n "$ICOTOOL"; then
5071 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5077 test -z "$as_dir" && as_dir
=.
5078 for ac_exec_ext
in '' $ac_executable_extensions; do
5079 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5080 ac_cv_prog_ICOTOOL
="$ac_prog"
5081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5090 ICOTOOL
=$ac_cv_prog_ICOTOOL
5091 if test -n "$ICOTOOL"; then
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5093 $as_echo "$ICOTOOL" >&6; }
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5096 $as_echo "no" >&6; }
5100 test -n "$ICOTOOL" && break
5102 test -n "$ICOTOOL" || ICOTOOL
="false"
5104 for ac_prog
in msgfmt
5106 # Extract the first word of "$ac_prog", so it can be a program name with args.
5107 set dummy
$ac_prog; ac_word
=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if ${ac_cv_prog_MSGFMT+:} false
; then :
5111 $as_echo_n "(cached) " >&6
5113 if test -n "$MSGFMT"; then
5114 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5120 test -z "$as_dir" && as_dir
=.
5121 for ac_exec_ext
in '' $ac_executable_extensions; do
5122 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5123 ac_cv_prog_MSGFMT
="$ac_prog"
5124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 MSGFMT
=$ac_cv_prog_MSGFMT
5134 if test -n "$MSGFMT"; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5136 $as_echo "$MSGFMT" >&6; }
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5143 test -n "$MSGFMT" && break
5145 test -n "$MSGFMT" || MSGFMT
="false"
5148 if test "x$enable_maintainer_mode" != "xyes"
5153 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5154 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5156 if test "$CONVERT" = false
5158 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5161 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5162 convert_version
=`convert --version | head -n1`
5163 if test "x$convert_version" != "x"
5165 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5166 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5167 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5172 if test "$CONVERT" = false
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5175 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5176 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5179 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5183 if test "$ICOTOOL" = false
5185 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5188 $as_echo_n "checking for recent enough icotool... " >&6; }
5189 icotool_version
=`icotool --version | head -n1`
5190 if test "x$icotool_version" != "x"
5192 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5193 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5194 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5197 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5200 if test "$ICOTOOL" = false
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5203 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5204 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5207 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5213 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5216 test "x$with_gettext" != xno || MSGFMT
=false
5217 if test "$MSGFMT" != "false"
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5220 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5221 cat >conftest.po
<<EOF
5227 if $MSGFMT -o /dev
/null conftest.po
2>&5
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5230 $as_echo "yes" >&6; }
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5233 $as_echo "no" >&6; }
5237 if test "$MSGFMT" = false
; then :
5238 case "x$with_gettext" in
5239 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5241 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5242 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5248 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5249 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5250 $as_echo_n "(cached) " >&6
5252 ac_check_lib_save_LIBS
=$LIBS
5254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5255 /* end confdefs.h. */
5257 /* Override any GCC internal prototype to avoid an error.
5258 Use char because int might match the return type of a GCC
5259 builtin and then its argument prototype would still apply. */
5263 char i386_set_ldt ();
5267 return i386_set_ldt ();
5272 if ac_fn_c_try_link
"$LINENO"; then :
5273 ac_cv_lib_i386_i386_set_ldt
=yes
5275 ac_cv_lib_i386_i386_set_ldt
=no
5277 rm -f core conftest.err conftest.
$ac_objext \
5278 conftest
$ac_exeext conftest.
$ac_ext
5279 LIBS
=$ac_check_lib_save_LIBS
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5282 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5283 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5284 cat >>confdefs.h
<<_ACEOF
5285 #define HAVE_LIBI386 1
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5293 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5294 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5295 $as_echo_n "(cached) " >&6
5297 ac_check_lib_save_LIBS
=$LIBS
5298 LIBS
="-lossaudio $LIBS"
5299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h. */
5302 /* Override any GCC internal prototype to avoid an error.
5303 Use char because int might match the return type of a GCC
5304 builtin and then its argument prototype would still apply. */
5312 return _oss_ioctl ();
5317 if ac_fn_c_try_link
"$LINENO"; then :
5318 ac_cv_lib_ossaudio__oss_ioctl
=yes
5320 ac_cv_lib_ossaudio__oss_ioctl
=no
5322 rm -f core conftest.err conftest.
$ac_objext \
5323 conftest
$ac_exeext conftest.
$ac_ext
5324 LIBS
=$ac_check_lib_save_LIBS
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5327 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5328 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5329 cat >>confdefs.h
<<_ACEOF
5330 #define HAVE_LIBOSSAUDIO 1
5333 LIBS
="-lossaudio $LIBS"
5344 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
5346 # Check whether --enable-largefile was given.
5347 if test "${enable_largefile+set}" = set; then :
5348 enableval
=$enable_largefile;
5351 if test "$enable_largefile" != no
; then
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5354 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5355 if ${ac_cv_sys_largefile_CC+:} false
; then :
5356 $as_echo_n "(cached) " >&6
5358 ac_cv_sys_largefile_CC
=no
5359 if test "$GCC" != yes; then
5362 # IRIX 6.2 and later do not support large files by default,
5363 # so use the C compiler's -n32 option if that helps.
5364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5365 /* end confdefs.h. */
5366 #include <sys/types.h>
5367 /* Check that off_t can represent 2**63 - 1 correctly.
5368 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5369 since some C++ compilers masquerading as C compilers
5370 incorrectly reject 9223372036854775807. */
5371 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5372 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5373 && LARGE_OFF_T % 2147483647 == 1)
5383 if ac_fn_c_try_compile
"$LINENO"; then :
5386 rm -f core conftest.err conftest.
$ac_objext
5388 if ac_fn_c_try_compile
"$LINENO"; then :
5389 ac_cv_sys_largefile_CC
=' -n32'; break
5391 rm -f core conftest.err conftest.
$ac_objext
5395 rm -f conftest.
$ac_ext
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5399 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5400 if test "$ac_cv_sys_largefile_CC" != no
; then
5401 CC
=$CC$ac_cv_sys_largefile_CC
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5405 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5406 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5407 $as_echo_n "(cached) " >&6
5410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5411 /* end confdefs.h. */
5412 #include <sys/types.h>
5413 /* Check that off_t can represent 2**63 - 1 correctly.
5414 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5415 since some C++ compilers masquerading as C compilers
5416 incorrectly reject 9223372036854775807. */
5417 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5418 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5419 && LARGE_OFF_T % 2147483647 == 1)
5429 if ac_fn_c_try_compile
"$LINENO"; then :
5430 ac_cv_sys_file_offset_bits
=no
; break
5432 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5434 /* end confdefs.h. */
5435 #define _FILE_OFFSET_BITS 64
5436 #include <sys/types.h>
5437 /* Check that off_t can represent 2**63 - 1 correctly.
5438 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5439 since some C++ compilers masquerading as C compilers
5440 incorrectly reject 9223372036854775807. */
5441 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5442 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5443 && LARGE_OFF_T % 2147483647 == 1)
5453 if ac_fn_c_try_compile
"$LINENO"; then :
5454 ac_cv_sys_file_offset_bits
=64; break
5456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5457 ac_cv_sys_file_offset_bits
=unknown
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5462 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5463 case $ac_cv_sys_file_offset_bits in #(
5466 cat >>confdefs.h
<<_ACEOF
5467 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5472 if test $ac_cv_sys_file_offset_bits = unknown
; then
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5474 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5475 if ${ac_cv_sys_large_files+:} false
; then :
5476 $as_echo_n "(cached) " >&6
5479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5480 /* end confdefs.h. */
5481 #include <sys/types.h>
5482 /* Check that off_t can represent 2**63 - 1 correctly.
5483 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5484 since some C++ compilers masquerading as C compilers
5485 incorrectly reject 9223372036854775807. */
5486 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5487 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5488 && LARGE_OFF_T % 2147483647 == 1)
5498 if ac_fn_c_try_compile
"$LINENO"; then :
5499 ac_cv_sys_large_files
=no
; break
5501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5503 /* end confdefs.h. */
5504 #define _LARGE_FILES 1
5505 #include <sys/types.h>
5506 /* Check that off_t can represent 2**63 - 1 correctly.
5507 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5508 since some C++ compilers masquerading as C compilers
5509 incorrectly reject 9223372036854775807. */
5510 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5511 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5512 && LARGE_OFF_T % 2147483647 == 1)
5522 if ac_fn_c_try_compile
"$LINENO"; then :
5523 ac_cv_sys_large_files
=1; break
5525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5526 ac_cv_sys_large_files
=unknown
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5531 $as_echo "$ac_cv_sys_large_files" >&6; }
5532 case $ac_cv_sys_large_files in #(
5535 cat >>confdefs.h
<<_ACEOF
5536 #define _LARGE_FILES $ac_cv_sys_large_files
5548 ac_cpp
='$CPP $CPPFLAGS'
5549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5553 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5554 # On Suns, sometimes $CPP names a directory.
5555 if test -n "$CPP" && test -d "$CPP"; then
5558 if test -z "$CPP"; then
5559 if ${ac_cv_prog_CPP+:} false
; then :
5560 $as_echo_n "(cached) " >&6
5562 # Double quotes because CPP needs to be expanded
5563 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5566 for ac_c_preproc_warn_flag
in '' yes
5568 # Use a header file that comes with gcc, so configuring glibc
5569 # with a fresh cross-compiler works.
5570 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5571 # <limits.h> exists even on freestanding compilers.
5572 # On the NeXT, cc -E runs the code through the compiler's parser,
5573 # not just through cpp. "Syntax error" is here to catch this case.
5574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5575 /* end confdefs.h. */
5577 # include <limits.h>
5579 # include <assert.h>
5583 if ac_fn_c_try_cpp
"$LINENO"; then :
5586 # Broken: fails on valid input.
5589 rm -f conftest.err conftest.i conftest.
$ac_ext
5591 # OK, works on sane cases. Now check whether nonexistent headers
5592 # can be detected and how.
5593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5594 /* end confdefs.h. */
5595 #include <ac_nonexistent.h>
5597 if ac_fn_c_try_cpp
"$LINENO"; then :
5598 # Broken: success on invalid input.
5601 # Passes both tests.
5605 rm -f conftest.err conftest.i conftest.
$ac_ext
5608 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5609 rm -f conftest.i conftest.err conftest.
$ac_ext
5610 if $ac_preproc_ok; then :
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5623 $as_echo "$CPP" >&6; }
5625 for ac_c_preproc_warn_flag
in '' yes
5627 # Use a header file that comes with gcc, so configuring glibc
5628 # with a fresh cross-compiler works.
5629 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5630 # <limits.h> exists even on freestanding compilers.
5631 # On the NeXT, cc -E runs the code through the compiler's parser,
5632 # not just through cpp. "Syntax error" is here to catch this case.
5633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5634 /* end confdefs.h. */
5636 # include <limits.h>
5638 # include <assert.h>
5642 if ac_fn_c_try_cpp
"$LINENO"; then :
5645 # Broken: fails on valid input.
5648 rm -f conftest.err conftest.i conftest.
$ac_ext
5650 # OK, works on sane cases. Now check whether nonexistent headers
5651 # can be detected and how.
5652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5653 /* end confdefs.h. */
5654 #include <ac_nonexistent.h>
5656 if ac_fn_c_try_cpp
"$LINENO"; then :
5657 # Broken: success on invalid input.
5660 # Passes both tests.
5664 rm -f conftest.err conftest.i conftest.
$ac_ext
5667 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5668 rm -f conftest.i conftest.err conftest.
$ac_ext
5669 if $ac_preproc_ok; then :
5672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5674 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5675 See \`config.log' for more details" "$LINENO" 5; }
5679 ac_cpp
='$CPP $CPPFLAGS'
5680 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5681 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5682 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5686 $as_echo_n "checking for ANSI C header files... " >&6; }
5687 if ${ac_cv_header_stdc+:} false
; then :
5688 $as_echo_n "(cached) " >&6
5690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5691 /* end confdefs.h. */
5705 if ac_fn_c_try_compile
"$LINENO"; then :
5706 ac_cv_header_stdc
=yes
5708 ac_cv_header_stdc
=no
5710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5712 if test $ac_cv_header_stdc = yes; then
5713 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5715 /* end confdefs.h. */
5719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5720 $EGREP "memchr" >/dev
/null
2>&1; then :
5723 ac_cv_header_stdc
=no
5729 if test $ac_cv_header_stdc = yes; then
5730 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5732 /* end confdefs.h. */
5736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5737 $EGREP "free" >/dev
/null
2>&1; then :
5740 ac_cv_header_stdc
=no
5746 if test $ac_cv_header_stdc = yes; then
5747 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5748 if test "$cross_compiling" = yes; then :
5751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5752 /* end confdefs.h. */
5755 #if ((' ' & 0x0FF) == 0x020)
5756 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5757 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5759 # define ISLOWER(c) \
5760 (('a' <= (c) && (c) <= 'i') \
5761 || ('j' <= (c) && (c) <= 'r') \
5762 || ('s' <= (c) && (c) <= 'z'))
5763 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5766 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5771 for (i = 0; i < 256; i++)
5772 if (XOR (islower (i), ISLOWER (i))
5773 || toupper (i) != TOUPPER (i))
5778 if ac_fn_c_try_run
"$LINENO"; then :
5781 ac_cv_header_stdc
=no
5783 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5784 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5790 $as_echo "$ac_cv_header_stdc" >&6; }
5791 if test $ac_cv_header_stdc = yes; then
5793 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5797 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5798 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5799 inttypes.h stdint.h unistd.h
5801 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5802 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5804 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5805 cat >>confdefs.h
<<_ACEOF
5806 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5816 ApplicationServices
/ApplicationServices.h \
5817 AudioToolbox
/AudioConverter.h \
5818 AudioUnit
/AudioUnit.h \
5819 AudioUnit
/AudioComponent.h \
5822 CoreAudio
/CoreAudio.h \
5823 CoreServices
/CoreServices.h \
5824 DiskArbitration
/DiskArbitration.h \
5826 IOKit
/hid
/IOHIDLib.h \
5829 QuickTime
/ImageCompression.h \
5830 Security
/Security.h \
5844 fontconfig
/fontconfig.h \
5885 netinet
/in_systm.h \
5948 valgrind
/memcheck.h \
5949 valgrind
/valgrind.h \
5953 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5954 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5955 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5956 cat >>confdefs.h
<<_ACEOF
5957 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5965 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5966 if ${ac_cv_header_stat_broken+:} false
; then :
5967 $as_echo_n "(cached) " >&6
5969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5970 /* end confdefs.h. */
5971 #include <sys/types.h>
5972 #include <sys/stat.h>
5974 #if defined S_ISBLK && defined S_IFDIR
5975 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5978 #if defined S_ISBLK && defined S_IFCHR
5979 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5982 #if defined S_ISLNK && defined S_IFREG
5983 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5986 #if defined S_ISSOCK && defined S_IFREG
5987 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5991 if ac_fn_c_try_compile
"$LINENO"; then :
5992 ac_cv_header_stat_broken
=no
5994 ac_cv_header_stat_broken
=yes
5996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5999 $as_echo "$ac_cv_header_stat_broken" >&6; }
6000 if test $ac_cv_header_stat_broken = yes; then
6002 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6008 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6010 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6011 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6012 #ifdef HAVE_SYS_PARAM_H
6013 # include <sys/param.h>
6016 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6017 cat >>confdefs.h
<<_ACEOF
6018 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6033 netinet
/if_ether.h \
6034 netinet
/if_inarp.h \
6043 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6044 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6045 #ifdef HAVE_SYS_SOCKET_H
6046 # include <sys/socket.h>
6048 #ifdef HAVE_SYS_SOCKETVAR_H
6049 # include <sys/socketvar.h>
6051 #ifdef HAVE_NET_ROUTE_H
6052 # include <net/route.h>
6054 #ifdef HAVE_NETINET_IN_H
6055 # include <netinet/in.h>
6057 #ifdef HAVE_NETINET_IN_SYSTM_H
6058 # include <netinet/in_systm.h>
6060 #ifdef HAVE_NET_IF_H
6061 # include <net/if.h>
6063 #ifdef HAVE_NETINET_IP_H
6064 # include <netinet/ip.h>
6067 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6068 cat >>confdefs.h
<<_ACEOF
6069 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6077 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6079 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6080 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6084 #ifdef HAVE_SYS_SOCKET_H
6085 # include <sys/socket.h>
6087 #ifdef HAVE_SYS_SOCKETVAR_H
6088 # include <sys/socketvar.h>
6090 #ifdef HAVE_SYS_TIMEOUT_H
6091 # include <sys/timeout.h>
6093 #ifdef HAVE_NETINET_IN_H
6094 # include <netinet/in.h>
6096 #ifdef HAVE_NETINET_IN_SYSTM_H
6097 # include <netinet/in_systm.h>
6099 #ifdef HAVE_NETINET_IP_H
6100 # include <netinet/ip.h>
6102 #ifdef HAVE_NETINET_IP_VAR_H
6103 # include <netinet/ip_var.h>
6105 #ifdef HAVE_NETINET_IP_ICMP_H
6106 # include <netinet/ip_icmp.h>
6108 #ifdef HAVE_NETINET_UDP_H
6109 # include <netinet/udp.h>
6111 #ifdef HAVE_NETINET_TCP_H
6112 # include <netinet/tcp.h>
6114 #ifdef HAVE_NETINET_TCP_TIMER_H
6115 #include <netinet/tcp_timer.h>
6118 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6119 cat >>confdefs.h
<<_ACEOF
6120 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6128 for ac_header
in linux
/ipx.h linux
/irda.h
6130 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6131 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6132 #ifdef HAVE_ASM_TYPES_H
6133 # include <asm/types.h>
6135 #ifdef HAVE_SYS_SOCKET_H
6136 # include <sys/socket.h>
6138 #ifdef HAVE_LINUX_TYPES_H
6139 # include <linux/types.h>
6142 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6143 cat >>confdefs.h
<<_ACEOF
6144 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6152 for ac_header
in mach-o
/dyld_images.h
6154 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6155 # include <stdbool.h>
6157 #ifdef HAVE_STDINT_H
6158 # include <stdint.h>
6161 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6162 cat >>confdefs.h
<<_ACEOF
6163 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6171 for ac_header
in resolv.h
6173 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6174 #ifdef HAVE_SYS_SOCKET_H
6175 # include <sys/socket.h>
6177 #ifdef HAVE_NETINET_IN_H
6178 # include <netinet/in.h>
6180 #ifdef HAVE_ARPA_NAMESER_H
6181 # include <arpa/nameser.h>
6184 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6185 cat >>confdefs.h
<<_ACEOF
6186 #define HAVE_RESOLV_H 1
6194 for ac_header
in ifaddrs.h
6196 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6198 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6199 cat >>confdefs.h
<<_ACEOF
6200 #define HAVE_IFADDRS_H 1
6208 for ac_header
in ucontext.h
6210 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6212 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6213 cat >>confdefs.h
<<_ACEOF
6214 #define HAVE_UCONTEXT_H 1
6222 for ac_header
in sys
/thr.h
6224 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6225 #ifdef HAVE_UCONTEXT_H
6226 #include <ucontext.h>
6229 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6230 cat >>confdefs.h
<<_ACEOF
6231 #define HAVE_SYS_THR_H 1
6239 for ac_header
in pthread_np.h
6241 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6242 #include <pthread.h>
6245 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6246 cat >>confdefs.h
<<_ACEOF
6247 #define HAVE_PTHREAD_NP_H 1
6255 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6257 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6258 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6259 #include <sys/time.h>
6261 #include <sys/types.h>
6262 #ifdef HAVE_ASM_TYPES_H
6263 #include <asm/types.h>
6266 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6267 cat >>confdefs.h
<<_ACEOF
6268 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6276 for ac_header
in linux
/capi.h
6278 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6280 if test "x$ac_cv_header_linux_capi_h" = xyes
; then :
6281 cat >>confdefs.h
<<_ACEOF
6282 #define HAVE_LINUX_CAPI_H 1
6293 DLLFLAGS
="-D_REENTRANT"
6307 STATIC_IMPLIBEXT
="def.a"
6308 # Extract the first word of "ldd", so it can be a program name with args.
6309 set dummy ldd
; ac_word
=$2
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6311 $as_echo_n "checking for $ac_word... " >&6; }
6312 if ${ac_cv_path_LDD+:} false
; then :
6313 $as_echo_n "(cached) " >&6
6317 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6321 as_dummy
="/sbin:/usr/sbin:$PATH"
6322 for as_dir
in $as_dummy
6325 test -z "$as_dir" && as_dir
=.
6326 for ac_exec_ext
in '' $ac_executable_extensions; do
6327 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6328 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6336 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6341 if test -n "$LDD"; then
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6343 $as_echo "$LDD" >&6; }
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6346 $as_echo "no" >&6; }
6350 if test -n "$ac_tool_prefix"; then
6351 for ac_prog
in readelf
6353 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6354 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6356 $as_echo_n "checking for $ac_word... " >&6; }
6357 if ${ac_cv_prog_READELF+:} false
; then :
6358 $as_echo_n "(cached) " >&6
6360 if test -n "$READELF"; then
6361 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6367 test -z "$as_dir" && as_dir
=.
6368 for ac_exec_ext
in '' $ac_executable_extensions; do
6369 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6370 ac_cv_prog_READELF
="$ac_tool_prefix$ac_prog"
6371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6380 READELF
=$ac_cv_prog_READELF
6381 if test -n "$READELF"; then
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6383 $as_echo "$READELF" >&6; }
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6386 $as_echo "no" >&6; }
6390 test -n "$READELF" && break
6393 if test -z "$READELF"; then
6394 ac_ct_READELF
=$READELF
6395 for ac_prog
in readelf
6397 # Extract the first word of "$ac_prog", so it can be a program name with args.
6398 set dummy
$ac_prog; ac_word
=$2
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6400 $as_echo_n "checking for $ac_word... " >&6; }
6401 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
6402 $as_echo_n "(cached) " >&6
6404 if test -n "$ac_ct_READELF"; then
6405 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
6407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6411 test -z "$as_dir" && as_dir
=.
6412 for ac_exec_ext
in '' $ac_executable_extensions; do
6413 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6414 ac_cv_prog_ac_ct_READELF
="$ac_prog"
6415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6424 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
6425 if test -n "$ac_ct_READELF"; then
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6427 $as_echo "$ac_ct_READELF" >&6; }
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6430 $as_echo "no" >&6; }
6434 test -n "$ac_ct_READELF" && break
6437 if test "x$ac_ct_READELF" = x
; then
6440 case $cross_compiling:$ac_tool_warned in
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6444 ac_tool_warned
=yes ;;
6446 READELF
=$ac_ct_READELF
6453 if test -n "$ac_tool_prefix"; then
6454 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6455 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6457 $as_echo_n "checking for $ac_word... " >&6; }
6458 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6459 $as_echo_n "(cached) " >&6
6461 if test -n "$DLLTOOL"; then
6462 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6468 test -z "$as_dir" && as_dir
=.
6469 for ac_exec_ext
in '' $ac_executable_extensions; do
6470 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6471 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6481 DLLTOOL
=$ac_cv_prog_DLLTOOL
6482 if test -n "$DLLTOOL"; then
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6484 $as_echo "$DLLTOOL" >&6; }
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6487 $as_echo "no" >&6; }
6492 if test -z "$ac_cv_prog_DLLTOOL"; then
6493 ac_ct_DLLTOOL
=$DLLTOOL
6494 # Extract the first word of "dlltool", so it can be a program name with args.
6495 set dummy dlltool
; ac_word
=$2
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6497 $as_echo_n "checking for $ac_word... " >&6; }
6498 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6499 $as_echo_n "(cached) " >&6
6501 if test -n "$ac_ct_DLLTOOL"; then
6502 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6508 test -z "$as_dir" && as_dir
=.
6509 for ac_exec_ext
in '' $ac_executable_extensions; do
6510 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6511 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6521 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6522 if test -n "$ac_ct_DLLTOOL"; then
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6524 $as_echo "$ac_ct_DLLTOOL" >&6; }
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6527 $as_echo "no" >&6; }
6530 if test "x$ac_ct_DLLTOOL" = x
; then
6533 case $cross_compiling:$ac_tool_warned in
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6537 ac_tool_warned
=yes ;;
6539 DLLTOOL
=$ac_ct_DLLTOOL
6542 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6545 if test -n "$ac_tool_prefix"; then
6546 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6547 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6549 $as_echo_n "checking for $ac_word... " >&6; }
6550 if ${ac_cv_prog_DLLWRAP+:} false
; then :
6551 $as_echo_n "(cached) " >&6
6553 if test -n "$DLLWRAP"; then
6554 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
6556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6560 test -z "$as_dir" && as_dir
=.
6561 for ac_exec_ext
in '' $ac_executable_extensions; do
6562 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6563 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
6564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6573 DLLWRAP
=$ac_cv_prog_DLLWRAP
6574 if test -n "$DLLWRAP"; then
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6576 $as_echo "$DLLWRAP" >&6; }
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6579 $as_echo "no" >&6; }
6584 if test -z "$ac_cv_prog_DLLWRAP"; then
6585 ac_ct_DLLWRAP
=$DLLWRAP
6586 # Extract the first word of "dllwrap", so it can be a program name with args.
6587 set dummy dllwrap
; ac_word
=$2
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6589 $as_echo_n "checking for $ac_word... " >&6; }
6590 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false
; then :
6591 $as_echo_n "(cached) " >&6
6593 if test -n "$ac_ct_DLLWRAP"; then
6594 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
6596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6600 test -z "$as_dir" && as_dir
=.
6601 for ac_exec_ext
in '' $ac_executable_extensions; do
6602 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6603 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
6604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6613 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
6614 if test -n "$ac_ct_DLLWRAP"; then
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6616 $as_echo "$ac_ct_DLLWRAP" >&6; }
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; }
6622 if test "x$ac_ct_DLLWRAP" = x
; then
6625 case $cross_compiling:$ac_tool_warned in
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6629 ac_tool_warned
=yes ;;
6631 DLLWRAP
=$ac_ct_DLLWRAP
6634 DLLWRAP
="$ac_cv_prog_DLLWRAP"
6637 if test "$DLLWRAP" = "false"; then
6643 STATIC_IMPLIBEXT
="a"
6644 enable_iphlpapi
=${enable_iphlpapi:-no}
6645 enable_kernel32
=${enable_kernel32:-no}
6646 enable_msvcrt
=${enable_msvcrt:-no}
6647 enable_ntdll
=${enable_ntdll:-no}
6648 enable_ws2_32
=${enable_ws2_32:-no}
6649 enable_loader
=${enable_loader:-no}
6650 enable_server
=${enable_server:-no}
6651 with_x
=${with_x:-no}
6652 with_pthread
=${with_pthread:-no}
6657 DLLFLAGS
="$DLLFLAGS -fPIC"
6658 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6659 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6660 LDSHARED
="\$(CC) -dynamiclib"
6661 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6662 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
6663 COREFOUNDATIONLIB
="-framework CoreFoundation"
6665 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6667 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
6669 CORESERVICESLIB
="-framework CoreServices"
6673 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6676 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6679 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6681 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6684 if test "$ac_cv_header_Security_Security_h" = "yes"
6686 SECURITYLIB
="-framework Security -framework CoreFoundation"
6688 ac_save_LIBS
="$LIBS"
6689 LIBS
="$LIBS $SECURITYLIB"
6690 for ac_func
in SSLCopyPeerCertificates
6692 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6693 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
6694 cat >>confdefs.h
<<_ACEOF
6695 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6701 LIBS
="$ac_save_LIBS"
6702 with_gnutls
=${with_gnutls:-no}
6704 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6706 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6708 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6711 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6714 ac_save_LIBS
="$LIBS"
6715 LIBS
="$LIBS $COREAUDIO"
6716 for ac_func
in AUGraphAddNode
6718 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6719 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
6720 cat >>confdefs.h
<<_ACEOF
6721 #define HAVE_AUGRAPHADDNODE 1
6727 LIBS
="$ac_save_LIBS"
6729 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6731 FRAMEWORK_OPENAL
="-framework OpenAL"
6734 cat >>confdefs.h
<<_ACEOF
6735 #define HAVE_OPENAL 1
6738 ac_cv_lib_openal
=yes
6740 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6742 LIBOPENCL
="-framework OpenCL"
6744 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6746 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6748 ac_save_LIBS
="$LIBS"
6749 LIBS
="$LIBS $IOKITLIB"
6750 for ac_func
in IOHIDManagerCreate
6752 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6753 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
6754 cat >>confdefs.h
<<_ACEOF
6755 #define HAVE_IOHIDMANAGERCREATE 1
6761 LIBS
="$ac_save_LIBS"
6765 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6767 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6769 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6771 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6773 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6775 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6777 CARBONLIB
="-framework Carbon"
6781 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6783 ac_save_LIBS
="$LIBS"
6784 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
6785 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6786 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
6787 enable_winemac_drv
=${enable_winemac_drv:-yes}
6790 LIBS
="$ac_save_LIBS"
6793 if test "x$enable_win16" = "xyes"
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6796 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6797 if test "$cross_compiling" = yes; then :
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6799 $as_echo "cross-compiling, assuming yes" >&6; }
6801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6802 /* end confdefs.h. */
6805 "good:\tnop;nop\n\t"
6806 ".globl _testfunc\n"
6807 "_testfunc:\tcallw good");
6808 extern void testfunc();
6812 unsigned short *p = (unsigned short *)testfunc;
6813 return p[0] != 0xe866 || p[1] != 0xfffa
6818 if ac_fn_c_try_run
"$LINENO"; then :
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6820 $as_echo "yes" >&6; }
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6823 $as_echo "no" >&6; }
6824 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
6826 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6827 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6833 DLLFLAGS
="$DLLFLAGS -fPIC"
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6836 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6837 if ${ac_cv_c_dll_gnuelf+:} false
; then :
6838 $as_echo_n "(cached) " >&6
6840 ac_wine_try_cflags_saved
=$CFLAGS
6841 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6843 /* end confdefs.h. */
6846 if ac_fn_c_try_link
"$LINENO"; then :
6847 ac_cv_c_dll_gnuelf
="yes"
6849 ac_cv_c_dll_gnuelf
="no"
6851 rm -f core conftest.err conftest.
$ac_objext \
6852 conftest
$ac_exeext conftest.
$ac_ext
6853 CFLAGS
=$ac_wine_try_cflags_saved
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6856 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6857 if test "$ac_cv_c_dll_gnuelf" = "yes"
6859 LDSHARED
="\$(CC) -shared"
6860 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6862 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6863 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
6864 $as_echo_n "(cached) " >&6
6866 ac_wine_try_cflags_saved
=$CFLAGS
6867 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6869 /* end confdefs.h. */
6870 int main(int argc, char **argv) { return 0; }
6872 if ac_fn_c_try_link
"$LINENO"; then :
6873 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
6875 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
6877 rm -f core conftest.err conftest.
$ac_objext \
6878 conftest
$ac_exeext conftest.
$ac_ext
6879 CFLAGS
=$ac_wine_try_cflags_saved
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6882 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6883 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6884 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6887 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6888 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
6889 $as_echo_n "(cached) " >&6
6891 ac_wine_try_cflags_saved
=$CFLAGS
6892 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6894 /* end confdefs.h. */
6895 int main(int argc, char **argv) { return 0; }
6897 if ac_fn_c_try_link
"$LINENO"; then :
6898 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
6900 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
6902 rm -f core conftest.err conftest.
$ac_objext \
6903 conftest
$ac_exeext conftest.
$ac_ext
6904 CFLAGS
=$ac_wine_try_cflags_saved
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6907 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6908 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6909 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6914 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6915 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
6916 $as_echo_n "(cached) " >&6
6918 ac_wine_try_cflags_saved
=$CFLAGS
6919 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6921 /* end confdefs.h. */
6922 int main(int argc, char **argv) { return 0; }
6924 if ac_fn_c_try_link
"$LINENO"; then :
6925 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6927 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6929 rm -f core conftest.err conftest.
$ac_objext \
6930 conftest
$ac_exeext conftest.
$ac_ext
6931 CFLAGS
=$ac_wine_try_cflags_saved
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6934 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6935 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6936 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6939 { $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
6940 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6941 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
6942 $as_echo_n "(cached) " >&6
6944 ac_wine_try_cflags_saved
=$CFLAGS
6945 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6947 /* end confdefs.h. */
6948 int main(int argc, char **argv) { return 0; }
6950 if ac_fn_c_try_link
"$LINENO"; then :
6951 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6953 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6955 rm -f core conftest.err conftest.
$ac_objext \
6956 conftest
$ac_exeext conftest.
$ac_ext
6957 CFLAGS
=$ac_wine_try_cflags_saved
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6960 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6961 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6962 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6965 echo '{ global: *; };' >conftest.map
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6967 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6968 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
6969 $as_echo_n "(cached) " >&6
6971 ac_wine_try_cflags_saved
=$CFLAGS
6972 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6974 /* end confdefs.h. */
6975 int main(int argc, char **argv) { return 0; }
6977 if ac_fn_c_try_link
"$LINENO"; then :
6978 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
6980 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
6982 rm -f core conftest.err conftest.
$ac_objext \
6983 conftest
$ac_exeext conftest.
$ac_ext
6984 CFLAGS
=$ac_wine_try_cflags_saved
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
6987 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
6988 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
6989 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6994 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6995 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
6996 $as_echo_n "(cached) " >&6
6998 ac_wine_try_cflags_saved
=$CFLAGS
6999 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7001 /* end confdefs.h. */
7002 int main(int argc, char **argv) { return 0; }
7004 if ac_fn_c_try_link
"$LINENO"; then :
7005 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7007 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7009 rm -f core conftest.err conftest.
$ac_objext \
7010 conftest
$ac_exeext conftest.
$ac_ext
7011 CFLAGS
=$ac_wine_try_cflags_saved
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7014 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7015 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7016 LDEXECFLAGS
="-Wl,--export-dynamic"
7020 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7022 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7023 if eval \
${$as_ac_var+:} false
; then :
7024 $as_echo_n "(cached) " >&6
7026 ac_wine_try_cflags_saved
=$CFLAGS
7027 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7029 /* end confdefs.h. */
7030 int main(int argc, char **argv) { return 0; }
7032 if ac_fn_c_try_link
"$LINENO"; then :
7033 eval "$as_ac_var=yes"
7035 eval "$as_ac_var=no"
7037 rm -f core conftest.err conftest.
$ac_objext \
7038 conftest
$ac_exeext conftest.
$ac_ext
7039 CFLAGS
=$ac_wine_try_cflags_saved
7041 eval ac_res
=\$
$as_ac_var
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7043 $as_echo "$ac_res" >&6; }
7044 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7045 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7046 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7048 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7050 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7051 if eval \
${$as_ac_var+:} false
; then :
7052 $as_echo_n "(cached) " >&6
7054 ac_wine_try_cflags_saved
=$CFLAGS
7055 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7057 /* end confdefs.h. */
7058 int main(int argc, char **argv) { return 0; }
7060 if ac_fn_c_try_link
"$LINENO"; then :
7061 eval "$as_ac_var=yes"
7063 eval "$as_ac_var=no"
7065 rm -f core conftest.err conftest.
$ac_objext \
7066 conftest
$ac_exeext conftest.
$ac_ext
7067 CFLAGS
=$ac_wine_try_cflags_saved
7069 eval ac_res
=\$
$as_ac_var
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7071 $as_echo "$ac_res" >&6; }
7072 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7073 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7074 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7079 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7080 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7081 $as_echo_n "(cached) " >&6
7083 ac_wine_try_cflags_saved
=$CFLAGS
7084 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7086 /* end confdefs.h. */
7087 int main(int argc, char **argv) { return 0; }
7089 if ac_fn_c_try_link
"$LINENO"; then :
7090 ac_cv_cflags__Wl___enable_new_dtags
=yes
7092 ac_cv_cflags__Wl___enable_new_dtags
=no
7094 rm -f core conftest.err conftest.
$ac_objext \
7095 conftest
$ac_exeext conftest.
$ac_ext
7096 CFLAGS
=$ac_wine_try_cflags_saved
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7099 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7100 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7101 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7105 *i
[3456789]86* | x86_64
)
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7107 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7108 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7109 $as_echo_n "(cached) " >&6
7111 ac_wine_try_cflags_saved
=$CFLAGS
7112 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7114 /* end confdefs.h. */
7115 int main(int argc, char **argv) { return 0; }
7117 if ac_fn_c_try_link
"$LINENO"; then :
7118 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7120 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7122 rm -f core conftest.err conftest.
$ac_objext \
7123 conftest
$ac_exeext conftest.
$ac_ext
7124 CFLAGS
=$ac_wine_try_cflags_saved
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7127 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7128 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7130 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7131 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7135 # Extract the first word of "prelink", so it can be a program name with args.
7136 set dummy prelink
; ac_word
=$2
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 $as_echo_n "checking for $ac_word... " >&6; }
7139 if ${ac_cv_path_PRELINK+:} false
; then :
7140 $as_echo_n "(cached) " >&6
7144 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7148 for as_dir
in /sbin
/usr
/sbin
$PATH
7151 test -z "$as_dir" && as_dir
=.
7152 for ac_exec_ext
in '' $ac_executable_extensions; do
7153 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7154 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7162 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7166 PRELINK
=$ac_cv_path_PRELINK
7167 if test -n "$PRELINK"; then
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7169 $as_echo "$PRELINK" >&6; }
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7172 $as_echo "no" >&6; }
7176 if test "x$PRELINK" = xfalse
7178 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7185 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7186 if ${ac_cv_c_dll_unixware+:} false
; then :
7187 $as_echo_n "(cached) " >&6
7189 ac_wine_try_cflags_saved
=$CFLAGS
7190 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7192 /* end confdefs.h. */
7195 if ac_fn_c_try_link
"$LINENO"; then :
7196 ac_cv_c_dll_unixware
="yes"
7198 ac_cv_c_dll_unixware
="no"
7200 rm -f core conftest.err conftest.
$ac_objext \
7201 conftest
$ac_exeext conftest.
$ac_ext
7202 CFLAGS
=$ac_wine_try_cflags_saved
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7205 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7206 if test "$ac_cv_c_dll_unixware" = "yes"
7208 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7209 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7213 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7214 if ${ac_cv_c_dll_hpux+:} false
; then :
7215 $as_echo_n "(cached) " >&6
7217 ac_wine_try_cflags_saved
=$CFLAGS
7218 CFLAGS
="$CFLAGS -shared"
7219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7220 /* end confdefs.h. */
7223 if ac_fn_c_try_link
"$LINENO"; then :
7224 ac_cv_c_dll_hpux
="yes"
7226 ac_cv_c_dll_hpux
="no"
7228 rm -f core conftest.err conftest.
$ac_objext \
7229 conftest
$ac_exeext conftest.
$ac_ext
7230 CFLAGS
=$ac_wine_try_cflags_saved
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7233 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7234 if test "$ac_cv_c_dll_hpux" = "yes"
7238 LDDLLFLAGS
="-shared -fPIC"
7239 LDSHARED
="\$(CC) -shared"
7246 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7247 enable_winemac_drv
=${enable_winemac_drv:-no}
7249 if test "$LIBEXT" = "a"; then
7250 as_fn_error $?
"could not find a way to build shared libraries.
7251 It is currently not possible to build Wine without shared library
7252 (.so) support to allow transparent switch between .so and .dll files.
7253 If you are using Linux, you will need a newer binutils.
7257 CROSSTEST_DISABLE
=\
#
7259 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7263 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
7266 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 " ;;
7268 ac_prefix_list
="" ;;
7270 for ac_prog
in $ac_prefix_list
7272 # Extract the first word of "$ac_prog", so it can be a program name with args.
7273 set dummy
$ac_prog; ac_word
=$2
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7275 $as_echo_n "checking for $ac_word... " >&6; }
7276 if ${ac_cv_prog_CROSSCC+:} false
; then :
7277 $as_echo_n "(cached) " >&6
7279 if test -n "$CROSSCC"; then
7280 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7286 test -z "$as_dir" && as_dir
=.
7287 for ac_exec_ext
in '' $ac_executable_extensions; do
7288 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7289 ac_cv_prog_CROSSCC
="$ac_prog"
7290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7299 CROSSCC
=$ac_cv_prog_CROSSCC
7300 if test -n "$CROSSCC"; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7302 $as_echo "$CROSSCC" >&6; }
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7305 $as_echo "no" >&6; }
7309 test -n "$CROSSCC" && break
7311 test -n "$CROSSCC" || CROSSCC
="false"
7313 if test "$CROSSCC" != "false"
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7318 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7320 /* end confdefs.h. */
7330 if ac_fn_c_try_compile
"$LINENO"; then :
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7332 $as_echo "yes" >&6; }
7339 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7343 if test -n "$target"
7345 CROSSTEST_DISABLE
=""
7346 CROSSTARGET
="$target"
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7351 $as_echo "no" >&6; }
7353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7359 if test "$ac_cv_header_pthread_h" = "yes"
7361 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7362 if test "x$ac_cv_func_pthread_create" = xyes
; then :
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7366 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7367 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
7368 $as_echo_n "(cached) " >&6
7370 ac_check_lib_save_LIBS
=$LIBS
7371 LIBS
="-lpthread $LIBS"
7372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7373 /* end confdefs.h. */
7375 /* Override any GCC internal prototype to avoid an error.
7376 Use char because int might match the return type of a GCC
7377 builtin and then its argument prototype would still apply. */
7381 char pthread_create ();
7385 return pthread_create ();
7390 if ac_fn_c_try_link
"$LINENO"; then :
7391 ac_cv_lib_pthread_pthread_create
=yes
7393 ac_cv_lib_pthread_pthread_create
=no
7395 rm -f core conftest.err conftest.
$ac_objext \
7396 conftest
$ac_exeext conftest.
$ac_ext
7397 LIBS
=$ac_check_lib_save_LIBS
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7400 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7401 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
7402 LIBPTHREAD
="-lpthread"
7409 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
7410 case "x$with_pthread" in
7412 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7413 Wine cannot support threads without libpthread.
7414 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7420 $as_echo_n "checking for X... " >&6; }
7423 # Check whether --with-x was given.
7424 if test "${with_x+set}" = set; then :
7428 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7429 if test "x$with_x" = xno
; then
7430 # The user explicitly disabled X.
7433 case $x_includes,$x_libraries in #(
7434 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
7435 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
7436 $as_echo_n "(cached) " >&6
7438 # One or both of the vars are not set, and there is no cached value.
7439 ac_x_includes
=no ac_x_libraries
=no
7440 rm -f -r conftest.dir
7441 if mkdir conftest.dir
; then
7443 cat >Imakefile
<<'_ACEOF'
7445 @echo incroot='${INCROOT}'
7447 @echo usrlibdir='${USRLIBDIR}'
7449 @echo libdir='${LIBDIR}'
7451 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7452 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7453 for ac_var
in incroot usrlibdir libdir
; do
7454 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7456 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7457 for ac_extension
in a so sl dylib la dll
; do
7458 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7459 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7460 ac_im_usrlibdir
=$ac_im_libdir; break
7463 # Screen out bogus values from the imake configuration. They are
7464 # bogus both because they are the default anyway, and because
7465 # using them would break gcc on systems where it needs fixed includes.
7466 case $ac_im_incroot in
7467 /usr
/include
) ac_x_includes
= ;;
7468 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7470 case $ac_im_usrlibdir in
7471 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7472 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7476 rm -f -r conftest.dir
7479 # Standard set of common directories for X headers.
7480 # Check X11 before X11Rn because it is often a symlink to the current release.
7494 /usr/local/X11/include
7495 /usr/local/X11R7/include
7496 /usr/local/X11R6/include
7497 /usr/local/X11R5/include
7498 /usr/local/X11R4/include
7500 /usr/local/include/X11
7501 /usr/local/include/X11R7
7502 /usr/local/include/X11R6
7503 /usr/local/include/X11R5
7504 /usr/local/include/X11R4
7508 /usr/XFree86/include/X11
7512 /usr/unsupported/include
7514 /usr/local/x11r5/include
7515 /usr/lpp/Xamples/include
7517 /usr/openwin/include
7518 /usr/openwin/share/include'
7520 if test "$ac_x_includes" = no
; then
7521 # Guess where to find include files, by looking for Xlib.h.
7522 # First, try using that file with no special directory specified.
7523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7524 /* end confdefs.h. */
7525 #include <X11/Xlib.h>
7527 if ac_fn_c_try_cpp
"$LINENO"; then :
7528 # We can compile using X headers with no special include directory.
7531 for ac_dir
in $ac_x_header_dirs; do
7532 if test -r "$ac_dir/X11/Xlib.h"; then
7533 ac_x_includes
=$ac_dir
7538 rm -f conftest.err conftest.i conftest.
$ac_ext
7539 fi # $ac_x_includes = no
7541 if test "$ac_x_libraries" = no
; then
7542 # Check for the libraries.
7543 # See if we find them without any special options.
7544 # Don't add to $LIBS permanently.
7547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7548 /* end confdefs.h. */
7549 #include <X11/Xlib.h>
7558 if ac_fn_c_try_link
"$LINENO"; then :
7560 # We can link X programs with no special library path.
7564 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7566 # Don't even attempt the hair of trying to link an X program!
7567 for ac_extension
in a so sl dylib la dll
; do
7568 if test -r "$ac_dir/libX11.$ac_extension"; then
7569 ac_x_libraries
=$ac_dir
7575 rm -f core conftest.err conftest.
$ac_objext \
7576 conftest
$ac_exeext conftest.
$ac_ext
7577 fi # $ac_x_libraries = no
7579 case $ac_x_includes,$ac_x_libraries in #(
7581 # Didn't find X, or a directory has "'" in its name.
7582 ac_cv_have_x
="have_x=no";; #(
7584 # Record where we found X for the cache.
7585 ac_cv_have_x
="have_x=yes\
7586 ac_x_includes='$ac_x_includes'\
7587 ac_x_libraries='$ac_x_libraries'"
7593 eval "$ac_cv_have_x"
7596 if test "$have_x" != yes; then
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7598 $as_echo "$have_x" >&6; }
7601 # If each of the values was on the command line, it overrides each guess.
7602 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7603 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7604 # Update the cache value to reflect the command line values.
7605 ac_cv_have_x
="have_x=yes\
7606 ac_x_includes='$x_includes'\
7607 ac_x_libraries='$x_libraries'"
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7609 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7612 if test "$no_x" = yes; then
7613 # Not all programs may use this symbol, but it does not hurt to define it.
7615 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7617 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7619 if test -n "$x_includes"; then
7620 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7623 # It would also be nice to do this for all -L options, not just this one.
7624 if test -n "$x_libraries"; then
7625 X_LIBS
="$X_LIBS -L$x_libraries"
7626 # For Solaris; some versions of Sun CC require a space after -R and
7627 # others require no space. Words are not sufficient . . . .
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7629 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7630 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7631 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7632 ac_c_werror_flag
=yes
7633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7634 /* end confdefs.h. */
7644 if ac_fn_c_try_link
"$LINENO"; then :
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7646 $as_echo "no" >&6; }
7647 X_LIBS
="$X_LIBS -R$x_libraries"
7649 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7651 /* end confdefs.h. */
7661 if ac_fn_c_try_link
"$LINENO"; then :
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7663 $as_echo "yes" >&6; }
7664 X_LIBS
="$X_LIBS -R $x_libraries"
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7667 $as_echo "neither works" >&6; }
7669 rm -f core conftest.err conftest.
$ac_objext \
7670 conftest
$ac_exeext conftest.
$ac_ext
7672 rm -f core conftest.err conftest.
$ac_objext \
7673 conftest
$ac_exeext conftest.
$ac_ext
7674 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7678 # Check for system-dependent libraries X programs must link with.
7679 # Do this before checking for the system-independent R6 libraries
7680 # (-lICE), since we may need -lsocket or whatever for X linking.
7682 if test "$ISC" = yes; then
7683 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7685 # Martyn Johnson says this is needed for Ultrix, if the X
7686 # libraries were built with DECnet support. And Karl Berry says
7687 # the Alpha needs dnet_stub (dnet does not exist).
7688 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7690 /* end confdefs.h. */
7692 /* Override any GCC internal prototype to avoid an error.
7693 Use char because int might match the return type of a GCC
7694 builtin and then its argument prototype would still apply. */
7698 char XOpenDisplay ();
7702 return XOpenDisplay ();
7707 if ac_fn_c_try_link
"$LINENO"; then :
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7711 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7712 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
7713 $as_echo_n "(cached) " >&6
7715 ac_check_lib_save_LIBS
=$LIBS
7717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7718 /* end confdefs.h. */
7720 /* Override any GCC internal prototype to avoid an error.
7721 Use char because int might match the return type of a GCC
7722 builtin and then its argument prototype would still apply. */
7730 return dnet_ntoa ();
7735 if ac_fn_c_try_link
"$LINENO"; then :
7736 ac_cv_lib_dnet_dnet_ntoa
=yes
7738 ac_cv_lib_dnet_dnet_ntoa
=no
7740 rm -f core conftest.err conftest.
$ac_objext \
7741 conftest
$ac_exeext conftest.
$ac_ext
7742 LIBS
=$ac_check_lib_save_LIBS
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7745 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7746 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
7747 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7750 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7752 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7753 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
7754 $as_echo_n "(cached) " >&6
7756 ac_check_lib_save_LIBS
=$LIBS
7757 LIBS
="-ldnet_stub $LIBS"
7758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7759 /* end confdefs.h. */
7761 /* Override any GCC internal prototype to avoid an error.
7762 Use char because int might match the return type of a GCC
7763 builtin and then its argument prototype would still apply. */
7771 return dnet_ntoa ();
7776 if ac_fn_c_try_link
"$LINENO"; then :
7777 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7779 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7781 rm -f core conftest.err conftest.
$ac_objext \
7782 conftest
$ac_exeext conftest.
$ac_ext
7783 LIBS
=$ac_check_lib_save_LIBS
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7786 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7787 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
7788 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7793 rm -f core conftest.err conftest.
$ac_objext \
7794 conftest
$ac_exeext conftest.
$ac_ext
7795 LIBS
="$ac_xsave_LIBS"
7797 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7798 # to get the SysV transport functions.
7799 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7801 # The nsl library prevents programs from opening the X display
7802 # on Irix 5.2, according to T.E. Dickey.
7803 # The functions gethostbyname, getservbyname, and inet_addr are
7804 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7805 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7806 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
7810 if test $ac_cv_func_gethostbyname = no
; then
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7812 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7813 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
7814 $as_echo_n "(cached) " >&6
7816 ac_check_lib_save_LIBS
=$LIBS
7818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7819 /* end confdefs.h. */
7821 /* Override any GCC internal prototype to avoid an error.
7822 Use char because int might match the return type of a GCC
7823 builtin and then its argument prototype would still apply. */
7827 char gethostbyname ();
7831 return gethostbyname ();
7836 if ac_fn_c_try_link
"$LINENO"; then :
7837 ac_cv_lib_nsl_gethostbyname
=yes
7839 ac_cv_lib_nsl_gethostbyname
=no
7841 rm -f core conftest.err conftest.
$ac_objext \
7842 conftest
$ac_exeext conftest.
$ac_ext
7843 LIBS
=$ac_check_lib_save_LIBS
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7846 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7847 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
7848 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7851 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7853 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7854 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
7855 $as_echo_n "(cached) " >&6
7857 ac_check_lib_save_LIBS
=$LIBS
7859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7860 /* end confdefs.h. */
7862 /* Override any GCC internal prototype to avoid an error.
7863 Use char because int might match the return type of a GCC
7864 builtin and then its argument prototype would still apply. */
7868 char gethostbyname ();
7872 return gethostbyname ();
7877 if ac_fn_c_try_link
"$LINENO"; then :
7878 ac_cv_lib_bsd_gethostbyname
=yes
7880 ac_cv_lib_bsd_gethostbyname
=no
7882 rm -f core conftest.err conftest.
$ac_objext \
7883 conftest
$ac_exeext conftest.
$ac_ext
7884 LIBS
=$ac_check_lib_save_LIBS
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7887 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7888 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
7889 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7895 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7896 # socket/setsockopt and other routines are undefined under SCO ODT
7897 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7898 # on later versions), says Simon Leinen: it contains gethostby*
7899 # variants that don't use the name server (or something). -lsocket
7900 # must be given before -lnsl if both are needed. We assume that
7901 # if connect needs -lnsl, so does gethostbyname.
7902 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
7903 if test "x$ac_cv_func_connect" = xyes
; then :
7907 if test $ac_cv_func_connect = no
; then
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7909 $as_echo_n "checking for connect in -lsocket... " >&6; }
7910 if ${ac_cv_lib_socket_connect+:} false
; then :
7911 $as_echo_n "(cached) " >&6
7913 ac_check_lib_save_LIBS
=$LIBS
7914 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h. */
7918 /* Override any GCC internal prototype to avoid an error.
7919 Use char because int might match the return type of a GCC
7920 builtin and then its argument prototype would still apply. */
7933 if ac_fn_c_try_link
"$LINENO"; then :
7934 ac_cv_lib_socket_connect
=yes
7936 ac_cv_lib_socket_connect
=no
7938 rm -f core conftest.err conftest.
$ac_objext \
7939 conftest
$ac_exeext conftest.
$ac_ext
7940 LIBS
=$ac_check_lib_save_LIBS
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7943 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7944 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
7945 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7950 # Guillermo Gomez says -lposix is necessary on A/UX.
7951 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
7952 if test "x$ac_cv_func_remove" = xyes
; then :
7956 if test $ac_cv_func_remove = no
; then
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7958 $as_echo_n "checking for remove in -lposix... " >&6; }
7959 if ${ac_cv_lib_posix_remove+:} false
; then :
7960 $as_echo_n "(cached) " >&6
7962 ac_check_lib_save_LIBS
=$LIBS
7963 LIBS
="-lposix $LIBS"
7964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7965 /* end confdefs.h. */
7967 /* Override any GCC internal prototype to avoid an error.
7968 Use char because int might match the return type of a GCC
7969 builtin and then its argument prototype would still apply. */
7982 if ac_fn_c_try_link
"$LINENO"; then :
7983 ac_cv_lib_posix_remove
=yes
7985 ac_cv_lib_posix_remove
=no
7987 rm -f core conftest.err conftest.
$ac_objext \
7988 conftest
$ac_exeext conftest.
$ac_ext
7989 LIBS
=$ac_check_lib_save_LIBS
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7992 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7993 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
7994 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7999 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8000 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
8001 if test "x$ac_cv_func_shmat" = xyes
; then :
8005 if test $ac_cv_func_shmat = no
; then
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8007 $as_echo_n "checking for shmat in -lipc... " >&6; }
8008 if ${ac_cv_lib_ipc_shmat+:} false
; then :
8009 $as_echo_n "(cached) " >&6
8011 ac_check_lib_save_LIBS
=$LIBS
8013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8014 /* end confdefs.h. */
8016 /* Override any GCC internal prototype to avoid an error.
8017 Use char because int might match the return type of a GCC
8018 builtin and then its argument prototype would still apply. */
8031 if ac_fn_c_try_link
"$LINENO"; then :
8032 ac_cv_lib_ipc_shmat
=yes
8034 ac_cv_lib_ipc_shmat
=no
8036 rm -f core conftest.err conftest.
$ac_objext \
8037 conftest
$ac_exeext conftest.
$ac_ext
8038 LIBS
=$ac_check_lib_save_LIBS
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8041 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8042 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
8043 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8049 # Check for libraries that X11R6 Xt/Xaw programs need.
8050 ac_save_LDFLAGS
=$LDFLAGS
8051 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8052 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8053 # check for ICE first), but we must link in the order -lSM -lICE or
8054 # we get undefined symbols. So assume we have SM if we have ICE.
8055 # These have to be linked with before -lX11, unlike the other
8056 # libraries we check for below, so use a different variable.
8057 # John Interrante, Karl Berry
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8059 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8060 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
8061 $as_echo_n "(cached) " >&6
8063 ac_check_lib_save_LIBS
=$LIBS
8064 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8066 /* end confdefs.h. */
8068 /* Override any GCC internal prototype to avoid an error.
8069 Use char because int might match the return type of a GCC
8070 builtin and then its argument prototype would still apply. */
8074 char IceConnectionNumber ();
8078 return IceConnectionNumber ();
8083 if ac_fn_c_try_link
"$LINENO"; then :
8084 ac_cv_lib_ICE_IceConnectionNumber
=yes
8086 ac_cv_lib_ICE_IceConnectionNumber
=no
8088 rm -f core conftest.err conftest.
$ac_objext \
8089 conftest
$ac_exeext conftest.
$ac_ext
8090 LIBS
=$ac_check_lib_save_LIBS
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8093 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8094 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
8095 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8098 LDFLAGS
=$ac_save_LDFLAGS
8103 if test "$have_x" = "yes"
8106 ac_save_CPPFLAGS
="$CPPFLAGS"
8107 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8110 $as_echo_n "checking for -lX11... " >&6; }
8111 if ${ac_cv_lib_soname_X11+:} false
; then :
8112 $as_echo_n "(cached) " >&6
8114 ac_check_soname_save_LIBS
=$LIBS
8115 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8117 /* end confdefs.h. */
8119 /* Override any GCC internal prototype to avoid an error.
8120 Use char because int might match the return type of a GCC
8121 builtin and then its argument prototype would still apply. */
8125 char XCreateWindow ();
8129 return XCreateWindow ();
8134 if ac_fn_c_try_link
"$LINENO"; then :
8136 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8137 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'` ;;
8138 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8139 if test "x$ac_cv_lib_soname_X11" = x
; then :
8140 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8144 rm -f core conftest.err conftest.
$ac_objext \
8145 conftest
$ac_exeext conftest.
$ac_ext
8146 LIBS
=$ac_check_soname_save_LIBS
8148 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8150 $as_echo "not found" >&6; }
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8154 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8156 cat >>confdefs.h
<<_ACEOF
8157 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8163 $as_echo_n "checking for -lXext... " >&6; }
8164 if ${ac_cv_lib_soname_Xext+:} false
; then :
8165 $as_echo_n "(cached) " >&6
8167 ac_check_soname_save_LIBS
=$LIBS
8168 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8170 /* end confdefs.h. */
8172 /* Override any GCC internal prototype to avoid an error.
8173 Use char because int might match the return type of a GCC
8174 builtin and then its argument prototype would still apply. */
8178 char XextCreateExtension ();
8182 return XextCreateExtension ();
8187 if ac_fn_c_try_link
"$LINENO"; then :
8189 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8190 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'` ;;
8191 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8192 if test "x$ac_cv_lib_soname_Xext" = x
; then :
8193 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8197 rm -f core conftest.err conftest.
$ac_objext \
8198 conftest
$ac_exeext conftest.
$ac_ext
8199 LIBS
=$ac_check_soname_save_LIBS
8201 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8203 $as_echo "not found" >&6; }
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8207 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8209 cat >>confdefs.h
<<_ACEOF
8210 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8216 for ac_header
in X11
/Xlib.h \
8219 X11
/Xcursor
/Xcursor.h \
8220 X11
/extensions
/shape.h \
8221 X11
/extensions
/XInput.h \
8222 X11
/extensions
/XInput2.h \
8223 X11
/extensions
/XShm.h \
8224 X11
/extensions
/Xcomposite.h \
8225 X11
/extensions
/Xinerama.h \
8226 X11
/extensions
/Xrandr.h \
8227 X11
/extensions
/Xrender.h \
8228 X11
/extensions
/xf86vmode.h \
8229 X11
/extensions
/xf86vmproto.h
8231 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8232 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8233 # include <X11/Xlib.h>
8235 #ifdef HAVE_X11_XUTIL_H
8236 # include <X11/Xutil.h>
8239 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8240 cat >>confdefs.h
<<_ACEOF
8241 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8249 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8252 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8253 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
8254 $as_echo_n "(cached) " >&6
8256 ac_check_lib_save_LIBS
=$LIBS
8257 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8259 /* end confdefs.h. */
8261 /* Override any GCC internal prototype to avoid an error.
8262 Use char because int might match the return type of a GCC
8263 builtin and then its argument prototype would still apply. */
8267 char XkbQueryExtension ();
8271 return XkbQueryExtension ();
8276 if ac_fn_c_try_link
"$LINENO"; then :
8277 ac_cv_lib_X11_XkbQueryExtension
=yes
8279 ac_cv_lib_X11_XkbQueryExtension
=no
8281 rm -f core conftest.err conftest.
$ac_objext \
8282 conftest
$ac_exeext conftest.
$ac_ext
8283 LIBS
=$ac_check_lib_save_LIBS
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8286 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8287 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
8289 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8295 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8298 $as_echo_n "checking for -lXcursor... " >&6; }
8299 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
8300 $as_echo_n "(cached) " >&6
8302 ac_check_soname_save_LIBS
=$LIBS
8303 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8305 /* end confdefs.h. */
8307 /* Override any GCC internal prototype to avoid an error.
8308 Use char because int might match the return type of a GCC
8309 builtin and then its argument prototype would still apply. */
8313 char XcursorImageLoadCursor ();
8317 return XcursorImageLoadCursor ();
8322 if ac_fn_c_try_link
"$LINENO"; then :
8324 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8325 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'` ;;
8326 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8327 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
8328 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8332 rm -f core conftest.err conftest.
$ac_objext \
8333 conftest
$ac_exeext conftest.
$ac_ext
8334 LIBS
=$ac_check_soname_save_LIBS
8336 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8338 $as_echo "not found" >&6; }
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8342 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8344 cat >>confdefs.h
<<_ACEOF
8345 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8351 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8352 case "x$with_xcursor" in
8353 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8355 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8356 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8360 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8363 $as_echo_n "checking for -lXi... " >&6; }
8364 if ${ac_cv_lib_soname_Xi+:} false
; then :
8365 $as_echo_n "(cached) " >&6
8367 ac_check_soname_save_LIBS
=$LIBS
8368 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8370 /* end confdefs.h. */
8372 /* Override any GCC internal prototype to avoid an error.
8373 Use char because int might match the return type of a GCC
8374 builtin and then its argument prototype would still apply. */
8378 char XOpenDevice ();
8382 return XOpenDevice ();
8387 if ac_fn_c_try_link
"$LINENO"; then :
8389 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8390 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'` ;;
8391 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8392 if test "x$ac_cv_lib_soname_Xi" = x
; then :
8393 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8397 rm -f core conftest.err conftest.
$ac_objext \
8398 conftest
$ac_exeext conftest.
$ac_ext
8399 LIBS
=$ac_check_soname_save_LIBS
8401 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8403 $as_echo "not found" >&6; }
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8407 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8409 cat >>confdefs.h
<<_ACEOF
8410 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8416 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8417 case "x$with_xinput" in
8418 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8420 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8421 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8425 if test "x$ac_cv_lib_soname_Xi" != x
8427 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8428 case "x$with_xinput2" in
8429 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8431 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
8432 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8437 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8440 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8441 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
8442 $as_echo_n "(cached) " >&6
8444 ac_check_lib_save_LIBS
=$LIBS
8445 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8447 /* end confdefs.h. */
8449 /* Override any GCC internal prototype to avoid an error.
8450 Use char because int might match the return type of a GCC
8451 builtin and then its argument prototype would still apply. */
8455 char XShmQueryExtension ();
8459 return XShmQueryExtension ();
8464 if ac_fn_c_try_link
"$LINENO"; then :
8465 ac_cv_lib_Xext_XShmQueryExtension
=yes
8467 ac_cv_lib_Xext_XShmQueryExtension
=no
8469 rm -f core conftest.err conftest.
$ac_objext \
8470 conftest
$ac_exeext conftest.
$ac_ext
8471 LIBS
=$ac_check_lib_save_LIBS
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8474 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8475 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
8477 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8482 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8483 case "x$with_xshm" in
8484 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8486 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8487 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8491 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8494 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8495 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
8496 $as_echo_n "(cached) " >&6
8498 ac_check_lib_save_LIBS
=$LIBS
8499 LIBS
="-lXext $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 XShapeQueryExtension ();
8513 return XShapeQueryExtension ();
8518 if ac_fn_c_try_link
"$LINENO"; then :
8519 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8521 ac_cv_lib_Xext_XShapeQueryExtension
=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_Xext_XShapeQueryExtension" >&5
8528 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8529 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
8531 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8536 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8537 case "x$with_xshape" in
8538 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8540 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8541 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8545 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8548 $as_echo_n "checking for -lXxf86vm... " >&6; }
8549 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
8550 $as_echo_n "(cached) " >&6
8552 ac_check_soname_save_LIBS
=$LIBS
8553 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8555 /* end confdefs.h. */
8557 /* Override any GCC internal prototype to avoid an error.
8558 Use char because int might match the return type of a GCC
8559 builtin and then its argument prototype would still apply. */
8563 char XF86VidModeQueryExtension ();
8567 return XF86VidModeQueryExtension ();
8572 if ac_fn_c_try_link
"$LINENO"; then :
8574 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8575 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'` ;;
8576 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8577 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
8578 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8582 rm -f core conftest.err conftest.
$ac_objext \
8583 conftest
$ac_exeext conftest.
$ac_ext
8584 LIBS
=$ac_check_soname_save_LIBS
8586 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8588 $as_echo "not found" >&6; }
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8592 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8594 cat >>confdefs.h
<<_ACEOF
8595 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8601 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8602 case "x$with_xxf86vm" in
8603 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8605 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8606 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8610 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"
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8613 $as_echo_n "checking for -lXrender... " >&6; }
8614 if ${ac_cv_lib_soname_Xrender+:} false
; then :
8615 $as_echo_n "(cached) " >&6
8617 ac_check_soname_save_LIBS
=$LIBS
8618 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8620 /* end confdefs.h. */
8622 /* Override any GCC internal prototype to avoid an error.
8623 Use char because int might match the return type of a GCC
8624 builtin and then its argument prototype would still apply. */
8628 char XRenderQueryExtension ();
8632 return XRenderQueryExtension ();
8637 if ac_fn_c_try_link
"$LINENO"; then :
8639 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8640 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'` ;;
8641 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8642 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
8643 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8647 rm -f core conftest.err conftest.
$ac_objext \
8648 conftest
$ac_exeext conftest.
$ac_ext
8649 LIBS
=$ac_check_soname_save_LIBS
8651 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8653 $as_echo "not found" >&6; }
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8657 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8659 cat >>confdefs.h
<<_ACEOF
8660 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8664 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8665 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
8666 $as_echo_n "(cached) " >&6
8668 ac_check_lib_save_LIBS
=$LIBS
8669 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8671 /* end confdefs.h. */
8673 /* Override any GCC internal prototype to avoid an error.
8674 Use char because int might match the return type of a GCC
8675 builtin and then its argument prototype would still apply. */
8679 char XRenderSetPictureTransform ();
8683 return XRenderSetPictureTransform ();
8688 if ac_fn_c_try_link
"$LINENO"; then :
8689 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8691 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8693 rm -f core conftest.err conftest.
$ac_objext \
8694 conftest
$ac_exeext conftest.
$ac_ext
8695 LIBS
=$ac_check_lib_save_LIBS
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8698 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8699 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
8701 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8706 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8707 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
8708 $as_echo_n "(cached) " >&6
8710 ac_check_lib_save_LIBS
=$LIBS
8711 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8713 /* end confdefs.h. */
8715 /* Override any GCC internal prototype to avoid an error.
8716 Use char because int might match the return type of a GCC
8717 builtin and then its argument prototype would still apply. */
8721 char XRenderCreateLinearGradient ();
8725 return XRenderCreateLinearGradient ();
8730 if ac_fn_c_try_link
"$LINENO"; then :
8731 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
8733 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
8735 rm -f core conftest.err conftest.
$ac_objext \
8736 conftest
$ac_exeext conftest.
$ac_ext
8737 LIBS
=$ac_check_lib_save_LIBS
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8740 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8741 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
8743 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8750 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8751 case "x$with_xrender" in
8752 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8754 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8755 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8759 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8762 /* end confdefs.h. */
8763 #include <X11/Xlib.h>
8764 #include <X11/extensions/Xrandr.h>
8768 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8773 if ac_fn_c_try_compile
"$LINENO"; then :
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8775 $as_echo_n "checking for -lXrandr... " >&6; }
8776 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
8777 $as_echo_n "(cached) " >&6
8779 ac_check_soname_save_LIBS
=$LIBS
8780 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8782 /* end confdefs.h. */
8784 /* Override any GCC internal prototype to avoid an error.
8785 Use char because int might match the return type of a GCC
8786 builtin and then its argument prototype would still apply. */
8790 char XRRQueryExtension ();
8794 return XRRQueryExtension ();
8799 if ac_fn_c_try_link
"$LINENO"; then :
8801 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8802 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'` ;;
8803 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8804 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
8805 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8809 rm -f core conftest.err conftest.
$ac_objext \
8810 conftest
$ac_exeext conftest.
$ac_ext
8811 LIBS
=$ac_check_soname_save_LIBS
8813 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8815 $as_echo "not found" >&6; }
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8819 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8821 cat >>confdefs.h
<<_ACEOF
8822 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8826 /* end confdefs.h. */
8827 #include <X11/extensions/Xrandr.h>
8831 static typeof(XRRGetScreenResources) *f; if (f) return 0;
8836 if ac_fn_c_try_compile
"$LINENO"; then :
8838 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
8841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8846 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8847 case "x$with_xrandr" in
8848 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8850 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8851 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8855 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8858 /* end confdefs.h. */
8859 #include <X11/Xlib.h>
8860 #include <X11/extensions/Xinerama.h>
8864 static typeof(XineramaQueryScreens) * func; if (func) return 0;
8869 if ac_fn_c_try_compile
"$LINENO"; then :
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8871 $as_echo_n "checking for -lXinerama... " >&6; }
8872 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
8873 $as_echo_n "(cached) " >&6
8875 ac_check_soname_save_LIBS
=$LIBS
8876 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8878 /* end confdefs.h. */
8880 /* Override any GCC internal prototype to avoid an error.
8881 Use char because int might match the return type of a GCC
8882 builtin and then its argument prototype would still apply. */
8886 char XineramaQueryScreens ();
8890 return XineramaQueryScreens ();
8895 if ac_fn_c_try_link
"$LINENO"; then :
8897 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8898 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'` ;;
8899 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8900 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
8901 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8905 rm -f core conftest.err conftest.
$ac_objext \
8906 conftest
$ac_exeext conftest.
$ac_ext
8907 LIBS
=$ac_check_soname_save_LIBS
8909 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8911 $as_echo "not found" >&6; }
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8915 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8917 cat >>confdefs.h
<<_ACEOF
8918 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8926 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8927 case "x$with_xinerama" in
8928 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8930 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8931 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8935 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8938 $as_echo_n "checking for -lXcomposite... " >&6; }
8939 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
8940 $as_echo_n "(cached) " >&6
8942 ac_check_soname_save_LIBS
=$LIBS
8943 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8945 /* end confdefs.h. */
8947 /* Override any GCC internal prototype to avoid an error.
8948 Use char because int might match the return type of a GCC
8949 builtin and then its argument prototype would still apply. */
8953 char XCompositeRedirectWindow ();
8957 return XCompositeRedirectWindow ();
8962 if ac_fn_c_try_link
"$LINENO"; then :
8964 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8965 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'` ;;
8966 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8967 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
8968 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8972 rm -f core conftest.err conftest.
$ac_objext \
8973 conftest
$ac_exeext conftest.
$ac_ext
8974 LIBS
=$ac_check_soname_save_LIBS
8976 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8978 $as_echo "not found" >&6; }
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8982 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8984 cat >>confdefs.h
<<_ACEOF
8985 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8991 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8992 case "x$with_xcomposite" in
8993 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8995 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8996 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9000 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9001 #include <X11/Xlib.h>
9004 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
9006 cat >>confdefs.h
<<_ACEOF
9007 #define HAVE_XICCALLBACK_CALLBACK 1
9012 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9013 #include <X11/Xlib.h>
9016 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
9018 cat >>confdefs.h
<<_ACEOF
9019 #define HAVE_XEVENT_XCOOKIE 1
9028 if test "x$with_opengl" != "xno"
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9031 $as_echo_n "checking for -lGL... " >&6; }
9032 if ${ac_cv_lib_soname_GL+:} false
; then :
9033 $as_echo_n "(cached) " >&6
9035 ac_check_soname_save_LIBS
=$LIBS
9036 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9038 /* end confdefs.h. */
9040 /* Override any GCC internal prototype to avoid an error.
9041 Use char because int might match the return type of a GCC
9042 builtin and then its argument prototype would still apply. */
9046 char glXCreateContext ();
9050 return glXCreateContext ();
9055 if ac_fn_c_try_link
"$LINENO"; then :
9057 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9058 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'` ;;
9059 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9060 if test "x$ac_cv_lib_soname_GL" = x
; then :
9061 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9065 rm -f core conftest.err conftest.
$ac_objext \
9066 conftest
$ac_exeext conftest.
$ac_ext
9067 LIBS
=$ac_check_soname_save_LIBS
9069 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9071 $as_echo "not found" >&6; }
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9073 $as_echo_n "checking for -lGL... " >&6; }
9074 if ${ac_cv_lib_soname_GL+:} false
; then :
9075 $as_echo_n "(cached) " >&6
9077 ac_check_soname_save_LIBS
=$LIBS
9078 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"
9079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9080 /* end confdefs.h. */
9082 /* Override any GCC internal prototype to avoid an error.
9083 Use char because int might match the return type of a GCC
9084 builtin and then its argument prototype would still apply. */
9088 char glXCreateContext ();
9092 return glXCreateContext ();
9097 if ac_fn_c_try_link
"$LINENO"; then :
9099 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9100 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'` ;;
9101 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9102 if test "x$ac_cv_lib_soname_GL" = x
; then :
9103 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9107 rm -f core conftest.err conftest.
$ac_objext \
9108 conftest
$ac_exeext conftest.
$ac_ext
9109 LIBS
=$ac_check_soname_save_LIBS
9111 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9113 $as_echo "not found" >&6; }
9114 if test -f /usr
/X11R
6/lib
/libGL.a
9116 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
9117 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9119 opengl_msg
="No OpenGL library found on this system."
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9123 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9125 cat >>confdefs.h
<<_ACEOF
9126 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9129 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"
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9133 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9135 cat >>confdefs.h
<<_ACEOF
9136 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9141 if test "x$with_glu" != "xno"
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9144 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9145 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9146 $as_echo_n "(cached) " >&6
9148 ac_check_lib_save_LIBS
=$LIBS
9149 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9151 /* end confdefs.h. */
9153 /* Override any GCC internal prototype to avoid an error.
9154 Use char because int might match the return type of a GCC
9155 builtin and then its argument prototype would still apply. */
9163 return gluLookAt ();
9168 if ac_fn_c_try_link
"$LINENO"; then :
9169 ac_cv_lib_GLU_gluLookAt
=yes
9171 ac_cv_lib_GLU_gluLookAt
=no
9173 rm -f core conftest.err conftest.
$ac_objext \
9174 conftest
$ac_exeext conftest.
$ac_ext
9175 LIBS
=$ac_check_lib_save_LIBS
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9178 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9179 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
9183 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
9184 case "x$with_glu" in
9185 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9187 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9188 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9193 if test "x$with_osmesa" != "xno"
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9196 $as_echo_n "checking for -lOSMesa... " >&6; }
9197 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9198 $as_echo_n "(cached) " >&6
9200 ac_check_soname_save_LIBS
=$LIBS
9201 LIBS
="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9203 /* end confdefs.h. */
9205 /* Override any GCC internal prototype to avoid an error.
9206 Use char because int might match the return type of a GCC
9207 builtin and then its argument prototype would still apply. */
9220 if ac_fn_c_try_link
"$LINENO"; then :
9222 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9223 dylib
) ac_cv_lib_soname_OSMesa
=`otool -L conftest$ac_exeext | grep "libOSMesa\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libOSMesa\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9224 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9225 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
9226 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9230 rm -f core conftest.err conftest.
$ac_objext \
9231 conftest
$ac_exeext conftest.
$ac_ext
9232 LIBS
=$ac_check_soname_save_LIBS
9234 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9236 $as_echo "not found" >&6; }
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9240 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9242 cat >>confdefs.h
<<_ACEOF
9243 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9248 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9249 case "x$with_osmesa" in
9250 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9252 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9253 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9258 if test -n "$opengl_msg"; then :
9259 case "x$with_opengl" in
9260 x
) as_fn_append wine_warnings
"|$opengl_msg
9261 OpenGL and Direct3D won't be supported." ;;
9263 *) as_fn_error $?
"$opengl_msg
9264 OpenGL and Direct3D won't be supported.
9265 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9269 CPPFLAGS
="$ac_save_CPPFLAGS"
9274 enable_winex11_drv
=${enable_winex11_drv:-no}
9276 if test "x$XLIB" = "x"; then :
9279 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
9280 without X support, which probably isn't what you want. You will need
9281 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9282 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9286 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
9288 if test "$ac_cv_header_CL_cl_h" = "yes"
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9291 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9292 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
9293 $as_echo_n "(cached) " >&6
9295 ac_check_lib_save_LIBS
=$LIBS
9296 LIBS
="-lOpenCL $LIBS"
9297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9298 /* end confdefs.h. */
9300 /* Override any GCC internal prototype to avoid an error.
9301 Use char because int might match the return type of a GCC
9302 builtin and then its argument prototype would still apply. */
9306 char clGetPlatformInfo ();
9310 return clGetPlatformInfo ();
9315 if ac_fn_c_try_link
"$LINENO"; then :
9316 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9318 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9320 rm -f core conftest.err conftest.
$ac_objext \
9321 conftest
$ac_exeext conftest.
$ac_ext
9322 LIBS
=$ac_check_lib_save_LIBS
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9325 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9326 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
9327 LIBOPENCL
="-lOpenCL"
9332 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9333 case "x$with_opencl" in
9334 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9336 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9337 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9340 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9349 if test "x$with_xml" != "xno"
9351 ac_save_CPPFLAGS
="$CPPFLAGS"
9352 if test "$PKG_CONFIG" != "false"
9354 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9355 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9357 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
9358 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
9360 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
9361 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
9363 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9364 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9365 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9366 cat >>confdefs.h
<<_ACEOF
9367 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9374 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"
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9377 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9378 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
9379 $as_echo_n "(cached) " >&6
9381 ac_check_lib_save_LIBS
=$LIBS
9382 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9384 /* end confdefs.h. */
9386 /* Override any GCC internal prototype to avoid an error.
9387 Use char because int might match the return type of a GCC
9388 builtin and then its argument prototype would still apply. */
9392 char xmlParseMemory ();
9396 return xmlParseMemory ();
9401 if ac_fn_c_try_link
"$LINENO"; then :
9402 ac_cv_lib_xml2_xmlParseMemory
=yes
9404 ac_cv_lib_xml2_xmlParseMemory
=no
9406 rm -f core conftest.err conftest.
$ac_objext \
9407 conftest
$ac_exeext conftest.
$ac_ext
9408 LIBS
=$ac_check_lib_save_LIBS
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9411 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9412 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
9414 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9416 XML2LIBS
="$ac_xml_libs"
9417 XML2INCL
="$ac_xml_cflags"
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9421 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9422 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
9423 $as_echo_n "(cached) " >&6
9425 ac_check_lib_save_LIBS
=$LIBS
9426 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9428 /* end confdefs.h. */
9430 /* Override any GCC internal prototype to avoid an error.
9431 Use char because int might match the return type of a GCC
9432 builtin and then its argument prototype would still apply. */
9436 char xmlReadMemory ();
9440 return xmlReadMemory ();
9445 if ac_fn_c_try_link
"$LINENO"; then :
9446 ac_cv_lib_xml2_xmlReadMemory
=yes
9448 ac_cv_lib_xml2_xmlReadMemory
=no
9450 rm -f core conftest.err conftest.
$ac_objext \
9451 conftest
$ac_exeext conftest.
$ac_ext
9452 LIBS
=$ac_check_lib_save_LIBS
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9455 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9456 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
9458 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9463 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9464 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
9465 $as_echo_n "(cached) " >&6
9467 ac_check_lib_save_LIBS
=$LIBS
9468 LIBS
="-lxml2 $ac_xml_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 xmlNewDocPI ();
9482 return xmlNewDocPI ();
9487 if ac_fn_c_try_link
"$LINENO"; then :
9488 ac_cv_lib_xml2_xmlNewDocPI
=yes
9490 ac_cv_lib_xml2_xmlNewDocPI
=no
9492 rm -f core conftest.err conftest.
$ac_objext \
9493 conftest
$ac_exeext conftest.
$ac_ext
9494 LIBS
=$ac_check_lib_save_LIBS
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9497 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9498 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
9500 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9505 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9506 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
9507 $as_echo_n "(cached) " >&6
9509 ac_check_lib_save_LIBS
=$LIBS
9510 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9512 /* end confdefs.h. */
9514 /* Override any GCC internal prototype to avoid an error.
9515 Use char because int might match the return type of a GCC
9516 builtin and then its argument prototype would still apply. */
9520 char xmlSchemaSetParserStructuredErrors ();
9524 return xmlSchemaSetParserStructuredErrors ();
9529 if ac_fn_c_try_link
"$LINENO"; then :
9530 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9532 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9534 rm -f core conftest.err conftest.
$ac_objext \
9535 conftest
$ac_exeext conftest.
$ac_ext
9536 LIBS
=$ac_check_lib_save_LIBS
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9539 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9540 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
9542 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9547 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9548 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
9549 $as_echo_n "(cached) " >&6
9551 ac_check_lib_save_LIBS
=$LIBS
9552 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9554 /* end confdefs.h. */
9556 /* Override any GCC internal prototype to avoid an error.
9557 Use char because int might match the return type of a GCC
9558 builtin and then its argument prototype would still apply. */
9562 char xmlSchemaSetValidStructuredErrors ();
9566 return xmlSchemaSetValidStructuredErrors ();
9571 if ac_fn_c_try_link
"$LINENO"; then :
9572 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9574 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9576 rm -f core conftest.err conftest.
$ac_objext \
9577 conftest
$ac_exeext conftest.
$ac_ext
9578 LIBS
=$ac_check_lib_save_LIBS
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9581 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9582 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
9584 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9589 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9590 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
9591 $as_echo_n "(cached) " >&6
9593 ac_check_lib_save_LIBS
=$LIBS
9594 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9596 /* end confdefs.h. */
9598 /* Override any GCC internal prototype to avoid an error.
9599 Use char because int might match the return type of a GCC
9600 builtin and then its argument prototype would still apply. */
9604 char xmlFirstElementChild ();
9608 return xmlFirstElementChild ();
9613 if ac_fn_c_try_link
"$LINENO"; then :
9614 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9616 ac_cv_lib_xml2_xmlFirstElementChild
=no
9618 rm -f core conftest.err conftest.
$ac_objext \
9619 conftest
$ac_exeext conftest.
$ac_ext
9620 LIBS
=$ac_check_lib_save_LIBS
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9623 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9624 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
9626 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9630 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9632 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
9634 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9639 CPPFLAGS
="$ac_save_CPPFLAGS"
9641 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9642 case "x$with_xml" in
9643 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9645 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9646 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9650 if test "x$with_xslt" != "xno"
9652 if test "$PKG_CONFIG" != "false"
9654 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9655 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9657 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
9658 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
9660 ac_save_CPPFLAGS
="$CPPFLAGS"
9661 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9662 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9664 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9665 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9666 # include <libxslt/pattern.h>
9669 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9670 cat >>confdefs.h
<<_ACEOF
9671 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9678 CPPFLAGS
="$ac_save_CPPFLAGS"
9679 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9682 $as_echo_n "checking for -lxslt... " >&6; }
9683 if ${ac_cv_lib_soname_xslt+:} false
; then :
9684 $as_echo_n "(cached) " >&6
9686 ac_check_soname_save_LIBS
=$LIBS
9687 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9689 /* end confdefs.h. */
9691 /* Override any GCC internal prototype to avoid an error.
9692 Use char because int might match the return type of a GCC
9693 builtin and then its argument prototype would still apply. */
9697 char xsltCompilePattern ();
9701 return xsltCompilePattern ();
9706 if ac_fn_c_try_link
"$LINENO"; then :
9708 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9709 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'` ;;
9710 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9711 if test "x$ac_cv_lib_soname_xslt" = x
; then :
9712 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9716 rm -f core conftest.err conftest.
$ac_objext \
9717 conftest
$ac_exeext conftest.
$ac_ext
9718 LIBS
=$ac_check_soname_save_LIBS
9720 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9722 $as_echo "not found" >&6; }
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9726 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9728 cat >>confdefs.h
<<_ACEOF
9729 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9732 XSLTINCL
="$ac_xslt_cflags"
9736 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9737 case "x$with_xslt" in
9738 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9740 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
9741 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9745 if test "x$with_dbus" != "xno"
9747 ac_save_CPPFLAGS
="$CPPFLAGS"
9748 if test "$PKG_CONFIG" != "false"
9750 ac_dbus_libs
="`$PKG_CONFIG --libs dbus-1 2>/dev/null`"
9751 ac_dbus_cflags
="`$PKG_CONFIG --cflags dbus-1 2>/dev/null`"
9752 CPPFLAGS
="$CPPFLAGS $ac_dbus_cflags"
9754 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
9755 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
9757 $as_echo_n "checking for -ldbus-1... " >&6; }
9758 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
9759 $as_echo_n "(cached) " >&6
9761 ac_check_soname_save_LIBS
=$LIBS
9762 LIBS
="-ldbus-1 $ac_dbus_libs $LIBS"
9763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9764 /* end confdefs.h. */
9766 /* Override any GCC internal prototype to avoid an error.
9767 Use char because int might match the return type of a GCC
9768 builtin and then its argument prototype would still apply. */
9772 char dbus_connection_close ();
9776 return dbus_connection_close ();
9781 if ac_fn_c_try_link
"$LINENO"; then :
9783 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9784 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'` ;;
9785 *) ac_cv_lib_soname_dbus_1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libdbus-1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libdbus-1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9786 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
9787 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9791 rm -f core conftest.err conftest.
$ac_objext \
9792 conftest
$ac_exeext conftest.
$ac_ext
9793 LIBS
=$ac_check_soname_save_LIBS
9795 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9797 $as_echo "not found" >&6; }
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
9801 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
9803 cat >>confdefs.h
<<_ACEOF
9804 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
9807 DBUSINCL
="$ac_dbus_cflags"
9813 CPPFLAGS
="$ac_save_CPPFLAGS"
9815 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
9816 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9817 case "x$with_dbus" in
9818 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9820 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
9821 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
9825 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
9827 ac_save_CPPFLAGS
="$CPPFLAGS"
9828 if test "$PKG_CONFIG" != "false"
9830 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
9831 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9832 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
9834 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
9835 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9837 $as_echo_n "checking for -lhal... " >&6; }
9838 if ${ac_cv_lib_soname_hal+:} false
; then :
9839 $as_echo_n "(cached) " >&6
9841 ac_check_soname_save_LIBS
=$LIBS
9842 LIBS
="-lhal $ac_hal_libs $LIBS"
9843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9844 /* end confdefs.h. */
9846 /* Override any GCC internal prototype to avoid an error.
9847 Use char because int might match the return type of a GCC
9848 builtin and then its argument prototype would still apply. */
9852 char libhal_ctx_new ();
9856 return libhal_ctx_new ();
9861 if ac_fn_c_try_link
"$LINENO"; then :
9863 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9864 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'` ;;
9865 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9866 if test "x$ac_cv_lib_soname_hal" = x
; then :
9867 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9871 rm -f core conftest.err conftest.
$ac_objext \
9872 conftest
$ac_exeext conftest.
$ac_ext
9873 LIBS
=$ac_check_soname_save_LIBS
9875 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9877 $as_echo "not found" >&6; }
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9881 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9883 cat >>confdefs.h
<<_ACEOF
9884 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9887 HALINCL
="$ac_hal_cflags"
9893 CPPFLAGS
="$ac_save_CPPFLAGS"
9894 if test "x$ac_cv_lib_soname_hal" = "x" -a \
9895 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9896 case "x$with_hal" in
9897 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
9899 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
9900 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9905 if test "x$with_gnutls" != "xno"
9907 ac_save_CPPFLAGS
="$CPPFLAGS"
9908 if test "$PKG_CONFIG" != "false"
9910 ac_gnutls_libs
="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9911 ac_gnutls_cflags
="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9912 CPPFLAGS
="$CPPFLAGS $ac_gnutls_cflags"
9914 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9915 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
9916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9917 /* end confdefs.h. */
9918 #include <gnutls/gnutls.h>
9922 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
9927 if ac_fn_c_try_compile
"$LINENO"; then :
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9929 $as_echo_n "checking for -lgnutls... " >&6; }
9930 if ${ac_cv_lib_soname_gnutls+:} false
; then :
9931 $as_echo_n "(cached) " >&6
9933 ac_check_soname_save_LIBS
=$LIBS
9934 LIBS
="-lgnutls $ac_gnutls_libs $LIBS"
9935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9936 /* end confdefs.h. */
9938 /* Override any GCC internal prototype to avoid an error.
9939 Use char because int might match the return type of a GCC
9940 builtin and then its argument prototype would still apply. */
9944 char gnutls_global_init ();
9948 return gnutls_global_init ();
9953 if ac_fn_c_try_link
"$LINENO"; then :
9955 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9956 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'` ;;
9957 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9958 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
9959 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9963 rm -f core conftest.err conftest.
$ac_objext \
9964 conftest
$ac_exeext conftest.
$ac_ext
9965 LIBS
=$ac_check_soname_save_LIBS
9967 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9969 $as_echo "not found" >&6; }
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9973 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9975 cat >>confdefs.h
<<_ACEOF
9976 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9979 GNUTLSINCL
="$ac_gnutls_cflags"
9983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9987 CPPFLAGS
="$ac_save_CPPFLAGS"
9989 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9990 case "x$with_gnutls" in
9991 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9993 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
9994 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9999 if test "$ac_cv_header_ncurses_h" = "yes"
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10002 $as_echo_n "checking for -lncurses... " >&6; }
10003 if ${ac_cv_lib_soname_ncurses+:} false
; then :
10004 $as_echo_n "(cached) " >&6
10006 ac_check_soname_save_LIBS
=$LIBS
10007 LIBS
="-lncurses $LIBS"
10008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10011 /* Override any GCC internal prototype to avoid an error.
10012 Use char because int might match the return type of a GCC
10013 builtin and then its argument prototype would still apply. */
10026 if ac_fn_c_try_link
"$LINENO"; then :
10028 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10029 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'` ;;
10030 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10031 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
10032 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10036 rm -f core conftest.err conftest.
$ac_objext \
10037 conftest
$ac_exeext conftest.
$ac_ext
10038 LIBS
=$ac_check_soname_save_LIBS
10040 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10042 $as_echo "not found" >&6; }
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10046 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10048 cat >>confdefs.h
<<_ACEOF
10049 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10052 CURSESLIBS
="-lncurses"
10054 elif test "$ac_cv_header_curses_h" = "yes"
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10057 $as_echo_n "checking for -lcurses... " >&6; }
10058 if ${ac_cv_lib_soname_curses+:} false
; then :
10059 $as_echo_n "(cached) " >&6
10061 ac_check_soname_save_LIBS
=$LIBS
10062 LIBS
="-lcurses $LIBS"
10063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10064 /* end confdefs.h. */
10066 /* Override any GCC internal prototype to avoid an error.
10067 Use char because int might match the return type of a GCC
10068 builtin and then its argument prototype would still apply. */
10081 if ac_fn_c_try_link
"$LINENO"; then :
10083 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10084 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'` ;;
10085 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10086 if test "x$ac_cv_lib_soname_curses" = x
; then :
10087 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10091 rm -f core conftest.err conftest.
$ac_objext \
10092 conftest
$ac_exeext conftest.
$ac_ext
10093 LIBS
=$ac_check_soname_save_LIBS
10095 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10097 $as_echo "not found" >&6; }
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10101 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10103 cat >>confdefs.h
<<_ACEOF
10104 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10107 CURSESLIBS
="-lcurses"
10110 ac_save_LIBS
="$LIBS"
10111 LIBS
="$LIBS $CURSESLIBS"
10112 for ac_func
in mousemask
10114 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
10115 if test "x$ac_cv_func_mousemask" = xyes
; then :
10116 cat >>confdefs.h
<<_ACEOF
10117 #define HAVE_MOUSEMASK 1
10123 LIBS
="$ac_save_LIBS"
10124 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10125 case "x$with_curses" in
10126 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10128 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10129 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10133 if test "x$with_sane" != "xno"
10135 ac_save_CPPFLAGS
="$CPPFLAGS"
10136 # Extract the first word of "sane-config", so it can be a program name with args.
10137 set dummy sane-config
; ac_word
=$2
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10139 $as_echo_n "checking for $ac_word... " >&6; }
10140 if ${ac_cv_prog_sane_devel+:} false
; then :
10141 $as_echo_n "(cached) " >&6
10143 if test -n "$sane_devel"; then
10144 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
10146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10147 for as_dir
in $PATH
10150 test -z "$as_dir" && as_dir
=.
10151 for ac_exec_ext
in '' $ac_executable_extensions; do
10152 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10153 ac_cv_prog_sane_devel
="sane-config"
10154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10161 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
10164 sane_devel
=$ac_cv_prog_sane_devel
10165 if test -n "$sane_devel"; then
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
10167 $as_echo "$sane_devel" >&6; }
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10170 $as_echo "no" >&6; }
10174 if test "$sane_devel" != "no"
10176 ac_sane_incl
="`$sane_devel --cflags`"
10177 ac_sane_libs
="`$sane_devel --ldflags`"
10178 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
10180 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10181 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10183 $as_echo_n "checking for -lsane... " >&6; }
10184 if ${ac_cv_lib_soname_sane+:} false
; then :
10185 $as_echo_n "(cached) " >&6
10187 ac_check_soname_save_LIBS
=$LIBS
10188 LIBS
="-lsane $ac_sane_libs $LIBS"
10189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10192 /* Override any GCC internal prototype to avoid an error.
10193 Use char because int might match the return type of a GCC
10194 builtin and then its argument prototype would still apply. */
10202 return sane_init ();
10207 if ac_fn_c_try_link
"$LINENO"; then :
10209 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10210 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'` ;;
10211 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10212 if test "x$ac_cv_lib_soname_sane" = x
; then :
10213 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10217 rm -f core conftest.err conftest.
$ac_objext \
10218 conftest
$ac_exeext conftest.
$ac_ext
10219 LIBS
=$ac_check_soname_save_LIBS
10221 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10223 $as_echo "not found" >&6; }
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10227 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10229 cat >>confdefs.h
<<_ACEOF
10230 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10233 SANEINCL
="$ac_sane_incl"
10239 CPPFLAGS
="$ac_save_CPPFLAGS"
10241 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10242 case "x$with_sane" in
10243 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10245 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
10246 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10250 if test "x$with_v4l" != "xno"
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10253 $as_echo_n "checking for -lv4l1... " >&6; }
10254 if ${ac_cv_lib_soname_v4l1+:} false
; then :
10255 $as_echo_n "(cached) " >&6
10257 ac_check_soname_save_LIBS
=$LIBS
10258 LIBS
="-lv4l1 $LIBS"
10259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10260 /* end confdefs.h. */
10262 /* Override any GCC internal prototype to avoid an error.
10263 Use char because int might match the return type of a GCC
10264 builtin and then its argument prototype would still apply. */
10272 return v4l1_open ();
10277 if ac_fn_c_try_link
"$LINENO"; then :
10279 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10280 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'` ;;
10281 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10282 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
10283 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10287 rm -f core conftest.err conftest.
$ac_objext \
10288 conftest
$ac_exeext conftest.
$ac_ext
10289 LIBS
=$ac_check_soname_save_LIBS
10291 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10293 $as_echo "not found" >&6; }
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10297 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10299 cat >>confdefs.h
<<_ACEOF
10300 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10306 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10307 case "x$with_v4l" in
10308 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
10310 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
10311 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10315 if test "x$with_gphoto" != "xno"
10317 ac_save_CPPFLAGS
="$CPPFLAGS"
10318 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10319 set dummy gphoto2-config
; ac_word
=$2
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10321 $as_echo_n "checking for $ac_word... " >&6; }
10322 if ${ac_cv_prog_gphoto2_devel+:} false
; then :
10323 $as_echo_n "(cached) " >&6
10325 if test -n "$gphoto2_devel"; then
10326 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
10328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10329 for as_dir
in $PATH
10332 test -z "$as_dir" && as_dir
=.
10333 for ac_exec_ext
in '' $ac_executable_extensions; do
10334 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10335 ac_cv_prog_gphoto2_devel
="gphoto2-config"
10336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10343 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10346 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10347 if test -n "$gphoto2_devel"; then
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10349 $as_echo "$gphoto2_devel" >&6; }
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10352 $as_echo "no" >&6; }
10356 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10357 set dummy gphoto2-port-config
; ac_word
=$2
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10359 $as_echo_n "checking for $ac_word... " >&6; }
10360 if ${ac_cv_prog_gphoto2port_devel+:} false
; then :
10361 $as_echo_n "(cached) " >&6
10363 if test -n "$gphoto2port_devel"; then
10364 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
10366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10367 for as_dir
in $PATH
10370 test -z "$as_dir" && as_dir
=.
10371 for ac_exec_ext
in '' $ac_executable_extensions; do
10372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10373 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
10374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10381 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
10384 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
10385 if test -n "$gphoto2port_devel"; then
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10387 $as_echo "$gphoto2port_devel" >&6; }
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10390 $as_echo "no" >&6; }
10394 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10396 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10398 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10401 -L/usr
/lib|
-L/usr
/lib64
) ;;
10402 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
10405 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
10407 ac_gphoto2_libs
=${ac_gphoto2_libs:-"-lgphoto2"}
10408 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10409 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10411 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10412 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
10413 $as_echo_n "(cached) " >&6
10415 ac_check_lib_save_LIBS
=$LIBS
10416 LIBS
="-lgphoto2 $ac_gphoto2_libs $LIBS"
10417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10418 /* end confdefs.h. */
10420 /* Override any GCC internal prototype to avoid an error.
10421 Use char because int might match the return type of a GCC
10422 builtin and then its argument prototype would still apply. */
10426 char gp_camera_new ();
10430 return gp_camera_new ();
10435 if ac_fn_c_try_link
"$LINENO"; then :
10436 ac_cv_lib_gphoto2_gp_camera_new
=yes
10438 ac_cv_lib_gphoto2_gp_camera_new
=no
10440 rm -f core conftest.err conftest.
$ac_objext \
10441 conftest
$ac_exeext conftest.
$ac_ext
10442 LIBS
=$ac_check_lib_save_LIBS
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10445 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10446 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
10448 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10450 GPHOTO2LIBS
="$ac_gphoto2_libs"
10452 GPHOTO2INCL
="$ac_gphoto2_incl"
10459 CPPFLAGS
="$ac_save_CPPFLAGS"
10461 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10462 case "x$with_gphoto" in
10463 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10465 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10466 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10471 if test "$ac_cv_header_resolv_h" = "yes"
10473 ac_save_LIBS
="$LIBS"
10474 for lib
in '' -lresolv
10476 LIBS
="$lib $ac_save_LIBS"
10477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10478 /* end confdefs.h. */
10479 #ifdef HAVE_NETINET_IN_H
10480 #include <netinet/in.h>
10482 #include <resolv.h>
10486 res_query("foo",ns_c_in,0,0,0);
10491 if ac_fn_c_try_link
"$LINENO"; then :
10493 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10498 rm -f core conftest.err conftest.
$ac_objext \
10499 conftest
$ac_exeext conftest.
$ac_ext
10500 if test "${RESOLVLIBS+set}" = set; then
10504 LIBS
="$ac_save_LIBS"
10509 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10512 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10513 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false
; then :
10514 $as_echo_n "(cached) " >&6
10516 ac_check_lib_save_LIBS
=$LIBS
10517 LIBS
="-llcms $LIBS"
10518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h. */
10521 /* Override any GCC internal prototype to avoid an error.
10522 Use char because int might match the return type of a GCC
10523 builtin and then its argument prototype would still apply. */
10527 char cmsOpenProfileFromFile ();
10531 return cmsOpenProfileFromFile ();
10536 if ac_fn_c_try_link
"$LINENO"; then :
10537 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10539 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10541 rm -f core conftest.err conftest.
$ac_objext \
10542 conftest
$ac_exeext conftest.
$ac_ext
10543 LIBS
=$ac_check_lib_save_LIBS
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10546 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10547 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes
; then :
10549 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10555 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10556 case "x$with_cms" in
10557 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10559 *) as_fn_error $?
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10560 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10564 if test "x$with_freetype" != "xno"
10566 if test "$PKG_CONFIG" != "false"
10568 ac_freetype_incl
="`$PKG_CONFIG --cflags freetype2 2>/dev/null`"
10569 ac_freetype_libs
="`$PKG_CONFIG --libs freetype2 2>/dev/null`"
10571 for ac_prog
in freetype-config freetype2-config
10573 # Extract the first word of "$ac_prog", so it can be a program name with args.
10574 set dummy
$ac_prog; ac_word
=$2
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10576 $as_echo_n "checking for $ac_word... " >&6; }
10577 if ${ac_cv_prog_ft_devel+:} false
; then :
10578 $as_echo_n "(cached) " >&6
10580 if test -n "$ft_devel"; then
10581 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10584 for as_dir
in $PATH
10587 test -z "$as_dir" && as_dir
=.
10588 for ac_exec_ext
in '' $ac_executable_extensions; do
10589 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10590 ac_cv_prog_ft_devel
="$ac_prog"
10591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10600 ft_devel
=$ac_cv_prog_ft_devel
10601 if test -n "$ft_devel"; then
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10603 $as_echo "$ft_devel" >&6; }
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10606 $as_echo "no" >&6; }
10610 test -n "$ft_devel" && break
10612 test -n "$ft_devel" || ft_devel
="no"
10614 if test "$ft_devel" != "no"
10616 ac_freetype_incl
=`$ft_devel --cflags`
10617 ac_freetype_libs
=`$ft_devel --libs`
10620 ac_freetype_libs
=${ac_freetype_libs:-"-lfreetype"}
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10622 $as_echo_n "checking for -lfreetype... " >&6; }
10623 if ${ac_cv_lib_soname_freetype+:} false
; then :
10624 $as_echo_n "(cached) " >&6
10626 ac_check_soname_save_LIBS
=$LIBS
10627 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
10628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10629 /* end confdefs.h. */
10631 /* Override any GCC internal prototype to avoid an error.
10632 Use char because int might match the return type of a GCC
10633 builtin and then its argument prototype would still apply. */
10637 char FT_Init_FreeType ();
10641 return FT_Init_FreeType ();
10646 if ac_fn_c_try_link
"$LINENO"; then :
10648 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10649 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'` ;;
10650 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10651 if test "x$ac_cv_lib_soname_freetype" = x
; then :
10652 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10656 rm -f core conftest.err conftest.
$ac_objext \
10657 conftest
$ac_exeext conftest.
$ac_ext
10658 LIBS
=$ac_check_soname_save_LIBS
10660 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10662 $as_echo "not found" >&6; }
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10666 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10668 cat >>confdefs.h
<<_ACEOF
10669 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10674 if test "$ft_lib" = "yes"
10676 ac_save_CPPFLAGS
="$CPPFLAGS"
10677 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
10678 for ac_header
in ft2build.h \
10679 freetype
/freetype.h \
10680 freetype
/ftglyph.h \
10681 freetype
/fttypes.h \
10682 freetype
/tttables.h \
10683 freetype
/ftsnames.h \
10684 freetype
/ttnameid.h \
10685 freetype
/ftoutln.h \
10686 freetype
/ftwinfnt.h \
10687 freetype
/ftmodapi.h \
10688 freetype
/ftlcdfil.h
10690 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10691 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10692 # include <ft2build.h>
10695 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10696 cat >>confdefs.h
<<_ACEOF
10697 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10705 /* end confdefs.h. */
10706 #include <ft2build.h>
10707 #include <freetype/fttrigon.h>
10709 if ac_fn_c_try_cpp
"$LINENO"; then :
10711 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10713 wine_cv_fttrigon
=yes
10715 wine_cv_fttrigon
=no
10717 rm -f conftest.err conftest.i conftest.
$ac_ext
10718 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10720 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
10722 cat >>confdefs.h
<<_ACEOF
10723 #define HAVE_FT_TRUETYPEENGINETYPE 1
10729 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10732 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10734 FREETYPELIBS
="$ac_freetype_libs"
10736 FREETYPEINCL
="$ac_freetype_incl"
10741 if test "x$FREETYPELIBS" = "x"; then :
10742 case "x$with_freetype" in
10744 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10745 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10748 test "x$FREETYPELIBS" = "x" && enable_fonts
=${enable_fonts:-no}
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10751 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10752 if ${ac_cv_c_ppdev+:} false
; then :
10753 $as_echo_n "(cached) " >&6
10755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10756 /* end confdefs.h. */
10757 #ifdef HAVE_SYS_IOCTL_H
10758 # include <sys/ioctl.h>
10760 #include <linux/ppdev.h>
10764 ioctl (1,PPCLAIM,0)
10769 if ac_fn_c_try_compile
"$LINENO"; then :
10770 ac_cv_c_ppdev
="yes"
10774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10777 $as_echo "$ac_cv_c_ppdev" >&6; }
10778 if test "$ac_cv_c_ppdev" = "yes"
10781 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10785 ac_wine_check_funcs_save_LIBS
="$LIBS"
10786 LIBS
="$LIBS $LIBPTHREAD"
10788 pthread_attr_get_np \
10789 pthread_getattr_np \
10790 pthread_getthreadid_np \
10791 pthread_get_stackaddr_np \
10792 pthread_get_stacksize_np
10794 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10795 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10796 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10797 cat >>confdefs.h
<<_ACEOF
10798 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10804 LIBS
="$ac_wine_check_funcs_save_LIBS"
10806 if test "$ac_cv_header_zlib_h" = "yes"
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10809 $as_echo_n "checking for inflate in -lz... " >&6; }
10810 if ${ac_cv_lib_z_inflate+:} false
; then :
10811 $as_echo_n "(cached) " >&6
10813 ac_check_lib_save_LIBS
=$LIBS
10815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h. */
10818 /* Override any GCC internal prototype to avoid an error.
10819 Use char because int might match the return type of a GCC
10820 builtin and then its argument prototype would still apply. */
10833 if ac_fn_c_try_link
"$LINENO"; then :
10834 ac_cv_lib_z_inflate
=yes
10836 ac_cv_lib_z_inflate
=no
10838 rm -f core conftest.err conftest.
$ac_objext \
10839 conftest
$ac_exeext conftest.
$ac_ext
10840 LIBS
=$ac_check_lib_save_LIBS
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10843 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10844 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
10846 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10853 if test "x$ZLIB" = "x"; then :
10854 case "x$with_zlib" in
10855 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10857 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
10858 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10862 if test "x$enable_tools" != xno
10864 if test "$ac_cv_header_gettext_po_h" = "yes"
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10867 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10868 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
10869 $as_echo_n "(cached) " >&6
10871 ac_check_lib_save_LIBS
=$LIBS
10872 LIBS
="-lgettextpo $LIBS"
10873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10874 /* end confdefs.h. */
10876 /* Override any GCC internal prototype to avoid an error.
10877 Use char because int might match the return type of a GCC
10878 builtin and then its argument prototype would still apply. */
10882 char po_message_msgctxt ();
10886 return po_message_msgctxt ();
10891 if ac_fn_c_try_link
"$LINENO"; then :
10892 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
10894 ac_cv_lib_gettextpo_po_message_msgctxt
=no
10896 rm -f core conftest.err conftest.
$ac_objext \
10897 conftest
$ac_exeext conftest.
$ac_ext
10898 LIBS
=$ac_check_lib_save_LIBS
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10901 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10902 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
10904 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10906 LIBGETTEXTPO
="-lgettextpo"
10911 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
10912 case "x$with_gettextpo" in
10913 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
10915 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
10916 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10921 if test "x$with_gstreamer" != "xno"
10923 ac_save_CPPFLAGS
="$CPPFLAGS"
10924 if test "$PKG_CONFIG" != "false"; then
10926 for i
in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10929 -I*) ac_gst_incl
="$ac_gst_incl $i";;
10932 ac_gst_libs
="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10933 CPPFLAGS
="$CPPFLAGS $ac_gst_incl"
10934 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10935 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
10936 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10937 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
10939 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
10940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10941 /* end confdefs.h. */
10942 #include <gst/app/gstappsink.h>
10946 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
10951 if ac_fn_c_try_compile
"$LINENO"; then :
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10953 $as_echo "yes" >&6; }
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10955 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10956 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
10957 $as_echo_n "(cached) " >&6
10959 ac_check_lib_save_LIBS
=$LIBS
10960 LIBS
="-lgstreamer-0.10 $LIBS"
10961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10962 /* end confdefs.h. */
10964 /* Override any GCC internal prototype to avoid an error.
10965 Use char because int might match the return type of a GCC
10966 builtin and then its argument prototype would still apply. */
10970 char gst_pad_get_caps_reffed ();
10974 return gst_pad_get_caps_reffed ();
10979 if ac_fn_c_try_link
"$LINENO"; then :
10980 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
10982 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
10984 rm -f core conftest.err conftest.
$ac_objext \
10985 conftest
$ac_exeext conftest.
$ac_ext
10986 LIBS
=$ac_check_lib_save_LIBS
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10989 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10990 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10992 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10993 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
10994 $as_echo_n "(cached) " >&6
10996 ac_check_lib_save_LIBS
=$LIBS
10997 LIBS
="-lgstapp-0.10 $ac_gst_libs $LIBS"
10998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10999 /* end confdefs.h. */
11001 /* Override any GCC internal prototype to avoid an error.
11002 Use char because int might match the return type of a GCC
11003 builtin and then its argument prototype would still apply. */
11007 char gst_app_buffer_new ();
11011 return gst_app_buffer_new ();
11016 if ac_fn_c_try_link
"$LINENO"; then :
11017 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
11019 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
11021 rm -f core conftest.err conftest.
$ac_objext \
11022 conftest
$ac_exeext conftest.
$ac_ext
11023 LIBS
=$ac_check_lib_save_LIBS
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11026 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11027 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
11028 GSTREAMER_LIBS
="$ac_gst_libs"
11030 GSTREAMER_INCL
="$ac_gst_incl"
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11038 $as_echo "no" >&6; }
11040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11048 CPPFLAGS
="$ac_save_CPPFLAGS"
11050 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
11051 case "x$with_gstreamer" in
11052 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11054 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11055 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11058 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
11062 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11065 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11066 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
11067 $as_echo_n "(cached) " >&6
11069 ac_check_lib_save_LIBS
=$LIBS
11070 LIBS
="-lasound $LIBS"
11071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11072 /* end confdefs.h. */
11074 /* Override any GCC internal prototype to avoid an error.
11075 Use char because int might match the return type of a GCC
11076 builtin and then its argument prototype would still apply. */
11080 char snd_pcm_hw_params_get_access_mask ();
11084 return snd_pcm_hw_params_get_access_mask ();
11089 if ac_fn_c_try_link
"$LINENO"; then :
11090 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
11092 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
11094 rm -f core conftest.err conftest.
$ac_objext \
11095 conftest
$ac_exeext conftest.
$ac_ext
11096 LIBS
=$ac_check_lib_save_LIBS
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11099 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11100 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
11101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11102 /* end confdefs.h. */
11103 #ifdef HAVE_ALSA_ASOUNDLIB_H
11104 #include <alsa/asoundlib.h>
11105 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11106 #include <sys/asoundlib.h>
11111 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11116 if ac_fn_c_try_compile
"$LINENO"; then :
11117 ALSALIBS
="-lasound"
11119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11124 if test "x$with_oss" != xno
11126 ac_save_CPPFLAGS
="$CPPFLAGS"
11127 if test -f /etc
/oss.conf
11131 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11132 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
11133 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11134 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
11135 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11137 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
11139 cat >>confdefs.h
<<_ACEOF
11140 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11143 OSS4INCL
="$ac_oss_incl"
11150 CPPFLAGS
="$ac_save_CPPFLAGS"
11151 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11153 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11158 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11161 $as_echo_n "checking for -lcapi20... " >&6; }
11162 if ${ac_cv_lib_soname_capi20+:} false
; then :
11163 $as_echo_n "(cached) " >&6
11165 ac_check_soname_save_LIBS
=$LIBS
11166 LIBS
="-lcapi20 $LIBS"
11167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h. */
11170 /* Override any GCC internal prototype to avoid an error.
11171 Use char because int might match the return type of a GCC
11172 builtin and then its argument prototype would still apply. */
11176 char capi20_register ();
11180 return capi20_register ();
11185 if ac_fn_c_try_link
"$LINENO"; then :
11187 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11188 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'` ;;
11189 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11190 if test "x$ac_cv_lib_soname_capi20" = x
; then :
11191 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11195 rm -f core conftest.err conftest.
$ac_objext \
11196 conftest
$ac_exeext conftest.
$ac_ext
11197 LIBS
=$ac_check_soname_save_LIBS
11199 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11201 $as_echo "not found" >&6; }
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11205 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11207 cat >>confdefs.h
<<_ACEOF
11208 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11214 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11215 case "x$with_capi" in
11216 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11218 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11219 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11225 if test "x$with_cups" != "xno"
11227 ac_save_CPPFLAGS
="$CPPFLAGS"
11228 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
11229 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
11230 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
11231 for ac_header
in cups
/cups.h
11233 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11234 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
11235 cat >>confdefs.h
<<_ACEOF
11236 #define HAVE_CUPS_CUPS_H 1
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11239 $as_echo_n "checking for -lcups... " >&6; }
11240 if ${ac_cv_lib_soname_cups+:} false
; then :
11241 $as_echo_n "(cached) " >&6
11243 ac_check_soname_save_LIBS
=$LIBS
11244 LIBS
="-lcups $ac_cups_libs $LIBS"
11245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11246 /* end confdefs.h. */
11248 /* Override any GCC internal prototype to avoid an error.
11249 Use char because int might match the return type of a GCC
11250 builtin and then its argument prototype would still apply. */
11254 char cupsGetDefault ();
11258 return cupsGetDefault ();
11263 if ac_fn_c_try_link
"$LINENO"; then :
11265 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11266 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'` ;;
11267 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11268 if test "x$ac_cv_lib_soname_cups" = x
; then :
11269 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11273 rm -f core conftest.err conftest.
$ac_objext \
11274 conftest
$ac_exeext conftest.
$ac_ext
11275 LIBS
=$ac_check_soname_save_LIBS
11277 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11279 $as_echo "not found" >&6; }
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11283 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11285 cat >>confdefs.h
<<_ACEOF
11286 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11289 CUPSINCL
="$ac_cups_cflags"
11295 CPPFLAGS
="$ac_save_CPPFLAGS"
11297 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11298 case "x$with_cups" in
11299 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11301 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
11302 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11306 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11309 $as_echo_n "checking for -lfontconfig... " >&6; }
11310 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11311 $as_echo_n "(cached) " >&6
11313 ac_check_soname_save_LIBS
=$LIBS
11314 LIBS
="-lfontconfig $LIBS"
11315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h. */
11318 /* Override any GCC internal prototype to avoid an error.
11319 Use char because int might match the return type of a GCC
11320 builtin and then its argument prototype would still apply. */
11333 if ac_fn_c_try_link
"$LINENO"; then :
11335 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11336 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'` ;;
11337 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11338 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11339 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11343 rm -f core conftest.err conftest.
$ac_objext \
11344 conftest
$ac_exeext conftest.
$ac_ext
11345 LIBS
=$ac_check_soname_save_LIBS
11347 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11349 $as_echo "not found" >&6; }
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11353 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11355 cat >>confdefs.h
<<_ACEOF
11356 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11361 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11363 ac_save_CPPFLAGS
="$CPPFLAGS"
11364 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11365 $as_unset ac_cv_header_fontconfig_fontconfig_h
11366 for ac_header
in fontconfig
/fontconfig.h
11368 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11369 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
11370 cat >>confdefs.h
<<_ACEOF
11371 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11378 CPPFLAGS
="$ac_save_CPPFLAGS"
11379 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11381 FONTCONFIGINCL
="$X_CFLAGS"
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11384 $as_echo_n "checking for -lfontconfig... " >&6; }
11385 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11386 $as_echo_n "(cached) " >&6
11388 ac_check_soname_save_LIBS
=$LIBS
11389 LIBS
="-lfontconfig $X_LIBS $LIBS"
11390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11408 if ac_fn_c_try_link
"$LINENO"; then :
11410 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11411 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'` ;;
11412 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11413 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11414 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11418 rm -f core conftest.err conftest.
$ac_objext \
11419 conftest
$ac_exeext conftest.
$ac_ext
11420 LIBS
=$ac_check_soname_save_LIBS
11422 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11424 $as_echo "not found" >&6; }
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11428 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11430 cat >>confdefs.h
<<_ACEOF
11431 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11438 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11439 case "x$with_fontconfig" in
11440 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11442 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11443 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11447 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11450 $as_echo_n "checking for -lssl... " >&6; }
11451 if ${ac_cv_lib_soname_ssl+:} false
; then :
11452 $as_echo_n "(cached) " >&6
11454 ac_check_soname_save_LIBS
=$LIBS
11456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11457 /* end confdefs.h. */
11459 /* Override any GCC internal prototype to avoid an error.
11460 Use char because int might match the return type of a GCC
11461 builtin and then its argument prototype would still apply. */
11465 char SSL_library_init ();
11469 return SSL_library_init ();
11474 if ac_fn_c_try_link
"$LINENO"; then :
11476 dll
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11477 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'` ;;
11478 *) ac_cv_lib_soname_ssl
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libssl\\.$LIBEXT" | sed -e "s/^.*\\[\\(libssl\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11479 if test "x$ac_cv_lib_soname_ssl" = x
; then :
11480 ac_cv_lib_soname_ssl
=`$LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11484 rm -f core conftest.err conftest.
$ac_objext \
11485 conftest
$ac_exeext conftest.
$ac_ext
11486 LIBS
=$ac_check_soname_save_LIBS
11488 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11490 $as_echo "not found" >&6; }
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11494 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11496 cat >>confdefs.h
<<_ACEOF
11497 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11503 $as_echo_n "checking for -lcrypto... " >&6; }
11504 if ${ac_cv_lib_soname_crypto+:} false
; then :
11505 $as_echo_n "(cached) " >&6
11507 ac_check_soname_save_LIBS
=$LIBS
11508 LIBS
="-lcrypto $LIBS"
11509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11512 /* Override any GCC internal prototype to avoid an error.
11513 Use char because int might match the return type of a GCC
11514 builtin and then its argument prototype would still apply. */
11518 char BIO_new_socket ();
11522 return BIO_new_socket ();
11527 if ac_fn_c_try_link
"$LINENO"; then :
11529 dll
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11530 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'` ;;
11531 *) ac_cv_lib_soname_crypto
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcrypto\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcrypto\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11532 if test "x$ac_cv_lib_soname_crypto" = x
; then :
11533 ac_cv_lib_soname_crypto
=`$LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11537 rm -f core conftest.err conftest.
$ac_objext \
11538 conftest
$ac_exeext conftest.
$ac_ext
11539 LIBS
=$ac_check_soname_save_LIBS
11541 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11543 $as_echo "not found" >&6; }
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11547 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11549 cat >>confdefs.h
<<_ACEOF
11550 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11556 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11557 case "x$with_openssl" in
11558 x
) as_fn_append wine_warnings
"|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11560 *) as_fn_error $?
"OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11561 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11565 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11568 $as_echo_n "checking for -lgsm... " >&6; }
11569 if ${ac_cv_lib_soname_gsm+:} false
; then :
11570 $as_echo_n "(cached) " >&6
11572 ac_check_soname_save_LIBS
=$LIBS
11574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11575 /* end confdefs.h. */
11577 /* Override any GCC internal prototype to avoid an error.
11578 Use char because int might match the return type of a GCC
11579 builtin and then its argument prototype would still apply. */
11583 char gsm_create ();
11587 return gsm_create ();
11592 if ac_fn_c_try_link
"$LINENO"; then :
11594 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11595 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'` ;;
11596 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11597 if test "x$ac_cv_lib_soname_gsm" = x
; then :
11598 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11602 rm -f core conftest.err conftest.
$ac_objext \
11603 conftest
$ac_exeext conftest.
$ac_ext
11604 LIBS
=$ac_check_soname_save_LIBS
11606 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11608 $as_echo "not found" >&6; }
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11612 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11614 cat >>confdefs.h
<<_ACEOF
11615 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11621 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11622 case "x$with_gsm" in
11623 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11625 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11626 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11630 if test "$ac_cv_header_jpeglib_h" = "yes"
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11633 $as_echo_n "checking for -ljpeg... " >&6; }
11634 if ${ac_cv_lib_soname_jpeg+:} false
; then :
11635 $as_echo_n "(cached) " >&6
11637 ac_check_soname_save_LIBS
=$LIBS
11638 LIBS
="-ljpeg $LIBS"
11639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11642 /* Override any GCC internal prototype to avoid an error.
11643 Use char because int might match the return type of a GCC
11644 builtin and then its argument prototype would still apply. */
11648 char jpeg_start_decompress ();
11652 return jpeg_start_decompress ();
11657 if ac_fn_c_try_link
"$LINENO"; then :
11659 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11660 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'` ;;
11661 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11662 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
11663 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11667 rm -f core conftest.err conftest.
$ac_objext \
11668 conftest
$ac_exeext conftest.
$ac_ext
11669 LIBS
=$ac_check_soname_save_LIBS
11671 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11673 $as_echo "not found" >&6; }
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11677 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11679 cat >>confdefs.h
<<_ACEOF
11680 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11686 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11687 case "x$with_jpeg" in
11688 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11690 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11691 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11695 if test "$ac_cv_header_png_h" = "yes"
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11698 $as_echo_n "checking for -lpng... " >&6; }
11699 if ${ac_cv_lib_soname_png+:} false
; then :
11700 $as_echo_n "(cached) " >&6
11702 ac_check_soname_save_LIBS
=$LIBS
11703 LIBS
="-lpng -lm -lz $LIBS"
11704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11705 /* end confdefs.h. */
11707 /* Override any GCC internal prototype to avoid an error.
11708 Use char because int might match the return type of a GCC
11709 builtin and then its argument prototype would still apply. */
11713 char png_create_read_struct ();
11717 return png_create_read_struct ();
11722 if ac_fn_c_try_link
"$LINENO"; then :
11724 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11725 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'` ;;
11726 *) ac_cv_lib_soname_png
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11727 if test "x$ac_cv_lib_soname_png" = x
; then :
11728 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11732 rm -f core conftest.err conftest.
$ac_objext \
11733 conftest
$ac_exeext conftest.
$ac_ext
11734 LIBS
=$ac_check_soname_save_LIBS
11736 if test "x$ac_cv_lib_soname_png" = "x"; then :
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11738 $as_echo "not found" >&6; }
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11742 $as_echo "$ac_cv_lib_soname_png" >&6; }
11744 cat >>confdefs.h
<<_ACEOF
11745 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11751 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11752 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11753 $as_echo_n "(cached) " >&6
11755 ac_check_lib_save_LIBS
=$LIBS
11756 LIBS
="-lpng -lm -lz $LIBS"
11757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11758 /* end confdefs.h. */
11760 /* Override any GCC internal prototype to avoid an error.
11761 Use char because int might match the return type of a GCC
11762 builtin and then its argument prototype would still apply. */
11766 char png_set_expand_gray_1_2_4_to_8 ();
11770 return png_set_expand_gray_1_2_4_to_8 ();
11775 if ac_fn_c_try_link
"$LINENO"; then :
11776 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11778 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11780 rm -f core conftest.err conftest.
$ac_objext \
11781 conftest
$ac_exeext conftest.
$ac_ext
11782 LIBS
=$ac_check_lib_save_LIBS
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11785 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11786 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11788 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11793 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11795 ac_save_CPPFLAGS
="$CPPFLAGS"
11796 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11797 $as_unset ac_cv_header_png_h
11798 for ac_header
in png.h
11800 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11801 if test "x$ac_cv_header_png_h" = xyes
; then :
11802 cat >>confdefs.h
<<_ACEOF
11803 #define HAVE_PNG_H 1
11810 CPPFLAGS
="$ac_save_CPPFLAGS"
11811 if test "$ac_cv_header_png_h" = "yes"
11813 PNGINCL
="$X_CFLAGS"
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11816 $as_echo_n "checking for -lpng... " >&6; }
11817 if ${ac_cv_lib_soname_png+:} false
; then :
11818 $as_echo_n "(cached) " >&6
11820 ac_check_soname_save_LIBS
=$LIBS
11821 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11823 /* end confdefs.h. */
11825 /* Override any GCC internal prototype to avoid an error.
11826 Use char because int might match the return type of a GCC
11827 builtin and then its argument prototype would still apply. */
11831 char png_create_read_struct ();
11835 return png_create_read_struct ();
11840 if ac_fn_c_try_link
"$LINENO"; then :
11842 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11843 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'` ;;
11844 *) ac_cv_lib_soname_png
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11845 if test "x$ac_cv_lib_soname_png" = x
; then :
11846 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11850 rm -f core conftest.err conftest.
$ac_objext \
11851 conftest
$ac_exeext conftest.
$ac_ext
11852 LIBS
=$ac_check_soname_save_LIBS
11854 if test "x$ac_cv_lib_soname_png" = "x"; then :
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11856 $as_echo "not found" >&6; }
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11860 $as_echo "$ac_cv_lib_soname_png" >&6; }
11862 cat >>confdefs.h
<<_ACEOF
11863 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11869 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11870 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11871 $as_echo_n "(cached) " >&6
11873 ac_check_lib_save_LIBS
=$LIBS
11874 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11878 /* Override any GCC internal prototype to avoid an error.
11879 Use char because int might match the return type of a GCC
11880 builtin and then its argument prototype would still apply. */
11884 char png_set_expand_gray_1_2_4_to_8 ();
11888 return png_set_expand_gray_1_2_4_to_8 ();
11893 if ac_fn_c_try_link
"$LINENO"; then :
11894 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11896 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11898 rm -f core conftest.err conftest.
$ac_objext \
11899 conftest
$ac_exeext conftest.
$ac_ext
11900 LIBS
=$ac_check_lib_save_LIBS
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11903 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11904 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11905 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11911 if test "x$ac_cv_lib_soname_png" = "x"; then :
11912 case "x$with_png" in
11913 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11915 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
11916 This is an error since --with-png was requested." "$LINENO" 5 ;;
11920 if test "$ac_cv_header_tiffio_h" = "yes"
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11923 $as_echo_n "checking for -ltiff... " >&6; }
11924 if ${ac_cv_lib_soname_tiff+:} false
; then :
11925 $as_echo_n "(cached) " >&6
11927 ac_check_soname_save_LIBS
=$LIBS
11928 LIBS
="-ltiff $LIBS"
11929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11930 /* end confdefs.h. */
11932 /* Override any GCC internal prototype to avoid an error.
11933 Use char because int might match the return type of a GCC
11934 builtin and then its argument prototype would still apply. */
11938 char TIFFClientOpen ();
11942 return TIFFClientOpen ();
11947 if ac_fn_c_try_link
"$LINENO"; then :
11949 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11950 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'` ;;
11951 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11952 if test "x$ac_cv_lib_soname_tiff" = x
; then :
11953 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11957 rm -f core conftest.err conftest.
$ac_objext \
11958 conftest
$ac_exeext conftest.
$ac_ext
11959 LIBS
=$ac_check_soname_save_LIBS
11961 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11963 $as_echo "not found" >&6; }
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11967 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11969 cat >>confdefs.h
<<_ACEOF
11970 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11976 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11977 case "x$with_tiff" in
11978 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11980 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
11981 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11985 if test "$ac_cv_header_mpg123_h" = "yes"
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11988 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11989 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
11990 $as_echo_n "(cached) " >&6
11992 ac_check_lib_save_LIBS
=$LIBS
11993 LIBS
="-lmpg123 $LIBS"
11994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11995 /* end confdefs.h. */
11997 /* Override any GCC internal prototype to avoid an error.
11998 Use char because int might match the return type of a GCC
11999 builtin and then its argument prototype would still apply. */
12003 char mpg123_feed ();
12007 return mpg123_feed ();
12012 if ac_fn_c_try_link
"$LINENO"; then :
12013 ac_cv_lib_mpg123_mpg123_feed
=yes
12015 ac_cv_lib_mpg123_mpg123_feed
=no
12017 rm -f core conftest.err conftest.
$ac_objext \
12018 conftest
$ac_exeext conftest.
$ac_ext
12019 LIBS
=$ac_check_lib_save_LIBS
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12022 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12023 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
12024 LIBMPG123
="-lmpg123"
12029 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
12030 case "x$with_mpg123" in
12031 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12033 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12034 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12037 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}
12039 if test "$ac_cv_header_AL_al_h" = "yes"
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12042 $as_echo_n "checking for -lopenal... " >&6; }
12043 if ${ac_cv_lib_soname_openal+:} false
; then :
12044 $as_echo_n "(cached) " >&6
12046 ac_check_soname_save_LIBS
=$LIBS
12047 LIBS
="-lopenal $LIBS"
12048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12049 /* end confdefs.h. */
12051 /* Override any GCC internal prototype to avoid an error.
12052 Use char because int might match the return type of a GCC
12053 builtin and then its argument prototype would still apply. */
12057 char alGetSource3i ();
12061 return alGetSource3i ();
12066 if ac_fn_c_try_link
"$LINENO"; then :
12068 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12069 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'` ;;
12070 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12071 if test "x$ac_cv_lib_soname_openal" = x
; then :
12072 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12076 rm -f core conftest.err conftest.
$ac_objext \
12077 conftest
$ac_exeext conftest.
$ac_ext
12078 LIBS
=$ac_check_soname_save_LIBS
12080 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12082 $as_echo "not found" >&6; }
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12086 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12088 cat >>confdefs.h
<<_ACEOF
12089 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12092 LIBOPENAL
="-lopenal"
12094 ac_cv_lib_openal
=yes
12096 cat >>confdefs.h
<<_ACEOF
12097 #define HAVE_OPENAL 1
12102 if test "x$ac_cv_lib_openal" != xyes
; then :
12103 case "x$with_openal" in
12104 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12106 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12107 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12110 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
12112 if test "$ac_cv_header_kstat_h" = "yes"
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12115 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12116 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
12117 $as_echo_n "(cached) " >&6
12119 ac_check_lib_save_LIBS
=$LIBS
12120 LIBS
="-lkstat $LIBS"
12121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12122 /* end confdefs.h. */
12124 /* Override any GCC internal prototype to avoid an error.
12125 Use char because int might match the return type of a GCC
12126 builtin and then its argument prototype would still apply. */
12130 char kstat_open ();
12134 return kstat_open ();
12139 if ac_fn_c_try_link
"$LINENO"; then :
12140 ac_cv_lib_kstat_kstat_open
=yes
12142 ac_cv_lib_kstat_kstat_open
=no
12144 rm -f core conftest.err conftest.
$ac_objext \
12145 conftest
$ac_exeext conftest.
$ac_ext
12146 LIBS
=$ac_check_lib_save_LIBS
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12149 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12150 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
12152 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12161 $as_echo_n "checking for -lodbc... " >&6; }
12162 if ${ac_cv_lib_soname_odbc+:} false
; then :
12163 $as_echo_n "(cached) " >&6
12165 ac_check_soname_save_LIBS
=$LIBS
12166 LIBS
="-lodbc $LIBS"
12167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12168 /* end confdefs.h. */
12170 /* Override any GCC internal prototype to avoid an error.
12171 Use char because int might match the return type of a GCC
12172 builtin and then its argument prototype would still apply. */
12176 char SQLConnect ();
12180 return SQLConnect ();
12185 if ac_fn_c_try_link
"$LINENO"; then :
12187 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12188 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'` ;;
12189 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12190 if test "x$ac_cv_lib_soname_odbc" = x
; then :
12191 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12195 rm -f core conftest.err conftest.
$ac_objext \
12196 conftest
$ac_exeext conftest.
$ac_ext
12197 LIBS
=$ac_check_soname_save_LIBS
12199 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12201 $as_echo "not found" >&6; }
12202 cat >>confdefs.h
<<_ACEOF
12203 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12208 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12210 cat >>confdefs.h
<<_ACEOF
12211 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12217 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12218 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
12219 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
12220 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
12222 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12223 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
12224 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12226 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
12232 if test "x${GCC}" = "xyes"
12234 EXTRACFLAGS
="-Wall -pipe"
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12237 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12238 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
12239 $as_echo_n "(cached) " >&6
12241 if test "$cross_compiling" = yes; then :
12242 ac_cv_c_gcc_strength_bug
="yes"
12244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12245 /* end confdefs.h. */
12246 int L[4] = {0,1,2,3};
12250 static int Array[3];
12251 unsigned int B = 3;
12253 for(i=0; i<B; i++) Array[i] = i - 3;
12254 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12256 return (Array[1] != -2 || L[2] != 3)
12261 if ac_fn_c_try_run
"$LINENO"; then :
12262 ac_cv_c_gcc_strength_bug
="no"
12264 ac_cv_c_gcc_strength_bug
="yes"
12266 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12267 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12272 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12273 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12275 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12279 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12280 if ${ac_cv_cflags__fno_builtin+:} false
; then :
12281 $as_echo_n "(cached) " >&6
12283 ac_wine_try_cflags_saved
=$CFLAGS
12284 CFLAGS
="$CFLAGS -fno-builtin"
12285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12287 int main(int argc, char **argv) { return 0; }
12289 if ac_fn_c_try_link
"$LINENO"; then :
12290 ac_cv_cflags__fno_builtin
=yes
12292 ac_cv_cflags__fno_builtin
=no
12294 rm -f core conftest.err conftest.
$ac_objext \
12295 conftest
$ac_exeext conftest.
$ac_ext
12296 CFLAGS
=$ac_wine_try_cflags_saved
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12299 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12300 if test $ac_cv_cflags__fno_builtin = yes; then :
12301 BUILTINFLAG
="-fno-builtin"
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12305 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12306 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
12307 $as_echo_n "(cached) " >&6
12309 ac_wine_try_cflags_saved
=$CFLAGS
12310 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12312 /* end confdefs.h. */
12313 int main(int argc, char **argv) { return 0; }
12315 if ac_fn_c_try_link
"$LINENO"; then :
12316 ac_cv_cflags__fno_strict_aliasing
=yes
12318 ac_cv_cflags__fno_strict_aliasing
=no
12320 rm -f core conftest.err conftest.
$ac_objext \
12321 conftest
$ac_exeext conftest.
$ac_ext
12322 CFLAGS
=$ac_wine_try_cflags_saved
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12325 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12326 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12327 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12330 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12331 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
12332 $as_echo_n "(cached) " >&6
12334 ac_wine_try_cflags_saved
=$CFLAGS
12335 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12338 int main(int argc, char **argv) { return 0; }
12340 if ac_fn_c_try_link
"$LINENO"; then :
12341 ac_cv_cflags__Wdeclaration_after_statement
=yes
12343 ac_cv_cflags__Wdeclaration_after_statement
=no
12345 rm -f core conftest.err conftest.
$ac_objext \
12346 conftest
$ac_exeext conftest.
$ac_ext
12347 CFLAGS
=$ac_wine_try_cflags_saved
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12350 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12351 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12352 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12355 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12356 if ${ac_cv_cflags__Wempty_body+:} false
; then :
12357 $as_echo_n "(cached) " >&6
12359 ac_wine_try_cflags_saved
=$CFLAGS
12360 CFLAGS
="$CFLAGS -Wempty-body"
12361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h. */
12363 int main(int argc, char **argv) { return 0; }
12365 if ac_fn_c_try_link
"$LINENO"; then :
12366 ac_cv_cflags__Wempty_body
=yes
12368 ac_cv_cflags__Wempty_body
=no
12370 rm -f core conftest.err conftest.
$ac_objext \
12371 conftest
$ac_exeext conftest.
$ac_ext
12372 CFLAGS
=$ac_wine_try_cflags_saved
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12375 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12376 if test $ac_cv_cflags__Wempty_body = yes; then :
12377 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12380 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12381 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
12382 $as_echo_n "(cached) " >&6
12384 ac_wine_try_cflags_saved
=$CFLAGS
12385 CFLAGS
="$CFLAGS -Wignored-qualifiers"
12386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12387 /* end confdefs.h. */
12388 int main(int argc, char **argv) { return 0; }
12390 if ac_fn_c_try_link
"$LINENO"; then :
12391 ac_cv_cflags__Wignored_qualifiers
=yes
12393 ac_cv_cflags__Wignored_qualifiers
=no
12395 rm -f core conftest.err conftest.
$ac_objext \
12396 conftest
$ac_exeext conftest.
$ac_ext
12397 CFLAGS
=$ac_wine_try_cflags_saved
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12400 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12401 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12402 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12405 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12406 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
12407 $as_echo_n "(cached) " >&6
12409 ac_wine_try_cflags_saved
=$CFLAGS
12410 CFLAGS
="$CFLAGS -Wstrict-prototypes"
12411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12412 /* end confdefs.h. */
12413 int main(int argc, char **argv) { return 0; }
12415 if ac_fn_c_try_link
"$LINENO"; then :
12416 ac_cv_cflags__Wstrict_prototypes
=yes
12418 ac_cv_cflags__Wstrict_prototypes
=no
12420 rm -f core conftest.err conftest.
$ac_objext \
12421 conftest
$ac_exeext conftest.
$ac_ext
12422 CFLAGS
=$ac_wine_try_cflags_saved
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12425 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12426 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12427 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12430 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12431 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
12432 $as_echo_n "(cached) " >&6
12434 ac_wine_try_cflags_saved
=$CFLAGS
12435 CFLAGS
="$CFLAGS -Wtype-limits"
12436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12437 /* end confdefs.h. */
12438 int main(int argc, char **argv) { return 0; }
12440 if ac_fn_c_try_link
"$LINENO"; then :
12441 ac_cv_cflags__Wtype_limits
=yes
12443 ac_cv_cflags__Wtype_limits
=no
12445 rm -f core conftest.err conftest.
$ac_objext \
12446 conftest
$ac_exeext conftest.
$ac_ext
12447 CFLAGS
=$ac_wine_try_cflags_saved
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12450 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12451 if test $ac_cv_cflags__Wtype_limits = yes; then :
12452 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12455 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12456 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
12457 $as_echo_n "(cached) " >&6
12459 ac_wine_try_cflags_saved
=$CFLAGS
12460 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
12461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12462 /* end confdefs.h. */
12463 int main(int argc, char **argv) { return 0; }
12465 if ac_fn_c_try_link
"$LINENO"; then :
12466 ac_cv_cflags__Wunused_but_set_parameter
=yes
12468 ac_cv_cflags__Wunused_but_set_parameter
=no
12470 rm -f core conftest.err conftest.
$ac_objext \
12471 conftest
$ac_exeext conftest.
$ac_ext
12472 CFLAGS
=$ac_wine_try_cflags_saved
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12475 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12476 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12477 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12480 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12481 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
12482 $as_echo_n "(cached) " >&6
12484 ac_wine_try_cflags_saved
=$CFLAGS
12485 CFLAGS
="$CFLAGS -Wwrite-strings"
12486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h. */
12488 int main(int argc, char **argv) { return 0; }
12490 if ac_fn_c_try_link
"$LINENO"; then :
12491 ac_cv_cflags__Wwrite_strings
=yes
12493 ac_cv_cflags__Wwrite_strings
=no
12495 rm -f core conftest.err conftest.
$ac_objext \
12496 conftest
$ac_exeext conftest.
$ac_ext
12497 CFLAGS
=$ac_wine_try_cflags_saved
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12500 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12501 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12502 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12505 for ac_flag
in $CFLAGS; do
12507 -g) case $host_os in
12508 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12509 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12510 if ${ac_cv_cflags__gstabsp+:} false
; then :
12511 $as_echo_n "(cached) " >&6
12513 ac_wine_try_cflags_saved
=$CFLAGS
12514 CFLAGS
="$CFLAGS -gstabs+"
12515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12516 /* end confdefs.h. */
12517 int main(int argc, char **argv) { return 0; }
12519 if ac_fn_c_try_link
"$LINENO"; then :
12520 ac_cv_cflags__gstabsp
=yes
12522 ac_cv_cflags__gstabsp
=no
12524 rm -f core conftest.err conftest.
$ac_objext \
12525 conftest
$ac_exeext conftest.
$ac_ext
12526 CFLAGS
=$ac_wine_try_cflags_saved
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12529 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12530 if test $ac_cv_cflags__gstabsp = yes; then :
12531 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12533 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12534 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12535 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
12536 $as_echo_n "(cached) " >&6
12538 ac_wine_try_cflags_saved
=$CFLAGS
12539 CFLAGS
="$CFLAGS -gdwarf-2"
12540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12541 /* end confdefs.h. */
12542 int main(int argc, char **argv) { return 0; }
12544 if ac_fn_c_try_link
"$LINENO"; then :
12545 ac_cv_cflags__gdwarf_2
=yes
12547 ac_cv_cflags__gdwarf_2
=no
12549 rm -f core conftest.err conftest.
$ac_objext \
12550 conftest
$ac_exeext conftest.
$ac_ext
12551 CFLAGS
=$ac_wine_try_cflags_saved
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12554 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12555 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12556 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12559 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12560 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
12561 $as_echo_n "(cached) " >&6
12563 ac_wine_try_cflags_saved
=$CFLAGS
12564 CFLAGS
="$CFLAGS -gstrict-dwarf"
12565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12566 /* end confdefs.h. */
12567 int main(int argc, char **argv) { return 0; }
12569 if ac_fn_c_try_link
"$LINENO"; then :
12570 ac_cv_cflags__gstrict_dwarf
=yes
12572 ac_cv_cflags__gstrict_dwarf
=no
12574 rm -f core conftest.err conftest.
$ac_objext \
12575 conftest
$ac_exeext conftest.
$ac_ext
12576 CFLAGS
=$ac_wine_try_cflags_saved
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12579 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12580 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12581 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
12588 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12589 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12590 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
12591 $as_echo_n "(cached) " >&6
12593 ac_wine_try_cflags_saved
=$CFLAGS
12594 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
12595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12597 int main(int argc, char **argv) { return 0; }
12599 if ac_fn_c_try_link
"$LINENO"; then :
12600 ac_cv_cflags__fno_omit_frame_pointer
=yes
12602 ac_cv_cflags__fno_omit_frame_pointer
=no
12604 rm -f core conftest.err conftest.
$ac_objext \
12605 conftest
$ac_exeext conftest.
$ac_ext
12606 CFLAGS
=$ac_wine_try_cflags_saved
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12609 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12610 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12611 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
12616 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12617 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12618 if ${ac_cv_cflags__Wno_format+:} false
; then :
12619 $as_echo_n "(cached) " >&6
12621 ac_wine_try_cflags_saved
=$CFLAGS
12622 CFLAGS
="$CFLAGS -Wno-format"
12623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12624 /* end confdefs.h. */
12625 int main(int argc, char **argv) { return 0; }
12627 if ac_fn_c_try_link
"$LINENO"; then :
12628 ac_cv_cflags__Wno_format
=yes
12630 ac_cv_cflags__Wno_format
=no
12632 rm -f core conftest.err conftest.
$ac_objext \
12633 conftest
$ac_exeext conftest.
$ac_ext
12634 CFLAGS
=$ac_wine_try_cflags_saved
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12637 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12638 if test $ac_cv_cflags__Wno_format = yes; then :
12639 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
12643 saved_CFLAGS
="$CFLAGS"
12644 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12646 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12647 if ${ac_cv_c_string_h_warnings+:} false
; then :
12648 $as_echo_n "(cached) " >&6
12650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12651 /* end confdefs.h. */
12652 #include <string.h>
12661 if ac_fn_c_try_compile
"$LINENO"; then :
12662 ac_cv_c_string_h_warnings
=no
12664 ac_cv_c_string_h_warnings
=yes
12666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12669 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12670 CFLAGS
="$saved_CFLAGS"
12671 if test "$ac_cv_c_string_h_warnings" = "no"
12673 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12676 saved_CFLAGS
="$CFLAGS"
12677 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12679 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12680 if ${ac_cv_c_logicalop_noisy+:} false
; then :
12681 $as_echo_n "(cached) " >&6
12683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12684 /* end confdefs.h. */
12685 #include <string.h>
12689 char*f(const char *h,char n) {return strchr(h,n);}
12694 if ac_fn_c_try_compile
"$LINENO"; then :
12695 ac_cv_c_logicalop_noisy
=no
12697 ac_cv_c_logicalop_noisy
=yes
12699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12702 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12703 CFLAGS
="$saved_CFLAGS"
12704 if test "$ac_cv_c_logicalop_noisy" = "no"
12706 EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12709 if test "x$enable_maintainer_mode" = "xyes"
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12712 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12713 if ${ac_cv_cflags__Werror+:} false
; then :
12714 $as_echo_n "(cached) " >&6
12716 ac_wine_try_cflags_saved
=$CFLAGS
12717 CFLAGS
="$CFLAGS -Werror"
12718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12719 /* end confdefs.h. */
12720 int main(int argc, char **argv) { return 0; }
12722 if ac_fn_c_try_link
"$LINENO"; then :
12723 ac_cv_cflags__Werror
=yes
12725 ac_cv_cflags__Werror
=no
12727 rm -f core conftest.err conftest.
$ac_objext \
12728 conftest
$ac_exeext conftest.
$ac_ext
12729 CFLAGS
=$ac_wine_try_cflags_saved
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12732 $as_echo "$ac_cv_cflags__Werror" >&6; }
12733 if test $ac_cv_cflags__Werror = yes; then :
12734 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12738 saved_CFLAGS
="$CFLAGS"
12739 CFLAGS
="$CFLAGS -Werror"
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12741 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12742 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
12743 $as_echo_n "(cached) " >&6
12745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12746 /* end confdefs.h. */
12747 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12756 if ac_fn_c_try_compile
"$LINENO"; then :
12757 ac_cv_have_ms_hook_prologue
="yes"
12759 ac_cv_have_ms_hook_prologue
="no"
12761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12764 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12765 CFLAGS
="$saved_CFLAGS"
12766 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12769 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12772 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12779 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12780 if ${ac_cv_c_fortify_enabled+:} false
; then :
12781 $as_echo_n "(cached) " >&6
12783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12784 /* end confdefs.h. */
12785 #include <string.h>
12789 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12790 #error Fortify enabled
12796 if ac_fn_c_try_compile
"$LINENO"; then :
12797 ac_cv_c_fortify_enabled
=no
12799 ac_cv_c_fortify_enabled
=yes
12801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12804 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12805 if test "$ac_cv_c_fortify_enabled" = yes
12807 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12812 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12813 if ${ac_cv_c_extern_prefix+:} false
; then :
12814 $as_echo_n "(cached) " >&6
12816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12817 /* end confdefs.h. */
12818 extern int ac_test;
12822 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12827 if ac_fn_c_try_link
"$LINENO"; then :
12828 ac_cv_c_extern_prefix
="yes"
12830 ac_cv_c_extern_prefix
="no"
12832 rm -f core conftest.err conftest.
$ac_objext \
12833 conftest
$ac_exeext conftest.
$ac_ext
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12836 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12841 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12842 if ${ac_cv_c_stdcall_suffix+:} false
; then :
12843 $as_echo_n "(cached) " >&6
12845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h. */
12848 #define __stdcall __attribute__((__stdcall__))
12850 int __stdcall ac_test(int i) { return i; }
12854 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12859 if ac_fn_c_try_link
"$LINENO"; then :
12860 ac_cv_c_stdcall_suffix
="yes"
12862 ac_cv_c_stdcall_suffix
="no"
12864 rm -f core conftest.err conftest.
$ac_objext \
12865 conftest
$ac_exeext conftest.
$ac_ext
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12868 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12869 *) ac_cv_c_stdcall_suffix
="no" ;;
12873 if test "$ac_cv_c_extern_prefix" = "yes"
12875 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12877 asm_name_prefix
="_"
12879 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12885 if test "$ac_cv_c_stdcall_suffix" = "yes"
12887 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12890 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12896 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12897 if ${ac_cv_asm_func_def+:} false
; then :
12898 $as_echo_n "(cached) " >&6
12900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12901 /* end confdefs.h. */
12906 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12911 if ac_fn_c_try_link
"$LINENO"; then :
12912 ac_cv_asm_func_def
=".def"
12914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12915 /* end confdefs.h. */
12920 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12925 if ac_fn_c_try_link
"$LINENO"; then :
12926 ac_cv_asm_func_def
=".type @function"
12928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12929 /* end confdefs.h. */
12934 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12939 if ac_fn_c_try_link
"$LINENO"; then :
12940 ac_cv_asm_func_def
=".type 2"
12942 ac_cv_asm_func_def
="unknown"
12944 rm -f core conftest.err conftest.
$ac_objext \
12945 conftest
$ac_exeext conftest.
$ac_ext
12947 rm -f core conftest.err conftest.
$ac_objext \
12948 conftest
$ac_exeext conftest.
$ac_ext
12950 rm -f core conftest.err conftest.
$ac_objext \
12951 conftest
$ac_exeext conftest.
$ac_ext
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12954 $as_echo "$ac_cv_asm_func_def" >&6; }
12957 case "$ac_cv_asm_func_def" in
12959 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12961 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12963 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12965 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
12967 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12969 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
12971 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12973 asm_func_header
="" ;;
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12977 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12978 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
12979 $as_echo_n "(cached) " >&6
12981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12982 /* end confdefs.h. */
12983 asm(".text\n\t.long 0");
12992 if ac_fn_c_try_compile
"$LINENO"; then :
12993 ac_cv_c_asm_outside_funcs
="yes"
12995 ac_cv_c_asm_outside_funcs
="no"
12997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13000 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13003 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13004 if ${ac_cv_c_dot_previous+:} false
; then :
13005 $as_echo_n "(cached) " >&6
13007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13008 /* end confdefs.h. */
13013 asm(".text\nac_test:\t.long 0\n\t.previous");
13018 if ac_fn_c_try_link
"$LINENO"; then :
13019 ac_cv_c_dot_previous
="yes"
13021 ac_cv_c_dot_previous
="no"
13023 rm -f core conftest.err conftest.
$ac_objext \
13024 conftest
$ac_exeext conftest.
$ac_ext
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13027 $as_echo "$ac_cv_c_dot_previous" >&6; }
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13030 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13031 if ${ac_cv_c_cfi_support+:} false
; then :
13032 $as_echo_n "(cached) " >&6
13034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13035 /* end confdefs.h. */
13036 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13045 if ac_fn_c_try_compile
"$LINENO"; then :
13046 ac_cv_c_cfi_support
="yes"
13048 ac_cv_c_cfi_support
="no"
13050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13053 $as_echo "$ac_cv_c_cfi_support" >&6; }
13055 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13056 asm_func_trailer
=""
13057 if test "$ac_cv_c_dot_previous" = "yes"
13059 asm_func_trailer
="\\n\\t.previous"
13061 if test "$ac_cv_c_cfi_support" = "yes"
13063 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
13064 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
13066 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13068 UNWINDFLAGS
=-fasynchronous-unwind-tables
13071 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13075 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
13078 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13080 cat >>confdefs.h
<<_ACEOF
13081 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13085 cat >>confdefs.h
<<_ACEOF
13086 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13091 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13094 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13104 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13109 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13117 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
13124 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
13129 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
13131 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
13138 ac_save_CFLAGS
="$CFLAGS"
13139 CFLAGS
="$CFLAGS $BUILTINFLAG"
13214 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13215 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13216 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13217 cat >>confdefs.h
<<_ACEOF
13218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13224 CFLAGS
="$ac_save_CFLAGS"
13226 if test "$ac_cv_func_dlopen" = no
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13229 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13230 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13231 $as_echo_n "(cached) " >&6
13233 ac_check_lib_save_LIBS
=$LIBS
13235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13236 /* end confdefs.h. */
13238 /* Override any GCC internal prototype to avoid an error.
13239 Use char because int might match the return type of a GCC
13240 builtin and then its argument prototype would still apply. */
13253 if ac_fn_c_try_link
"$LINENO"; then :
13254 ac_cv_lib_dl_dlopen
=yes
13256 ac_cv_lib_dl_dlopen
=no
13258 rm -f core conftest.err conftest.
$ac_objext \
13259 conftest
$ac_exeext conftest.
$ac_ext
13260 LIBS
=$ac_check_lib_save_LIBS
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13263 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13264 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13265 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13271 ac_wine_check_funcs_save_LIBS
="$LIBS"
13272 LIBS
="$LIBS $LIBDL"
13273 for ac_func
in dladdr
13275 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
13276 if test "x$ac_cv_func_dladdr" = xyes
; then :
13277 cat >>confdefs.h
<<_ACEOF
13278 #define HAVE_DLADDR 1
13284 LIBS
="$ac_wine_check_funcs_save_LIBS"
13286 if test "$ac_cv_func_poll" = no
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13289 $as_echo_n "checking for poll in -lpoll... " >&6; }
13290 if ${ac_cv_lib_poll_poll+:} false
; then :
13291 $as_echo_n "(cached) " >&6
13293 ac_check_lib_save_LIBS
=$LIBS
13294 LIBS
="-lpoll $LIBS"
13295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13296 /* end confdefs.h. */
13298 /* Override any GCC internal prototype to avoid an error.
13299 Use char because int might match the return type of a GCC
13300 builtin and then its argument prototype would still apply. */
13313 if ac_fn_c_try_link
"$LINENO"; then :
13314 ac_cv_lib_poll_poll
=yes
13316 ac_cv_lib_poll_poll
=no
13318 rm -f core conftest.err conftest.
$ac_objext \
13319 conftest
$ac_exeext conftest.
$ac_ext
13320 LIBS
=$ac_check_lib_save_LIBS
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13323 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13324 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
13325 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13333 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13334 if ${ac_cv_search_gethostbyname+:} false
; then :
13335 $as_echo_n "(cached) " >&6
13337 ac_func_search_save_LIBS
=$LIBS
13338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13339 /* end confdefs.h. */
13341 /* Override any GCC internal prototype to avoid an error.
13342 Use char because int might match the return type of a GCC
13343 builtin and then its argument prototype would still apply. */
13347 char gethostbyname ();
13351 return gethostbyname ();
13356 for ac_lib
in '' nsl
; do
13357 if test -z "$ac_lib"; then
13358 ac_res
="none required"
13361 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13363 if ac_fn_c_try_link
"$LINENO"; then :
13364 ac_cv_search_gethostbyname
=$ac_res
13366 rm -f core conftest.err conftest.
$ac_objext \
13368 if ${ac_cv_search_gethostbyname+:} false
; then :
13372 if ${ac_cv_search_gethostbyname+:} false
; then :
13375 ac_cv_search_gethostbyname
=no
13377 rm conftest.
$ac_ext
13378 LIBS
=$ac_func_search_save_LIBS
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13381 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13382 ac_res
=$ac_cv_search_gethostbyname
13383 if test "$ac_res" != no
; then :
13384 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13390 $as_echo_n "checking for library containing connect... " >&6; }
13391 if ${ac_cv_search_connect+:} false
; then :
13392 $as_echo_n "(cached) " >&6
13394 ac_func_search_save_LIBS
=$LIBS
13395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13396 /* end confdefs.h. */
13398 /* Override any GCC internal prototype to avoid an error.
13399 Use char because int might match the return type of a GCC
13400 builtin and then its argument prototype would still apply. */
13413 for ac_lib
in '' socket
; do
13414 if test -z "$ac_lib"; then
13415 ac_res
="none required"
13418 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13420 if ac_fn_c_try_link
"$LINENO"; then :
13421 ac_cv_search_connect
=$ac_res
13423 rm -f core conftest.err conftest.
$ac_objext \
13425 if ${ac_cv_search_connect+:} false
; then :
13429 if ${ac_cv_search_connect+:} false
; then :
13432 ac_cv_search_connect
=no
13434 rm conftest.
$ac_ext
13435 LIBS
=$ac_func_search_save_LIBS
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13438 $as_echo "$ac_cv_search_connect" >&6; }
13439 ac_res
=$ac_cv_search_connect
13440 if test "$ac_res" != no
; then :
13441 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13447 $as_echo_n "checking for library containing inet_aton... " >&6; }
13448 if ${ac_cv_search_inet_aton+:} false
; then :
13449 $as_echo_n "(cached) " >&6
13451 ac_func_search_save_LIBS
=$LIBS
13452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13453 /* end confdefs.h. */
13455 /* Override any GCC internal prototype to avoid an error.
13456 Use char because int might match the return type of a GCC
13457 builtin and then its argument prototype would still apply. */
13465 return inet_aton ();
13470 for ac_lib
in '' resolv
; do
13471 if test -z "$ac_lib"; then
13472 ac_res
="none required"
13475 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13477 if ac_fn_c_try_link
"$LINENO"; then :
13478 ac_cv_search_inet_aton
=$ac_res
13480 rm -f core conftest.err conftest.
$ac_objext \
13482 if ${ac_cv_search_inet_aton+:} false
; then :
13486 if ${ac_cv_search_inet_aton+:} false
; then :
13489 ac_cv_search_inet_aton
=no
13491 rm conftest.
$ac_ext
13492 LIBS
=$ac_func_search_save_LIBS
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13495 $as_echo "$ac_cv_search_inet_aton" >&6; }
13496 ac_res
=$ac_cv_search_inet_aton
13497 if test "$ac_res" != no
; then :
13498 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13517 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13518 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13519 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13520 cat >>confdefs.h
<<_ACEOF
13521 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
13530 $as_echo_n "checking for library containing clock_gettime... " >&6; }
13531 if ${ac_cv_search_clock_gettime+:} false
; then :
13532 $as_echo_n "(cached) " >&6
13534 ac_func_search_save_LIBS
=$LIBS
13535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13536 /* end confdefs.h. */
13538 /* Override any GCC internal prototype to avoid an error.
13539 Use char because int might match the return type of a GCC
13540 builtin and then its argument prototype would still apply. */
13544 char clock_gettime ();
13548 return clock_gettime ();
13553 for ac_lib
in '' rt
; do
13554 if test -z "$ac_lib"; then
13555 ac_res
="none required"
13558 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13560 if ac_fn_c_try_link
"$LINENO"; then :
13561 ac_cv_search_clock_gettime
=$ac_res
13563 rm -f core conftest.err conftest.
$ac_objext \
13565 if ${ac_cv_search_clock_gettime+:} false
; then :
13569 if ${ac_cv_search_clock_gettime+:} false
; then :
13572 ac_cv_search_clock_gettime
=no
13574 rm conftest.
$ac_ext
13575 LIBS
=$ac_func_search_save_LIBS
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
13578 $as_echo "$ac_cv_search_clock_gettime" >&6; }
13579 ac_res
=$ac_cv_search_clock_gettime
13580 if test "$ac_res" != no
; then :
13581 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13583 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13585 test "$ac_res" = "none required" || LIBRT
="$ac_res"
13593 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13595 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13597 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13599 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13600 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
13601 $as_echo_n "(cached) " >&6
13603 ac_check_lib_save_LIBS
=$LIBS
13604 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13606 /* end confdefs.h. */
13608 /* Override any GCC internal prototype to avoid an error.
13609 Use char because int might match the return type of a GCC
13610 builtin and then its argument prototype would still apply. */
13614 char ldap_initialize ();
13618 return ldap_initialize ();
13623 if ac_fn_c_try_link
"$LINENO"; then :
13624 ac_cv_lib_ldap_r_ldap_initialize
=yes
13626 ac_cv_lib_ldap_r_ldap_initialize
=no
13628 rm -f core conftest.err conftest.
$ac_objext \
13629 conftest
$ac_exeext conftest.
$ac_ext
13630 LIBS
=$ac_check_lib_save_LIBS
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13633 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13634 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13636 $as_echo_n "checking for ber_init in -llber... " >&6; }
13637 if ${ac_cv_lib_lber_ber_init+:} false
; then :
13638 $as_echo_n "(cached) " >&6
13640 ac_check_lib_save_LIBS
=$LIBS
13641 LIBS
="-llber $LIBPTHREAD $LIBS"
13642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13643 /* end confdefs.h. */
13645 /* Override any GCC internal prototype to avoid an error.
13646 Use char because int might match the return type of a GCC
13647 builtin and then its argument prototype would still apply. */
13655 return ber_init ();
13660 if ac_fn_c_try_link
"$LINENO"; then :
13661 ac_cv_lib_lber_ber_init
=yes
13663 ac_cv_lib_lber_ber_init
=no
13665 rm -f core conftest.err conftest.
$ac_objext \
13666 conftest
$ac_exeext conftest.
$ac_ext
13667 LIBS
=$ac_check_lib_save_LIBS
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13670 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13671 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
13673 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13675 LDAPLIBS
="-lldap_r -llber"
13682 ac_wine_check_funcs_save_LIBS
="$LIBS"
13683 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13685 ldap_count_references \
13686 ldap_first_reference \
13687 ldap_next_reference \
13688 ldap_parse_reference \
13689 ldap_parse_sort_control \
13690 ldap_parse_sortresponse_control \
13691 ldap_parse_vlv_control \
13692 ldap_parse_vlvresponse_control
13694 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13695 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13696 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13697 cat >>confdefs.h
<<_ACEOF
13698 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13704 LIBS
="$ac_wine_check_funcs_save_LIBS"
13706 if test "x$LDAPLIBS" = "x"; then :
13707 case "x$with_ldap" in
13708 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13710 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13711 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13716 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13717 if ${wine_cv_one_arg_mkdir+:} false
; then :
13718 $as_echo_n "(cached) " >&6
13720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13721 /* end confdefs.h. */
13722 #include <sys/stat.h>
13731 if ac_fn_c_try_compile
"$LINENO"; then :
13732 wine_cv_one_arg_mkdir
=yes
13734 wine_cv_one_arg_mkdir
=no
13736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13739 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13740 if test "$wine_cv_one_arg_mkdir" = "yes"
13743 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13748 $as_echo_n "checking for sched_setaffinity... " >&6; }
13749 if ${wine_cv_have_sched_setaffinity+:} false
; then :
13750 $as_echo_n "(cached) " >&6
13752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13753 /* end confdefs.h. */
13754 #define _GNU_SOURCE
13759 sched_setaffinity(0, 0, 0);
13764 if ac_fn_c_try_link
"$LINENO"; then :
13765 wine_cv_have_sched_setaffinity
=yes
13767 wine_cv_have_sched_setaffinity
=no
13769 rm -f core conftest.err conftest.
$ac_objext \
13770 conftest
$ac_exeext conftest.
$ac_ext
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13773 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13774 if test "$wine_cv_have_sched_setaffinity" = "yes"
13777 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
13782 $as_echo_n "checking for fallocate... " >&6; }
13783 if ${wine_cv_have_fallocate+:} false
; then :
13784 $as_echo_n "(cached) " >&6
13786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13787 /* end confdefs.h. */
13788 #define _GNU_SOURCE
13793 fallocate(-1, 0, 0, 0);
13798 if ac_fn_c_try_link
"$LINENO"; then :
13799 wine_cv_have_fallocate
=yes
13801 wine_cv_have_fallocate
=no
13803 rm -f core conftest.err conftest.
$ac_objext \
13804 conftest
$ac_exeext conftest.
$ac_ext
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
13807 $as_echo "$wine_cv_have_fallocate" >&6; }
13808 if test "$wine_cv_have_fallocate" = "yes"
13811 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13817 $as_echo_n "checking for inline... " >&6; }
13818 if ${ac_cv_c_inline+:} false
; then :
13819 $as_echo_n "(cached) " >&6
13822 for ac_kw
in inline __inline__ __inline
; do
13823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13825 #ifndef __cplusplus
13827 static $ac_kw foo_t static_foo () {return 0; }
13828 $ac_kw foo_t foo () {return 0; }
13832 if ac_fn_c_try_compile
"$LINENO"; then :
13833 ac_cv_c_inline
=$ac_kw
13835 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13836 test "$ac_cv_c_inline" != no
&& break
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13841 $as_echo "$ac_cv_c_inline" >&6; }
13843 case $ac_cv_c_inline in
13846 case $ac_cv_c_inline in
13848 *) ac_val
=$ac_cv_c_inline;;
13850 cat >>confdefs.h
<<_ACEOF
13851 #ifndef __cplusplus
13852 #define inline $ac_val
13858 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13859 if test "x$ac_cv_type_mode_t" = xyes
; then :
13861 cat >>confdefs.h
<<_ACEOF
13862 #define HAVE_MODE_T 1
13867 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13868 if test "x$ac_cv_type_off_t" = xyes
; then :
13870 cat >>confdefs.h
<<_ACEOF
13871 #define HAVE_OFF_T 1
13876 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13877 if test "x$ac_cv_type_pid_t" = xyes
; then :
13879 cat >>confdefs.h
<<_ACEOF
13880 #define HAVE_PID_T 1
13885 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13886 if test "x$ac_cv_type_size_t" = xyes
; then :
13888 cat >>confdefs.h
<<_ACEOF
13889 #define HAVE_SIZE_T 1
13894 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13895 if test "x$ac_cv_type_ssize_t" = xyes
; then :
13897 cat >>confdefs.h
<<_ACEOF
13898 #define HAVE_SSIZE_T 1
13903 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13904 if test "x$ac_cv_type_long_long" = xyes
; then :
13906 cat >>confdefs.h
<<_ACEOF
13907 #define HAVE_LONG_LONG 1
13912 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13913 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
13915 cat >>confdefs.h
<<_ACEOF
13916 #define HAVE_FSBLKCNT_T 1
13921 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13922 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
13924 cat >>confdefs.h
<<_ACEOF
13925 #define HAVE_FSFILCNT_T 1
13931 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13932 #include <signal.h>
13934 if test "x$ac_cv_type_sigset_t" = xyes
; then :
13936 cat >>confdefs.h
<<_ACEOF
13937 #define HAVE_SIGSET_T 1
13943 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13945 if test "x$ac_cv_type_request_sense" = xyes
; then :
13947 cat >>confdefs.h
<<_ACEOF
13948 #define HAVE_REQUEST_SENSE 1
13955 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13956 #ifdef HAVE_SYS_SOCKET_H
13957 #include <sys/socket.h>
13959 #ifdef HAVE_SYS_SOCKETVAR_H
13960 #include <sys/socketvar.h>
13962 #ifdef HAVE_NET_ROUTE_H
13963 #include <net/route.h>
13965 #ifdef HAVE_NETINET_IN_H
13966 #include <netinet/in.h>
13968 #ifdef HAVE_NETINET_IN_SYSTM_H
13969 #include <netinet/in_systm.h>
13971 #ifdef HAVE_NETINET_IP_H
13972 #include <netinet/ip.h>
13974 #ifdef HAVE_NETINET_IN_PCB_H
13975 #include <netinet/in_pcb.h>
13978 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
13980 cat >>confdefs.h
<<_ACEOF
13981 #define HAVE_STRUCT_XINPGEN 1
13988 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13989 #include <linux/input.h>
13992 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
13994 cat >>confdefs.h
<<_ACEOF
13995 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14003 $as_echo_n "checking for sigaddset... " >&6; }
14004 if ${wine_cv_have_sigaddset+:} false
; then :
14005 $as_echo_n "(cached) " >&6
14007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14008 /* end confdefs.h. */
14009 #include <signal.h>
14013 sigset_t set; sigaddset(&set,SIGTERM);
14018 if ac_fn_c_try_link
"$LINENO"; then :
14019 wine_cv_have_sigaddset
=yes
14021 wine_cv_have_sigaddset
=no
14023 rm -f core conftest.err conftest.
$ac_objext \
14024 conftest
$ac_exeext conftest.
$ac_ext
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14027 $as_echo "$wine_cv_have_sigaddset" >&6; }
14028 if test "$wine_cv_have_sigaddset" = "yes"
14031 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14037 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14038 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
14039 $as_echo_n "(cached) " >&6
14041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14042 /* end confdefs.h. */
14050 struct hostent *result;
14057 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14058 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14064 if ac_fn_c_try_link
"$LINENO"; then :
14065 wine_cv_linux_gethostbyname_r_6
=yes
14067 wine_cv_linux_gethostbyname_r_6
=no
14070 rm -f core conftest.err conftest.
$ac_objext \
14071 conftest
$ac_exeext conftest.
$ac_ext
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14075 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14076 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14079 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14083 if test "$ac_cv_header_linux_joystick_h" = "yes"
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14086 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14087 if ${wine_cv_linux_joystick_22_api+:} false
; then :
14088 $as_echo_n "(cached) " >&6
14090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14091 /* end confdefs.h. */
14093 #include <sys/ioctl.h>
14094 #include <sys/types.h>
14095 #include <linux/joystick.h>
14097 struct js_event blub;
14098 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14099 #error "no 2.2 header"
14110 if ac_fn_c_try_compile
"$LINENO"; then :
14111 wine_cv_linux_joystick_22_api
=yes
14113 wine_cv_linux_joystick_22_api
=no
14115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14119 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14120 if test "$wine_cv_linux_joystick_22_api" = "yes"
14123 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14129 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14130 #ifdef HAVE_SYS_PARAM_H
14131 # include <sys/param.h>
14133 #ifdef HAVE_SYS_MOUNT_H
14134 # include <sys/mount.h>
14136 #ifdef HAVE_SYS_VFS_H
14137 # include <sys/vfs.h>
14139 #ifdef HAVE_SYS_STATFS_H
14140 # include <sys/statfs.h>
14143 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
14145 cat >>confdefs.h
<<_ACEOF
14146 #define HAVE_STRUCT_STATFS_F_BFREE 1
14151 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
14152 #ifdef HAVE_SYS_PARAM_H
14153 # include <sys/param.h>
14155 #ifdef HAVE_SYS_MOUNT_H
14156 # include <sys/mount.h>
14158 #ifdef HAVE_SYS_VFS_H
14159 # include <sys/vfs.h>
14161 #ifdef HAVE_SYS_STATFS_H
14162 # include <sys/statfs.h>
14165 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
14167 cat >>confdefs.h
<<_ACEOF
14168 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
14173 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
14174 #ifdef HAVE_SYS_PARAM_H
14175 # include <sys/param.h>
14177 #ifdef HAVE_SYS_MOUNT_H
14178 # include <sys/mount.h>
14180 #ifdef HAVE_SYS_VFS_H
14181 # include <sys/vfs.h>
14183 #ifdef HAVE_SYS_STATFS_H
14184 # include <sys/statfs.h>
14187 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
14189 cat >>confdefs.h
<<_ACEOF
14190 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
14195 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
14196 #ifdef HAVE_SYS_PARAM_H
14197 # include <sys/param.h>
14199 #ifdef HAVE_SYS_MOUNT_H
14200 # include <sys/mount.h>
14202 #ifdef HAVE_SYS_VFS_H
14203 # include <sys/vfs.h>
14205 #ifdef HAVE_SYS_STATFS_H
14206 # include <sys/statfs.h>
14209 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
14211 cat >>confdefs.h
<<_ACEOF
14212 #define HAVE_STRUCT_STATFS_F_FFREE 1
14217 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
14218 #ifdef HAVE_SYS_PARAM_H
14219 # include <sys/param.h>
14221 #ifdef HAVE_SYS_MOUNT_H
14222 # include <sys/mount.h>
14224 #ifdef HAVE_SYS_VFS_H
14225 # include <sys/vfs.h>
14227 #ifdef HAVE_SYS_STATFS_H
14228 # include <sys/statfs.h>
14231 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
14233 cat >>confdefs.h
<<_ACEOF
14234 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
14239 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
14240 #ifdef HAVE_SYS_PARAM_H
14241 # include <sys/param.h>
14243 #ifdef HAVE_SYS_MOUNT_H
14244 # include <sys/mount.h>
14246 #ifdef HAVE_SYS_VFS_H
14247 # include <sys/vfs.h>
14249 #ifdef HAVE_SYS_STATFS_H
14250 # include <sys/statfs.h>
14253 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
14255 cat >>confdefs.h
<<_ACEOF
14256 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14263 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14264 #include <sys/statvfs.h>
14267 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
14269 cat >>confdefs.h
<<_ACEOF
14270 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14277 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14278 #include <dirent.h>
14281 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
14283 cat >>confdefs.h
<<_ACEOF
14284 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14291 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14292 #ifdef HAVE_SYS_SOCKET_H
14293 # include <sys/socket.h>
14295 #ifdef HAVE_SYS_UN_H
14296 # include <sys/un.h>
14299 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
14301 cat >>confdefs.h
<<_ACEOF
14302 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14307 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14308 #ifdef HAVE_SYS_SOCKET_H
14309 # include <sys/socket.h>
14311 #ifdef HAVE_SYS_UN_H
14312 # include <sys/un.h>
14315 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
14317 cat >>confdefs.h
<<_ACEOF
14318 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14323 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14324 #ifdef HAVE_SYS_SOCKET_H
14325 # include <sys/socket.h>
14327 #ifdef HAVE_SYS_UN_H
14328 # include <sys/un.h>
14331 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
14333 cat >>confdefs.h
<<_ACEOF
14334 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14341 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14342 #ifdef HAVE_SCSI_SG_H
14343 #include <scsi/sg.h>
14346 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
14348 cat >>confdefs.h
<<_ACEOF
14349 #define HAVE_SCSIREQ_T_CMD 1
14354 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>
14355 #ifdef HAVE_SCSI_SG_H
14356 #include <scsi/sg.h>
14359 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
14361 cat >>confdefs.h
<<_ACEOF
14362 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14369 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14371 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
14373 cat >>confdefs.h
<<_ACEOF
14374 #define HAVE_SIGINFO_T_SI_FD 1
14381 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14382 #ifdef HAVE_SYS_MTIO_H
14383 #include <sys/mtio.h>
14386 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
14388 cat >>confdefs.h
<<_ACEOF
14389 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14394 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14395 #ifdef HAVE_SYS_MTIO_H
14396 #include <sys/mtio.h>
14399 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
14401 cat >>confdefs.h
<<_ACEOF
14402 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14407 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14408 #ifdef HAVE_SYS_MTIO_H
14409 #include <sys/mtio.h>
14412 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
14414 cat >>confdefs.h
<<_ACEOF
14415 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14422 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14423 #include <getopt.h>
14426 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
14428 cat >>confdefs.h
<<_ACEOF
14429 #define HAVE_STRUCT_OPTION_NAME 1
14436 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14437 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
14439 cat >>confdefs.h
<<_ACEOF
14440 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14445 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14446 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
14448 cat >>confdefs.h
<<_ACEOF
14449 #define HAVE_STRUCT_STAT_ST_MTIM 1
14454 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14455 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
14457 cat >>confdefs.h
<<_ACEOF
14458 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14463 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14464 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
14466 cat >>confdefs.h
<<_ACEOF
14467 #define HAVE_STRUCT_STAT_ST_CTIM 1
14472 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14473 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
14475 cat >>confdefs.h
<<_ACEOF
14476 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14481 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14482 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
14484 cat >>confdefs.h
<<_ACEOF
14485 #define HAVE_STRUCT_STAT_ST_ATIM 1
14490 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14491 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
14493 cat >>confdefs.h
<<_ACEOF
14494 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14499 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14500 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
14502 cat >>confdefs.h
<<_ACEOF
14503 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14508 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14509 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
14511 cat >>confdefs.h
<<_ACEOF
14512 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14517 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14518 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
14520 cat >>confdefs.h
<<_ACEOF
14521 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14526 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14527 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
14529 cat >>confdefs.h
<<_ACEOF
14530 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14535 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14536 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
14538 cat >>confdefs.h
<<_ACEOF
14539 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14546 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
14547 #include <sys/types.h>
14549 #ifdef HAVE_NETINET_IN_H
14550 #include <netinet/in.h>
14553 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
14555 cat >>confdefs.h
<<_ACEOF
14556 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14563 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14564 #include <sys/types.h>
14566 #ifdef HAVE_NETINET_IN_H
14567 # include <netinet/in.h>
14569 #ifdef HAVE_ARPA_NAMESER_H
14570 # include <arpa/nameser.h>
14573 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
14575 cat >>confdefs.h
<<_ACEOF
14576 #define HAVE_NS_MSG__MSG_PTR 1
14583 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14584 #include <sys/types.h>
14586 #ifdef HAVE_NETINET_IP_H
14587 #include <netinet/ip.h>
14589 #ifdef HAVE_NETINET_IP_ICMP_H
14590 #include <netinet/ip_icmp.h>
14592 #ifdef HAVE_NETINET_ICMP_VAR_H
14593 #include <netinet/icmp_var.h>
14596 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
14598 cat >>confdefs.h
<<_ACEOF
14599 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14606 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14607 #include <sys/types.h>
14609 #ifdef HAVE_ALIAS_H
14612 #ifdef HAVE_SYS_SOCKET_H
14613 #include <sys/socket.h>
14615 #ifdef HAVE_SYS_SOCKETVAR_H
14616 #include <sys/socketvar.h>
14618 #ifdef HAVE_SYS_TIMEOUT_H
14619 #include <sys/timeout.h>
14621 #ifdef HAVE_NETINET_IN_H
14622 #include <netinet/in.h>
14624 #ifdef HAVE_NETINET_IN_SYSTM_H
14625 #include <netinet/in_systm.h>
14627 #ifdef HAVE_NETINET_IP_H
14628 #include <netinet/ip.h>
14630 #ifdef HAVE_NETINET_IP_VAR_H
14631 #include <netinet/ip_var.h>
14633 #ifdef HAVE_NETINET_IP_ICMP_H
14634 #include <netinet/ip_icmp.h>
14636 #ifdef HAVE_NETINET_ICMP_VAR_H
14637 #include <netinet/icmp_var.h>
14640 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
14642 cat >>confdefs.h
<<_ACEOF
14643 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14650 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14651 #include <sys/types.h>
14653 #ifdef HAVE_SYS_SOCKETVAR_H
14654 #include <sys/socketvar.h>
14656 #ifdef HAVE_NETINET_IN_H
14657 #include <netinet/in.h>
14659 #ifdef HAVE_NETINET_IP_VAR_H
14660 #include <netinet/ip_var.h>
14663 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
14665 cat >>confdefs.h
<<_ACEOF
14666 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14673 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
14674 #include <netinet/ip_var.h>
14677 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
14679 cat >>confdefs.h
<<_ACEOF
14680 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14687 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14688 #include <sys/types.h>
14690 #ifdef HAVE_SYS_SOCKETVAR_H
14691 #include <sys/socketvar.h>
14693 #ifdef HAVE_NETINET_IN_H
14694 #include <netinet/in.h>
14696 #ifdef HAVE_NETINET_TCP_H
14697 #include <netinet/tcp.h>
14699 #ifdef HAVE_NETINET_TCP_VAR_H
14700 #include <netinet/tcp_var.h>
14703 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
14705 cat >>confdefs.h
<<_ACEOF
14706 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14713 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
14714 #include <netinet/tcp_var.h>
14717 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
14719 cat >>confdefs.h
<<_ACEOF
14720 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14727 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
14728 #include <sys/types.h>
14730 #ifdef HAVE_NETINET_IN_H
14731 #include <netinet/in.h>
14733 #ifdef HAVE_NETINET_IP_VAR_H
14734 #include <netinet/ip_var.h>
14736 #ifdef HAVE_NETINET_UDP_H
14737 #include <netinet/udp.h>
14739 #ifdef HAVE_NETINET_UDP_VAR_H
14740 #include <netinet/udp_var.h>
14743 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
14745 cat >>confdefs.h
<<_ACEOF
14746 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14753 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14754 #include <sys/types.h>
14756 #ifdef HAVE_NET_IF_H
14757 # include <net/if.h>
14760 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
14762 cat >>confdefs.h
<<_ACEOF
14763 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14771 $as_echo_n "checking for timezone variable... " >&6; }
14772 if ${ac_cv_have_timezone+:} false
; then :
14773 $as_echo_n "(cached) " >&6
14775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14776 /* end confdefs.h. */
14786 if ac_fn_c_try_link
"$LINENO"; then :
14787 ac_cv_have_timezone
="yes"
14789 ac_cv_have_timezone
="no"
14791 rm -f core conftest.err conftest.
$ac_objext \
14792 conftest
$ac_exeext conftest.
$ac_ext
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14795 $as_echo "$ac_cv_have_timezone" >&6; }
14796 if test "$ac_cv_have_timezone" = "yes"
14799 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14803 $as_echo_n "checking for daylight variable... " >&6; }
14804 if ${ac_cv_have_daylight+:} false
; then :
14805 $as_echo_n "(cached) " >&6
14807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14808 /* end confdefs.h. */
14818 if ac_fn_c_try_link
"$LINENO"; then :
14819 ac_cv_have_daylight
="yes"
14821 ac_cv_have_daylight
="no"
14823 rm -f core conftest.err conftest.
$ac_objext \
14824 conftest
$ac_exeext conftest.
$ac_ext
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14827 $as_echo "$ac_cv_have_daylight" >&6; }
14828 if test "$ac_cv_have_daylight" = "yes"
14831 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14835 ac_save_LIBS
="$LIBS"
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14838 $as_echo_n "checking for isinf... " >&6; }
14839 if ${ac_cv_have_isinf+:} false
; then :
14840 $as_echo_n "(cached) " >&6
14842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14843 /* end confdefs.h. */
14848 float f = 0.0; return isinf(f)
14853 if ac_fn_c_try_link
"$LINENO"; then :
14854 ac_cv_have_isinf
="yes"
14856 ac_cv_have_isinf
="no"
14858 rm -f core conftest.err conftest.
$ac_objext \
14859 conftest
$ac_exeext conftest.
$ac_ext
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14862 $as_echo "$ac_cv_have_isinf" >&6; }
14863 if test "$ac_cv_have_isinf" = "yes"
14866 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14871 $as_echo_n "checking for isnan... " >&6; }
14872 if ${ac_cv_have_isnan+:} false
; then :
14873 $as_echo_n "(cached) " >&6
14875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14876 /* end confdefs.h. */
14881 float f = 0.0; return isnan(f)
14886 if ac_fn_c_try_link
"$LINENO"; then :
14887 ac_cv_have_isnan
="yes"
14889 ac_cv_have_isnan
="no"
14891 rm -f core conftest.err conftest.
$ac_objext \
14892 conftest
$ac_exeext conftest.
$ac_ext
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14895 $as_echo "$ac_cv_have_isnan" >&6; }
14896 if test "$ac_cv_have_isnan" = "yes"
14899 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14902 LIBS
="$ac_save_LIBS"
14906 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14907 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14908 if ${ac_cv_cpp_def___i386__+:} false
; then :
14909 $as_echo_n "(cached) " >&6
14911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14912 /* end confdefs.h. */
14917 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14918 $EGREP "yes" >/dev
/null
2>&1; then :
14919 ac_cv_cpp_def___i386__
=yes
14921 ac_cv_cpp_def___i386__
=no
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14927 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14928 if test $ac_cv_cpp_def___i386__ = yes; then :
14929 CFLAGS
="$CFLAGS -D__i386__"
14930 LINTFLAGS
="$LINTFLAGS -D__i386__"
14932 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14933 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14934 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
14935 $as_echo_n "(cached) " >&6
14937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14938 /* end confdefs.h. */
14943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14944 $EGREP "yes" >/dev
/null
2>&1; then :
14945 ac_cv_cpp_def___x86_64__
=yes
14947 ac_cv_cpp_def___x86_64__
=no
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14953 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14954 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14955 CFLAGS
="$CFLAGS -D__x86_64__"
14956 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
14958 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
14959 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
14960 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
14961 $as_echo_n "(cached) " >&6
14963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14964 /* end confdefs.h. */
14965 #ifndef __sparc64__
14969 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14970 $EGREP "yes" >/dev
/null
2>&1; then :
14971 ac_cv_cpp_def___sparc64__
=yes
14973 ac_cv_cpp_def___sparc64__
=no
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
14979 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
14980 if test $ac_cv_cpp_def___sparc64__ = yes; then :
14981 CFLAGS
="$CFLAGS -D__sparc64__"
14982 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
14984 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14985 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14986 if ${ac_cv_cpp_def___sparc__+:} false
; then :
14987 $as_echo_n "(cached) " >&6
14989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14990 /* end confdefs.h. */
14995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14996 $EGREP "yes" >/dev
/null
2>&1; then :
14997 ac_cv_cpp_def___sparc__
=yes
14999 ac_cv_cpp_def___sparc__
=no
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15005 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15006 if test $ac_cv_cpp_def___sparc__ = yes; then :
15007 CFLAGS
="$CFLAGS -D__sparc__"
15008 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15010 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15011 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15012 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
15013 $as_echo_n "(cached) " >&6
15015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15016 /* end confdefs.h. */
15017 #ifndef __powerpc64__
15021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15022 $EGREP "yes" >/dev
/null
2>&1; then :
15023 ac_cv_cpp_def___powerpc64__
=yes
15025 ac_cv_cpp_def___powerpc64__
=no
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15031 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15032 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15033 CFLAGS
="$CFLAGS -D__powerpc64__"
15034 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
15036 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15037 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15038 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
15039 $as_echo_n "(cached) " >&6
15041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15042 /* end confdefs.h. */
15043 #ifndef __powerpc__
15047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15048 $EGREP "yes" >/dev
/null
2>&1; then :
15049 ac_cv_cpp_def___powerpc__
=yes
15051 ac_cv_cpp_def___powerpc__
=no
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15057 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15058 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15059 CFLAGS
="$CFLAGS -D__powerpc__"
15060 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
15062 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15063 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15064 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
15065 $as_echo_n "(cached) " >&6
15067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15068 /* end confdefs.h. */
15069 #ifndef __aarch64__
15073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15074 $EGREP "yes" >/dev
/null
2>&1; then :
15075 ac_cv_cpp_def___aarch64__
=yes
15077 ac_cv_cpp_def___aarch64__
=no
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15083 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15084 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15085 CFLAGS
="$CFLAGS -D__aarch64__"
15086 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
15088 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15089 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15090 if ${ac_cv_cpp_def___arm__+:} false
; then :
15091 $as_echo_n "(cached) " >&6
15093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15099 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15100 $EGREP "yes" >/dev
/null
2>&1; then :
15101 ac_cv_cpp_def___arm__
=yes
15103 ac_cv_cpp_def___arm__
=no
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15109 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15110 if test $ac_cv_cpp_def___arm__ = yes; then :
15111 CFLAGS
="$CFLAGS -D__arm__"
15112 LINTFLAGS
="$LINTFLAGS -D__arm__"
15116 case $host_vendor in
15117 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
15118 $as_echo_n "checking whether we need to define __sun__... " >&6; }
15119 if ${ac_cv_cpp_def___sun__+:} false
; then :
15120 $as_echo_n "(cached) " >&6
15122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15123 /* end confdefs.h. */
15128 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15129 $EGREP "yes" >/dev
/null
2>&1; then :
15130 ac_cv_cpp_def___sun__
=yes
15132 ac_cv_cpp_def___sun__
=no
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
15138 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
15139 if test $ac_cv_cpp_def___sun__ = yes; then :
15140 CFLAGS
="$CFLAGS -D__sun__"
15141 LINTFLAGS
="$LINTFLAGS -D__sun__"
15149 ac_config_commands
="$ac_config_commands include/stamp-h"
15152 ALL_MAKEFILE_DEPENDS
="
15153 # Rules automatically generated by configure
15158 Makefile: Makefile.in Make.vars.in Make.rules config.status
15159 @./config.status Make.tmp Makefile"
15162 ALL_TEST_RESOURCES
=""
15165 wine_fn_append_file
()
15167 as_fn_append
$1 " \\$as_nl $2"
15170 wine_fn_append_rule
()
15172 as_fn_append
$1 "$as_nl$2"
15175 wine_fn_has_flag
()
15177 expr ",$2," : ".*,$1,.*" >/dev
/null
15180 wine_fn_all_dir_rules
()
15184 ac_makedep
="\$(MAKEDEP)"
15185 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
15186 if test $ac_dir != tools
15188 ac_alldeps
="$2 $ac_makedep"
15190 ac_alldeps
="$2 include/config.h"
15193 *.
in) ac_input
=$ac_input:$2 ;;
15194 *) ac_makedep
="$2 $ac_makedep" ;;
15197 wine_fn_append_file ALL_DIRS
$ac_dir
15198 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15199 "__clean__: $ac_dir/__clean__
15200 .PHONY: $ac_dir/__clean__
15201 $ac_dir/__clean__: $ac_dir/Makefile
15202 @cd $ac_dir && \$(MAKE) clean
15203 \$(RM) $ac_dir/Makefile
15204 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
15205 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
15206 depend: $ac_dir/__depend__
15207 .PHONY: $ac_dir/__depend__
15208 $ac_dir/__depend__: $ac_makedep dummy
15209 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
15212 wine_fn_pot_rules
()
15217 test "x$with_gettextpo" = xyes ||
return
15219 if wine_fn_has_flag mc
$ac_flags
15221 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
15222 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15223 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
15224 @cd $ac_dir && \$(MAKE) msg.pot
15225 $ac_dir/msg.pot: tools/wmc include"
15227 if wine_fn_has_flag po
$ac_flags
15229 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
15230 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15231 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
15232 @cd $ac_dir && \$(MAKE) rsrc.pot
15233 $ac_dir/rsrc.pot: tools/wrc include"
15237 wine_fn_config_makefile
()
15243 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15247 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
15248 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15251 $ac_dir: $ac_dir/Makefile dummy
15252 @cd $ac_dir && \$(MAKE)"
15254 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
15256 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15257 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15258 $ac_dir/__install__:: $ac_dir
15259 @cd $ac_dir && \$(MAKE) install
15260 $ac_dir/__uninstall__:: $ac_dir/Makefile
15261 @cd $ac_dir && \$(MAKE) uninstall
15262 install:: $ac_dir/__install__
15263 __uninstall__: $ac_dir/__uninstall__"
15265 if wine_fn_has_flag install-lib
$ac_flags
15267 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15268 ".PHONY: $ac_dir/__install-lib__
15269 $ac_dir/__install-lib__:: $ac_dir
15270 @cd $ac_dir && \$(MAKE) install-lib
15271 install-lib:: $ac_dir/__install-lib__"
15274 if wine_fn_has_flag install-dev
$ac_flags
15276 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15277 ".PHONY: $ac_dir/__install-dev
15278 $ac_dir/__install-dev__:: $ac_dir
15279 @cd $ac_dir && \$(MAKE) install-dev
15280 install-dev:: $ac_dir/__install-dev__"
15284 wine_fn_config_lib
()
15288 ac_dir
=dlls
/$ac_name
15289 wine_fn_config_makefile
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
15291 if wine_fn_has_flag install-dev
$ac_flags
15294 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15295 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15296 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15297 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15298 $ac_dir/__uninstall__::
15299 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15300 install install-dev:: $ac_dir/__install__
15301 __uninstall__: $ac_dir/__uninstall__"
15304 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: $ac_dir"
15305 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: tools/widl tools/winebuild tools/winegcc include"
15308 wine_fn_config_dll
()
15311 ac_dir
=dlls
/$ac_name
15314 ac_implib
=${4:-$ac_name}
15315 ac_file
=$ac_dir/lib
$ac_implib
15317 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
15321 *16) ac_implibflags
=" -m16" ;;
15323 *) ac_dll
=$ac_dll.dll
;;
15326 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
15328 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15329 test "$ac_enable" != enable_win16 ||
return 0
15330 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
15332 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15333 "$ac_dir: __builddeps__
15334 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15335 @cd $ac_dir && \$(MAKE) \$@"
15337 if wine_fn_has_flag install-lib
$ac_flags
15340 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15341 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15342 install install-lib:: $ac_dir/__install-lib__
15343 __uninstall__: $ac_dir/__uninstall__"
15344 if test -n "$DLLEXT"
15346 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15347 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15348 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
15349 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15350 $ac_dir/__uninstall__::
15351 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15353 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15354 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15355 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15356 $ac_dir/__uninstall__::
15357 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15361 wine_fn_pot_rules
$ac_dir $ac_flags
15364 if wine_fn_has_flag staticimplib
$ac_flags
15366 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15367 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15368 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15369 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15370 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15371 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15372 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15373 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15374 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15375 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15376 $ac_dir/__uninstall__::
15377 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15378 install install-dev:: $ac_dir/__install-dev__
15379 __uninstall__: $ac_dir/__uninstall__"
15381 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15383 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15384 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15385 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15386 $ac_dir/__uninstall__::
15387 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15390 if test "x$CROSSTEST_DISABLE" = x
15392 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15393 "__builddeps__: $ac_file.cross.a
15394 $ac_file.cross.a: $ac_dir/Makefile dummy
15395 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15398 elif wine_fn_has_flag implib
$ac_flags
15400 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15401 "__builddeps__: $ac_file.$IMPLIBEXT
15402 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15403 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15404 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15405 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15406 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15407 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15408 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15409 $ac_dir/__uninstall__::
15410 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15411 install install-dev:: $ac_dir/__install-dev__
15412 __uninstall__: $ac_dir/__uninstall__"
15413 if test "x$CROSSTEST_DISABLE" = x
15415 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15416 "__builddeps__: $ac_file.cross.a
15417 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15418 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15421 if test "$ac_name" != "$ac_implib"
15423 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15424 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15425 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15426 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15428 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15429 if test "x$CROSSTEST_DISABLE" = x
15431 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15432 "__builddeps__: dlls/lib$ac_implib.cross.a
15433 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15434 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15440 wine_fn_config_program
()
15443 ac_dir
=programs
/$ac_name
15446 ac_program
=$ac_name
15450 *) ac_program
=$ac_program.exe
;;
15453 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
15455 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15458 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15459 "$ac_dir: __builddeps__"
15461 wine_fn_pot_rules
$ac_dir $ac_flags
15463 wine_fn_has_flag
install $ac_flags ||
return
15464 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15465 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15466 install install-lib:: $ac_dir/__install__
15467 __uninstall__: $ac_dir/__uninstall__"
15469 if test -n "$DLLEXT"
15471 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15472 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15473 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15474 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15475 $ac_dir/__uninstall__::
15476 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15478 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
15480 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15481 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15482 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15483 $ac_dir/__uninstall__::
15484 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15487 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15488 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15489 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15490 $ac_dir/__uninstall__::
15491 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15494 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
15496 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15497 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15498 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15499 $ac_dir/__uninstall__::
15500 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15505 wine_fn_config_test
()
15510 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
15511 wine_fn_all_dir_rules
$ac_dir Maketest.rules
15513 if test "x$enable_tests" = xno
; then :
15516 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15519 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15520 @cd $ac_dir && \$(MAKE)
15521 programs/winetest: $ac_dir
15522 check test: $ac_dir/__test__
15523 .PHONY: $ac_dir/__test__
15524 $ac_dir/__test__: dummy
15525 @cd $ac_dir && \$(MAKE) test
15527 \$(RM) $ac_dir/*.ok"
15529 if test "x$CROSSTEST_DISABLE" = x
15531 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15532 "crosstest: $ac_dir/__crosstest__
15533 .PHONY: $ac_dir/__crosstest__
15534 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15535 @cd $ac_dir && \$(MAKE) crosstest"
15540 wine_fn_config_tool
()
15544 if test "x$enable_tools" = xno
; then :
15548 wine_fn_config_makefile
$ac_dir enable_tools
$ac_flags
15550 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__tooldeps__: $ac_dir"
15551 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: libs/port"
15553 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
15557 wine_fn_config_makerules
()
15561 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15562 "$ac_rules: $ac_rules.in $ac_deps config.status
15563 @./config.status $ac_rules
15568 wine_fn_config_symlink
()
15571 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15573 @./config.status $ac_link
15578 if test "x$CROSSTEST_DISABLE" != x
15580 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15582 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15584 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15585 wine_fn_config_symlink dlls
/shell32
/AUTHORS
15586 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15587 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
15588 if test "x$enable_fonts" != xno
; then
15589 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15590 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
15592 if test "x$enable_fonts" != xno
; then
15593 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15594 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
15596 if test "x$enable_fonts" != xno
; then
15597 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15598 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
15600 if test "x$enable_fonts" != xno
; then
15601 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15602 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
15604 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
15605 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
15606 if test "x$enable_tools" != xno
; then
15607 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15608 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
15610 ac_config_links
="$ac_config_links wine:tools/winewrapper"
15611 wine_fn_config_symlink wine
15612 if test "x$enable_win64" != xno
; then
15613 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
15614 wine_fn_config_symlink wine64
15617 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
15619 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
15621 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
15623 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
15625 ac_config_commands
="$ac_config_commands dlls/user32/resources"
15627 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
15629 ac_config_commands
="$ac_config_commands include/wine"
15632 wine_fn_config_makerules Make.rules
15633 MAKE_RULES
=Make.rules
15634 ac_config_files
="$ac_config_files Make.rules"
15636 wine_fn_config_makerules Maketest.rules Make.rules
15637 MAKE_TEST_RULES
=Maketest.rules
15638 ac_config_files
="$ac_config_files Maketest.rules"
15640 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
15641 MAKE_DLL_RULES
=dlls
/Makedll.rules
15642 ac_config_files
="$ac_config_files dlls/Makedll.rules"
15644 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
15645 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
15646 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
15648 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
15649 MAKE_PROG_RULES
=programs
/Makeprog.rules
15650 ac_config_files
="$ac_config_files programs/Makeprog.rules"
15653 wine_fn_config_dll acledit enable_acledit
15654 wine_fn_config_dll aclui enable_aclui implib
15655 wine_fn_config_dll activeds enable_activeds implib
15656 wine_fn_config_dll actxprxy enable_actxprxy
15657 wine_fn_config_lib adsiid
15658 wine_fn_config_dll advapi32 enable_advapi32 implib
15659 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
15660 wine_fn_config_dll advpack enable_advpack implib
15661 wine_fn_config_test dlls
/advpack
/tests advpack_test
15662 wine_fn_config_dll amstream enable_amstream
15663 wine_fn_config_test dlls
/amstream
/tests amstream_test
15664 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15665 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15666 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15667 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15668 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15669 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15670 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15671 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15672 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15673 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15674 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15675 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15676 wine_fn_config_dll apphelp enable_apphelp
15677 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
15678 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15679 wine_fn_config_dll atl enable_atl implib
15680 wine_fn_config_test dlls
/atl
/tests atl_test
15681 wine_fn_config_dll atl100 enable_atl100 implib
15682 wine_fn_config_test dlls
/atl100
/tests atl100_test
15683 wine_fn_config_dll atl80 enable_atl80 implib
15684 wine_fn_config_dll authz enable_authz
15685 wine_fn_config_dll avicap32 enable_avicap32 implib
15686 wine_fn_config_dll avifil32 enable_avifil32 implib
,po
15687 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
15688 wine_fn_config_dll avifile.dll16 enable_win16
15689 wine_fn_config_dll avrt enable_avrt implib
15690 wine_fn_config_dll bcrypt enable_bcrypt
15691 wine_fn_config_dll browseui enable_browseui po
15692 wine_fn_config_test dlls
/browseui
/tests browseui_test
15693 wine_fn_config_dll cabinet enable_cabinet implib
15694 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
15695 wine_fn_config_dll capi2032 enable_capi2032 implib
15696 wine_fn_config_dll cards enable_cards implib
15697 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15698 wine_fn_config_dll clusapi enable_clusapi implib
15699 wine_fn_config_dll comcat enable_comcat
15700 wine_fn_config_test dlls
/comcat
/tests comcat_test
15701 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
15702 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
15703 wine_fn_config_dll comdlg32 enable_comdlg32 implib
,po
15704 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
15705 wine_fn_config_dll
comm.drv16 enable_win16
15706 wine_fn_config_dll commdlg.dll16 enable_win16
15707 wine_fn_config_dll compobj.dll16 enable_win16
15708 wine_fn_config_dll compstui enable_compstui implib
15709 wine_fn_config_dll credui enable_credui implib
,po
15710 wine_fn_config_test dlls
/credui
/tests credui_test
15711 wine_fn_config_dll crtdll enable_crtdll implib
15712 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
15713 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
15714 wine_fn_config_dll cryptdlg enable_cryptdlg po
15715 wine_fn_config_dll cryptdll enable_cryptdll implib
15716 wine_fn_config_dll cryptnet enable_cryptnet implib
15717 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
15718 wine_fn_config_dll cryptui enable_cryptui implib
,po
15719 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
15720 wine_fn_config_dll ctapi32 enable_ctapi32
15721 wine_fn_config_dll ctl3d.dll16 enable_win16
15722 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15723 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15724 wine_fn_config_dll d3d10 enable_d3d10 implib
15725 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
15726 wine_fn_config_dll d3d10core enable_d3d10core implib
15727 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
15728 wine_fn_config_dll d3d11 enable_d3d11
15729 wine_fn_config_dll d3d8 enable_d3d8 implib
15730 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
15731 wine_fn_config_dll d3d9 enable_d3d9 implib
15732 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
15733 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15734 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15735 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15736 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15737 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15738 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15739 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15740 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15741 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15742 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15743 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15744 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
15745 wine_fn_config_dll d3dim enable_d3dim implib
15746 wine_fn_config_dll d3drm enable_d3drm implib
15747 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
15748 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15749 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15750 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15751 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15752 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15753 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15754 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15755 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15756 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15757 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15758 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15759 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15760 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15761 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15762 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15763 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15764 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15765 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15766 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15767 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15768 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15769 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15770 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15771 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15772 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
15773 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15774 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15775 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15776 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15777 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15778 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15779 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15780 wine_fn_config_dll d3dxof enable_d3dxof implib
15781 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
15782 wine_fn_config_dll dbgeng enable_dbgeng implib
15783 wine_fn_config_dll dbghelp enable_dbghelp implib
15784 wine_fn_config_dll dciman32 enable_dciman32 implib
15785 wine_fn_config_dll ddeml.dll16 enable_win16
15786 wine_fn_config_dll ddraw enable_ddraw implib
15787 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
15788 wine_fn_config_dll ddrawex enable_ddrawex
15789 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
15790 wine_fn_config_dll devenum enable_devenum po
15791 wine_fn_config_test dlls
/devenum
/tests devenum_test
15792 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15793 wine_fn_config_dll dinput enable_dinput implib
,po
,staticimplib
15794 wine_fn_config_test dlls
/dinput
/tests dinput_test
15795 wine_fn_config_dll dinput8 enable_dinput8 implib
15796 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
15797 wine_fn_config_dll dispdib.dll16 enable_win16
15798 wine_fn_config_dll dispex enable_dispex
15799 wine_fn_config_test dlls
/dispex
/tests dispex_test
15800 wine_fn_config_dll display.drv16 enable_win16
15801 wine_fn_config_dll dmband enable_dmband
15802 wine_fn_config_test dlls
/dmband
/tests dmband_test
15803 wine_fn_config_dll dmcompos enable_dmcompos
15804 wine_fn_config_dll dmime enable_dmime
15805 wine_fn_config_test dlls
/dmime
/tests dmime_test
15806 wine_fn_config_dll dmloader enable_dmloader
15807 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
15808 wine_fn_config_dll dmscript enable_dmscript
15809 wine_fn_config_dll dmstyle enable_dmstyle
15810 wine_fn_config_dll dmsynth enable_dmsynth
15811 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
15812 wine_fn_config_dll dmusic enable_dmusic
15813 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
15814 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15815 wine_fn_config_dll dnsapi enable_dnsapi implib
15816 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
15817 wine_fn_config_dll dplay enable_dplay implib
15818 wine_fn_config_dll dplayx enable_dplayx implib
15819 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
15820 wine_fn_config_dll dpnaddr enable_dpnaddr
15821 wine_fn_config_dll dpnet enable_dpnet implib
15822 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
15823 wine_fn_config_dll dpnhpast enable_dpnhpast
15824 wine_fn_config_dll dpnlobby enable_dpnlobby
15825 wine_fn_config_dll dpwsockx enable_dpwsockx
15826 wine_fn_config_dll drmclien enable_drmclien
15827 wine_fn_config_dll dsound enable_dsound implib
15828 wine_fn_config_test dlls
/dsound
/tests dsound_test
15829 wine_fn_config_dll dssenh enable_dssenh
15830 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
15831 wine_fn_config_dll dswave enable_dswave
15832 wine_fn_config_dll dwmapi enable_dwmapi implib
15833 wine_fn_config_dll dwrite enable_dwrite implib
15834 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
15835 wine_fn_config_dll dxdiagn enable_dxdiagn po
15836 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
15837 wine_fn_config_lib dxerr8
15838 wine_fn_config_lib dxerr9
15839 wine_fn_config_dll dxgi enable_dxgi implib
15840 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
15841 wine_fn_config_lib dxguid
15842 wine_fn_config_dll explorerframe enable_explorerframe
15843 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
15844 wine_fn_config_dll faultrep enable_faultrep implib
15845 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
15846 wine_fn_config_dll fltlib enable_fltlib
15847 wine_fn_config_dll fusion enable_fusion
15848 wine_fn_config_test dlls
/fusion
/tests fusion_test
15849 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15850 wine_fn_config_dll gameux enable_gameux
15851 wine_fn_config_test dlls
/gameux
/tests gameux_test
15852 wine_fn_config_dll gdi.exe16 enable_win16
15853 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
15854 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
15855 wine_fn_config_dll gdiplus enable_gdiplus implib
15856 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
15857 wine_fn_config_dll glu32 enable_glu32 implib
15858 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15859 wine_fn_config_dll gpkcsp enable_gpkcsp
15860 wine_fn_config_dll hal enable_hal
15861 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib
,po htmlhelp
15862 wine_fn_config_dll hid enable_hid implib
15863 wine_fn_config_dll hlink enable_hlink implib
15864 wine_fn_config_test dlls
/hlink
/tests hlink_test
15865 wine_fn_config_dll hnetcfg enable_hnetcfg
15866 wine_fn_config_dll httpapi enable_httpapi
15867 wine_fn_config_dll iccvid enable_iccvid po
15868 wine_fn_config_dll icmp enable_icmp
15869 wine_fn_config_dll ieframe enable_ieframe implib
,po
15870 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
15871 wine_fn_config_dll ifsmgr.vxd enable_win16
15872 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15873 wine_fn_config_dll imagehlp enable_imagehlp implib
15874 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
15875 wine_fn_config_dll imm.dll16 enable_win16
15876 wine_fn_config_dll imm32 enable_imm32 implib
15877 wine_fn_config_test dlls
/imm32
/tests imm32_test
15878 wine_fn_config_dll inetcomm enable_inetcomm implib
15879 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
15880 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15881 wine_fn_config_dll inetmib1 enable_inetmib1
15882 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
15883 wine_fn_config_dll infosoft enable_infosoft
15884 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
15885 wine_fn_config_dll initpki enable_initpki
15886 wine_fn_config_dll inkobj enable_inkobj
15887 wine_fn_config_dll inseng enable_inseng
15888 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15889 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
15890 wine_fn_config_dll itircl enable_itircl
15891 wine_fn_config_dll itss enable_itss
15892 wine_fn_config_test dlls
/itss
/tests itss_test
15893 wine_fn_config_dll joy.cpl enable_joy_cpl po
15894 wine_fn_config_dll jscript enable_jscript po
15895 wine_fn_config_test dlls
/jscript
/tests jscript_test
15896 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
15897 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
15898 wine_fn_config_dll keyboard.drv16 enable_win16
15899 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15900 wine_fn_config_dll ktmw32 enable_ktmw32
15901 wine_fn_config_dll loadperf enable_loadperf implib
15902 wine_fn_config_dll localspl enable_localspl po
15903 wine_fn_config_test dlls
/localspl
/tests localspl_test
15904 wine_fn_config_dll localui enable_localui po
15905 wine_fn_config_test dlls
/localui
/tests localui_test
15906 wine_fn_config_dll lz32 enable_lz32 implib
15907 wine_fn_config_test dlls
/lz32
/tests lz32_test
15908 wine_fn_config_dll lzexpand.dll16 enable_win16
15909 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
15910 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
15911 wine_fn_config_dll mapistub enable_mapistub
15912 wine_fn_config_dll mciavi32 enable_mciavi32
15913 wine_fn_config_dll mcicda enable_mcicda
15914 wine_fn_config_dll mciqtz32 enable_mciqtz32
15915 wine_fn_config_dll mciseq enable_mciseq
15916 wine_fn_config_dll mciwave enable_mciwave
15917 wine_fn_config_dll mgmtapi enable_mgmtapi
15918 wine_fn_config_dll midimap enable_midimap
15919 wine_fn_config_dll mlang enable_mlang implib
15920 wine_fn_config_test dlls
/mlang
/tests mlang_test
15921 wine_fn_config_dll mmcndmgr enable_mmcndmgr
15922 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
15923 wine_fn_config_dll mmdevapi enable_mmdevapi
15924 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
15925 wine_fn_config_dll mmdevldr.vxd enable_win16
15926 wine_fn_config_dll mmsystem.dll16 enable_win16
15927 wine_fn_config_dll monodebg.vxd enable_win16
15928 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15929 wine_fn_config_dll mouse.drv16 enable_win16
15930 wine_fn_config_dll mpr enable_mpr implib
,po
15931 wine_fn_config_test dlls
/mpr
/tests mpr_test
15932 wine_fn_config_dll mprapi enable_mprapi implib
15933 wine_fn_config_dll msacm.dll16 enable_win16
15934 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15935 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
15936 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
15937 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15938 wine_fn_config_dll mscat32 enable_mscat32
15939 wine_fn_config_dll mscms enable_mscms implib
15940 wine_fn_config_test dlls
/mscms
/tests mscms_test
15941 wine_fn_config_dll mscoree enable_mscoree
15942 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
15943 wine_fn_config_dll msctf enable_msctf
15944 wine_fn_config_test dlls
/msctf
/tests msctf_test
15945 wine_fn_config_dll msdaps enable_msdaps
15946 wine_fn_config_dll msdmo enable_msdmo implib
15947 wine_fn_config_dll msftedit enable_msftedit
15948 wine_fn_config_dll msg711.acm enable_msg711_acm
15949 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15950 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15951 wine_fn_config_dll mshtml enable_mshtml implib
,po
15952 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
15953 wine_fn_config_dll msi enable_msi implib
,po
15954 wine_fn_config_test dlls
/msi
/tests msi_test
15955 wine_fn_config_dll msident enable_msident
15956 wine_fn_config_dll msimg32 enable_msimg32 implib
15957 wine_fn_config_dll msimsg enable_msimsg
15958 wine_fn_config_dll msimtf enable_msimtf
15959 wine_fn_config_dll msisip enable_msisip
15960 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15961 wine_fn_config_dll msls31 enable_msls31
15962 wine_fn_config_dll msnet32 enable_msnet32
15963 wine_fn_config_dll mspatcha enable_mspatcha
15964 wine_fn_config_dll msrle32 enable_msrle32 po
15965 wine_fn_config_dll mssign32 enable_mssign32
15966 wine_fn_config_dll mssip32 enable_mssip32
15967 wine_fn_config_dll mstask enable_mstask
15968 wine_fn_config_test dlls
/mstask
/tests mstask_test
15969 wine_fn_config_dll msvcirt enable_msvcirt
15970 wine_fn_config_dll msvcm80 enable_msvcm80
15971 wine_fn_config_dll msvcm90 enable_msvcm90
15972 wine_fn_config_dll msvcp100 enable_msvcp100
15973 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
15974 wine_fn_config_dll msvcp60 enable_msvcp60
15975 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
15976 wine_fn_config_dll msvcp70 enable_msvcp70
15977 wine_fn_config_dll msvcp71 enable_msvcp71
15978 wine_fn_config_dll msvcp80 enable_msvcp80
15979 wine_fn_config_dll msvcp90 enable_msvcp90
15980 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
15981 wine_fn_config_dll msvcr100 enable_msvcr100
15982 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
15983 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15984 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15985 wine_fn_config_dll msvcr80 enable_msvcr80
15986 wine_fn_config_dll msvcr90 enable_msvcr90
15987 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
15988 wine_fn_config_dll msvcrt enable_msvcrt implib
15989 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
15990 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15991 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15992 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15993 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
15994 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
15995 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
15996 wine_fn_config_dll msvidc32 enable_msvidc32 po
15997 wine_fn_config_dll msvideo.dll16 enable_win16
15998 wine_fn_config_dll mswsock enable_mswsock implib
15999 wine_fn_config_dll msxml enable_msxml
16000 wine_fn_config_dll msxml2 enable_msxml2
16001 wine_fn_config_dll msxml3 enable_msxml3
16002 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
16003 wine_fn_config_dll msxml4 enable_msxml4
16004 wine_fn_config_dll msxml6 enable_msxml6
16005 wine_fn_config_dll nddeapi enable_nddeapi implib
16006 wine_fn_config_dll netapi32 enable_netapi32 implib
16007 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
16008 wine_fn_config_dll newdev enable_newdev implib
16009 wine_fn_config_dll normaliz enable_normaliz implib
16010 wine_fn_config_dll npmshtml enable_npmshtml
16011 wine_fn_config_dll ntdll enable_ntdll implib
16012 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
16013 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16014 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
16015 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16016 wine_fn_config_dll ntprint enable_ntprint
16017 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
16018 wine_fn_config_dll objsel enable_objsel
16019 wine_fn_config_dll odbc32 enable_odbc32 implib
16020 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16021 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
16022 wine_fn_config_dll odbccu32 enable_odbccu32
16023 wine_fn_config_dll ole2.dll16 enable_win16
16024 wine_fn_config_dll ole2conv.dll16 enable_win16
16025 wine_fn_config_dll ole2disp.dll16 enable_win16
16026 wine_fn_config_dll ole2nls.dll16 enable_win16
16027 wine_fn_config_dll ole2prox.dll16 enable_win16
16028 wine_fn_config_dll ole2thk.dll16 enable_win16
16029 wine_fn_config_dll ole32 enable_ole32 implib
16030 wine_fn_config_test dlls
/ole32
/tests ole32_test
16031 wine_fn_config_dll oleacc enable_oleacc implib
,po
16032 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
16033 wine_fn_config_dll oleaut32 enable_oleaut32 implib
,po
16034 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
16035 wine_fn_config_dll olecli.dll16 enable_win16
16036 wine_fn_config_dll olecli32 enable_olecli32 implib
16037 wine_fn_config_dll oledb32 enable_oledb32
16038 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
16039 wine_fn_config_dll oledlg enable_oledlg implib
,po
16040 wine_fn_config_dll olepro32 enable_olepro32 implib
16041 wine_fn_config_dll olesvr.dll16 enable_win16
16042 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16043 wine_fn_config_dll olethk32 enable_olethk32
16044 wine_fn_config_dll openal32 enable_openal32
16045 wine_fn_config_dll opencl enable_opencl
16046 wine_fn_config_dll opengl32 enable_opengl32 implib
16047 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
16048 wine_fn_config_dll pdh enable_pdh implib
16049 wine_fn_config_test dlls
/pdh
/tests pdh_test
16050 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16051 wine_fn_config_dll pidgen enable_pidgen
16052 wine_fn_config_dll powrprof enable_powrprof implib
16053 wine_fn_config_dll printui enable_printui
16054 wine_fn_config_dll propsys enable_propsys implib
16055 wine_fn_config_test dlls
/propsys
/tests propsys_test
16056 wine_fn_config_dll psapi enable_psapi implib
16057 wine_fn_config_test dlls
/psapi
/tests psapi_test
16058 wine_fn_config_dll pstorec enable_pstorec
16059 wine_fn_config_dll qcap enable_qcap
16060 wine_fn_config_dll qedit enable_qedit
16061 wine_fn_config_test dlls
/qedit
/tests qedit_test
16062 wine_fn_config_dll qmgr enable_qmgr
16063 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
16064 wine_fn_config_dll qmgrprxy enable_qmgrprxy
16065 wine_fn_config_dll quartz enable_quartz implib
16066 wine_fn_config_test dlls
/quartz
/tests quartz_test
16067 wine_fn_config_dll query enable_query
16068 wine_fn_config_dll rasapi16.dll16 enable_win16
16069 wine_fn_config_dll rasapi32 enable_rasapi32 implib
16070 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
16071 wine_fn_config_dll rasdlg enable_rasdlg implib
16072 wine_fn_config_dll regapi enable_regapi
16073 wine_fn_config_dll resutils enable_resutils implib
16074 wine_fn_config_dll riched20 enable_riched20 implib
16075 wine_fn_config_test dlls
/riched20
/tests riched20_test
16076 wine_fn_config_dll riched32 enable_riched32
16077 wine_fn_config_test dlls
/riched32
/tests riched32_test
16078 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
16079 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
16080 wine_fn_config_dll rsabase enable_rsabase
16081 wine_fn_config_dll rsaenh enable_rsaenh implib
16082 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
16083 wine_fn_config_dll rstrtmgr enable_rstrtmgr
16084 wine_fn_config_dll rtutils enable_rtutils implib
16085 wine_fn_config_dll samlib enable_samlib
16086 wine_fn_config_dll sane.ds enable_sane_ds po
16087 wine_fn_config_dll scarddlg enable_scarddlg
16088 wine_fn_config_dll sccbase enable_sccbase
16089 wine_fn_config_dll schannel enable_schannel
16090 wine_fn_config_test dlls
/schannel
/tests schannel_test
16091 wine_fn_config_dll scrrun enable_scrrun
16092 wine_fn_config_test dlls
/scrrun
/tests scrrun_test
16093 wine_fn_config_dll scsiport.sys enable_scsiport_sys
16094 wine_fn_config_dll secur32 enable_secur32 implib
16095 wine_fn_config_test dlls
/secur32
/tests secur32_test
16096 wine_fn_config_dll security enable_security
16097 wine_fn_config_dll sensapi enable_sensapi implib
16098 wine_fn_config_dll serialui enable_serialui implib
,po
16099 wine_fn_config_test dlls
/serialui
/tests serialui_test
16100 wine_fn_config_dll setupapi enable_setupapi implib
,po
16101 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
16102 wine_fn_config_dll setupx.dll16 enable_win16
16103 wine_fn_config_dll sfc enable_sfc implib
16104 wine_fn_config_dll sfc_os enable_sfc_os implib
16105 wine_fn_config_dll shdoclc enable_shdoclc po
16106 wine_fn_config_dll shdocvw enable_shdocvw implib
16107 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
16108 wine_fn_config_dll shell.dll16 enable_win16
16109 wine_fn_config_dll shell32 enable_shell32 implib
,po
16110 wine_fn_config_test dlls
/shell32
/tests shell32_test
16111 wine_fn_config_dll shfolder enable_shfolder implib
16112 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
16113 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
16114 wine_fn_config_dll slbcsp enable_slbcsp
16115 wine_fn_config_dll slc enable_slc implib
16116 wine_fn_config_dll snmpapi enable_snmpapi implib
16117 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
16118 wine_fn_config_dll softpub enable_softpub
16119 wine_fn_config_dll sound.drv16 enable_win16
16120 wine_fn_config_dll spoolss enable_spoolss implib
16121 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
16122 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
16123 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
16124 wine_fn_config_dll sti enable_sti implib
16125 wine_fn_config_test dlls
/sti
/tests sti_test
16126 wine_fn_config_dll storage.dll16 enable_win16
16127 wine_fn_config_dll stress.dll16 enable_win16
16128 wine_fn_config_lib strmbase
16129 wine_fn_config_lib strmiids
16130 wine_fn_config_dll svrapi enable_svrapi
16131 wine_fn_config_dll sxs enable_sxs implib
16132 wine_fn_config_test dlls
/sxs
/tests sxs_test
16133 wine_fn_config_dll system.drv16 enable_win16
16134 wine_fn_config_dll t2embed enable_t2embed
16135 wine_fn_config_dll tapi32 enable_tapi32 implib
16136 wine_fn_config_dll toolhelp.dll16 enable_win16
16137 wine_fn_config_dll traffic enable_traffic
16138 wine_fn_config_dll twain.dll16 enable_win16
16139 wine_fn_config_dll twain_32 enable_twain_32
16140 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
16141 wine_fn_config_dll typelib.dll16 enable_win16
16142 wine_fn_config_dll unicows enable_unicows implib
16143 wine_fn_config_dll updspapi enable_updspapi
16144 wine_fn_config_dll url enable_url implib
16145 wine_fn_config_dll urlmon enable_urlmon implib
,po
16146 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
16147 wine_fn_config_dll usbd.sys enable_usbd_sys implib
16148 wine_fn_config_dll user.exe16 enable_win16
16149 wine_fn_config_dll user32 enable_user32 implib
,po
16150 wine_fn_config_test dlls
/user32
/tests user32_test
16151 wine_fn_config_dll userenv enable_userenv implib
16152 wine_fn_config_test dlls
/userenv
/tests userenv_test
16153 wine_fn_config_dll usp10 enable_usp10 implib
16154 wine_fn_config_test dlls
/usp10
/tests usp10_test
16155 wine_fn_config_lib uuid
16156 wine_fn_config_dll uxtheme enable_uxtheme implib
16157 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
16158 wine_fn_config_dll vbscript enable_vbscript
16159 wine_fn_config_test dlls
/vbscript
/tests vbscript_test
16160 wine_fn_config_dll vcomp enable_vcomp
16161 wine_fn_config_dll vcomp100 enable_vcomp100
16162 wine_fn_config_dll vcomp90 enable_vcomp90
16163 wine_fn_config_dll vdhcp.vxd enable_win16
16164 wine_fn_config_dll vdmdbg enable_vdmdbg implib
16165 wine_fn_config_dll ver.dll16 enable_win16
16166 wine_fn_config_dll version enable_version implib
16167 wine_fn_config_test dlls
/version
/tests version_test
16168 wine_fn_config_dll vmm.vxd enable_win16
16169 wine_fn_config_dll vnbt.vxd enable_win16
16170 wine_fn_config_dll vnetbios.vxd enable_win16
16171 wine_fn_config_dll vtdapi.vxd enable_win16
16172 wine_fn_config_dll vwin32.vxd enable_win16
16173 wine_fn_config_dll w32skrnl enable_win16
16174 wine_fn_config_dll w32sys.dll16 enable_win16
16175 wine_fn_config_dll wbemprox enable_wbemprox
16176 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
16177 wine_fn_config_dll wer enable_wer implib
16178 wine_fn_config_test dlls
/wer
/tests wer_test
16179 wine_fn_config_dll wevtapi enable_wevtapi
16180 wine_fn_config_dll wiaservc enable_wiaservc
16181 wine_fn_config_dll win32s16.dll16 enable_win16
16182 wine_fn_config_dll win87em.dll16 enable_win16
16183 wine_fn_config_dll winaspi.dll16 enable_win16
16184 wine_fn_config_dll windebug.dll16 enable_win16
16185 wine_fn_config_dll windowscodecs enable_windowscodecs implib
16186 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
16187 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
16188 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
16189 wine_fn_config_dll winealsa.drv enable_winealsa_drv
16190 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
16191 wine_fn_config_lib winecrt0
16192 wine_fn_config_dll wined3d enable_wined3d implib
16193 wine_fn_config_dll winegstreamer enable_winegstreamer
16194 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
16195 wine_fn_config_dll winemac.drv enable_winemac_drv
16196 wine_fn_config_dll winemapi enable_winemapi
16197 wine_fn_config_dll winemp3.acm enable_winemp3_acm
16198 wine_fn_config_dll wineoss.drv enable_wineoss_drv
16199 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
16200 wine_fn_config_dll wineps16.drv16 enable_win16
16201 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
16202 wine_fn_config_dll winex11.drv enable_winex11_drv
16203 wine_fn_config_dll wing.dll16 enable_win16
16204 wine_fn_config_dll wing32 enable_wing32
16205 wine_fn_config_dll winhttp enable_winhttp implib
16206 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
16207 wine_fn_config_dll wininet enable_wininet implib
,po
16208 wine_fn_config_test dlls
/wininet
/tests wininet_test
16209 wine_fn_config_dll winmm enable_winmm implib
,po
16210 wine_fn_config_test dlls
/winmm
/tests winmm_test
16211 wine_fn_config_dll winnls.dll16 enable_win16
16212 wine_fn_config_dll winnls32 enable_winnls32 implib
16213 wine_fn_config_dll winscard enable_winscard implib
16214 wine_fn_config_dll winsock.dll16 enable_win16
16215 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
16216 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
16217 wine_fn_config_dll winsta enable_winsta
16218 wine_fn_config_dll wintab.dll16 enable_win16
16219 wine_fn_config_dll wintab32 enable_wintab32 implib
16220 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
16221 wine_fn_config_dll wintrust enable_wintrust implib
16222 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
16223 wine_fn_config_dll wlanapi enable_wlanapi
16224 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
16225 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
16226 wine_fn_config_dll wmi enable_wmi
16227 wine_fn_config_dll wmiutils enable_wmiutils
16228 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
16229 wine_fn_config_dll wmvcore enable_wmvcore
16230 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
16231 wine_fn_config_dll wow32 enable_win16 implib
16232 wine_fn_config_dll ws2_32 enable_ws2_32 implib
16233 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
16234 wine_fn_config_dll wshom.ocx enable_wshom_ocx
16235 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test
16236 wine_fn_config_dll wsnmp32 enable_wsnmp32
16237 wine_fn_config_dll wsock32 enable_wsock32 implib
16238 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
16239 wine_fn_config_dll wuapi enable_wuapi
16240 wine_fn_config_dll wuaueng enable_wuaueng
16241 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
16242 wine_fn_config_dll xinput1_1 enable_xinput1_1
16243 wine_fn_config_dll xinput1_2 enable_xinput1_2
16244 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
16245 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
16246 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
16247 wine_fn_config_dll xmllite enable_xmllite
16248 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
16249 wine_fn_config_dll xolehlp enable_xolehlp
16250 wine_fn_config_dll xpsprint enable_xpsprint
16251 wine_fn_config_dll xpssvcs enable_xpssvcs
16252 wine_fn_config_makefile documentation enable_documentation
16253 wine_fn_config_makefile fonts enable_fonts install-lib
16254 wine_fn_config_makefile include enable_include install-dev
16255 wine_fn_config_makefile libs
/port enable_libs_port
16256 wine_fn_config_makefile libs
/wine enable_libs_wine install-dev
,install-lib
16257 wine_fn_config_makefile libs
/wpp enable_libs_wpp
16258 wine_fn_config_makefile loader enable_loader install-lib
,manpage
16259 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
16260 wine_fn_config_program attrib enable_attrib
install,po
16261 wine_fn_config_program cabarc enable_cabarc
install
16262 wine_fn_config_program cacls enable_cacls
install
16263 wine_fn_config_program
clock enable_clock
install,po
16264 wine_fn_config_program cmd enable_cmd
install,po
16265 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
16266 wine_fn_config_program conhost enable_conhost
install
16267 wine_fn_config_program control enable_control
install
16268 wine_fn_config_program cscript enable_cscript
install
16269 wine_fn_config_program dxdiag enable_dxdiag
install,po
16270 wine_fn_config_program eject enable_eject
install
16271 wine_fn_config_program
expand enable_expand
install
16272 wine_fn_config_program explorer enable_explorer
install,po
16273 wine_fn_config_program extrac32 enable_extrac32
install
16274 wine_fn_config_program findstr enable_findstr
install
16275 wine_fn_config_program hh enable_hh
install
16276 wine_fn_config_program hostname enable_hostname
install,po
16277 wine_fn_config_program icinfo enable_icinfo
install
16278 wine_fn_config_program iexplore enable_iexplore
install
16279 wine_fn_config_program ipconfig enable_ipconfig
install,po
16280 wine_fn_config_program lodctr enable_lodctr
install
16281 wine_fn_config_program mofcomp enable_mofcomp
install
16282 wine_fn_config_program mshta enable_mshta
install
16283 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
16284 wine_fn_config_program net enable_net
install,po
16285 wine_fn_config_program netsh enable_netsh
install
16286 wine_fn_config_program netstat enable_netstat
install,po
16287 wine_fn_config_program ngen enable_ngen
install
16288 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
16289 wine_fn_config_program oleview enable_oleview
install,po
16290 wine_fn_config_program
ping enable_ping
install
16291 wine_fn_config_program plugplay enable_plugplay
install
16292 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
16293 wine_fn_config_program progman enable_progman
install,po
16294 wine_fn_config_program reg enable_reg
install,po
16295 wine_fn_config_program regasm enable_regasm
install
16296 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
16297 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
16298 wine_fn_config_program regsvcs enable_regsvcs
install
16299 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
16300 wine_fn_config_program rpcss enable_rpcss
install
16301 wine_fn_config_program rundll.exe16 enable_win16
install
16302 wine_fn_config_program rundll32 enable_rundll32
install
16303 wine_fn_config_program sc enable_sc
install
16304 wine_fn_config_program schtasks enable_schtasks
install
16305 wine_fn_config_program secedit enable_secedit
install
16306 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
16307 wine_fn_config_program services enable_services
install
16308 wine_fn_config_test programs
/services
/tests services.exe_test
16309 wine_fn_config_program spoolsv enable_spoolsv
install
16310 wine_fn_config_program start enable_start
install,po
16311 wine_fn_config_program svchost enable_svchost
install
16312 wine_fn_config_program taskkill enable_taskkill
install,po
16313 wine_fn_config_program taskmgr enable_taskmgr
install,po
16314 wine_fn_config_program termsv enable_termsv
install
16315 wine_fn_config_program uninstaller enable_uninstaller
install,po
16316 wine_fn_config_program unlodctr enable_unlodctr
install
16317 wine_fn_config_program view enable_view
install,po
16318 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
16319 wine_fn_config_program winebrowser enable_winebrowser
install
16320 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
16321 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
16322 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
16323 wine_fn_config_program winedevice enable_winedevice
install
16324 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
16325 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
16326 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
16327 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
16328 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
16329 wine_fn_config_program winetest enable_winetest
16330 wine_fn_config_program winevdm enable_win16
install
16331 wine_fn_config_program winhelp.exe16 enable_win16
install
16332 wine_fn_config_program winhlp32 enable_winhlp32
install,po
16333 wine_fn_config_program winoldap.mod16 enable_win16
install
16334 wine_fn_config_program winver enable_winver
install
16335 wine_fn_config_program wmic enable_wmic
install,po
16336 wine_fn_config_program wordpad enable_wordpad
install,po
16337 wine_fn_config_program
write enable_write
install,po
16338 wine_fn_config_program wscript enable_wscript
install
16339 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
16340 wine_fn_config_program wusa enable_wusa
install
16341 wine_fn_config_program xcopy enable_xcopy
install,po
16342 wine_fn_config_makefile server enable_server install-lib
,manpage
16343 wine_fn_config_tool tools install-dev
,install-lib
,manpage
16344 wine_fn_config_tool tools
/widl install-dev
,manpage
16345 wine_fn_config_tool tools
/winebuild install-dev
,manpage
16346 wine_fn_config_tool tools
/winedump install-dev
,manpage
16347 wine_fn_config_tool tools
/winegcc install-dev
,manpage
16348 wine_fn_config_tool tools
/wmc install-dev
,manpage
16349 wine_fn_config_tool tools
/wrc install-dev
,manpage
16399 ac_config_commands
="$ac_config_commands Makefile"
16402 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16406 if test "x$enable_maintainer_mode" = xyes
16408 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(srcdir)/configure: configure.ac aclocal.m4
16409 cd \$(srcdir) && autoconf --warnings=all
16410 \$(srcdir)/include/config.h.in: include/stamp-h.in
16411 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16412 cd \$(srcdir) && autoheader --warnings=all
16413 @echo timestamp > \$@"
16416 if test "x$with_gettextpo" = xyes
16418 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16419 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"ALL_POT_FILES =$ALL_POT_FILES
16420 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16421 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16422 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16423 msgcat -o \$@ \$(ALL_POT_FILES)"
16426 if test "$MSGFMT" != false
16428 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
16430 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: \$(ALL_MO_FILES)"
16435 if test "x$enable_tools" != xno
16437 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(MAKEDEP): tools/Makefile
16439 \$(RM) tools/makedep\$(EXEEXT)"
16442 if test -n "$with_wine64"
16444 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16445 fonts server tools:
16446 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16447 $with_wine64/loader/wine:
16448 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16449 $with_wine64/loader/wine-preloader:
16450 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16452 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16455 cat >confcache
<<\_ACEOF
16456 # This file is a shell script that caches the results of configure
16457 # tests run on this system so they can be shared between configure
16458 # scripts and configure runs, see configure's option --config-cache.
16459 # It is not useful on other systems. If it contains results you don't
16460 # want to keep, you may remove or edit it.
16462 # config.status only pays attention to the cache file if you give it
16463 # the --recheck option to rerun configure.
16465 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16466 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16467 # following values.
16471 # The following way of writing the cache mishandles newlines in values,
16472 # but we know of no workaround that is simple, portable, and efficient.
16473 # So, we kill variables containing newlines.
16474 # Ultrix sh set writes to stderr and can't be redirected directly,
16475 # and sets the high bit in the cache file unless we assign to the vars.
16477 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16478 eval ac_val
=\$
$ac_var
16482 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16483 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16486 _ | IFS | as_nl
) ;; #(
16487 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16488 *) { eval $ac_var=; unset $ac_var;} ;;
16494 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16495 *${as_nl}ac_space
=\
*)
16496 # `set' does not quote correctly, so add quotes: double-quote
16497 # substitution turns \\\\ into \\, and sed turns \\ into \.
16500 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16503 # `set' quotes correctly as required by POSIX, so do not add quotes.
16504 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16513 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16515 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16517 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16518 if test -w "$cache_file"; then
16519 if test "x$cache_file" != "x/dev/null"; then
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16521 $as_echo "$as_me: updating cache $cache_file" >&6;}
16522 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16523 cat confcache
>"$cache_file"
16525 case $cache_file in #(
16527 mv -f confcache
"$cache_file"$$
&&
16528 mv -f "$cache_file"$$
"$cache_file" ;; #(
16530 mv -f confcache
"$cache_file" ;;
16535 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16536 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16541 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16542 # Let make expand exec_prefix.
16543 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16545 DEFS
=-DHAVE_CONFIG_H
16550 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16551 # 1. Remove the extension, and $U if already installed.
16552 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16553 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16554 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16555 # will be set to the directory where LIBOBJS objects are built.
16556 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16557 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16559 LIBOBJS
=$ac_libobjs
16561 LTLIBOBJS
=$ac_ltlibobjs
16565 : "${CONFIG_STATUS=./config.status}"
16567 ac_clean_files_save
=$ac_clean_files
16568 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16570 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16572 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16574 # Generated by $as_me.
16575 # Run this file to recreate the current configuration.
16576 # Compiler output produced by configure, useful for debugging
16577 # configure, is in config.log if it exists.
16580 ac_cs_recheck=false
16583 SHELL=\${CONFIG_SHELL-$SHELL}
16586 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16587 ## -------------------- ##
16588 ## M4sh Initialization. ##
16589 ## -------------------- ##
16591 # Be more Bourne compatible
16592 DUALCASE
=1; export DUALCASE
# for MKS sh
16593 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16596 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16597 # is contrary to our usage. Disable this feature.
16598 alias -g '${1+"$@"}'='"$@"'
16599 setopt NO_GLOB_SUBST
16601 case `(set -o) 2>/dev/null` in #(
16613 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16614 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16615 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16616 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16617 # Prefer a ksh shell builtin over an external printf program on Solaris,
16618 # but without wasting forks for bash or zsh.
16619 if test -z "$BASH_VERSION$ZSH_VERSION" \
16620 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16621 as_echo='print
-r --'
16622 as_echo_n='print
-rn --'
16623 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16624 as_echo='printf %s
\n'
16625 as_echo_n='printf %s
'
16627 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16628 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16629 as_echo_n='/usr
/ucb
/echo -n'
16631 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16632 as_echo_n_body='eval
16636 expr "X$arg" : "X\\(.*\\)$as_nl";
16637 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16639 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16641 export as_echo_n_body
16642 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16644 export as_echo_body
16645 as_echo='sh
-c $as_echo_body as_echo
'
16648 # The user is always right.
16649 if test "${PATH_SEPARATOR+set}" != set; then
16651 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16652 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16659 # We need space, tab and new line, in precisely that order. Quoting is
16660 # there to prevent editors from complaining about space-tab.
16661 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16662 # splitting by setting IFS to empty value.)
16665 # Find who we are. Look in the path if we contain no directory separator.
16668 *[\\/]* ) as_myself=$0 ;;
16669 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16670 for as_dir in $PATH
16673 test -z "$as_dir" && as_dir=.
16674 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16680 # We did not find ourselves, most probably we were run as `sh COMMAND'
16681 # in which case we are not to be found in the path.
16682 if test "x$as_myself" = x
; then
16685 if test ! -f "$as_myself"; then
16686 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16690 # Unset variables that we do not need and which cause bugs (e.g. in
16691 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16692 # suppresses any "Segmentation fault" message there. '((' could
16693 # trigger a bug in pdksh 5.2.14.
16694 for as_var
in BASH_ENV ENV MAIL MAILPATH
16695 do eval test x\
${$as_var+set} = xset \
16696 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16709 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16712 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16713 # ----------------------------------------
16714 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16715 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16716 # script with STATUS, using 1 if that was 0.
16719 as_status
=$1; test $as_status -eq 0 && as_status
=1
16721 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16722 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16724 $as_echo "$as_me: error: $2" >&2
16725 as_fn_exit
$as_status
16729 # as_fn_set_status STATUS
16730 # -----------------------
16731 # Set $? to STATUS, without forking.
16732 as_fn_set_status
()
16735 } # as_fn_set_status
16737 # as_fn_exit STATUS
16738 # -----------------
16739 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16743 as_fn_set_status
$1
16749 # Portably unset VAR.
16752 { eval $1=; unset $1;}
16754 as_unset
=as_fn_unset
16755 # as_fn_append VAR VALUE
16756 # ----------------------
16757 # Append the text in VALUE to the end of the definition contained in VAR. Take
16758 # advantage of any shell optimizations that allow amortized linear growth over
16759 # repeated appends, instead of the typical quadratic growth present in naive
16761 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16762 eval 'as_fn_append ()
16773 # as_fn_arith ARG...
16774 # ------------------
16775 # Perform arithmetic evaluation on the ARGs, and store the result in the
16776 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16777 # must be portable across $(()) and expr.
16778 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16779 eval 'as_fn_arith ()
16786 as_val
=`expr "$@" || test $? -eq 1`
16791 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16792 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16798 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16799 as_basename
=basename
16804 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16810 as_me
=`$as_basename -- "$0" ||
16811 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16812 X"$0" : 'X\(//\)$' \| \
16813 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16815 sed '/^.*\/\([^/][^/]*\)\/*$/{
16829 # Avoid depending upon Character Ranges.
16830 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16831 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16832 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16833 as_cr_digits
='0123456789'
16834 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16836 ECHO_C
= ECHO_N
= ECHO_T
=
16837 case `echo -n x` in #(((((
16839 case `echo 'xy\c'` in
16840 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16842 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16849 rm -f conf$$ conf$$.exe conf$$.
file
16850 if test -d conf$$.dir
; then
16851 rm -f conf$$.dir
/conf$$.
file
16854 mkdir conf$$.dir
2>/dev
/null
16856 if (echo >conf$$.
file) 2>/dev
/null
; then
16857 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16859 # ... but there are two gotchas:
16860 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16861 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16862 # In both cases, we have to default to `cp -pR'.
16863 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16865 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16873 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16874 rmdir conf$$.dir
2>/dev
/null
16879 # Create "$as_dir" as a directory, including parents if necessary.
16884 -*) as_dir
=.
/$as_dir;;
16886 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16890 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16891 *) as_qdir
=$as_dir;;
16893 as_dirs
="'$as_qdir' $as_dirs"
16894 as_dir
=`$as_dirname -- "$as_dir" ||
16895 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16896 X"$as_dir" : 'X\(//\)[^/]' \| \
16897 X"$as_dir" : 'X\(//\)$' \| \
16898 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16899 $as_echo X"$as_dir" |
16900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16904 /^X\(\/\/\)[^/].*/{
16917 test -d "$as_dir" && break
16919 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16920 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16924 if mkdir
-p .
2>/dev
/null
; then
16925 as_mkdir_p
='mkdir -p "$as_dir"'
16927 test -d .
/-p && rmdir .
/-p
16932 # as_fn_executable_p FILE
16933 # -----------------------
16934 # Test if FILE is an executable regular file.
16935 as_fn_executable_p
()
16937 test -f "$1" && test -x "$1"
16938 } # as_fn_executable_p
16939 as_test_x
='test -x'
16940 as_executable_p
=as_fn_executable_p
16942 # Sed expression to map a string onto a valid CPP name.
16943 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16945 # Sed expression to map a string onto a valid variable name.
16946 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16950 ## ----------------------------------- ##
16951 ## Main body of $CONFIG_STATUS script. ##
16952 ## ----------------------------------- ##
16954 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16957 # Save the log message, to keep $0 and so on meaningful, and to
16958 # report actual input values of CONFIG_FILES etc. instead of their
16959 # values after options handling.
16961 This file was extended by Wine $as_me 1.5.23, which was
16962 generated by GNU Autoconf 2.69. Invocation command line was
16964 CONFIG_FILES = $CONFIG_FILES
16965 CONFIG_HEADERS = $CONFIG_HEADERS
16966 CONFIG_LINKS = $CONFIG_LINKS
16967 CONFIG_COMMANDS = $CONFIG_COMMANDS
16970 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16975 case $ac_config_files in *"
16976 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16979 case $ac_config_headers in *"
16980 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16985 # Files that config.status was made for.
16986 config_files="$ac_config_files"
16987 config_headers="$ac_config_headers"
16988 config_links="$ac_config_links"
16989 config_commands="$ac_config_commands"
16993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16995 \`$as_me' instantiates files and other configuration actions
16996 from templates according to the current configuration. Unless the files
16997 and actions are specified as TAGs, all are instantiated by default.
16999 Usage: $0 [OPTION]... [TAG]...
17001 -h, --help print this help, then exit
17002 -V, --version print version number and configuration settings, then exit
17003 --config print configuration, then exit
17004 -q, --quiet, --silent
17005 do not print progress messages
17006 -d, --debug don't remove temporary files
17007 --recheck update $as_me by reconfiguring in the same conditions
17008 --file=FILE[:TEMPLATE]
17009 instantiate the configuration file FILE
17010 --header=FILE[:TEMPLATE]
17011 instantiate the configuration header FILE
17013 Configuration files:
17016 Configuration headers:
17019 Configuration links:
17022 Configuration commands:
17025 Report bugs to <wine-devel@winehq.org>.
17026 Wine home page: <http://www.winehq.org>."
17029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17030 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17032 Wine config.status 1.5.23
17033 configured by $0, generated by GNU Autoconf 2.69,
17034 with options \\"\$ac_cs_config\\"
17036 Copyright (C) 2012 Free Software Foundation, Inc.
17037 This config.status script is free software; the Free Software Foundation
17038 gives unlimited permission to copy, distribute and modify it."
17043 test -n "\$AWK" || AWK=awk
17046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17047 # The default lists apply if the user does not specify any file.
17053 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17054 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17058 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17070 # Handling of the options.
17071 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17073 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17074 $as_echo "$ac_cs_version"; exit ;;
17075 --config |
--confi |
--conf |
--con |
--co |
--c )
17076 $as_echo "$ac_cs_config"; exit ;;
17077 --debug |
--debu |
--deb |
--de |
--d |
-d )
17079 --file |
--fil |
--fi |
--f )
17082 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17083 '') as_fn_error $?
"missing file argument" ;;
17085 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17086 ac_need_defaults
=false
;;
17087 --header |
--heade |
--head |
--hea )
17090 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17092 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17093 ac_need_defaults
=false
;;
17095 # Conflict between --help and --header
17096 as_fn_error $?
"ambiguous option: \`$1'
17097 Try \`$0 --help' for more information.";;
17098 --help |
--hel |
-h )
17099 $as_echo "$ac_cs_usage"; exit ;;
17100 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17101 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17104 # This is an error.
17105 -*) as_fn_error $?
"unrecognized option: \`$1'
17106 Try \`$0 --help' for more information." ;;
17108 *) as_fn_append ac_config_targets
" $1"
17109 ac_need_defaults
=false
;;
17115 ac_configure_extra_args
=
17117 if $ac_cs_silent; then
17119 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17124 if \$ac_cs_recheck; then
17125 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17127 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17128 CONFIG_SHELL='$SHELL'
17129 export CONFIG_SHELL
17134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17138 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17139 ## Running $as_me. ##
17145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17149 wine_fn_output_makefile ()
17151 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
17152 $ALL_MAKEFILE_DEPENDS
17154 as_fn_error $? "could not create Makefile" "$LINENO" 5
17159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17161 # Handling of arguments.
17162 for ac_config_target
in $ac_config_targets
17164 case $ac_config_target in
17165 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
17166 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
17167 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
17168 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
17169 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17170 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17171 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17172 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
17173 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
17174 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
17175 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
17176 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
17177 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
17178 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17179 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
17180 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
17181 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
17182 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17183 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
17184 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
17185 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
17186 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
17187 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
17188 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
17189 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
17190 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
17192 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17197 # If the user did not use the arguments to specify the items to instantiate,
17198 # then the envvar interface is used. Set only those that are not.
17199 # We use the long form for the default assignment because of an extremely
17200 # bizarre bug on SunOS 4.1.3.
17201 if $ac_need_defaults; then
17202 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17203 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17204 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
17205 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17208 # Have a temporary directory for convenience. Make it in the build tree
17209 # simply because there is no reason against having it here, and in addition,
17210 # creating and moving files from /tmp can sometimes cause problems.
17211 # Hook for its removal unless debugging.
17212 # Note that there is a small window in which the directory will not be cleaned:
17213 # after its creation but before its name has been assigned to `$tmp'.
17217 trap 'exit_status=$?
17218 : "${ac_tmp:=$tmp}"
17219 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17221 trap 'as_fn_exit 1' 1 2 13 15
17223 # Create a (secure) tmp directory for tmp files.
17226 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17230 tmp
=.
/conf$$
-$RANDOM
17231 (umask 077 && mkdir
"$tmp")
17232 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17235 # Set up the scripts for CONFIG_FILES section.
17236 # No need to generate them if there are no CONFIG_FILES.
17237 # This happens for instance with `./config.status config.h'.
17238 if test -n "$CONFIG_FILES"; then
17240 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
17241 ac_cs_awk_getline
=:
17242 ac_cs_awk_pipe_init
=
17243 ac_cs_awk_read_file
='
17244 while ((getline aline < (F[key])) > 0)
17247 ac_cs_awk_pipe_fini
=
17249 ac_cs_awk_getline
=false
17250 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
17251 ac_cs_awk_read_file
='
17253 print "cat " F[key] " &&"
17254 '$ac_cs_awk_pipe_init
17255 # The final `:' finishes the AND list.
17256 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
17258 ac_cr
=`echo X | tr X '\015'`
17259 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17260 # But we know of no other shell where ac_cr would be empty at this
17261 # point, so we can use a bashism as a fallback.
17262 if test "x$ac_cr" = x
; then
17263 eval ac_cr
=\$
\'\\r
\'
17265 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17266 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17269 ac_cs_awk_cr
=$ac_cr
17272 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17275 # Create commands to substitute file output variables.
17277 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17278 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17279 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
17282 } >conf$
$files.sh
&&
17283 . .
/conf$
$files.sh ||
17284 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
17285 rm -f conf$
$files.sh
17288 echo "cat >conf$$subs.awk <<_ACEOF" &&
17289 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17291 } >conf$$subs.sh ||
17292 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17293 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17295 for ac_last_try in false false false false false :; do
17296 . ./conf$$subs.sh ||
17297 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17299 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17300 if test $ac_delim_n = $ac_delim_num; then
17302 elif $ac_last_try; then
17303 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17305 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17308 rm -f conf$$subs.sh
17310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17311 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17315 s/^/S["/; s
/!.
*/"]=/
17325 s/\(.\{148\}\)..*/\1/
17327 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17332 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17339 s/\(.\{148\}\)..*/\1/
17341 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17345 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17350 ' <conf$$subs.awk | sed '
17355 ' >>$CONFIG_STATUS || ac_write_fail=1
17356 rm -f conf$$subs.awk
17357 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17359 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17360 for (key in S) S_is_set[key] = 1
17362 \$ac_cs_awk_pipe_init
17366 nfields = split(line, field, "@
")
17368 len = length(field[1])
17369 for (i = 2; i < nfields; i++) {
17371 keylen = length(key)
17372 if (S_is_set[key]) {
17374 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17375 len += length(value) + length(field[++i])
17380 if (nfields == 3 && !substed) {
17382 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17383 \$ac_cs_awk_read_file
17389 \$ac_cs_awk_pipe_fini
17392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17393 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17394 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17397 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17398 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17401 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17402 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17403 # trailing colons and then remove the whole line if VPATH becomes empty
17404 # (actually we leave an empty line to preserve line numbers).
17405 if test "x
$srcdir" = x.; then
17406 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17425 fi # test -n "$CONFIG_FILES"
17427 # Set up the scripts for CONFIG_HEADERS section.
17428 # No need to generate them if there are no CONFIG_HEADERS.
17429 # This happens for instance with `./config.status Makefile'.
17430 if test -n "$CONFIG_HEADERS"; then
17431 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17435 # Transform confdefs.h into an awk script `defines.awk', embedded as
17436 # here-document in config.status, that substitutes the proper values into
17437 # config.h.in to produce config.h.
17439 # Create a delimiter string that does not exist in confdefs.h, to ease
17440 # handling of long lines.
17442 for ac_last_try in false false :; do
17443 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17444 if test -z "$ac_tt"; then
17446 elif $ac_last_try; then
17447 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17449 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17453 # For the awk script, D is an array of macro values keyed by name,
17454 # likewise P contains macro parameters if any. Preserve backslash
17455 # newline sequences.
17457 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17459 s/.\{148\}/&'"$ac_delim"'/g
17462 s/^[ ]*#[ ]*define[ ][ ]*/ /
17469 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17471 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17475 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17476 D["\
1"]=" \
3\\\\\\n
"\\/p
17478 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17483 s/.\{148\}/&'"$ac_delim"'/g
17488 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17491 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17493 ' <confdefs.h | sed '
17494 s/'"$ac_delim"'/"\\\
17495 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17498 for (key in D) D_is_set[key] = 1
17501 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17503 split(line, arg, " ")
17504 if (arg[1] == "#") {
17508 defundef
= substr
(arg
[1], 2)
17511 split(mac1
, mac2
, "(") #)
17513 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17514 if (D_is_set
[macro
]) {
17515 # Preserve the white space surrounding the "#".
17516 print prefix
"define", macro P
[macro
] D
[macro
]
17519 # Replace #undef with comments. This is necessary, for example,
17520 # in the case of _POSIX_SOURCE, which is predefined and required
17521 # on some systems where configure will not decide to define it.
17522 if (defundef
== "undef") {
17523 print
"/*", prefix defundef
, macro
, "*/"
17531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17532 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17533 fi # test -n "$CONFIG_HEADERS"
17536 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17541 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17543 case $ac_mode$ac_tag in
17545 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17546 :[FH
]-) ac_tag
=-:-;;
17547 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17564 -) ac_f
="$ac_tmp/stdin";;
17565 *) # Look for the file first in the build tree, then in the source tree
17566 # (if the path is not absolute). The absolute path cannot be DOS-style,
17567 # because $ac_f cannot contain `:'.
17571 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17573 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17575 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17576 as_fn_append ac_file_inputs
" '$ac_f'"
17579 # Let's still pretend it is `configure' which instantiates (i.e., don't
17580 # use $as_me), people would be surprised to read:
17581 # /* config.h. Generated by config.status. */
17582 configure_input
='Generated from '`
17583 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17585 if test x
"$ac_file" != x-
; then
17586 configure_input
="$ac_file. $configure_input"
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17588 $as_echo "$as_me: creating $ac_file" >&6;}
17590 # Neutralize special characters interpreted by sed in replacement strings.
17591 case $configure_input in #(
17592 *\
&* |
*\|
* |
*\\* )
17593 ac_sed_conf_input
=`$as_echo "$configure_input" |
17594 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17595 *) ac_sed_conf_input
=$configure_input;;
17599 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17600 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17605 ac_dir
=`$as_dirname -- "$ac_file" ||
17606 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17607 X"$ac_file" : 'X\(//\)[^/]' \| \
17608 X"$ac_file" : 'X\(//\)$' \| \
17609 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17610 $as_echo X"$ac_file" |
17611 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17615 /^X\(\/\/\)[^/].*/{
17628 as_dir
="$ac_dir"; as_fn_mkdir_p
17632 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17634 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17635 # A ".." for each directory in $ac_dir_suffix.
17636 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17637 case $ac_top_builddir_sub in
17638 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17639 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17642 ac_abs_top_builddir
=$ac_pwd
17643 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17644 # for backward compatibility:
17645 ac_top_builddir
=$ac_top_build_prefix
17648 .
) # We are building in place.
17650 ac_top_srcdir
=$ac_top_builddir_sub
17651 ac_abs_top_srcdir
=$ac_pwd ;;
17652 [\\/]* | ?
:[\\/]* ) # Absolute name.
17653 ac_srcdir
=$srcdir$ac_dir_suffix;
17654 ac_top_srcdir
=$srcdir
17655 ac_abs_top_srcdir
=$srcdir ;;
17656 *) # Relative name.
17657 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17658 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17659 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17661 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17671 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17672 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17677 # If the template does not know about datarootdir, expand it.
17678 # FIXME: This hack should be removed a few years after 2.60.
17679 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17690 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17691 *datarootdir
*) ac_datarootdir_seen
=yes;;
17692 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17694 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17697 ac_datarootdir_hack='
17698 s&@datadir@&$datadir&g
17699 s&@docdir@&$docdir&g
17700 s&@infodir@&$infodir&g
17701 s&@localedir@&$localedir&g
17702 s&@mandir@&$mandir&g
17703 s&\\\${datarootdir}&$datarootdir&g' ;;
17707 # Neutralize VPATH when `$srcdir' = `.'.
17708 # Shell code in configure.ac might set extrasub.
17709 # FIXME: do we really want to maintain this feature?
17710 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17711 ac_sed_extra="$ac_vpsub
17714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17716 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17717 s|@configure_input@|
$ac_sed_conf_input|
;t t
17718 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17719 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17720 s
&@srcdir@
&$ac_srcdir&;t t
17721 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17722 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17723 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17724 s
&@builddir@
&$ac_builddir&;t t
17725 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17726 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17727 s
&@INSTALL@
&$ac_INSTALL&;t t
17728 $ac_datarootdir_hack
17730 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17731 if $ac_cs_awk_getline; then
17732 $AWK -f "$ac_tmp/subs.
awk"
17734 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
17736 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17738 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17739 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17740 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17741 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17743 which seems to be undefined. Please make sure it is defined" >&5
17744 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17745 which seems to be undefined. Please make sure it is defined" >&2;}
17747 rm -f "$ac_tmp/stdin"
17749 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17750 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17752 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17758 if test x"$ac_file" != x-; then
17760 $as_echo "/* $configure_input */" \
17761 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17762 } >"$ac_tmp/config.h" \
17763 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17764 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17766 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17769 mv "$ac_tmp/config.h" "$ac_file" \
17770 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17773 $as_echo "/* $configure_input */" \
17774 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17775 || as_fn_error $? "could not create -" "$LINENO" 5
17783 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
17786 # Prefer the file from the source tree if names are identical.
17787 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17788 ac_source=$srcdir/$ac_source
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17792 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17794 if test ! -r "$ac_source"; then
17795 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17799 # Try a relative symlink, then a hard link, then a copy.
17801 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17802 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17804 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17805 ln "$ac_source" "$ac_file" 2>/dev/null ||
17806 cp -p "$ac_source" "$ac_file" ||
17807 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17810 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17811 $as_echo "$as_me: executing $ac_file commands" >&6;}
17816 case $ac_file$ac_mode in
17817 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17818 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17819 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17820 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17821 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17822 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17823 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17824 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17825 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17826 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17827 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17828 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17829 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17830 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17831 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17832 "Makefile":C) wine_fn_output_makefile Makefile ;;
17840 ac_clean_files=$ac_clean_files_save
17842 test $ac_write_fail = 0 ||
17843 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17846 # configure is writing to config.log, and then calls config.status.
17847 # config.status does its own redirection, appending to config.log.
17848 # Unfortunately, on DOS this fails, as config.log is still kept open
17849 # by configure, so config.status won't be able to
write to it
; its
17850 # output is simply discarded. So we exec the FD to /dev/null,
17851 # effectively closing config.log, so it can be properly (re)opened and
17852 # appended to by config.status. When coming back to configure, we
17853 # need to make the FD available again.
17854 if test "$no_create" != yes; then
17856 ac_config_status_args
=
17857 test "$silent" = yes &&
17858 ac_config_status_args
="$ac_config_status_args --quiet"
17860 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17862 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17863 # would make configure fail if this is the last instruction.
17864 $ac_cs_success || as_fn_exit
1
17866 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17868 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17872 if test "$no_create" = "yes"
17878 if test "x$wine_notices != "x
; then
17881 for msg
in $wine_notices; do
17883 if test -n "$msg"; then
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17885 $as_echo "$as_me: $msg" >&6;}
17890 for msg
in $wine_warnings; do
17892 if test -n "$msg"; then
17894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17895 $as_echo "$as_me: WARNING: $msg" >&2;}
17901 $as_me: Finished. Do '${ac_make}' to compile Wine.