2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.6.
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.6'
584 PACKAGE_STRING
='Wine 1.6'
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
694 APPLICATIONSERVICESLIB
784 program_transform_name
795 ac_subst_files
='MAKE_RULES
801 enable_option_checking
805 enable_maintainer_mode
854 ac_precious_vars
='build_alias
893 # Initialize some variables set by options.
895 ac_init_version
=false
896 ac_unrecognized_opts
=
898 # The variables have the same names as the options, with
899 # dashes changed to underlines.
907 program_transform_name
=s
,x
,x
,
915 # Installation directory options.
916 # These are left unexpanded so users can "make install exec_prefix=/foo"
917 # and all the variables that are supposed to be based on exec_prefix
918 # by default will actually change.
919 # Use braces instead of parens because sh, perl, etc. also accept them.
920 # (The list follows the same order as the GNU Coding Standards.)
921 bindir
='${exec_prefix}/bin'
922 sbindir
='${exec_prefix}/sbin'
923 libexecdir
='${exec_prefix}/libexec'
924 datarootdir
='${prefix}/share'
925 datadir
='${datarootdir}'
926 sysconfdir
='${prefix}/etc'
927 sharedstatedir
='${prefix}/com'
928 localstatedir
='${prefix}/var'
929 includedir
='${prefix}/include'
930 oldincludedir
='/usr/include'
931 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
932 infodir
='${datarootdir}/info'
937 libdir
='${exec_prefix}/lib'
938 localedir
='${datarootdir}/locale'
939 mandir
='${datarootdir}/man'
945 # If the previous option needs an argument, assign it.
946 if test -n "$ac_prev"; then
947 eval $ac_prev=\
$ac_option
953 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958 # Accept the important Cygnus configure options, so we can diagnose typos.
960 case $ac_dashdash$ac_option in
964 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
966 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
969 -build |
--build |
--buil |
--bui |
--bu)
970 ac_prev
=build_alias
;;
971 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
972 build_alias
=$ac_optarg ;;
974 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
975 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
976 ac_prev
=cache_file
;;
977 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
978 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
979 cache_file
=$ac_optarg ;;
982 cache_file
=config.cache
;;
984 -datadir |
--datadir |
--datadi |
--datad)
986 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
987 datadir
=$ac_optarg ;;
989 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
990 |
--dataroo |
--dataro |
--datar)
991 ac_prev
=datarootdir
;;
992 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
993 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
994 datarootdir
=$ac_optarg ;;
996 -disable-* |
--disable-*)
997 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1000 as_fn_error $?
"invalid feature name: $ac_useropt"
1001 ac_useropt_orig
=$ac_useropt
1002 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1003 case $ac_user_opts in
1005 "enable_
$ac_useropt"
1007 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1008 ac_unrecognized_sep
=', ';;
1010 eval enable_
$ac_useropt=no
;;
1012 -docdir |
--docdir |
--docdi |
--doc |
--do)
1014 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1015 docdir
=$ac_optarg ;;
1017 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1019 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1020 dvidir
=$ac_optarg ;;
1022 -enable-* |
--enable-*)
1023 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1026 as_fn_error $?
"invalid feature name: $ac_useropt"
1027 ac_useropt_orig
=$ac_useropt
1028 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1029 case $ac_user_opts in
1031 "enable_
$ac_useropt"
1033 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1034 ac_unrecognized_sep
=', ';;
1036 eval enable_
$ac_useropt=\
$ac_optarg ;;
1038 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1039 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1040 |
--exec |
--exe |
--ex)
1041 ac_prev
=exec_prefix
;;
1042 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1043 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1044 |
--exec=* |
--exe=* |
--ex=*)
1045 exec_prefix
=$ac_optarg ;;
1047 -gas |
--gas |
--ga |
--g)
1048 # Obsolete; use --with-gas.
1051 -help |
--help |
--hel |
--he |
-h)
1052 ac_init_help
=long
;;
1053 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1054 ac_init_help
=recursive
;;
1055 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1056 ac_init_help
=short
;;
1058 -host |
--host |
--hos |
--ho)
1059 ac_prev
=host_alias
;;
1060 -host=* |
--host=* |
--hos=* |
--ho=*)
1061 host_alias
=$ac_optarg ;;
1063 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1065 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1067 htmldir
=$ac_optarg ;;
1069 -includedir |
--includedir |
--includedi |
--included |
--include \
1070 |
--includ |
--inclu |
--incl |
--inc)
1071 ac_prev
=includedir
;;
1072 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1073 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1074 includedir
=$ac_optarg ;;
1076 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1078 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1079 infodir
=$ac_optarg ;;
1081 -libdir |
--libdir |
--libdi |
--libd)
1083 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1084 libdir
=$ac_optarg ;;
1086 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1087 |
--libexe |
--libex |
--libe)
1088 ac_prev
=libexecdir
;;
1089 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1090 |
--libexe=* |
--libex=* |
--libe=*)
1091 libexecdir
=$ac_optarg ;;
1093 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1094 ac_prev
=localedir
;;
1095 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1096 localedir
=$ac_optarg ;;
1098 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1099 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1100 ac_prev
=localstatedir
;;
1101 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1102 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1103 localstatedir
=$ac_optarg ;;
1105 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1107 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1108 mandir
=$ac_optarg ;;
1110 -nfp |
--nfp |
--nf)
1111 # Obsolete; use --without-fp.
1114 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1115 |
--no-cr |
--no-c |
-n)
1118 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1119 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1122 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1123 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1124 |
--oldin |
--oldi |
--old |
--ol |
--o)
1125 ac_prev
=oldincludedir
;;
1126 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1127 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1128 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1129 oldincludedir
=$ac_optarg ;;
1131 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1133 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1134 prefix
=$ac_optarg ;;
1136 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1137 |
--program-pre |
--program-pr |
--program-p)
1138 ac_prev
=program_prefix
;;
1139 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1140 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1141 program_prefix
=$ac_optarg ;;
1143 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1144 |
--program-suf |
--program-su |
--program-s)
1145 ac_prev
=program_suffix
;;
1146 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1147 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1148 program_suffix
=$ac_optarg ;;
1150 -program-transform-name |
--program-transform-name \
1151 |
--program-transform-nam |
--program-transform-na \
1152 |
--program-transform-n |
--program-transform- \
1153 |
--program-transform |
--program-transfor \
1154 |
--program-transfo |
--program-transf \
1155 |
--program-trans |
--program-tran \
1156 |
--progr-tra |
--program-tr |
--program-t)
1157 ac_prev
=program_transform_name
;;
1158 -program-transform-name=* |
--program-transform-name=* \
1159 |
--program-transform-nam=* |
--program-transform-na=* \
1160 |
--program-transform-n=* |
--program-transform-=* \
1161 |
--program-transform=* |
--program-transfor=* \
1162 |
--program-transfo=* |
--program-transf=* \
1163 |
--program-trans=* |
--program-tran=* \
1164 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1165 program_transform_name
=$ac_optarg ;;
1167 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1169 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1170 pdfdir
=$ac_optarg ;;
1172 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1174 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1177 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1178 |
-silent |
--silent |
--silen |
--sile |
--sil)
1181 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1183 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1185 sbindir
=$ac_optarg ;;
1187 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1188 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1189 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1191 ac_prev
=sharedstatedir
;;
1192 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1193 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1194 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1196 sharedstatedir
=$ac_optarg ;;
1198 -site |
--site |
--sit)
1200 -site=* |
--site=* |
--sit=*)
1203 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1205 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1206 srcdir
=$ac_optarg ;;
1208 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1209 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1210 ac_prev
=sysconfdir
;;
1211 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1212 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1213 sysconfdir
=$ac_optarg ;;
1215 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1216 ac_prev
=target_alias
;;
1217 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1218 target_alias
=$ac_optarg ;;
1220 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1223 -version |
--version |
--versio |
--versi |
--vers |
-V)
1224 ac_init_version
=: ;;
1227 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1228 # Reject names that are not valid shell variable names.
1229 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1230 as_fn_error $?
"invalid package name: $ac_useropt"
1231 ac_useropt_orig
=$ac_useropt
1232 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1233 case $ac_user_opts in
1237 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1238 ac_unrecognized_sep
=', ';;
1240 eval with_
$ac_useropt=\
$ac_optarg ;;
1242 -without-* |
--without-*)
1243 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1244 # Reject names that are not valid shell variable names.
1245 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1246 as_fn_error $?
"invalid package name: $ac_useropt"
1247 ac_useropt_orig
=$ac_useropt
1248 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1249 case $ac_user_opts in
1253 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1254 ac_unrecognized_sep
=', ';;
1256 eval with_
$ac_useropt=no
;;
1259 # Obsolete; use --with-x.
1262 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1263 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1264 ac_prev
=x_includes
;;
1265 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1266 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1267 x_includes
=$ac_optarg ;;
1269 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1270 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1271 ac_prev
=x_libraries
;;
1272 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1273 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1274 x_libraries
=$ac_optarg ;;
1276 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1277 Try \`$0 --help' for more information"
1281 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1282 # Reject names that are not valid shell variable names.
1283 case $ac_envvar in #(
1284 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1285 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1287 eval $ac_envvar=\
$ac_optarg
1288 export $ac_envvar ;;
1291 # FIXME: should be removed in autoconf 3.0.
1292 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1293 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1294 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1295 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1301 if test -n "$ac_prev"; then
1302 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1303 as_fn_error $?
"missing argument to $ac_option"
1306 if test -n "$ac_unrecognized_opts"; then
1307 case $enable_option_checking in
1309 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1310 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1314 # Check all directory arguments for consistency.
1315 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1316 datadir sysconfdir sharedstatedir localstatedir includedir \
1317 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1318 libdir localedir mandir
1320 eval ac_val
=\$
$ac_var
1321 # Remove trailing slashes.
1324 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1325 eval $ac_var=\
$ac_val;;
1327 # Be sure to have absolute directory names.
1329 [\\/$
]* | ?
:[\\/]* ) continue;;
1330 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1332 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1335 # There might be people who depend on the old broken behavior: `$host'
1336 # used to hold the argument of --host etc.
1337 # FIXME: To remove some day.
1340 target
=$target_alias
1342 # FIXME: To remove some day.
1343 if test "x$host_alias" != x
; then
1344 if test "x$build_alias" = x
; then
1345 cross_compiling
=maybe
1346 elif test "x$build_alias" != "x$host_alias"; then
1352 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1354 test "$silent" = yes && exec 6>/dev
/null
1357 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1358 ac_ls_di
=`ls -di .` &&
1359 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1360 as_fn_error $?
"working directory cannot be determined"
1361 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1362 as_fn_error $?
"pwd does not report name of working directory"
1365 # Find the source files, if location was not specified.
1366 if test -z "$srcdir"; then
1367 ac_srcdir_defaulted
=yes
1368 # Try the directory containing this script, then the parent directory.
1369 ac_confdir
=`$as_dirname -- "$as_myself" ||
1370 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1371 X"$as_myself" : 'X\(//\)[^/]' \| \
1372 X"$as_myself" : 'X\(//\)$' \| \
1373 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1374 $as_echo X"$as_myself" |
1375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1397 ac_srcdir_defaulted
=no
1399 if test ! -r "$srcdir/$ac_unique_file"; then
1400 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1401 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1403 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1405 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1407 # When building in place, set srcdir=.
1408 if test "$ac_abs_confdir" = "$ac_pwd"; then
1411 # Remove unnecessary trailing slashes from srcdir.
1412 # Double slashes in file names in object file debugging info
1413 # mess up M-x gdb in Emacs.
1415 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1417 for ac_var
in $ac_precious_vars; do
1418 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1419 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1420 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1421 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1425 # Report the --help message.
1427 if test "$ac_init_help" = "long"; then
1428 # Omit some internal or obsolete options to make the list less imposing.
1429 # This message is too long to be a string in the A/UX 3.1 sh.
1431 \`configure' configures Wine 1.6 to adapt to many kinds of systems.
1433 Usage: $0 [OPTION]... [VAR=VALUE]...
1435 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1436 VAR=VALUE. See below for descriptions of some of the useful variables.
1438 Defaults for the options are specified in brackets.
1441 -h, --help display this help and exit
1442 --help=short display options specific to this package
1443 --help=recursive display the short help of all the included packages
1444 -V, --version display version information and exit
1445 -q, --quiet, --silent do not print \`checking ...' messages
1446 --cache-file=FILE cache test results in FILE [disabled]
1447 -C, --config-cache alias for \`--cache-file=config.cache'
1448 -n, --no-create do not create output files
1449 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1451 Installation directories:
1452 --prefix=PREFIX install architecture-independent files in PREFIX
1453 [$ac_default_prefix]
1454 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1457 By default, \`make install' will install all the files in
1458 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1459 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1460 for instance \`--prefix=\$HOME'.
1462 For better control, use the options below.
1464 Fine tuning of the installation directories:
1465 --bindir=DIR user executables [EPREFIX/bin]
1466 --sbindir=DIR system admin executables [EPREFIX/sbin]
1467 --libexecdir=DIR program executables [EPREFIX/libexec]
1468 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1469 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1470 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1471 --libdir=DIR object code libraries [EPREFIX/lib]
1472 --includedir=DIR C header files [PREFIX/include]
1473 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1474 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1475 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1476 --infodir=DIR info documentation [DATAROOTDIR/info]
1477 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1478 --mandir=DIR man documentation [DATAROOTDIR/man]
1479 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1480 --htmldir=DIR html documentation [DOCDIR]
1481 --dvidir=DIR dvi documentation [DOCDIR]
1482 --pdfdir=DIR pdf documentation [DOCDIR]
1483 --psdir=DIR ps documentation [DOCDIR]
1489 --x-includes=DIR X include files are
in DIR
1490 --x-libraries=DIR X library files are
in DIR
1493 --build=BUILD configure
for building on BUILD
[guessed
]
1494 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1498 if test -n "$ac_init_help"; then
1499 case $ac_init_help in
1500 short | recursive
) echo "Configuration of Wine 1.6:";;
1505 --disable-option-checking ignore unrecognized
--enable/--with options
1506 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1507 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1508 --disable-win16 do not include Win16 support
1509 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1511 --disable-tests do not build the regression tests
1512 --enable-maintainer-mode
1513 enable maintainer-specific build rules
1514 --disable-largefile omit support for large files
1517 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1518 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1519 --without-alsa do not use the Alsa sound support
1520 --without-capi do not use CAPI (ISDN support)
1521 --without-cms do not use CMS (color management support)
1522 --without-coreaudio do not use the CoreAudio sound support
1523 --without-cups do not use CUPS
1524 --without-curses do not use (n)curses
1525 --without-dbus do not use DBus (dynamic device support)
1526 --without-fontconfig do not use fontconfig
1527 --without-freetype do not use the FreeType library
1528 --without-gettext do not use gettext
1529 --with-gettextpo use the GetTextPO library to rebuild po files
1530 --without-gphoto do not use gphoto (Digital Camera support)
1531 --without-glu do not use the GLU library
1532 --without-gnutls do not use GnuTLS (schannel support)
1533 --without-gsm do not use libgsm (GSM 06.10 codec support)
1534 --without-gstreamer do not use GStreamer (codecs support)
1535 --without-hal do not use HAL (dynamic device support)
1536 --without-jpeg do not use JPEG
1537 --without-ldap do not use LDAP
1538 --without-mpg123 do not use the mpg123 library
1539 --without-openal do not use OpenAL
1540 --without-opencl do not use OpenCL
1541 --without-opengl do not use OpenGL
1542 --without-osmesa do not use the OSMesa library
1543 --without-oss do not use the OSS sound support
1544 --without-png do not use PNG
1545 --without-pthread do not use the pthread library
1546 --without-sane do not use SANE (scanner support)
1547 --without-tiff do not use TIFF
1548 --without-v4l do not use v4l1 (v4l support)
1549 --without-xcomposite do not use the Xcomposite extension
1550 --without-xcursor do not use the Xcursor extension
1551 --without-xinerama do not use Xinerama (multi-monitor support)
1552 --without-xinput do not use the Xinput extension
1553 --without-xinput2 do not use the Xinput 2 extension
1554 --without-xml do not use XML
1555 --without-xrandr do not use Xrandr (resolution changes)
1556 --without-xrender do not use the Xrender extension
1557 --without-xshape do not use the Xshape extension
1558 --without-xshm do not use XShm (shared memory extension)
1559 --without-xslt do not use XSLT
1560 --without-xxf86vm do not use XFree video mode extension
1561 --without-zlib do not use Zlib (data compression)
1562 --with-wine-tools=DIR use Wine tools from directory DIR
1563 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1564 --with-x use the X Window System
1566 Some influential environment variables:
1567 CC C compiler command
1568 CFLAGS C compiler flags
1569 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1570 nonstandard directory <lib dir>
1571 LIBS libraries to pass to the linker, e.g. -l<library>
1572 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1573 you have headers in a nonstandard directory <include dir>
1574 CXX C++ compiler command
1575 CXXFLAGS C++ compiler flags
1577 XMKMF Path to xmkmf, Makefile generator for X Window System
1578 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
1579 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
1580 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
1581 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
1582 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
1583 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
1584 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
1585 HAL_LIBS Linker flags for hal, overriding pkg-config
1587 C compiler flags for gnutls, overriding pkg-config
1588 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
1589 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
1590 SANE_LIBS Linker flags for libsane, overriding pkg-config
1592 C compiler flags for libgphoto2, overriding pkg-config
1594 Linker flags for libgphoto2, overriding pkg-config
1596 C compiler flags for libgphoto2_port, overriding pkg-config
1598 Linker flags for libgphoto2_port, overriding pkg-config
1600 C compiler flags for lcms2, overriding pkg-config
1601 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
1603 C compiler flags for freetype2, overriding pkg-config
1605 Linker flags for freetype2, overriding pkg-config
1607 C compiler flags for gstreamer-app-0.10, overriding pkg-config
1609 Linker flags for gstreamer-app-0.10, overriding pkg-config
1610 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
1611 PNG_LIBS Linker flags for libpng, overriding pkg-config
1613 Use these variables to override the choices made by `configure' or to
help
1614 it to
find libraries and programs with nonstandard names
/locations.
1616 Report bugs to
<wine-devel@winehq.org
>.
1617 Wine home page
: <http
://www.winehq.org
>.
1622 if test "$ac_init_help" = "recursive"; then
1623 # If there are subdirs, report their specific --help.
1624 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1625 test -d "$ac_dir" ||
1626 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1631 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1633 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1634 # A ".." for each directory in $ac_dir_suffix.
1635 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1636 case $ac_top_builddir_sub in
1637 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1638 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1641 ac_abs_top_builddir
=$ac_pwd
1642 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1643 # for backward compatibility:
1644 ac_top_builddir
=$ac_top_build_prefix
1647 .
) # We are building in place.
1649 ac_top_srcdir
=$ac_top_builddir_sub
1650 ac_abs_top_srcdir
=$ac_pwd ;;
1651 [\\/]* | ?
:[\\/]* ) # Absolute name.
1652 ac_srcdir
=$srcdir$ac_dir_suffix;
1653 ac_top_srcdir
=$srcdir
1654 ac_abs_top_srcdir
=$srcdir ;;
1656 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1657 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1658 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1660 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1662 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1663 # Check for guested configure.
1664 if test -f "$ac_srcdir/configure.gnu"; then
1666 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1667 elif test -f "$ac_srcdir/configure"; then
1669 $SHELL "$ac_srcdir/configure" --help=recursive
1671 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1673 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1677 test -n "$ac_init_help" && exit $ac_status
1678 if $ac_init_version; then
1681 generated by GNU Autoconf
2.69
1683 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1684 This configure
script is free software
; the Free Software Foundation
1685 gives unlimited permission to copy
, distribute and modify it.
1690 ## ------------------------ ##
1691 ## Autoconf initialization. ##
1692 ## ------------------------ ##
1694 # ac_fn_c_try_compile LINENO
1695 # --------------------------
1696 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1697 ac_fn_c_try_compile
()
1699 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1700 rm -f conftest.
$ac_objext
1701 if { { ac_try
="$ac_compile"
1703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1704 *) ac_try_echo=$ac_try;;
1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_compile") 2>conftest.err
1710 if test -s conftest.err; then
1711 grep -v '^ *+' conftest.err >conftest.er1
1712 cat conftest.er1 >&5
1713 mv -f conftest.er1 conftest.err
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; } && {
1717 test -z "$ac_c_werror_flag" ||
1718 test ! -s conftest.err
1719 } && test -s conftest.$ac_objext; then :
1722 $as_echo "$as_me: failed program was:" >&5
1723 sed 's/^/| /' conftest.$ac_ext >&5
1727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728 as_fn_set_status $ac_retval
1730 } # ac_fn_c_try_compile
1732 # ac_fn_cxx_try_compile LINENO
1733 # ----------------------------
1734 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1735 ac_fn_cxx_try_compile ()
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 rm -f conftest.$ac_objext
1739 if { { ac_try="$ac_compile"
1741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1742 *) ac_try_echo
=$ac_try;;
1744 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746 (eval "$ac_compile") 2>conftest.err
1748 if test -s conftest.err
; then
1749 grep -v '^ *+' conftest.err
>conftest.er1
1750 cat conftest.er1
>&5
1751 mv -f conftest.er1 conftest.err
1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754 test $ac_status = 0; } && {
1755 test -z "$ac_cxx_werror_flag" ||
1756 test ! -s conftest.err
1757 } && test -s conftest.
$ac_objext; then :
1760 $as_echo "$as_me: failed program was:" >&5
1761 sed 's/^/| /' conftest.
$ac_ext >&5
1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766 as_fn_set_status
$ac_retval
1768 } # ac_fn_cxx_try_compile
1770 # ac_fn_c_try_link LINENO
1771 # -----------------------
1772 # Try to link conftest.$ac_ext, and return whether this succeeded.
1775 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1776 rm -f conftest.
$ac_objext conftest
$ac_exeext
1777 if { { ac_try
="$ac_link"
1779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1780 *) ac_try_echo=$ac_try;;
1782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1783 $as_echo "$ac_try_echo"; } >&5
1784 (eval "$ac_link") 2>conftest.err
1786 if test -s conftest.err; then
1787 grep -v '^ *+' conftest.err >conftest.er1
1788 cat conftest.er1 >&5
1789 mv -f conftest.er1 conftest.err
1791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792 test $ac_status = 0; } && {
1793 test -z "$ac_c_werror_flag" ||
1794 test ! -s conftest.err
1795 } && test -s conftest$ac_exeext && {
1796 test "$cross_compiling" = yes ||
1797 test -x conftest$ac_exeext
1801 $as_echo "$as_me: failed program was:" >&5
1802 sed 's/^/| /' conftest.$ac_ext >&5
1806 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1807 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1808 # interfere with the next link command; also delete a directory that is
1809 # left behind by Apple's compiler. We do this before executing the actions.
1810 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1811 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1812 as_fn_set_status $ac_retval
1814 } # ac_fn_c_try_link
1816 # ac_fn_c_try_cpp LINENO
1817 # ----------------------
1818 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 if { { ac_try="$ac_cpp conftest.$ac_ext"
1824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1825 *) ac_try_echo
=$ac_try;;
1827 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1828 $as_echo "$ac_try_echo"; } >&5
1829 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1831 if test -s conftest.err
; then
1832 grep -v '^ *+' conftest.err
>conftest.er1
1833 cat conftest.er1
>&5
1834 mv -f conftest.er1 conftest.err
1836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837 test $ac_status = 0; } > conftest.i
&& {
1838 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1839 test ! -s conftest.err
1843 $as_echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.
$ac_ext >&5
1848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849 as_fn_set_status
$ac_retval
1853 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1854 # -------------------------------------------------------
1855 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1856 # the include files in INCLUDES and setting the cache variable VAR
1858 ac_fn_c_check_header_mongrel
()
1860 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1861 if eval \
${$3+:} false
; then :
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1863 $as_echo_n "checking for $2... " >&6; }
1864 if eval \
${$3+:} false
; then :
1865 $as_echo_n "(cached) " >&6
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1871 # Is the header compilable?
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1873 $as_echo_n "checking $2 usability... " >&6; }
1874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1875 /* end confdefs.h. */
1879 if ac_fn_c_try_compile
"$LINENO"; then :
1880 ac_header_compiler
=yes
1882 ac_header_compiler
=no
1884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1886 $as_echo "$ac_header_compiler" >&6; }
1888 # Is the header present?
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1890 $as_echo_n "checking $2 presence... " >&6; }
1891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1892 /* end confdefs.h. */
1895 if ac_fn_c_try_cpp
"$LINENO"; then :
1896 ac_header_preproc
=yes
1898 ac_header_preproc
=no
1900 rm -f conftest.err conftest.i conftest.
$ac_ext
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1902 $as_echo "$ac_header_preproc" >&6; }
1904 # So? What about this header?
1905 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1908 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1910 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1914 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1916 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1918 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1920 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1922 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1923 ( $as_echo "## ------------------------------------ ##
1924 ## Report this to wine-devel@winehq.org ##
1925 ## ------------------------------------ ##"
1926 ) |
sed "s/^/$as_me: WARNING: /" >&2
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if eval \
${$3+:} false
; then :
1932 $as_echo_n "(cached) " >&6
1934 eval "$3=\$ac_header_compiler"
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1938 $as_echo "$ac_res" >&6; }
1940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1942 } # ac_fn_c_check_header_mongrel
1944 # ac_fn_c_try_run LINENO
1945 # ----------------------
1946 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1947 # that executables *can* be run.
1950 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1951 if { { ac_try
="$ac_link"
1953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1954 *) ac_try_echo=$ac_try;;
1956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1957 $as_echo "$ac_try_echo"; } >&5
1958 (eval "$ac_link") 2>&5
1960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1961 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1962 { { case "(($ac_try" in
1963 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1964 *) ac_try_echo
=$ac_try;;
1966 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1967 $as_echo "$ac_try_echo"; } >&5
1968 (eval "$ac_try") 2>&5
1970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1971 test $ac_status = 0; }; }; then :
1974 $as_echo "$as_me: program exited with status $ac_status" >&5
1975 $as_echo "$as_me: failed program was:" >&5
1976 sed 's/^/| /' conftest.
$ac_ext >&5
1978 ac_retval
=$ac_status
1980 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1981 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1982 as_fn_set_status
$ac_retval
1986 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1987 # -------------------------------------------------------
1988 # Tests whether HEADER exists and can be compiled using the include files in
1989 # INCLUDES, setting the cache variable VAR accordingly.
1990 ac_fn_c_check_header_compile
()
1992 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1994 $as_echo_n "checking for $2... " >&6; }
1995 if eval \
${$3+:} false
; then :
1996 $as_echo_n "(cached) " >&6
1998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1999 /* end confdefs.h. */
2003 if ac_fn_c_try_compile
"$LINENO"; then :
2008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2012 $as_echo "$ac_res" >&6; }
2013 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2015 } # ac_fn_c_check_header_compile
2017 # ac_fn_c_check_func LINENO FUNC VAR
2018 # ----------------------------------
2019 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2020 ac_fn_c_check_func
()
2022 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2024 $as_echo_n "checking for $2... " >&6; }
2025 if eval \
${$3+:} false
; then :
2026 $as_echo_n "(cached) " >&6
2028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2030 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2032 #define $2 innocuous_$2
2034 /* System header to define __stub macros and hopefully few prototypes,
2035 which can conflict with char $2 (); below.
2036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2037 <limits.h> exists even on freestanding compilers. */
2040 # include <limits.h>
2042 # include <assert.h>
2047 /* Override any GCC internal prototype to avoid an error.
2048 Use char because int might match the return type of a GCC
2049 builtin and then its argument prototype would still apply. */
2054 /* The GNU C library defines this for functions which it implements
2055 to always fail with ENOSYS. Some functions are actually named
2056 something starting with __ and the normal name is an alias. */
2057 #if defined __stub_$2 || defined __stub___$2
2069 if ac_fn_c_try_link
"$LINENO"; then :
2074 rm -f core conftest.err conftest.
$ac_objext \
2075 conftest
$ac_exeext conftest.
$ac_ext
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2079 $as_echo "$ac_res" >&6; }
2080 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2082 } # ac_fn_c_check_func
2084 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2085 # ----------------------------------------------------
2086 # Tries to find if the field MEMBER exists in type AGGR, after including
2087 # INCLUDES, setting cache variable VAR accordingly.
2088 ac_fn_c_check_member
()
2090 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2092 $as_echo_n "checking for $2.$3... " >&6; }
2093 if eval \
${$4+:} false
; then :
2094 $as_echo_n "(cached) " >&6
2096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h. */
2109 if ac_fn_c_try_compile
"$LINENO"; then :
2112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2113 /* end confdefs.h. */
2119 if (sizeof ac_aggr.$3)
2125 if ac_fn_c_try_compile
"$LINENO"; then :
2130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2136 $as_echo "$ac_res" >&6; }
2137 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2139 } # ac_fn_c_check_member
2141 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2142 # -------------------------------------------
2143 # Tests whether TYPE exists after having included INCLUDES, setting cache
2144 # variable VAR accordingly.
2145 ac_fn_c_check_type
()
2147 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149 $as_echo_n "checking for $2... " >&6; }
2150 if eval \
${$3+:} false
; then :
2151 $as_echo_n "(cached) " >&6
2154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2155 /* end confdefs.h. */
2166 if ac_fn_c_try_compile
"$LINENO"; then :
2167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2168 /* end confdefs.h. */
2179 if ac_fn_c_try_compile
"$LINENO"; then :
2184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2190 $as_echo "$ac_res" >&6; }
2191 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2193 } # ac_fn_c_check_type
2194 cat >config.log
<<_ACEOF
2195 This file contains any messages produced by compilers while
2196 running configure, to aid debugging if configure makes a mistake.
2198 It was created by Wine $as_me 1.6, which was
2199 generated by GNU Autoconf 2.69. Invocation command line was
2211 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2212 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2213 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2214 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2215 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2217 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2218 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2220 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2221 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2222 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2223 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2224 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2225 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2226 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2234 test -z "$as_dir" && as_dir
=.
2235 $as_echo "PATH: $as_dir"
2251 # Keep a trace of the command line.
2252 # Strip out --no-create and --no-recursion so they do not pile up.
2253 # Strip out --silent because we don't want to record it for future runs.
2254 # Also quote any args containing shell meta-characters.
2255 # Make two passes to allow for proper duplicate-argument suppression.
2259 ac_must_keep_next
=false
2265 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2266 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2267 |
-silent |
--silent |
--silen |
--sile |
--sil)
2270 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2273 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2275 as_fn_append ac_configure_args1
" '$ac_arg'"
2276 if test $ac_must_keep_next = true
; then
2277 ac_must_keep_next
=false
# Got value, back to normal.
2280 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2281 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2282 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2283 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2284 case "$ac_configure_args0 " in
2285 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2288 -* ) ac_must_keep_next
=true
;;
2291 as_fn_append ac_configure_args
" '$ac_arg'"
2296 { ac_configure_args0
=; unset ac_configure_args0
;}
2297 { ac_configure_args1
=; unset ac_configure_args1
;}
2299 # When interrupted or exit'd, cleanup temporary files, and complete
2300 # config.log. We remove comments because anyway the quotes in there
2301 # would cause problems or look ugly.
2302 # WARNING: Use '\'' to represent an apostrophe within the trap.
2303 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2304 trap 'exit_status=$?
2305 # Save into config.log some information that might help in debugging.
2309 $as_echo "## ---------------- ##
2310 ## Cache variables. ##
2311 ## ---------------- ##"
2313 # The following way of writing the cache mishandles newlines in values,
2315 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2316 eval ac_val=\$$ac_var
2320 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2321 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2324 _ | IFS | as_nl) ;; #(
2325 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2326 *) { eval $ac_var=; unset $ac_var;} ;;
2331 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2332 *${as_nl}ac_space=\ *)
2334 "s/'\''/'\''\\\\'\'''\''/g;
2335 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2338 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2345 $as_echo "## ----------------- ##
2346 ## Output variables. ##
2347 ## ----------------- ##"
2349 for ac_var in $ac_subst_vars
2351 eval ac_val=\$$ac_var
2353 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2355 $as_echo "$ac_var='\''$ac_val'\''"
2359 if test -n "$ac_subst_files"; then
2360 $as_echo "## ------------------- ##
2361 ## File substitutions. ##
2362 ## ------------------- ##"
2364 for ac_var
in $ac_subst_files
2366 eval ac_val
=\$
$ac_var
2368 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2370 $as_echo "$ac_var='\''$ac_val'\''"
2375 if test -s confdefs.h; then
2376 $as_echo "## ----------- ##
2383 test "$ac_signal" != 0 &&
2384 $as_echo "$as_me: caught signal $ac_signal"
2385 $as_echo "$as_me: exit $exit_status"
2387 rm -f core *.core core.conftest.* &&
2388 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2391 for ac_signal
in 1 2 13 15; do
2392 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2396 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2397 rm -f -r conftest
* confdefs.h
2399 $as_echo "/* confdefs.h */" > confdefs.h
2401 # Predefined preprocessor variables.
2403 cat >>confdefs.h
<<_ACEOF
2404 #define PACKAGE_NAME "$PACKAGE_NAME"
2407 cat >>confdefs.h
<<_ACEOF
2408 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2411 cat >>confdefs.h
<<_ACEOF
2412 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2415 cat >>confdefs.h
<<_ACEOF
2416 #define PACKAGE_STRING "$PACKAGE_STRING"
2419 cat >>confdefs.h
<<_ACEOF
2420 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2423 cat >>confdefs.h
<<_ACEOF
2424 #define PACKAGE_URL "$PACKAGE_URL"
2428 # Let the site file select an alternate cache file if it wants to.
2429 # Prefer an explicitly selected file to automatically selected ones.
2432 if test -n "$CONFIG_SITE"; then
2433 # We do not want a PATH search for config.site.
2434 case $CONFIG_SITE in #((
2435 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2436 */*) ac_site_file1
=$CONFIG_SITE;;
2437 *) ac_site_file1
=.
/$CONFIG_SITE;;
2439 elif test "x$prefix" != xNONE
; then
2440 ac_site_file1
=$prefix/share
/config.site
2441 ac_site_file2
=$prefix/etc
/config.site
2443 ac_site_file1
=$ac_default_prefix/share
/config.site
2444 ac_site_file2
=$ac_default_prefix/etc
/config.site
2446 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2448 test "x$ac_site_file" = xNONE
&& continue
2449 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2451 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2452 sed 's/^/| /' "$ac_site_file" >&5
2454 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2456 as_fn_error $?
"failed to load site script $ac_site_file
2457 See \`config.log' for more details" "$LINENO" 5; }
2461 if test -r "$cache_file"; then
2462 # Some versions of bash will fail to source /dev/null (special files
2463 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2464 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2466 $as_echo "$as_me: loading cache $cache_file" >&6;}
2468 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2469 *) .
"./$cache_file";;
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2474 $as_echo "$as_me: creating cache $cache_file" >&6;}
2478 # Check that the precious variables saved in the cache have kept the same
2480 ac_cache_corrupted
=false
2481 for ac_var
in $ac_precious_vars; do
2482 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2483 eval ac_new_set
=\
$ac_env_${ac_var}_set
2484 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2485 eval ac_new_val
=\
$ac_env_${ac_var}_value
2486 case $ac_old_set,$ac_new_set in
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2489 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2490 ac_cache_corrupted
=: ;;
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2493 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2494 ac_cache_corrupted
=: ;;
2497 if test "x$ac_old_val" != "x$ac_new_val"; then
2498 # differences in whitespace do not lead to failure.
2499 ac_old_val_w
=`echo x $ac_old_val`
2500 ac_new_val_w
=`echo x $ac_new_val`
2501 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2503 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2504 ac_cache_corrupted
=:
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2507 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2508 eval $ac_var=\
$ac_old_val
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2511 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2513 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2516 # Pass precious variables to config.status.
2517 if test "$ac_new_set" = set; then
2519 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2520 *) ac_arg
=$ac_var=$ac_new_val ;;
2522 case " $ac_configure_args " in
2523 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2524 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2528 if $ac_cache_corrupted; then
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2532 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2533 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2535 ## -------------------- ##
2536 ## Main body of script. ##
2537 ## -------------------- ##
2540 ac_cpp
='$CPP $CPPFLAGS'
2541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2547 ac_config_headers
="$ac_config_headers include/config.h"
2550 for ac_dir
in tools
"$srcdir"/tools
; do
2551 if test -f "$ac_dir/install-sh"; then
2553 ac_install_sh
="$ac_aux_dir/install-sh -c"
2555 elif test -f "$ac_dir/install.sh"; then
2557 ac_install_sh
="$ac_aux_dir/install.sh -c"
2559 elif test -f "$ac_dir/shtool"; then
2561 ac_install_sh
="$ac_aux_dir/shtool install -c"
2565 if test -z "$ac_aux_dir"; then
2566 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2569 # These three variables are undocumented and unsupported,
2570 # and are intended to be withdrawn in a future Autoconf release.
2571 # They can cause serious problems if a builder's source tree is in a directory
2572 # whose full name contains unusual characters.
2573 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2574 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2575 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2581 # Check whether --enable-win16 was given.
2582 if test "${enable_win16+set}" = set; then :
2583 enableval
=$enable_win16;
2586 # Check whether --enable-win64 was given.
2587 if test "${enable_win64+set}" = set; then :
2588 enableval
=$enable_win64;
2591 # Check whether --enable-tests was given.
2592 if test "${enable_tests+set}" = set; then :
2593 enableval
=$enable_tests;
2596 # Check whether --enable-maintainer-mode was given.
2597 if test "${enable_maintainer_mode+set}" = set; then :
2598 enableval
=$enable_maintainer_mode;
2603 # Check whether --with-alsa was given.
2604 if test "${with_alsa+set}" = set; then :
2605 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2609 # Check whether --with-capi was given.
2610 if test "${with_capi+set}" = set; then :
2611 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2615 # Check whether --with-cms was given.
2616 if test "${with_cms+set}" = set; then :
2621 # Check whether --with-coreaudio was given.
2622 if test "${with_coreaudio+set}" = set; then :
2623 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2627 # Check whether --with-cups was given.
2628 if test "${with_cups+set}" = set; then :
2633 # Check whether --with-curses was given.
2634 if test "${with_curses+set}" = set; then :
2635 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2639 # Check whether --with-dbus was given.
2640 if test "${with_dbus+set}" = set; then :
2645 # Check whether --with-fontconfig was given.
2646 if test "${with_fontconfig+set}" = set; then :
2647 withval
=$with_fontconfig;
2651 # Check whether --with-freetype was given.
2652 if test "${with_freetype+set}" = set; then :
2653 withval
=$with_freetype;
2657 # Check whether --with-gettext was given.
2658 if test "${with_gettext+set}" = set; then :
2659 withval
=$with_gettext;
2663 # Check whether --with-gettextpo was given.
2664 if test "${with_gettextpo+set}" = set; then :
2665 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
2669 # Check whether --with-gphoto was given.
2670 if test "${with_gphoto+set}" = set; then :
2671 withval
=$with_gphoto;
2675 # Check whether --with-glu was given.
2676 if test "${with_glu+set}" = set; then :
2681 # Check whether --with-gnutls was given.
2682 if test "${with_gnutls+set}" = set; then :
2683 withval
=$with_gnutls;
2687 # Check whether --with-gsm was given.
2688 if test "${with_gsm+set}" = set; then :
2689 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2693 # Check whether --with-gstreamer was given.
2694 if test "${with_gstreamer+set}" = set; then :
2695 withval
=$with_gstreamer;
2699 # Check whether --with-hal was given.
2700 if test "${with_hal+set}" = set; then :
2705 # Check whether --with-jpeg was given.
2706 if test "${with_jpeg+set}" = set; then :
2707 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2711 # Check whether --with-ldap was given.
2712 if test "${with_ldap+set}" = set; then :
2713 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2717 # Check whether --with-mpg123 was given.
2718 if test "${with_mpg123+set}" = set; then :
2719 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2723 # Check whether --with-openal was given.
2724 if test "${with_openal+set}" = set; then :
2725 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2729 # Check whether --with-opencl was given.
2730 if test "${with_opencl+set}" = set; then :
2731 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
2735 # Check whether --with-opengl was given.
2736 if test "${with_opengl+set}" = set; then :
2737 withval
=$with_opengl;
2741 # Check whether --with-osmesa was given.
2742 if test "${with_osmesa+set}" = set; then :
2743 withval
=$with_osmesa;
2747 # Check whether --with-oss was given.
2748 if test "${with_oss+set}" = set; then :
2753 # Check whether --with-png was given.
2754 if test "${with_png+set}" = set; then :
2759 # Check whether --with-pthread was given.
2760 if test "${with_pthread+set}" = set; then :
2761 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2765 # Check whether --with-sane was given.
2766 if test "${with_sane+set}" = set; then :
2771 # Check whether --with-tiff was given.
2772 if test "${with_tiff+set}" = set; then :
2773 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2777 # Check whether --with-v4l was given.
2778 if test "${with_v4l+set}" = set; then :
2783 # Check whether --with-xcomposite was given.
2784 if test "${with_xcomposite+set}" = set; then :
2785 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2789 # Check whether --with-xcursor was given.
2790 if test "${with_xcursor+set}" = set; then :
2791 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2795 # Check whether --with-xinerama was given.
2796 if test "${with_xinerama+set}" = set; then :
2797 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2801 # Check whether --with-xinput was given.
2802 if test "${with_xinput+set}" = set; then :
2803 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2807 # Check whether --with-xinput2 was given.
2808 if test "${with_xinput2+set}" = set; then :
2809 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
2813 # Check whether --with-xml was given.
2814 if test "${with_xml+set}" = set; then :
2819 # Check whether --with-xrandr was given.
2820 if test "${with_xrandr+set}" = set; then :
2821 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2825 # Check whether --with-xrender was given.
2826 if test "${with_xrender+set}" = set; then :
2827 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2831 # Check whether --with-xshape was given.
2832 if test "${with_xshape+set}" = set; then :
2833 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2837 # Check whether --with-xshm was given.
2838 if test "${with_xshm+set}" = set; then :
2839 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2843 # Check whether --with-xslt was given.
2844 if test "${with_xslt+set}" = set; then :
2849 # Check whether --with-xxf86vm was given.
2850 if test "${with_xxf86vm+set}" = set; then :
2851 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
2855 # Check whether --with-zlib was given.
2856 if test "${with_zlib+set}" = set; then :
2857 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
2862 # Check whether --with-wine-tools was given.
2863 if test "${with_wine_tools+set}" = set; then :
2864 withval
=$with_wine_tools;
2868 # Check whether --with-wine64 was given.
2869 if test "${with_wine64+set}" = set; then :
2870 withval
=$with_wine64;
2874 # Make sure we can run config.sub.
2875 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2876 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2879 $as_echo_n "checking build system type... " >&6; }
2880 if ${ac_cv_build+:} false
; then :
2881 $as_echo_n "(cached) " >&6
2883 ac_build_alias
=$build_alias
2884 test "x$ac_build_alias" = x
&&
2885 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2886 test "x$ac_build_alias" = x
&&
2887 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2888 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2889 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2893 $as_echo "$ac_cv_build" >&6; }
2894 case $ac_cv_build in
2896 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2899 ac_save_IFS
=$IFS; IFS
='-'
2905 # Remember, the first character of IFS is used to create $*,
2906 # except with old shells:
2909 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2913 $as_echo_n "checking host system type... " >&6; }
2914 if ${ac_cv_host+:} false
; then :
2915 $as_echo_n "(cached) " >&6
2917 if test "x$host_alias" = x
; then
2918 ac_cv_host
=$ac_cv_build
2920 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2921 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2926 $as_echo "$ac_cv_host" >&6; }
2929 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2932 ac_save_IFS
=$IFS; IFS
='-'
2938 # Remember, the first character of IFS is used to create $*,
2939 # except with old shells:
2942 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2948 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2949 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2950 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2956 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2958 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2959 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2960 $as_echo_n "(cached) " >&6
2962 cat >conftest.
make <<\_ACEOF
2965 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2967 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2968 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2970 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2972 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2976 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2978 $as_echo "yes" >&6; }
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982 $as_echo "no" >&6; }
2983 SET_MAKE
="MAKE=${MAKE-make}"
2987 ac_cpp
='$CPP $CPPFLAGS'
2988 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2989 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2990 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2991 if test -n "$ac_tool_prefix"; then
2992 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2993 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2995 $as_echo_n "checking for $ac_word... " >&6; }
2996 if ${ac_cv_prog_CC+:} false
; then :
2997 $as_echo_n "(cached) " >&6
2999 if test -n "$CC"; then
3000 ac_cv_prog_CC
="$CC" # Let the user override the test.
3002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3006 test -z "$as_dir" && as_dir
=.
3007 for ac_exec_ext
in '' $ac_executable_extensions; do
3008 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3009 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3020 if test -n "$CC"; then
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3022 $as_echo "$CC" >&6; }
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3025 $as_echo "no" >&6; }
3030 if test -z "$ac_cv_prog_CC"; then
3032 # Extract the first word of "gcc", so it can be a program name with args.
3033 set dummy gcc
; ac_word
=$2
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3035 $as_echo_n "checking for $ac_word... " >&6; }
3036 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3037 $as_echo_n "(cached) " >&6
3039 if test -n "$ac_ct_CC"; then
3040 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3046 test -z "$as_dir" && as_dir
=.
3047 for ac_exec_ext
in '' $ac_executable_extensions; do
3048 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3049 ac_cv_prog_ac_ct_CC
="gcc"
3050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3059 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3060 if test -n "$ac_ct_CC"; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3062 $as_echo "$ac_ct_CC" >&6; }
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3065 $as_echo "no" >&6; }
3068 if test "x$ac_ct_CC" = x
; then
3071 case $cross_compiling:$ac_tool_warned in
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3075 ac_tool_warned
=yes ;;
3083 if test -z "$CC"; then
3084 if test -n "$ac_tool_prefix"; then
3085 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3086 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3088 $as_echo_n "checking for $ac_word... " >&6; }
3089 if ${ac_cv_prog_CC+:} false
; then :
3090 $as_echo_n "(cached) " >&6
3092 if test -n "$CC"; then
3093 ac_cv_prog_CC
="$CC" # Let the user override the test.
3095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3099 test -z "$as_dir" && as_dir
=.
3100 for ac_exec_ext
in '' $ac_executable_extensions; do
3101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3102 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3113 if test -n "$CC"; then
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3115 $as_echo "$CC" >&6; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3118 $as_echo "no" >&6; }
3124 if test -z "$CC"; then
3125 # Extract the first word of "cc", so it can be a program name with args.
3126 set dummy cc
; ac_word
=$2
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3128 $as_echo_n "checking for $ac_word... " >&6; }
3129 if ${ac_cv_prog_CC+:} false
; then :
3130 $as_echo_n "(cached) " >&6
3132 if test -n "$CC"; then
3133 ac_cv_prog_CC
="$CC" # Let the user override the test.
3136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3140 test -z "$as_dir" && as_dir
=.
3141 for ac_exec_ext
in '' $ac_executable_extensions; do
3142 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3143 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3144 ac_prog_rejected
=yes
3148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3155 if test $ac_prog_rejected = yes; then
3156 # We found a bogon in the path, so make sure we never use it.
3157 set dummy
$ac_cv_prog_CC
3159 if test $# != 0; then
3160 # We chose a different compiler from the bogus one.
3161 # However, it has the same basename, so the bogon will be chosen
3162 # first if we set CC to just the basename; use the full file name.
3164 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3170 if test -n "$CC"; then
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3172 $as_echo "$CC" >&6; }
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3175 $as_echo "no" >&6; }
3180 if test -z "$CC"; then
3181 if test -n "$ac_tool_prefix"; then
3182 for ac_prog
in cl.exe
3184 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3185 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3187 $as_echo_n "checking for $ac_word... " >&6; }
3188 if ${ac_cv_prog_CC+:} false
; then :
3189 $as_echo_n "(cached) " >&6
3191 if test -n "$CC"; then
3192 ac_cv_prog_CC
="$CC" # Let the user override the test.
3194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3198 test -z "$as_dir" && as_dir
=.
3199 for ac_exec_ext
in '' $ac_executable_extensions; do
3200 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3201 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212 if test -n "$CC"; then
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3214 $as_echo "$CC" >&6; }
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3217 $as_echo "no" >&6; }
3221 test -n "$CC" && break
3224 if test -z "$CC"; then
3226 for ac_prog
in cl.exe
3228 # Extract the first word of "$ac_prog", so it can be a program name with args.
3229 set dummy
$ac_prog; ac_word
=$2
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3231 $as_echo_n "checking for $ac_word... " >&6; }
3232 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3233 $as_echo_n "(cached) " >&6
3235 if test -n "$ac_ct_CC"; then
3236 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3242 test -z "$as_dir" && as_dir
=.
3243 for ac_exec_ext
in '' $ac_executable_extensions; do
3244 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3245 ac_cv_prog_ac_ct_CC
="$ac_prog"
3246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3255 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3256 if test -n "$ac_ct_CC"; then
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3258 $as_echo "$ac_ct_CC" >&6; }
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3261 $as_echo "no" >&6; }
3265 test -n "$ac_ct_CC" && break
3268 if test "x$ac_ct_CC" = x
; then
3271 case $cross_compiling:$ac_tool_warned in
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3275 ac_tool_warned
=yes ;;
3284 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3286 as_fn_error $?
"no acceptable C compiler found in \$PATH
3287 See \`config.log' for more details" "$LINENO" 5; }
3289 # Provide some information about the compiler.
3290 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3293 for ac_option
in --version -v -V -qversion; do
3294 { { ac_try
="$ac_compiler $ac_option >&5"
3296 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3297 *) ac_try_echo=$ac_try;;
3299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3300 $as_echo "$ac_try_echo"; } >&5
3301 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3303 if test -s conftest.err; then
3305 ... rest of stderr output deleted ...
3306 10q' conftest.err >conftest.er1
3307 cat conftest.er1 >&5
3309 rm -f conftest.er1 conftest.err
3310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3311 test $ac_status = 0; }
3314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3315 /* end confdefs.h. */
3325 ac_clean_files_save=$ac_clean_files
3326 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3327 # Try to create an executable without -o first, disregard a.out.
3328 # It will help us diagnose broken compilers, and finding out an intuition
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3331 $as_echo_n "checking whether the C compiler works... " >&6; }
3332 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3334 # The possible output files:
3335 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3338 for ac_file in $ac_files
3341 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3342 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3347 if { { ac_try="$ac_link_default"
3349 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3350 *) ac_try_echo
=$ac_try;;
3352 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3353 $as_echo "$ac_try_echo"; } >&5
3354 (eval "$ac_link_default") 2>&5
3356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3357 test $ac_status = 0; }; then :
3358 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3359 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3360 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3361 # so that the user can short-circuit this test for compilers unknown to
3363 for ac_file
in $ac_files ''
3365 test -f "$ac_file" ||
continue
3367 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3370 # We found the default executable, but exeext='' is most
3374 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3376 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3378 # We set ac_cv_exeext here because the later test for it is not
3379 # safe: cross compilers may not add the suffix if given an `-o'
3380 # argument, so we may need to know it at that point already.
3381 # Even if this section looks crufty: it has the advantage of
3388 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3393 if test -z "$ac_file"; then :
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3395 $as_echo "no" >&6; }
3396 $as_echo "$as_me: failed program was:" >&5
3397 sed 's/^/| /' conftest.
$ac_ext >&5
3399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3401 as_fn_error
77 "C compiler cannot create executables
3402 See \`config.log' for more details" "$LINENO" 5; }
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3405 $as_echo "yes" >&6; }
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3408 $as_echo_n "checking for C compiler default output file name... " >&6; }
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3410 $as_echo "$ac_file" >&6; }
3411 ac_exeext
=$ac_cv_exeext
3413 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3414 ac_clean_files
=$ac_clean_files_save
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3416 $as_echo_n "checking for suffix of executables... " >&6; }
3417 if { { ac_try
="$ac_link"
3419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3420 *) ac_try_echo=$ac_try;;
3422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3423 $as_echo "$ac_try_echo"; } >&5
3424 (eval "$ac_link") 2>&5
3426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3427 test $ac_status = 0; }; then :
3428 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3429 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3430 # work properly (i.e., refer to `conftest.exe'), while it won't with
3432 for ac_file
in conftest.exe conftest conftest.
*; do
3433 test -f "$ac_file" ||
continue
3435 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3436 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3442 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3444 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3445 See \`config.log' for more details" "$LINENO" 5; }
3447 rm -f conftest conftest
$ac_cv_exeext
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3449 $as_echo "$ac_cv_exeext" >&6; }
3451 rm -f conftest.
$ac_ext
3452 EXEEXT
=$ac_cv_exeext
3454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3455 /* end confdefs.h. */
3460 FILE *f = fopen ("conftest.out", "w");
3461 return ferror (f) || fclose (f) != 0;
3467 ac_clean_files
="$ac_clean_files conftest.out"
3468 # Check that the compiler produces executables we can run. If not, either
3469 # the compiler is broken, or we cross compile.
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3471 $as_echo_n "checking whether we are cross compiling... " >&6; }
3472 if test "$cross_compiling" != yes; then
3473 { { ac_try
="$ac_link"
3475 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3476 *) ac_try_echo=$ac_try;;
3478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3479 $as_echo "$ac_try_echo"; } >&5
3480 (eval "$ac_link") 2>&5
3482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3483 test $ac_status = 0; }
3484 if { ac_try='./conftest$ac_cv_exeext'
3485 { { case "(($ac_try" in
3486 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3487 *) ac_try_echo
=$ac_try;;
3489 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3490 $as_echo "$ac_try_echo"; } >&5
3491 (eval "$ac_try") 2>&5
3493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3494 test $ac_status = 0; }; }; then
3497 if test "$cross_compiling" = maybe
; then
3500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3502 as_fn_error $?
"cannot run C compiled programs.
3503 If you meant to cross compile, use \`--host'.
3504 See \`config.log' for more details" "$LINENO" 5; }
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3509 $as_echo "$cross_compiling" >&6; }
3511 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3512 ac_clean_files
=$ac_clean_files_save
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3514 $as_echo_n "checking for suffix of object files... " >&6; }
3515 if ${ac_cv_objext+:} false
; then :
3516 $as_echo_n "(cached) " >&6
3518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3519 /* end confdefs.h. */
3529 rm -f conftest.o conftest.obj
3530 if { { ac_try
="$ac_compile"
3532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3533 *) ac_try_echo=$ac_try;;
3535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3536 $as_echo "$ac_try_echo"; } >&5
3537 (eval "$ac_compile") 2>&5
3539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3540 test $ac_status = 0; }; then :
3541 for ac_file in conftest.o conftest.obj conftest.*; do
3542 test -f "$ac_file" || continue;
3544 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3545 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3550 $as_echo "$as_me: failed program was:" >&5
3551 sed 's/^/| /' conftest.$ac_ext >&5
3553 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3555 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3556 See \
`config.log' for more details" "$LINENO" 5; }
3558 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3561 $as_echo "$ac_cv_objext" >&6; }
3562 OBJEXT=$ac_cv_objext
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3565 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3566 if ${ac_cv_c_compiler_gnu+:} false; then :
3567 $as_echo_n "(cached) " >&6
3569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570 /* end confdefs.h. */
3583 if ac_fn_c_try_compile "$LINENO"; then :
3588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3589 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3593 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3594 if test $ac_compiler_gnu = yes; then
3599 ac_test_CFLAGS=${CFLAGS+set}
3600 ac_save_CFLAGS=$CFLAGS
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3602 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3603 if ${ac_cv_prog_cc_g+:} false; then :
3604 $as_echo_n "(cached) " >&6
3606 ac_save_c_werror_flag=$ac_c_werror_flag
3607 ac_c_werror_flag=yes
3610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3611 /* end confdefs.h. */
3621 if ac_fn_c_try_compile "$LINENO"; then :
3625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3626 /* end confdefs.h. */
3636 if ac_fn_c_try_compile "$LINENO"; then :
3639 ac_c_werror_flag=$ac_save_c_werror_flag
3641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3642 /* end confdefs.h. */
3652 if ac_fn_c_try_compile "$LINENO"; then :
3655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3660 ac_c_werror_flag=$ac_save_c_werror_flag
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3663 $as_echo "$ac_cv_prog_cc_g" >&6; }
3664 if test "$ac_test_CFLAGS" = set; then
3665 CFLAGS=$ac_save_CFLAGS
3666 elif test $ac_cv_prog_cc_g = yes; then
3667 if test "$GCC" = yes; then
3673 if test "$GCC" = yes; then
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3680 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3681 if ${ac_cv_prog_cc_c89+:} false; then :
3682 $as_echo_n "(cached) " >&6
3684 ac_cv_prog_cc_c89=no
3686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h. */
3691 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3692 struct buf { int x; };
3693 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3694 static char *e (p, i)
3700 static char *f (char * (*g) (char **, int), char **p, ...)
3705 s = g (p, va_arg (v,int));
3710 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3711 function prototypes and stuff, but not '\xHH' hex character constants.
3712 These don't provoke an error unfortunately, instead are silently treated
3713 as 'x'. The following induces an error, until -std is added to get
3714 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3715 array size at least. It's necessary to write '\x00'==0 to get something
3716 that's true only with -std. */
3717 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3719 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3720 inside strings and character constants. */
3722 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3724 int test (int i, double x);
3725 struct s1 {int (*f) (int a);};
3726 struct s2 {int (*f) (double a);};
3727 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3733 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3738 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3739 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3741 CC="$ac_save_CC $ac_arg"
3742 if ac_fn_c_try_compile "$LINENO"; then :
3743 ac_cv_prog_cc_c89=$ac_arg
3745 rm -f core conftest.err conftest.$ac_objext
3746 test "x$ac_cv_prog_cc_c89" != "xno" && break
3748 rm -f conftest.$ac_ext
3753 case "x$ac_cv_prog_cc_c89" in
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3756 $as_echo "none needed" >&6; } ;;
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3759 $as_echo "unsupported" >&6; } ;;
3761 CC="$CC $ac_cv_prog_cc_c89"
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3763 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3765 if test "x$ac_cv_prog_cc_c89" != xno; then :
3770 ac_cpp='$CPP $CPPFLAGS'
3771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3776 ac_cpp='$CXXCPP $CPPFLAGS'
3777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3780 if test -z "$CXX"; then
3781 if test -n "$CCC"; then
3784 if test -n "$ac_tool_prefix"; then
3785 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3787 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3788 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3790 $as_echo_n "checking for $ac_word... " >&6; }
3791 if ${ac_cv_prog_CXX+:} false; then :
3792 $as_echo_n "(cached) " >&6
3794 if test -n "$CXX"; then
3795 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3801 test -z "$as_dir" && as_dir=.
3802 for ac_exec_ext in '' $ac_executable_extensions; do
3803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3804 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3815 if test -n "$CXX"; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3817 $as_echo "$CXX" >&6; }
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3820 $as_echo "no" >&6; }
3824 test -n "$CXX" && break
3827 if test -z "$CXX"; then
3829 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3831 # Extract the first word of "$ac_prog", so it can be a program name with args.
3832 set dummy $ac_prog; ac_word=$2
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834 $as_echo_n "checking for $ac_word... " >&6; }
3835 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3836 $as_echo_n "(cached) " >&6
3838 if test -n "$ac_ct_CXX"; then
3839 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3845 test -z "$as_dir" && as_dir=.
3846 for ac_exec_ext in '' $ac_executable_extensions; do
3847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3848 ac_cv_prog_ac_ct_CXX="$ac_prog"
3849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3858 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3859 if test -n "$ac_ct_CXX"; then
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3861 $as_echo "$ac_ct_CXX" >&6; }
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3864 $as_echo "no" >&6; }
3868 test -n "$ac_ct_CXX" && break
3871 if test "x$ac_ct_CXX" = x; then
3874 case $cross_compiling:$ac_tool_warned in
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3878 ac_tool_warned=yes ;;
3886 # Provide some information about the compiler.
3887 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3890 for ac_option in --version -v -V -qversion; do
3891 { { ac_try="$ac_compiler $ac_option >&5"
3893 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3894 *) ac_try_echo
=$ac_try;;
3896 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3897 $as_echo "$ac_try_echo"; } >&5
3898 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3900 if test -s conftest.err
; then
3902 ... rest of stderr output deleted ...
3903 10q' conftest.err
>conftest.er1
3904 cat conftest.er1
>&5
3906 rm -f conftest.er1 conftest.err
3907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3908 test $ac_status = 0; }
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3912 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3913 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3914 $as_echo_n "(cached) " >&6
3916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3917 /* end confdefs.h. */
3930 if ac_fn_cxx_try_compile
"$LINENO"; then :
3935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3936 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3940 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3941 if test $ac_compiler_gnu = yes; then
3946 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3947 ac_save_CXXFLAGS
=$CXXFLAGS
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3949 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3950 if ${ac_cv_prog_cxx_g+:} false
; then :
3951 $as_echo_n "(cached) " >&6
3953 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3954 ac_cxx_werror_flag
=yes
3957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3958 /* end confdefs.h. */
3968 if ac_fn_cxx_try_compile
"$LINENO"; then :
3969 ac_cv_prog_cxx_g
=yes
3972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3973 /* end confdefs.h. */
3983 if ac_fn_cxx_try_compile
"$LINENO"; then :
3986 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3989 /* end confdefs.h. */
3999 if ac_fn_cxx_try_compile
"$LINENO"; then :
4000 ac_cv_prog_cxx_g
=yes
4002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4007 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4010 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4011 if test "$ac_test_CXXFLAGS" = set; then
4012 CXXFLAGS
=$ac_save_CXXFLAGS
4013 elif test $ac_cv_prog_cxx_g = yes; then
4014 if test "$GXX" = yes; then
4020 if test "$GXX" = yes; then
4027 ac_cpp
='$CPP $CPPFLAGS'
4028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4032 if test -n "$ac_tool_prefix"; then
4033 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4034 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4036 $as_echo_n "checking for $ac_word... " >&6; }
4037 if ${ac_cv_prog_CPPBIN+:} false
; then :
4038 $as_echo_n "(cached) " >&6
4040 if test -n "$CPPBIN"; then
4041 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4047 test -z "$as_dir" && as_dir
=.
4048 for ac_exec_ext
in '' $ac_executable_extensions; do
4049 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4050 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4060 CPPBIN
=$ac_cv_prog_CPPBIN
4061 if test -n "$CPPBIN"; then
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4063 $as_echo "$CPPBIN" >&6; }
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4066 $as_echo "no" >&6; }
4071 if test -z "$ac_cv_prog_CPPBIN"; then
4072 ac_ct_CPPBIN
=$CPPBIN
4073 # Extract the first word of "cpp", so it can be a program name with args.
4074 set dummy cpp
; ac_word
=$2
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4076 $as_echo_n "checking for $ac_word... " >&6; }
4077 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4078 $as_echo_n "(cached) " >&6
4080 if test -n "$ac_ct_CPPBIN"; then
4081 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4087 test -z "$as_dir" && as_dir
=.
4088 for ac_exec_ext
in '' $ac_executable_extensions; do
4089 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4090 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4100 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4101 if test -n "$ac_ct_CPPBIN"; then
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4103 $as_echo "$ac_ct_CPPBIN" >&6; }
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4106 $as_echo "no" >&6; }
4109 if test "x$ac_ct_CPPBIN" = x
; then
4112 case $cross_compiling:$ac_tool_warned in
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4116 ac_tool_warned
=yes ;;
4118 CPPBIN
=$ac_ct_CPPBIN
4121 CPPBIN
="$ac_cv_prog_CPPBIN"
4125 cat >>confdefs.h
<<_ACEOF
4126 #define EXEEXT "$ac_exeext"
4132 if test "x$enable_win64" = "xyes"
4137 notice_platform
="64-bit "
4144 notice_platform
="32-bit "
4147 enable_win16
=${enable_win16:-yes}
4149 with_fontconfig
=${with_fontconfig:-no}
4152 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4157 $as_echo_n "checking whether $CC works... " >&6; }
4159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h. */
4170 if ac_fn_c_try_link
"$LINENO"; then :
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4172 $as_echo "yes" >&6; }
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4175 $as_echo "no" >&6; }
4176 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4178 rm -f core conftest.err conftest.
$ac_objext \
4179 conftest
$ac_exeext conftest.
$ac_ext
4181 notice_platform
="32-bit "
4184 enable_win16
=${enable_win16:-yes}
4186 if test "x${GCC}" = "xyes"
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4189 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4191 /* end confdefs.h. */
4196 void func(__builtin_ms_va_list *args);
4201 if ac_fn_c_try_compile
"$LINENO"; then :
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4203 $as_echo "yes" >&6; }
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4206 $as_echo "no" >&6; }
4207 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4217 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4220 int ac_test(int i) { return i; }
4224 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4229 if ac_fn_c_try_link
"$LINENO"; then :
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4231 $as_echo "yes" >&6; }
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4234 $as_echo "no" >&6; }
4235 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4237 rm -f core conftest.err conftest.
$ac_objext \
4238 conftest
$ac_exeext conftest.
$ac_ext
4239 CFLAGS
="$CFLAGS -marm"
4241 *-mingw32*|
*-cygwin*)
4242 enable_win16
=${enable_win16:-no}
4243 CFLAGS
="$CFLAGS -D_WIN32"
4246 enable_win16
=${enable_win16:-yes}
4250 enable_win16
=${enable_win16:-no}
4251 enable_win64
=${enable_win64:-no}
4253 enable_winetest
=${enable_winetest:-$enable_tests}
4255 if test -n "$with_wine64"
4257 if test "x$enable_win64" = "xyes"
4259 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4260 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4264 enable_fonts
=${enable_fonts:-no}
4265 enable_server
=${enable_server:-no}
4266 enable_tools
=${enable_tools:-no}
4267 elif test "x$enable_win64" = "xyes"
4269 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4273 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4274 if ${wine_cv_toolsdir+:} false
; then :
4275 $as_echo_n "(cached) " >&6
4277 wine_cv_toolsdir
="$with_wine_tools"
4278 if test -z "$with_wine_tools"; then
4279 if test "$cross_compiling" = "yes"; then
4280 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4281 elif test -n "$with_wine64"; then
4282 wine_cv_toolsdir
="$with_wine64"
4285 if test -z "$wine_cv_toolsdir"; then
4286 wine_cv_toolsdir
="\$(top_builddir)"
4287 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4288 case "$wine_cv_toolsdir" in
4290 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4293 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4297 $as_echo "$wine_cv_toolsdir" >&6; }
4298 TOOLSDIR
=$wine_cv_toolsdir
4300 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4302 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4308 # Extract the first word of "$ac_prog", so it can be a program name with args.
4309 set dummy
$ac_prog; ac_word
=$2
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4311 $as_echo_n "checking for $ac_word... " >&6; }
4312 if ${ac_cv_prog_FLEX+:} false
; then :
4313 $as_echo_n "(cached) " >&6
4315 if test -n "$FLEX"; then
4316 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4322 test -z "$as_dir" && as_dir
=.
4323 for ac_exec_ext
in '' $ac_executable_extensions; do
4324 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4325 ac_cv_prog_FLEX
="$ac_prog"
4326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4335 FLEX
=$ac_cv_prog_FLEX
4336 if test -n "$FLEX"; then
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4338 $as_echo "$FLEX" >&6; }
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4341 $as_echo "no" >&6; }
4345 test -n "$FLEX" && break
4347 test -n "$FLEX" || FLEX
="none"
4349 if test "$FLEX" = "none"
4351 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4354 $as_echo_n "checking whether flex is recent enough... " >&6; }
4355 cat >conftest.l
<<EOF
4357 #include "prediluvian.h"
4361 if $FLEX -t conftest.l
>/dev
/null
2>&5
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4364 $as_echo "yes" >&6; }
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4367 $as_echo "no" >&6; }
4368 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4371 for ac_prog
in bison
4373 # Extract the first word of "$ac_prog", so it can be a program name with args.
4374 set dummy
$ac_prog; ac_word
=$2
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4376 $as_echo_n "checking for $ac_word... " >&6; }
4377 if ${ac_cv_prog_BISON+:} false
; then :
4378 $as_echo_n "(cached) " >&6
4380 if test -n "$BISON"; then
4381 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4387 test -z "$as_dir" && as_dir
=.
4388 for ac_exec_ext
in '' $ac_executable_extensions; do
4389 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4390 ac_cv_prog_BISON
="$ac_prog"
4391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4400 BISON
=$ac_cv_prog_BISON
4401 if test -n "$BISON"; then
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4403 $as_echo "$BISON" >&6; }
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4406 $as_echo "no" >&6; }
4410 test -n "$BISON" && break
4412 test -n "$BISON" || BISON
="none"
4414 if test "$BISON" = "none"
4416 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4419 if test -n "$ac_tool_prefix"; then
4420 for ac_prog
in ar gar
4422 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4423 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4425 $as_echo_n "checking for $ac_word... " >&6; }
4426 if ${ac_cv_prog_AR+:} false
; then :
4427 $as_echo_n "(cached) " >&6
4429 if test -n "$AR"; then
4430 ac_cv_prog_AR
="$AR" # Let the user override the test.
4432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4436 test -z "$as_dir" && as_dir
=.
4437 for ac_exec_ext
in '' $ac_executable_extensions; do
4438 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4439 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4450 if test -n "$AR"; then
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4452 $as_echo "$AR" >&6; }
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4455 $as_echo "no" >&6; }
4459 test -n "$AR" && break
4462 if test -z "$AR"; then
4464 for ac_prog
in ar gar
4466 # Extract the first word of "$ac_prog", so it can be a program name with args.
4467 set dummy
$ac_prog; ac_word
=$2
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4469 $as_echo_n "checking for $ac_word... " >&6; }
4470 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4471 $as_echo_n "(cached) " >&6
4473 if test -n "$ac_ct_AR"; then
4474 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4480 test -z "$as_dir" && as_dir
=.
4481 for ac_exec_ext
in '' $ac_executable_extensions; do
4482 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4483 ac_cv_prog_ac_ct_AR
="$ac_prog"
4484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4494 if test -n "$ac_ct_AR"; then
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4496 $as_echo "$ac_ct_AR" >&6; }
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4499 $as_echo "no" >&6; }
4503 test -n "$ac_ct_AR" && break
4506 if test "x$ac_ct_AR" = x
; then
4509 case $cross_compiling:$ac_tool_warned in
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4513 ac_tool_warned
=yes ;;
4521 if test -n "$ac_tool_prefix"; then
4522 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4523 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4525 $as_echo_n "checking for $ac_word... " >&6; }
4526 if ${ac_cv_prog_RANLIB+:} false
; then :
4527 $as_echo_n "(cached) " >&6
4529 if test -n "$RANLIB"; then
4530 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4536 test -z "$as_dir" && as_dir
=.
4537 for ac_exec_ext
in '' $ac_executable_extensions; do
4538 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4539 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4549 RANLIB
=$ac_cv_prog_RANLIB
4550 if test -n "$RANLIB"; then
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4552 $as_echo "$RANLIB" >&6; }
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555 $as_echo "no" >&6; }
4560 if test -z "$ac_cv_prog_RANLIB"; then
4561 ac_ct_RANLIB
=$RANLIB
4562 # Extract the first word of "ranlib", so it can be a program name with args.
4563 set dummy ranlib
; ac_word
=$2
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4565 $as_echo_n "checking for $ac_word... " >&6; }
4566 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4567 $as_echo_n "(cached) " >&6
4569 if test -n "$ac_ct_RANLIB"; then
4570 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4576 test -z "$as_dir" && as_dir
=.
4577 for ac_exec_ext
in '' $ac_executable_extensions; do
4578 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4579 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4589 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4590 if test -n "$ac_ct_RANLIB"; then
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4592 $as_echo "$ac_ct_RANLIB" >&6; }
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4595 $as_echo "no" >&6; }
4598 if test "x$ac_ct_RANLIB" = x
; then
4601 case $cross_compiling:$ac_tool_warned in
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4605 ac_tool_warned
=yes ;;
4607 RANLIB
=$ac_ct_RANLIB
4610 RANLIB
="$ac_cv_prog_RANLIB"
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4614 $as_echo_n "checking whether ln -s works... " >&6; }
4616 if test "$LN_S" = "ln -s"; then
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4618 $as_echo "yes" >&6; }
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4621 $as_echo "no, using $LN_S" >&6; }
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4625 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4626 if ${ac_cv_path_GREP+:} false
; then :
4627 $as_echo_n "(cached) " >&6
4629 if test -z "$GREP"; then
4630 ac_path_GREP_found
=false
4631 # Loop through the user's path and test for each of PROGNAME-LIST
4632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4633 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4636 test -z "$as_dir" && as_dir
=.
4637 for ac_prog
in grep ggrep
; do
4638 for ac_exec_ext
in '' $ac_executable_extensions; do
4639 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4640 as_fn_executable_p
"$ac_path_GREP" ||
continue
4641 # Check for GNU ac_path_GREP and select it if it is found.
4642 # Check for GNU $ac_path_GREP
4643 case `"$ac_path_GREP" --version 2>&1` in
4645 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4648 $as_echo_n 0123456789 >"conftest.in"
4651 cat "conftest.in" "conftest.in" >"conftest.tmp"
4652 mv "conftest.tmp" "conftest.in"
4653 cp "conftest.in" "conftest.nl"
4654 $as_echo 'GREP' >> "conftest.nl"
4655 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4656 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4657 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4658 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4659 # Best one so far, save it but keep looking for a better one
4660 ac_cv_path_GREP
="$ac_path_GREP"
4661 ac_path_GREP_max
=$ac_count
4663 # 10*(2^10) chars as input seems more than enough
4664 test $ac_count -gt 10 && break
4666 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4669 $ac_path_GREP_found && break 3
4674 if test -z "$ac_cv_path_GREP"; then
4675 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4678 ac_cv_path_GREP
=$GREP
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4683 $as_echo "$ac_cv_path_GREP" >&6; }
4684 GREP
="$ac_cv_path_GREP"
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4688 $as_echo_n "checking for egrep... " >&6; }
4689 if ${ac_cv_path_EGREP+:} false
; then :
4690 $as_echo_n "(cached) " >&6
4692 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4693 then ac_cv_path_EGREP
="$GREP -E"
4695 if test -z "$EGREP"; then
4696 ac_path_EGREP_found
=false
4697 # Loop through the user's path and test for each of PROGNAME-LIST
4698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4699 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4702 test -z "$as_dir" && as_dir
=.
4703 for ac_prog
in egrep; do
4704 for ac_exec_ext
in '' $ac_executable_extensions; do
4705 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4706 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4707 # Check for GNU ac_path_EGREP and select it if it is found.
4708 # Check for GNU $ac_path_EGREP
4709 case `"$ac_path_EGREP" --version 2>&1` in
4711 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4714 $as_echo_n 0123456789 >"conftest.in"
4717 cat "conftest.in" "conftest.in" >"conftest.tmp"
4718 mv "conftest.tmp" "conftest.in"
4719 cp "conftest.in" "conftest.nl"
4720 $as_echo 'EGREP' >> "conftest.nl"
4721 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4722 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4723 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4724 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4725 # Best one so far, save it but keep looking for a better one
4726 ac_cv_path_EGREP
="$ac_path_EGREP"
4727 ac_path_EGREP_max
=$ac_count
4729 # 10*(2^10) chars as input seems more than enough
4730 test $ac_count -gt 10 && break
4732 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4735 $ac_path_EGREP_found && break 3
4740 if test -z "$ac_cv_path_EGREP"; then
4741 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4744 ac_cv_path_EGREP
=$EGREP
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4750 $as_echo "$ac_cv_path_EGREP" >&6; }
4751 EGREP
="$ac_cv_path_EGREP"
4754 # Extract the first word of "ldconfig", so it can be a program name with args.
4755 set dummy ldconfig
; ac_word
=$2
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4757 $as_echo_n "checking for $ac_word... " >&6; }
4758 if ${ac_cv_path_LDCONFIG+:} false
; then :
4759 $as_echo_n "(cached) " >&6
4763 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4767 for as_dir
in /sbin
/usr
/sbin
$PATH
4770 test -z "$as_dir" && as_dir
=.
4771 for ac_exec_ext
in '' $ac_executable_extensions; do
4772 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4773 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4781 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4785 LDCONFIG
=$ac_cv_path_LDCONFIG
4786 if test -n "$LDCONFIG"; then
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4788 $as_echo "$LDCONFIG" >&6; }
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4791 $as_echo "no" >&6; }
4795 # Find a good install program. We prefer a C program (faster),
4796 # so one script is as good as another. But avoid the broken or
4797 # incompatible versions:
4798 # SysV /etc/install, /usr/sbin/install
4799 # SunOS /usr/etc/install
4800 # IRIX /sbin/install
4802 # AmigaOS /C/install, which installs bootblocks on floppy discs
4803 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4804 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4805 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4806 # OS/2's system install, which has a completely different semantic
4807 # ./install, which can be erroneously created by make from ./install.sh.
4808 # Reject install programs that cannot install multiple files.
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4810 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4811 if test -z "$INSTALL"; then
4812 if ${ac_cv_path_install+:} false
; then :
4813 $as_echo_n "(cached) " >&6
4815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4819 test -z "$as_dir" && as_dir
=.
4820 # Account for people who put trailing slashes in PATH elements.
4821 case $as_dir/ in #((
4822 .
/ | .
// |
/[cC
]/* | \
4823 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4824 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4827 # OSF1 and SCO ODT 3.0 have their own names for install.
4828 # Don't use installbsd from OSF since it installs stuff as root
4830 for ac_prog
in ginstall scoinst
install; do
4831 for ac_exec_ext
in '' $ac_executable_extensions; do
4832 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4833 if test $ac_prog = install &&
4834 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4835 # AIX install. It has an incompatible calling convention.
4837 elif test $ac_prog = install &&
4838 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4839 # program-specific install script used by HP pwplus--don't use.
4842 rm -rf conftest.one conftest.two conftest.dir
4843 echo one
> conftest.one
4844 echo two
> conftest.two
4846 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4847 test -s conftest.one
&& test -s conftest.two
&&
4848 test -s conftest.dir
/conftest.one
&&
4849 test -s conftest.dir
/conftest.two
4851 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4864 rm -rf conftest.one conftest.two conftest.dir
4867 if test "${ac_cv_path_install+set}" = set; then
4868 INSTALL
=$ac_cv_path_install
4870 # As a last resort, use the slow shell script. Don't cache a
4871 # value for INSTALL within a source directory, because that will
4872 # break other packages using the cache if that directory is
4873 # removed, or if the value is a relative name.
4874 INSTALL
=$ac_install_sh
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4878 $as_echo "$INSTALL" >&6; }
4880 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4881 # It thinks the first close brace ends the variable substitution.
4882 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4884 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4886 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4889 [\\/$
]* | ?
:[\\/]* ) ;;
4890 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4893 for ac_prog
in lclint lint
4895 # Extract the first word of "$ac_prog", so it can be a program name with args.
4896 set dummy
$ac_prog; ac_word
=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if ${ac_cv_prog_LINT+:} false
; then :
4900 $as_echo_n "(cached) " >&6
4902 if test -n "$LINT"; then
4903 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir
=.
4910 for ac_exec_ext
in '' $ac_executable_extensions; do
4911 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_LINT
="$ac_prog"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 LINT
=$ac_cv_prog_LINT
4923 if test -n "$LINT"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4925 $as_echo "$LINT" >&6; }
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4932 test -n "$LINT" && break
4935 if test "$LINT" = "lint"
4937 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4941 for ac_prog
in fontforge
4943 # Extract the first word of "$ac_prog", so it can be a program name with args.
4944 set dummy
$ac_prog; ac_word
=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if ${ac_cv_prog_FONTFORGE+:} false
; then :
4948 $as_echo_n "(cached) " >&6
4950 if test -n "$FONTFORGE"; then
4951 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4957 test -z "$as_dir" && as_dir
=.
4958 for ac_exec_ext
in '' $ac_executable_extensions; do
4959 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4960 ac_cv_prog_FONTFORGE
="$ac_prog"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4970 FONTFORGE
=$ac_cv_prog_FONTFORGE
4971 if test -n "$FONTFORGE"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4973 $as_echo "$FONTFORGE" >&6; }
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4980 test -n "$FONTFORGE" && break
4982 test -n "$FONTFORGE" || FONTFORGE
="false"
4986 # Extract the first word of "$ac_prog", so it can be a program name with args.
4987 set dummy
$ac_prog; ac_word
=$2
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4989 $as_echo_n "checking for $ac_word... " >&6; }
4990 if ${ac_cv_prog_RSVG+:} false
; then :
4991 $as_echo_n "(cached) " >&6
4993 if test -n "$RSVG"; then
4994 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
4996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5000 test -z "$as_dir" && as_dir
=.
5001 for ac_exec_ext
in '' $ac_executable_extensions; do
5002 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5003 ac_cv_prog_RSVG
="$ac_prog"
5004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5013 RSVG
=$ac_cv_prog_RSVG
5014 if test -n "$RSVG"; then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5016 $as_echo "$RSVG" >&6; }
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5019 $as_echo "no" >&6; }
5023 test -n "$RSVG" && break
5025 test -n "$RSVG" || RSVG
="false"
5027 for ac_prog
in convert
5029 # Extract the first word of "$ac_prog", so it can be a program name with args.
5030 set dummy
$ac_prog; ac_word
=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if ${ac_cv_prog_CONVERT+:} false
; then :
5034 $as_echo_n "(cached) " >&6
5036 if test -n "$CONVERT"; then
5037 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5043 test -z "$as_dir" && as_dir
=.
5044 for ac_exec_ext
in '' $ac_executable_extensions; do
5045 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5046 ac_cv_prog_CONVERT
="$ac_prog"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5056 CONVERT
=$ac_cv_prog_CONVERT
5057 if test -n "$CONVERT"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5059 $as_echo "$CONVERT" >&6; }
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5066 test -n "$CONVERT" && break
5068 test -n "$CONVERT" || CONVERT
="false"
5070 for ac_prog
in icotool
5072 # Extract the first word of "$ac_prog", so it can be a program name with args.
5073 set dummy
$ac_prog; ac_word
=$2
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5075 $as_echo_n "checking for $ac_word... " >&6; }
5076 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5077 $as_echo_n "(cached) " >&6
5079 if test -n "$ICOTOOL"; then
5080 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5086 test -z "$as_dir" && as_dir
=.
5087 for ac_exec_ext
in '' $ac_executable_extensions; do
5088 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5089 ac_cv_prog_ICOTOOL
="$ac_prog"
5090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 ICOTOOL
=$ac_cv_prog_ICOTOOL
5100 if test -n "$ICOTOOL"; then
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5102 $as_echo "$ICOTOOL" >&6; }
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5105 $as_echo "no" >&6; }
5109 test -n "$ICOTOOL" && break
5111 test -n "$ICOTOOL" || ICOTOOL
="false"
5113 for ac_prog
in msgfmt
5115 # Extract the first word of "$ac_prog", so it can be a program name with args.
5116 set dummy
$ac_prog; ac_word
=$2
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5118 $as_echo_n "checking for $ac_word... " >&6; }
5119 if ${ac_cv_prog_MSGFMT+:} false
; then :
5120 $as_echo_n "(cached) " >&6
5122 if test -n "$MSGFMT"; then
5123 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5129 test -z "$as_dir" && as_dir
=.
5130 for ac_exec_ext
in '' $ac_executable_extensions; do
5131 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5132 ac_cv_prog_MSGFMT
="$ac_prog"
5133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5142 MSGFMT
=$ac_cv_prog_MSGFMT
5143 if test -n "$MSGFMT"; then
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5145 $as_echo "$MSGFMT" >&6; }
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5148 $as_echo "no" >&6; }
5152 test -n "$MSGFMT" && break
5154 test -n "$MSGFMT" || MSGFMT
="false"
5156 if test -n "$ac_tool_prefix"; then
5157 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5158 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5160 $as_echo_n "checking for $ac_word... " >&6; }
5161 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5162 $as_echo_n "(cached) " >&6
5164 if test -n "$PKG_CONFIG"; then
5165 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5171 test -z "$as_dir" && as_dir
=.
5172 for ac_exec_ext
in '' $ac_executable_extensions; do
5173 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5174 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5184 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5185 if test -n "$PKG_CONFIG"; then
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5187 $as_echo "$PKG_CONFIG" >&6; }
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190 $as_echo "no" >&6; }
5195 if test -z "$ac_cv_prog_PKG_CONFIG"; then
5196 ac_ct_PKG_CONFIG
=$PKG_CONFIG
5197 # Extract the first word of "pkg-config", so it can be a program name with args.
5198 set dummy pkg-config
; ac_word
=$2
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false
; then :
5202 $as_echo_n "(cached) " >&6
5204 if test -n "$ac_ct_PKG_CONFIG"; then
5205 ac_cv_prog_ac_ct_PKG_CONFIG
="$ac_ct_PKG_CONFIG" # Let the user override the test.
5207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5211 test -z "$as_dir" && as_dir
=.
5212 for ac_exec_ext
in '' $ac_executable_extensions; do
5213 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5214 ac_cv_prog_ac_ct_PKG_CONFIG
="pkg-config"
5215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 ac_ct_PKG_CONFIG
=$ac_cv_prog_ac_ct_PKG_CONFIG
5225 if test -n "$ac_ct_PKG_CONFIG"; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
5227 $as_echo "$ac_ct_PKG_CONFIG" >&6; }
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5233 if test "x$ac_ct_PKG_CONFIG" = x
; then
5236 case $cross_compiling:$ac_tool_warned in
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5240 ac_tool_warned
=yes ;;
5242 PKG_CONFIG
=$ac_ct_PKG_CONFIG
5245 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
5249 if test "x$enable_maintainer_mode" != "xyes"
5254 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5255 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5257 if test "$CONVERT" = false
5259 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5262 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5263 convert_version
=`convert --version | head -n1`
5264 if test "x$convert_version" != "x"
5266 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5267 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5268 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5273 if test "$CONVERT" = false
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5276 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5277 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5280 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5284 if test "$ICOTOOL" = false
5286 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5289 $as_echo_n "checking for recent enough icotool... " >&6; }
5290 icotool_version
=`icotool --version | head -n1`
5291 if test "x$icotool_version" != "x"
5293 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5294 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5295 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5298 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5301 if test "$ICOTOOL" = false
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5304 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5305 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5308 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5314 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5317 test "x$with_gettext" != xno || MSGFMT
=false
5318 if test "$MSGFMT" != "false"
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5321 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5322 cat >conftest.po
<<EOF
5328 if $MSGFMT -o /dev
/null conftest.po
2>&5
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5331 $as_echo "yes" >&6; }
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5334 $as_echo "no" >&6; }
5338 if test "$MSGFMT" = false
; then :
5339 case "x$with_gettext" in
5340 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5342 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5343 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5349 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5350 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5351 $as_echo_n "(cached) " >&6
5353 ac_check_lib_save_LIBS
=$LIBS
5355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5356 /* end confdefs.h. */
5358 /* Override any GCC internal prototype to avoid an error.
5359 Use char because int might match the return type of a GCC
5360 builtin and then its argument prototype would still apply. */
5364 char i386_set_ldt ();
5368 return i386_set_ldt ();
5373 if ac_fn_c_try_link
"$LINENO"; then :
5374 ac_cv_lib_i386_i386_set_ldt
=yes
5376 ac_cv_lib_i386_i386_set_ldt
=no
5378 rm -f core conftest.err conftest.
$ac_objext \
5379 conftest
$ac_exeext conftest.
$ac_ext
5380 LIBS
=$ac_check_lib_save_LIBS
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5383 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5384 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5385 cat >>confdefs.h
<<_ACEOF
5386 #define HAVE_LIBI386 1
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5394 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5395 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5396 $as_echo_n "(cached) " >&6
5398 ac_check_lib_save_LIBS
=$LIBS
5399 LIBS
="-lossaudio $LIBS"
5400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5401 /* end confdefs.h. */
5403 /* Override any GCC internal prototype to avoid an error.
5404 Use char because int might match the return type of a GCC
5405 builtin and then its argument prototype would still apply. */
5413 return _oss_ioctl ();
5418 if ac_fn_c_try_link
"$LINENO"; then :
5419 ac_cv_lib_ossaudio__oss_ioctl
=yes
5421 ac_cv_lib_ossaudio__oss_ioctl
=no
5423 rm -f core conftest.err conftest.
$ac_objext \
5424 conftest
$ac_exeext conftest.
$ac_ext
5425 LIBS
=$ac_check_lib_save_LIBS
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5428 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5429 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5430 cat >>confdefs.h
<<_ACEOF
5431 #define HAVE_LIBOSSAUDIO 1
5434 LIBS
="-lossaudio $LIBS"
5445 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
5447 # Check whether --enable-largefile was given.
5448 if test "${enable_largefile+set}" = set; then :
5449 enableval
=$enable_largefile;
5452 if test "$enable_largefile" != no
; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5455 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5456 if ${ac_cv_sys_largefile_CC+:} false
; then :
5457 $as_echo_n "(cached) " >&6
5459 ac_cv_sys_largefile_CC
=no
5460 if test "$GCC" != yes; then
5463 # IRIX 6.2 and later do not support large files by default,
5464 # so use the C compiler's -n32 option if that helps.
5465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5466 /* end confdefs.h. */
5467 #include <sys/types.h>
5468 /* Check that off_t can represent 2**63 - 1 correctly.
5469 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5470 since some C++ compilers masquerading as C compilers
5471 incorrectly reject 9223372036854775807. */
5472 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5473 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5474 && LARGE_OFF_T % 2147483647 == 1)
5484 if ac_fn_c_try_compile
"$LINENO"; then :
5487 rm -f core conftest.err conftest.
$ac_objext
5489 if ac_fn_c_try_compile
"$LINENO"; then :
5490 ac_cv_sys_largefile_CC
=' -n32'; break
5492 rm -f core conftest.err conftest.
$ac_objext
5496 rm -f conftest.
$ac_ext
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5500 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5501 if test "$ac_cv_sys_largefile_CC" != no
; then
5502 CC
=$CC$ac_cv_sys_largefile_CC
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5506 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5507 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5508 $as_echo_n "(cached) " >&6
5511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5512 /* end confdefs.h. */
5513 #include <sys/types.h>
5514 /* Check that off_t can represent 2**63 - 1 correctly.
5515 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5516 since some C++ compilers masquerading as C compilers
5517 incorrectly reject 9223372036854775807. */
5518 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5519 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5520 && LARGE_OFF_T % 2147483647 == 1)
5530 if ac_fn_c_try_compile
"$LINENO"; then :
5531 ac_cv_sys_file_offset_bits
=no
; break
5533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5535 /* end confdefs.h. */
5536 #define _FILE_OFFSET_BITS 64
5537 #include <sys/types.h>
5538 /* Check that off_t can represent 2**63 - 1 correctly.
5539 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5540 since some C++ compilers masquerading as C compilers
5541 incorrectly reject 9223372036854775807. */
5542 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5543 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5544 && LARGE_OFF_T % 2147483647 == 1)
5554 if ac_fn_c_try_compile
"$LINENO"; then :
5555 ac_cv_sys_file_offset_bits
=64; break
5557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5558 ac_cv_sys_file_offset_bits
=unknown
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5563 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5564 case $ac_cv_sys_file_offset_bits in #(
5567 cat >>confdefs.h
<<_ACEOF
5568 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5573 if test $ac_cv_sys_file_offset_bits = unknown
; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5575 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5576 if ${ac_cv_sys_large_files+:} false
; then :
5577 $as_echo_n "(cached) " >&6
5580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5581 /* end confdefs.h. */
5582 #include <sys/types.h>
5583 /* Check that off_t can represent 2**63 - 1 correctly.
5584 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5585 since some C++ compilers masquerading as C compilers
5586 incorrectly reject 9223372036854775807. */
5587 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5588 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5589 && LARGE_OFF_T % 2147483647 == 1)
5599 if ac_fn_c_try_compile
"$LINENO"; then :
5600 ac_cv_sys_large_files
=no
; break
5602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5604 /* end confdefs.h. */
5605 #define _LARGE_FILES 1
5606 #include <sys/types.h>
5607 /* Check that off_t can represent 2**63 - 1 correctly.
5608 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5609 since some C++ compilers masquerading as C compilers
5610 incorrectly reject 9223372036854775807. */
5611 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5612 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5613 && LARGE_OFF_T % 2147483647 == 1)
5623 if ac_fn_c_try_compile
"$LINENO"; then :
5624 ac_cv_sys_large_files
=1; break
5626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5627 ac_cv_sys_large_files
=unknown
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5632 $as_echo "$ac_cv_sys_large_files" >&6; }
5633 case $ac_cv_sys_large_files in #(
5636 cat >>confdefs.h
<<_ACEOF
5637 #define _LARGE_FILES $ac_cv_sys_large_files
5649 ac_cpp
='$CPP $CPPFLAGS'
5650 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5651 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5652 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5654 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5655 # On Suns, sometimes $CPP names a directory.
5656 if test -n "$CPP" && test -d "$CPP"; then
5659 if test -z "$CPP"; then
5660 if ${ac_cv_prog_CPP+:} false
; then :
5661 $as_echo_n "(cached) " >&6
5663 # Double quotes because CPP needs to be expanded
5664 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5667 for ac_c_preproc_warn_flag
in '' yes
5669 # Use a header file that comes with gcc, so configuring glibc
5670 # with a fresh cross-compiler works.
5671 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5672 # <limits.h> exists even on freestanding compilers.
5673 # On the NeXT, cc -E runs the code through the compiler's parser,
5674 # not just through cpp. "Syntax error" is here to catch this case.
5675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5676 /* end confdefs.h. */
5678 # include <limits.h>
5680 # include <assert.h>
5684 if ac_fn_c_try_cpp
"$LINENO"; then :
5687 # Broken: fails on valid input.
5690 rm -f conftest.err conftest.i conftest.
$ac_ext
5692 # OK, works on sane cases. Now check whether nonexistent headers
5693 # can be detected and how.
5694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5695 /* end confdefs.h. */
5696 #include <ac_nonexistent.h>
5698 if ac_fn_c_try_cpp
"$LINENO"; then :
5699 # Broken: success on invalid input.
5702 # Passes both tests.
5706 rm -f conftest.err conftest.i conftest.
$ac_ext
5709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5710 rm -f conftest.i conftest.err conftest.
$ac_ext
5711 if $ac_preproc_ok; then :
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5724 $as_echo "$CPP" >&6; }
5726 for ac_c_preproc_warn_flag
in '' yes
5728 # Use a header file that comes with gcc, so configuring glibc
5729 # with a fresh cross-compiler works.
5730 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5731 # <limits.h> exists even on freestanding compilers.
5732 # On the NeXT, cc -E runs the code through the compiler's parser,
5733 # not just through cpp. "Syntax error" is here to catch this case.
5734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5735 /* end confdefs.h. */
5737 # include <limits.h>
5739 # include <assert.h>
5743 if ac_fn_c_try_cpp
"$LINENO"; then :
5746 # Broken: fails on valid input.
5749 rm -f conftest.err conftest.i conftest.
$ac_ext
5751 # OK, works on sane cases. Now check whether nonexistent headers
5752 # can be detected and how.
5753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5754 /* end confdefs.h. */
5755 #include <ac_nonexistent.h>
5757 if ac_fn_c_try_cpp
"$LINENO"; then :
5758 # Broken: success on invalid input.
5761 # Passes both tests.
5765 rm -f conftest.err conftest.i conftest.
$ac_ext
5768 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5769 rm -f conftest.i conftest.err conftest.
$ac_ext
5770 if $ac_preproc_ok; then :
5773 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5775 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5776 See \`config.log' for more details" "$LINENO" 5; }
5780 ac_cpp
='$CPP $CPPFLAGS'
5781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5787 $as_echo_n "checking for ANSI C header files... " >&6; }
5788 if ${ac_cv_header_stdc+:} false
; then :
5789 $as_echo_n "(cached) " >&6
5791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5792 /* end confdefs.h. */
5806 if ac_fn_c_try_compile
"$LINENO"; then :
5807 ac_cv_header_stdc
=yes
5809 ac_cv_header_stdc
=no
5811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5813 if test $ac_cv_header_stdc = yes; then
5814 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5816 /* end confdefs.h. */
5820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5821 $EGREP "memchr" >/dev
/null
2>&1; then :
5824 ac_cv_header_stdc
=no
5830 if test $ac_cv_header_stdc = yes; then
5831 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5833 /* end confdefs.h. */
5837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5838 $EGREP "free" >/dev
/null
2>&1; then :
5841 ac_cv_header_stdc
=no
5847 if test $ac_cv_header_stdc = yes; then
5848 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5849 if test "$cross_compiling" = yes; then :
5852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5853 /* end confdefs.h. */
5856 #if ((' ' & 0x0FF) == 0x020)
5857 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5858 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5860 # define ISLOWER(c) \
5861 (('a' <= (c) && (c) <= 'i') \
5862 || ('j' <= (c) && (c) <= 'r') \
5863 || ('s' <= (c) && (c) <= 'z'))
5864 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5867 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5872 for (i = 0; i < 256; i++)
5873 if (XOR (islower (i), ISLOWER (i))
5874 || toupper (i) != TOUPPER (i))
5879 if ac_fn_c_try_run
"$LINENO"; then :
5882 ac_cv_header_stdc
=no
5884 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5885 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5891 $as_echo "$ac_cv_header_stdc" >&6; }
5892 if test $ac_cv_header_stdc = yes; then
5894 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5898 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5899 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5900 inttypes.h stdint.h unistd.h
5902 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5903 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5905 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5906 cat >>confdefs.h
<<_ACEOF
5907 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5917 ApplicationServices
/ApplicationServices.h \
5918 AudioToolbox
/AudioConverter.h \
5919 AudioUnit
/AudioUnit.h \
5920 AudioUnit
/AudioComponent.h \
5923 CoreAudio
/CoreAudio.h \
5924 CoreServices
/CoreServices.h \
5925 DiskArbitration
/DiskArbitration.h \
5927 IOKit
/hid
/IOHIDLib.h \
5930 QuickTime
/ImageCompression.h \
5931 Security
/Security.h \
5945 fontconfig
/fontconfig.h \
5984 netinet
/in_systm.h \
6044 valgrind
/memcheck.h \
6045 valgrind
/valgrind.h \
6049 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6050 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6051 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6052 cat >>confdefs.h
<<_ACEOF
6053 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6061 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6062 if ${ac_cv_header_stat_broken+:} false
; then :
6063 $as_echo_n "(cached) " >&6
6065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6066 /* end confdefs.h. */
6067 #include <sys/types.h>
6068 #include <sys/stat.h>
6070 #if defined S_ISBLK && defined S_IFDIR
6071 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6074 #if defined S_ISBLK && defined S_IFCHR
6075 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6078 #if defined S_ISLNK && defined S_IFREG
6079 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6082 #if defined S_ISSOCK && defined S_IFREG
6083 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6087 if ac_fn_c_try_compile
"$LINENO"; then :
6088 ac_cv_header_stat_broken
=no
6090 ac_cv_header_stat_broken
=yes
6092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6095 $as_echo "$ac_cv_header_stat_broken" >&6; }
6096 if test $ac_cv_header_stat_broken = yes; then
6098 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6104 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6106 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6107 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6108 #ifdef HAVE_SYS_PARAM_H
6109 # include <sys/param.h>
6112 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6113 cat >>confdefs.h
<<_ACEOF
6114 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6129 netinet
/if_ether.h \
6130 netinet
/if_inarp.h \
6139 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6140 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6141 #ifdef HAVE_SYS_SOCKET_H
6142 # include <sys/socket.h>
6144 #ifdef HAVE_SYS_SOCKETVAR_H
6145 # include <sys/socketvar.h>
6147 #ifdef HAVE_NET_ROUTE_H
6148 # include <net/route.h>
6150 #ifdef HAVE_NETINET_IN_H
6151 # include <netinet/in.h>
6153 #ifdef HAVE_NETINET_IN_SYSTM_H
6154 # include <netinet/in_systm.h>
6156 #ifdef HAVE_NET_IF_H
6157 # include <net/if.h>
6159 #ifdef HAVE_NETINET_IP_H
6160 # include <netinet/ip.h>
6163 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6164 cat >>confdefs.h
<<_ACEOF
6165 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6173 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6175 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6176 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6180 #ifdef HAVE_SYS_SOCKET_H
6181 # include <sys/socket.h>
6183 #ifdef HAVE_SYS_SOCKETVAR_H
6184 # include <sys/socketvar.h>
6186 #ifdef HAVE_SYS_TIMEOUT_H
6187 # include <sys/timeout.h>
6189 #ifdef HAVE_NETINET_IN_H
6190 # include <netinet/in.h>
6192 #ifdef HAVE_NETINET_IN_SYSTM_H
6193 # include <netinet/in_systm.h>
6195 #ifdef HAVE_NETINET_IP_H
6196 # include <netinet/ip.h>
6198 #ifdef HAVE_NETINET_IP_VAR_H
6199 # include <netinet/ip_var.h>
6201 #ifdef HAVE_NETINET_IP_ICMP_H
6202 # include <netinet/ip_icmp.h>
6204 #ifdef HAVE_NETINET_UDP_H
6205 # include <netinet/udp.h>
6207 #ifdef HAVE_NETINET_TCP_H
6208 # include <netinet/tcp.h>
6210 #ifdef HAVE_NETINET_TCP_TIMER_H
6211 #include <netinet/tcp_timer.h>
6214 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6215 cat >>confdefs.h
<<_ACEOF
6216 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6224 for ac_header
in linux
/ipx.h linux
/irda.h
6226 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6227 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6228 #ifdef HAVE_ASM_TYPES_H
6229 # include <asm/types.h>
6231 #ifdef HAVE_SYS_SOCKET_H
6232 # include <sys/socket.h>
6234 #ifdef HAVE_LINUX_TYPES_H
6235 # include <linux/types.h>
6238 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6239 cat >>confdefs.h
<<_ACEOF
6240 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6248 for ac_header
in mach-o
/dyld_images.h
6250 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6251 # include <stdbool.h>
6253 #ifdef HAVE_STDINT_H
6254 # include <stdint.h>
6257 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6258 cat >>confdefs.h
<<_ACEOF
6259 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6267 for ac_header
in resolv.h
6269 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6270 #ifdef HAVE_SYS_SOCKET_H
6271 # include <sys/socket.h>
6273 #ifdef HAVE_NETINET_IN_H
6274 # include <netinet/in.h>
6276 #ifdef HAVE_ARPA_NAMESER_H
6277 # include <arpa/nameser.h>
6280 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6281 cat >>confdefs.h
<<_ACEOF
6282 #define HAVE_RESOLV_H 1
6290 for ac_header
in ifaddrs.h
6292 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6294 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6295 cat >>confdefs.h
<<_ACEOF
6296 #define HAVE_IFADDRS_H 1
6304 for ac_header
in ucontext.h
6306 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6308 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6309 cat >>confdefs.h
<<_ACEOF
6310 #define HAVE_UCONTEXT_H 1
6318 for ac_header
in sys
/thr.h
6320 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6321 #ifdef HAVE_UCONTEXT_H
6322 #include <ucontext.h>
6325 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6326 cat >>confdefs.h
<<_ACEOF
6327 #define HAVE_SYS_THR_H 1
6335 for ac_header
in pthread_np.h
6337 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6338 #include <pthread.h>
6341 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6342 cat >>confdefs.h
<<_ACEOF
6343 #define HAVE_PTHREAD_NP_H 1
6351 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6353 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6354 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6355 #include <sys/time.h>
6357 #include <sys/types.h>
6358 #ifdef HAVE_ASM_TYPES_H
6359 #include <asm/types.h>
6362 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6363 cat >>confdefs.h
<<_ACEOF
6364 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6372 for ac_header
in linux
/capi.h
6374 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6376 if test "x$ac_cv_header_linux_capi_h" = xyes
; then :
6377 cat >>confdefs.h
<<_ACEOF
6378 #define HAVE_LINUX_CAPI_H 1
6389 DLLFLAGS
="-D_REENTRANT"
6400 STATIC_IMPLIBEXT
="def.a"
6401 # Extract the first word of "ldd", so it can be a program name with args.
6402 set dummy ldd
; ac_word
=$2
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6404 $as_echo_n "checking for $ac_word... " >&6; }
6405 if ${ac_cv_path_LDD+:} false
; then :
6406 $as_echo_n "(cached) " >&6
6410 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6414 as_dummy
="/sbin:/usr/sbin:$PATH"
6415 for as_dir
in $as_dummy
6418 test -z "$as_dir" && as_dir
=.
6419 for ac_exec_ext
in '' $ac_executable_extensions; do
6420 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6421 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6429 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6434 if test -n "$LDD"; then
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6436 $as_echo "$LDD" >&6; }
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6439 $as_echo "no" >&6; }
6443 if test -n "$ac_tool_prefix"; then
6444 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6445 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6447 $as_echo_n "checking for $ac_word... " >&6; }
6448 if ${ac_cv_prog_READELF+:} false
; then :
6449 $as_echo_n "(cached) " >&6
6451 if test -n "$READELF"; then
6452 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6458 test -z "$as_dir" && as_dir
=.
6459 for ac_exec_ext
in '' $ac_executable_extensions; do
6460 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6461 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6471 READELF
=$ac_cv_prog_READELF
6472 if test -n "$READELF"; then
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6474 $as_echo "$READELF" >&6; }
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6477 $as_echo "no" >&6; }
6482 if test -z "$ac_cv_prog_READELF"; then
6483 ac_ct_READELF
=$READELF
6484 # Extract the first word of "readelf", so it can be a program name with args.
6485 set dummy readelf
; ac_word
=$2
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6487 $as_echo_n "checking for $ac_word... " >&6; }
6488 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
6489 $as_echo_n "(cached) " >&6
6491 if test -n "$ac_ct_READELF"; then
6492 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
6494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6498 test -z "$as_dir" && as_dir
=.
6499 for ac_exec_ext
in '' $ac_executable_extensions; do
6500 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6501 ac_cv_prog_ac_ct_READELF
="readelf"
6502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6511 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
6512 if test -n "$ac_ct_READELF"; then
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6514 $as_echo "$ac_ct_READELF" >&6; }
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6517 $as_echo "no" >&6; }
6520 if test "x$ac_ct_READELF" = x
; then
6523 case $cross_compiling:$ac_tool_warned in
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6527 ac_tool_warned
=yes ;;
6529 READELF
=$ac_ct_READELF
6532 READELF
="$ac_cv_prog_READELF"
6538 if test -n "$ac_tool_prefix"; then
6539 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6540 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6542 $as_echo_n "checking for $ac_word... " >&6; }
6543 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6544 $as_echo_n "(cached) " >&6
6546 if test -n "$DLLTOOL"; then
6547 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6553 test -z "$as_dir" && as_dir
=.
6554 for ac_exec_ext
in '' $ac_executable_extensions; do
6555 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6556 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6566 DLLTOOL
=$ac_cv_prog_DLLTOOL
6567 if test -n "$DLLTOOL"; then
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6569 $as_echo "$DLLTOOL" >&6; }
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6572 $as_echo "no" >&6; }
6577 if test -z "$ac_cv_prog_DLLTOOL"; then
6578 ac_ct_DLLTOOL
=$DLLTOOL
6579 # Extract the first word of "dlltool", so it can be a program name with args.
6580 set dummy dlltool
; ac_word
=$2
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6582 $as_echo_n "checking for $ac_word... " >&6; }
6583 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6584 $as_echo_n "(cached) " >&6
6586 if test -n "$ac_ct_DLLTOOL"; then
6587 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6593 test -z "$as_dir" && as_dir
=.
6594 for ac_exec_ext
in '' $ac_executable_extensions; do
6595 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6596 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6606 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6607 if test -n "$ac_ct_DLLTOOL"; then
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6609 $as_echo "$ac_ct_DLLTOOL" >&6; }
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6612 $as_echo "no" >&6; }
6615 if test "x$ac_ct_DLLTOOL" = x
; then
6618 case $cross_compiling:$ac_tool_warned in
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6622 ac_tool_warned
=yes ;;
6624 DLLTOOL
=$ac_ct_DLLTOOL
6627 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6632 STATIC_IMPLIBEXT
="a"
6633 enable_iphlpapi
=${enable_iphlpapi:-no}
6634 enable_kernel32
=${enable_kernel32:-no}
6635 enable_msvcrt
=${enable_msvcrt:-no}
6636 enable_ntdll
=${enable_ntdll:-no}
6637 enable_ws2_32
=${enable_ws2_32:-no}
6638 enable_loader
=${enable_loader:-no}
6639 enable_server
=${enable_server:-no}
6640 with_x
=${with_x:-no}
6641 with_pthread
=${with_pthread:-no}
6647 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
6652 all: libwine.dll libwine.a
6655 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
6657 libwine.dll: \$(OBJS) wine.def Makefile.in
6658 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
6660 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
6661 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
6663 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
6664 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
6667 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
6670 \$(RM) libwine.dll version.c
6678 DLLFLAGS
="$DLLFLAGS -fPIC"
6679 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6680 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6681 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6682 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
6683 COREFOUNDATIONLIB
="-framework CoreFoundation"
6685 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6687 FORCEFEEDBACKLIB
="-framework ForceFeedback -framework CoreFoundation"
6689 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
6691 CORESERVICESLIB
="-framework CoreServices"
6695 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"
6698 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6701 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6703 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6706 if test "$ac_cv_header_Security_Security_h" = "yes"
6708 SECURITYLIB
="-framework Security -framework CoreFoundation"
6710 ac_save_LIBS
="$LIBS"
6711 LIBS
="$LIBS $SECURITYLIB"
6712 for ac_func
in SSLCopyPeerCertificates
6714 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6715 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
6716 cat >>confdefs.h
<<_ACEOF
6717 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6723 LIBS
="$ac_save_LIBS"
6724 with_gnutls
=${with_gnutls:-no}
6726 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6728 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6730 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6733 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6736 ac_save_LIBS
="$LIBS"
6737 LIBS
="$LIBS $COREAUDIO"
6738 for ac_func
in AUGraphAddNode
6740 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6741 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
6742 cat >>confdefs.h
<<_ACEOF
6743 #define HAVE_AUGRAPHADDNODE 1
6749 LIBS
="$ac_save_LIBS"
6751 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6753 FRAMEWORK_OPENAL
="-framework OpenAL"
6756 cat >>confdefs.h
<<_ACEOF
6757 #define HAVE_OPENAL 1
6760 ac_cv_lib_openal
=yes
6762 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6764 LIBOPENCL
="-framework OpenCL"
6766 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6768 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6770 ac_save_LIBS
="$LIBS"
6771 LIBS
="$LIBS $IOKITLIB"
6772 for ac_func
in IOHIDManagerCreate
6774 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6775 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
6776 cat >>confdefs.h
<<_ACEOF
6777 #define HAVE_IOHIDMANAGERCREATE 1
6783 LIBS
="$ac_save_LIBS"
6787 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6789 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6791 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6793 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6795 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6797 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6799 CARBONLIB
="-framework Carbon"
6803 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6805 ac_save_LIBS
="$LIBS"
6806 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
6807 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6808 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
6809 enable_winemac_drv
=${enable_winemac_drv:-yes}
6812 LIBS
="$ac_save_LIBS"
6815 if test "x$enable_win16" = "xyes"
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6818 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6819 if test "$cross_compiling" = yes; then :
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6821 $as_echo "cross-compiling, assuming yes" >&6; }
6823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6824 /* end confdefs.h. */
6827 "good:\tnop;nop\n\t"
6828 ".globl _testfunc\n"
6829 "_testfunc:\tcallw good");
6830 extern void testfunc();
6834 unsigned short *p = (unsigned short *)testfunc;
6835 return p[0] != 0xe866 || p[1] != 0xfffa
6840 if ac_fn_c_try_run
"$LINENO"; then :
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6842 $as_echo "yes" >&6; }
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6845 $as_echo "no" >&6; }
6846 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
6848 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6849 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6857 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
6858 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
6860 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
6861 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
6863 libwine.dylib: libwine.\$(SOVERSION).dylib
6864 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
6866 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
6867 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
6868 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6870 install install-dev:: \$(DESTDIR)\$(libdir) dummy
6871 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
6874 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6877 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
6883 DLLFLAGS
="$DLLFLAGS -fPIC"
6885 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6887 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6888 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
6889 $as_echo_n "(cached) " >&6
6891 ac_wine_try_cflags_saved
=$CFLAGS
6892 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
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__Bsymbolic__z_defs
=yes
6900 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=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__Bsymbolic__z_defs" >&5
6907 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6908 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6909 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6911 { $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
6912 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6913 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
6914 $as_echo_n "(cached) " >&6
6916 ac_wine_try_cflags_saved
=$CFLAGS
6917 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6919 /* end confdefs.h. */
6920 int main(int argc, char **argv) { return 0; }
6922 if ac_fn_c_try_link
"$LINENO"; then :
6923 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6925 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6927 rm -f core conftest.err conftest.
$ac_objext \
6928 conftest
$ac_exeext conftest.
$ac_ext
6929 CFLAGS
=$ac_wine_try_cflags_saved
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6932 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6933 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6934 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6937 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6938 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
6939 $as_echo_n "(cached) " >&6
6941 ac_wine_try_cflags_saved
=$CFLAGS
6942 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6944 /* end confdefs.h. */
6945 int main(int argc, char **argv) { return 0; }
6947 if ac_fn_c_try_link
"$LINENO"; then :
6948 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6950 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6952 rm -f core conftest.err conftest.
$ac_objext \
6953 conftest
$ac_exeext conftest.
$ac_ext
6954 CFLAGS
=$ac_wine_try_cflags_saved
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6957 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6958 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6959 LDEXECFLAGS
="-Wl,--export-dynamic"
6962 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6964 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6965 if eval \
${$as_ac_var+:} false
; then :
6966 $as_echo_n "(cached) " >&6
6968 ac_wine_try_cflags_saved
=$CFLAGS
6969 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6971 /* end confdefs.h. */
6972 int main(int argc, char **argv) { return 0; }
6974 if ac_fn_c_try_link
"$LINENO"; then :
6975 eval "$as_ac_var=yes"
6977 eval "$as_ac_var=no"
6979 rm -f core conftest.err conftest.
$ac_objext \
6980 conftest
$ac_exeext conftest.
$ac_ext
6981 CFLAGS
=$ac_wine_try_cflags_saved
6983 eval ac_res
=\$
$as_ac_var
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6985 $as_echo "$ac_res" >&6; }
6986 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6987 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6988 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6990 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6992 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6993 if eval \
${$as_ac_var+:} false
; then :
6994 $as_echo_n "(cached) " >&6
6996 ac_wine_try_cflags_saved
=$CFLAGS
6997 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6999 /* end confdefs.h. */
7000 int main(int argc, char **argv) { return 0; }
7002 if ac_fn_c_try_link
"$LINENO"; then :
7003 eval "$as_ac_var=yes"
7005 eval "$as_ac_var=no"
7007 rm -f core conftest.err conftest.
$ac_objext \
7008 conftest
$ac_exeext conftest.
$ac_ext
7009 CFLAGS
=$ac_wine_try_cflags_saved
7011 eval ac_res
=\$
$as_ac_var
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7013 $as_echo "$ac_res" >&6; }
7014 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7015 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7016 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7021 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7022 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7023 $as_echo_n "(cached) " >&6
7025 ac_wine_try_cflags_saved
=$CFLAGS
7026 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7028 /* end confdefs.h. */
7029 int main(int argc, char **argv) { return 0; }
7031 if ac_fn_c_try_link
"$LINENO"; then :
7032 ac_cv_cflags__Wl___enable_new_dtags
=yes
7034 ac_cv_cflags__Wl___enable_new_dtags
=no
7036 rm -f core conftest.err conftest.
$ac_objext \
7037 conftest
$ac_exeext conftest.
$ac_ext
7038 CFLAGS
=$ac_wine_try_cflags_saved
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7041 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7042 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7043 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7047 *i
[3456789]86* | x86_64
)
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7049 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7050 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7051 $as_echo_n "(cached) " >&6
7053 ac_wine_try_cflags_saved
=$CFLAGS
7054 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7056 /* end confdefs.h. */
7057 int main(int argc, char **argv) { return 0; }
7059 if ac_fn_c_try_link
"$LINENO"; then :
7060 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7062 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7064 rm -f core conftest.err conftest.
$ac_objext \
7065 conftest
$ac_exeext conftest.
$ac_ext
7066 CFLAGS
=$ac_wine_try_cflags_saved
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7069 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7070 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7071 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7079 libwine.so: \$(OBJS) Makefile.in
7080 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7082 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7083 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7086 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7089 \$(RM) libwine.so version.c
7095 DLLFLAGS
="$DLLFLAGS -fPIC"
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7098 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7099 if ${ac_cv_c_dll_gnuelf+:} false
; then :
7100 $as_echo_n "(cached) " >&6
7102 ac_wine_try_cflags_saved
=$CFLAGS
7103 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7105 /* end confdefs.h. */
7108 if ac_fn_c_try_link
"$LINENO"; then :
7109 ac_cv_c_dll_gnuelf
="yes"
7111 ac_cv_c_dll_gnuelf
="no"
7113 rm -f core conftest.err conftest.
$ac_objext \
7114 conftest
$ac_exeext conftest.
$ac_ext
7115 CFLAGS
=$ac_wine_try_cflags_saved
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7118 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7119 if test "$ac_cv_c_dll_gnuelf" = "yes"
7121 LDSHARED
="\$(CC) -shared"
7122 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7124 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7125 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
7126 $as_echo_n "(cached) " >&6
7128 ac_wine_try_cflags_saved
=$CFLAGS
7129 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7131 /* end confdefs.h. */
7132 int main(int argc, char **argv) { return 0; }
7134 if ac_fn_c_try_link
"$LINENO"; then :
7135 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
7137 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
7139 rm -f core conftest.err conftest.
$ac_objext \
7140 conftest
$ac_exeext conftest.
$ac_ext
7141 CFLAGS
=$ac_wine_try_cflags_saved
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7144 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7145 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7146 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7149 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7150 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
7151 $as_echo_n "(cached) " >&6
7153 ac_wine_try_cflags_saved
=$CFLAGS
7154 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7156 /* end confdefs.h. */
7157 int main(int argc, char **argv) { return 0; }
7159 if ac_fn_c_try_link
"$LINENO"; then :
7160 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
7162 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
7164 rm -f core conftest.err conftest.
$ac_objext \
7165 conftest
$ac_exeext conftest.
$ac_ext
7166 CFLAGS
=$ac_wine_try_cflags_saved
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7169 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7170 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7171 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
7176 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
7177 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
7178 $as_echo_n "(cached) " >&6
7180 ac_wine_try_cflags_saved
=$CFLAGS
7181 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
7182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7183 /* end confdefs.h. */
7184 int main(int argc, char **argv) { return 0; }
7186 if ac_fn_c_try_link
"$LINENO"; then :
7187 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
7189 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
7191 rm -f core conftest.err conftest.
$ac_objext \
7192 conftest
$ac_exeext conftest.
$ac_ext
7193 CFLAGS
=$ac_wine_try_cflags_saved
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
7196 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
7197 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
7198 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
7201 { $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
7202 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
7203 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
7204 $as_echo_n "(cached) " >&6
7206 ac_wine_try_cflags_saved
=$CFLAGS
7207 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
7208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7209 /* end confdefs.h. */
7210 int main(int argc, char **argv) { return 0; }
7212 if ac_fn_c_try_link
"$LINENO"; then :
7213 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
7215 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
7217 rm -f core conftest.err conftest.
$ac_objext \
7218 conftest
$ac_exeext conftest.
$ac_ext
7219 CFLAGS
=$ac_wine_try_cflags_saved
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
7222 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
7223 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
7224 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
7227 echo '{ global: *; };' >conftest.map
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7229 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7230 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
7231 $as_echo_n "(cached) " >&6
7233 ac_wine_try_cflags_saved
=$CFLAGS
7234 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7236 /* end confdefs.h. */
7237 int main(int argc, char **argv) { return 0; }
7239 if ac_fn_c_try_link
"$LINENO"; then :
7240 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
7242 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
7244 rm -f core conftest.err conftest.
$ac_objext \
7245 conftest
$ac_exeext conftest.
$ac_ext
7246 CFLAGS
=$ac_wine_try_cflags_saved
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7249 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7250 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7251 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7256 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7257 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7258 $as_echo_n "(cached) " >&6
7260 ac_wine_try_cflags_saved
=$CFLAGS
7261 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7263 /* end confdefs.h. */
7264 int main(int argc, char **argv) { return 0; }
7266 if ac_fn_c_try_link
"$LINENO"; then :
7267 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7269 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7271 rm -f core conftest.err conftest.
$ac_objext \
7272 conftest
$ac_exeext conftest.
$ac_ext
7273 CFLAGS
=$ac_wine_try_cflags_saved
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7276 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7277 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7278 LDEXECFLAGS
="-Wl,--export-dynamic"
7282 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7284 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7285 if eval \
${$as_ac_var+:} false
; then :
7286 $as_echo_n "(cached) " >&6
7288 ac_wine_try_cflags_saved
=$CFLAGS
7289 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7291 /* end confdefs.h. */
7292 int main(int argc, char **argv) { return 0; }
7294 if ac_fn_c_try_link
"$LINENO"; then :
7295 eval "$as_ac_var=yes"
7297 eval "$as_ac_var=no"
7299 rm -f core conftest.err conftest.
$ac_objext \
7300 conftest
$ac_exeext conftest.
$ac_ext
7301 CFLAGS
=$ac_wine_try_cflags_saved
7303 eval ac_res
=\$
$as_ac_var
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7305 $as_echo "$ac_res" >&6; }
7306 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7307 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7308 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7310 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7312 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7313 if eval \
${$as_ac_var+:} false
; then :
7314 $as_echo_n "(cached) " >&6
7316 ac_wine_try_cflags_saved
=$CFLAGS
7317 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7319 /* end confdefs.h. */
7320 int main(int argc, char **argv) { return 0; }
7322 if ac_fn_c_try_link
"$LINENO"; then :
7323 eval "$as_ac_var=yes"
7325 eval "$as_ac_var=no"
7327 rm -f core conftest.err conftest.
$ac_objext \
7328 conftest
$ac_exeext conftest.
$ac_ext
7329 CFLAGS
=$ac_wine_try_cflags_saved
7331 eval ac_res
=\$
$as_ac_var
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7333 $as_echo "$ac_res" >&6; }
7334 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7335 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7336 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7341 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7342 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7343 $as_echo_n "(cached) " >&6
7345 ac_wine_try_cflags_saved
=$CFLAGS
7346 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7348 /* end confdefs.h. */
7349 int main(int argc, char **argv) { return 0; }
7351 if ac_fn_c_try_link
"$LINENO"; then :
7352 ac_cv_cflags__Wl___enable_new_dtags
=yes
7354 ac_cv_cflags__Wl___enable_new_dtags
=no
7356 rm -f core conftest.err conftest.
$ac_objext \
7357 conftest
$ac_exeext conftest.
$ac_ext
7358 CFLAGS
=$ac_wine_try_cflags_saved
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7361 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7362 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7363 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7367 *i
[3456789]86* | x86_64
)
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7369 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7370 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7371 $as_echo_n "(cached) " >&6
7373 ac_wine_try_cflags_saved
=$CFLAGS
7374 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7376 /* end confdefs.h. */
7377 int main(int argc, char **argv) { return 0; }
7379 if ac_fn_c_try_link
"$LINENO"; then :
7380 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7382 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7384 rm -f core conftest.err conftest.
$ac_objext \
7385 conftest
$ac_exeext conftest.
$ac_ext
7386 CFLAGS
=$ac_wine_try_cflags_saved
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7389 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7390 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7392 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7393 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7397 # Extract the first word of "prelink", so it can be a program name with args.
7398 set dummy prelink
; ac_word
=$2
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7400 $as_echo_n "checking for $ac_word... " >&6; }
7401 if ${ac_cv_path_PRELINK+:} false
; then :
7402 $as_echo_n "(cached) " >&6
7406 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7410 for as_dir
in /sbin
/usr
/sbin
$PATH
7413 test -z "$as_dir" && as_dir
=.
7414 for ac_exec_ext
in '' $ac_executable_extensions; do
7415 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7416 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7424 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7428 PRELINK
=$ac_cv_path_PRELINK
7429 if test -n "$PRELINK"; then
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7431 $as_echo "$PRELINK" >&6; }
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 $as_echo "no" >&6; }
7438 if test "x$PRELINK" = xfalse
7440 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7447 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7448 if ${ac_cv_c_dll_unixware+:} false
; then :
7449 $as_echo_n "(cached) " >&6
7451 ac_wine_try_cflags_saved
=$CFLAGS
7452 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7454 /* end confdefs.h. */
7457 if ac_fn_c_try_link
"$LINENO"; then :
7458 ac_cv_c_dll_unixware
="yes"
7460 ac_cv_c_dll_unixware
="no"
7462 rm -f core conftest.err conftest.
$ac_objext \
7463 conftest
$ac_exeext conftest.
$ac_ext
7464 CFLAGS
=$ac_wine_try_cflags_saved
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7467 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7468 if test "$ac_cv_c_dll_unixware" = "yes"
7470 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7471 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
7477 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7478 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7480 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7481 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7483 libwine.so: libwine.so.\$(SOVERSION)
7484 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7486 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
7487 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
7488 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7490 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7491 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
7494 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7497 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
7503 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7504 enable_winemac_drv
=${enable_winemac_drv:-no}
7506 CROSSTEST_DISABLE
=\
#
7508 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7512 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
7515 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 " ;;
7517 ac_prefix_list
="" ;;
7519 for ac_prog
in $ac_prefix_list
7521 # Extract the first word of "$ac_prog", so it can be a program name with args.
7522 set dummy
$ac_prog; ac_word
=$2
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7524 $as_echo_n "checking for $ac_word... " >&6; }
7525 if ${ac_cv_prog_CROSSCC+:} false
; then :
7526 $as_echo_n "(cached) " >&6
7528 if test -n "$CROSSCC"; then
7529 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7535 test -z "$as_dir" && as_dir
=.
7536 for ac_exec_ext
in '' $ac_executable_extensions; do
7537 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7538 ac_cv_prog_CROSSCC
="$ac_prog"
7539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7548 CROSSCC
=$ac_cv_prog_CROSSCC
7549 if test -n "$CROSSCC"; then
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7551 $as_echo "$CROSSCC" >&6; }
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7554 $as_echo "no" >&6; }
7558 test -n "$CROSSCC" && break
7560 test -n "$CROSSCC" || CROSSCC
="false"
7562 if test "$CROSSCC" != "false"
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7567 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7569 /* end confdefs.h. */
7579 if ac_fn_c_try_compile
"$LINENO"; then :
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7581 $as_echo "yes" >&6; }
7588 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7592 if test -n "$target"
7594 CROSSTEST_DISABLE
=""
7595 CROSSTARGET
="$target"
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7600 $as_echo "no" >&6; }
7602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7608 if test "$ac_cv_header_pthread_h" = "yes"
7610 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7611 if test "x$ac_cv_func_pthread_create" = xyes
; then :
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7615 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7616 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
7617 $as_echo_n "(cached) " >&6
7619 ac_check_lib_save_LIBS
=$LIBS
7620 LIBS
="-lpthread $LIBS"
7621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7622 /* end confdefs.h. */
7624 /* Override any GCC internal prototype to avoid an error.
7625 Use char because int might match the return type of a GCC
7626 builtin and then its argument prototype would still apply. */
7630 char pthread_create ();
7634 return pthread_create ();
7639 if ac_fn_c_try_link
"$LINENO"; then :
7640 ac_cv_lib_pthread_pthread_create
=yes
7642 ac_cv_lib_pthread_pthread_create
=no
7644 rm -f core conftest.err conftest.
$ac_objext \
7645 conftest
$ac_exeext conftest.
$ac_ext
7646 LIBS
=$ac_check_lib_save_LIBS
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7649 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7650 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
7651 LIBPTHREAD
="-lpthread"
7658 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
7659 case "x$with_pthread" in
7661 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7662 Wine cannot support threads without libpthread.
7663 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7669 $as_echo_n "checking for X... " >&6; }
7672 # Check whether --with-x was given.
7673 if test "${with_x+set}" = set; then :
7677 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7678 if test "x$with_x" = xno
; then
7679 # The user explicitly disabled X.
7682 case $x_includes,$x_libraries in #(
7683 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
7684 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
7685 $as_echo_n "(cached) " >&6
7687 # One or both of the vars are not set, and there is no cached value.
7688 ac_x_includes
=no ac_x_libraries
=no
7689 rm -f -r conftest.dir
7690 if mkdir conftest.dir
; then
7692 cat >Imakefile
<<'_ACEOF'
7694 @echo incroot='${INCROOT}'
7696 @echo usrlibdir='${USRLIBDIR}'
7698 @echo libdir='${LIBDIR}'
7700 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7701 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7702 for ac_var
in incroot usrlibdir libdir
; do
7703 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7705 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7706 for ac_extension
in a so sl dylib la dll
; do
7707 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7708 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7709 ac_im_usrlibdir
=$ac_im_libdir; break
7712 # Screen out bogus values from the imake configuration. They are
7713 # bogus both because they are the default anyway, and because
7714 # using them would break gcc on systems where it needs fixed includes.
7715 case $ac_im_incroot in
7716 /usr
/include
) ac_x_includes
= ;;
7717 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7719 case $ac_im_usrlibdir in
7720 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7721 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7725 rm -f -r conftest.dir
7728 # Standard set of common directories for X headers.
7729 # Check X11 before X11Rn because it is often a symlink to the current release.
7743 /usr/local/X11/include
7744 /usr/local/X11R7/include
7745 /usr/local/X11R6/include
7746 /usr/local/X11R5/include
7747 /usr/local/X11R4/include
7749 /usr/local/include/X11
7750 /usr/local/include/X11R7
7751 /usr/local/include/X11R6
7752 /usr/local/include/X11R5
7753 /usr/local/include/X11R4
7757 /usr/XFree86/include/X11
7761 /usr/unsupported/include
7763 /usr/local/x11r5/include
7764 /usr/lpp/Xamples/include
7766 /usr/openwin/include
7767 /usr/openwin/share/include'
7769 if test "$ac_x_includes" = no
; then
7770 # Guess where to find include files, by looking for Xlib.h.
7771 # First, try using that file with no special directory specified.
7772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7773 /* end confdefs.h. */
7774 #include <X11/Xlib.h>
7776 if ac_fn_c_try_cpp
"$LINENO"; then :
7777 # We can compile using X headers with no special include directory.
7780 for ac_dir
in $ac_x_header_dirs; do
7781 if test -r "$ac_dir/X11/Xlib.h"; then
7782 ac_x_includes
=$ac_dir
7787 rm -f conftest.err conftest.i conftest.
$ac_ext
7788 fi # $ac_x_includes = no
7790 if test "$ac_x_libraries" = no
; then
7791 # Check for the libraries.
7792 # See if we find them without any special options.
7793 # Don't add to $LIBS permanently.
7796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7797 /* end confdefs.h. */
7798 #include <X11/Xlib.h>
7807 if ac_fn_c_try_link
"$LINENO"; then :
7809 # We can link X programs with no special library path.
7813 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7815 # Don't even attempt the hair of trying to link an X program!
7816 for ac_extension
in a so sl dylib la dll
; do
7817 if test -r "$ac_dir/libX11.$ac_extension"; then
7818 ac_x_libraries
=$ac_dir
7824 rm -f core conftest.err conftest.
$ac_objext \
7825 conftest
$ac_exeext conftest.
$ac_ext
7826 fi # $ac_x_libraries = no
7828 case $ac_x_includes,$ac_x_libraries in #(
7830 # Didn't find X, or a directory has "'" in its name.
7831 ac_cv_have_x
="have_x=no";; #(
7833 # Record where we found X for the cache.
7834 ac_cv_have_x
="have_x=yes\
7835 ac_x_includes='$ac_x_includes'\
7836 ac_x_libraries='$ac_x_libraries'"
7842 eval "$ac_cv_have_x"
7845 if test "$have_x" != yes; then
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7847 $as_echo "$have_x" >&6; }
7850 # If each of the values was on the command line, it overrides each guess.
7851 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7852 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7853 # Update the cache value to reflect the command line values.
7854 ac_cv_have_x
="have_x=yes\
7855 ac_x_includes='$x_includes'\
7856 ac_x_libraries='$x_libraries'"
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7858 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7861 if test "$no_x" = yes; then
7862 # Not all programs may use this symbol, but it does not hurt to define it.
7864 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7866 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7868 if test -n "$x_includes"; then
7869 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7872 # It would also be nice to do this for all -L options, not just this one.
7873 if test -n "$x_libraries"; then
7874 X_LIBS
="$X_LIBS -L$x_libraries"
7875 # For Solaris; some versions of Sun CC require a space after -R and
7876 # others require no space. Words are not sufficient . . . .
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7878 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7879 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7880 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7881 ac_c_werror_flag
=yes
7882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7883 /* end confdefs.h. */
7893 if ac_fn_c_try_link
"$LINENO"; then :
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7895 $as_echo "no" >&6; }
7896 X_LIBS
="$X_LIBS -R$x_libraries"
7898 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7900 /* end confdefs.h. */
7910 if ac_fn_c_try_link
"$LINENO"; then :
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7912 $as_echo "yes" >&6; }
7913 X_LIBS
="$X_LIBS -R $x_libraries"
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7916 $as_echo "neither works" >&6; }
7918 rm -f core conftest.err conftest.
$ac_objext \
7919 conftest
$ac_exeext conftest.
$ac_ext
7921 rm -f core conftest.err conftest.
$ac_objext \
7922 conftest
$ac_exeext conftest.
$ac_ext
7923 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7927 # Check for system-dependent libraries X programs must link with.
7928 # Do this before checking for the system-independent R6 libraries
7929 # (-lICE), since we may need -lsocket or whatever for X linking.
7931 if test "$ISC" = yes; then
7932 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7934 # Martyn Johnson says this is needed for Ultrix, if the X
7935 # libraries were built with DECnet support. And Karl Berry says
7936 # the Alpha needs dnet_stub (dnet does not exist).
7937 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7939 /* end confdefs.h. */
7941 /* Override any GCC internal prototype to avoid an error.
7942 Use char because int might match the return type of a GCC
7943 builtin and then its argument prototype would still apply. */
7947 char XOpenDisplay ();
7951 return XOpenDisplay ();
7956 if ac_fn_c_try_link
"$LINENO"; then :
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7960 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7961 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
7962 $as_echo_n "(cached) " >&6
7964 ac_check_lib_save_LIBS
=$LIBS
7966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7967 /* end confdefs.h. */
7969 /* Override any GCC internal prototype to avoid an error.
7970 Use char because int might match the return type of a GCC
7971 builtin and then its argument prototype would still apply. */
7979 return dnet_ntoa ();
7984 if ac_fn_c_try_link
"$LINENO"; then :
7985 ac_cv_lib_dnet_dnet_ntoa
=yes
7987 ac_cv_lib_dnet_dnet_ntoa
=no
7989 rm -f core conftest.err conftest.
$ac_objext \
7990 conftest
$ac_exeext conftest.
$ac_ext
7991 LIBS
=$ac_check_lib_save_LIBS
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7994 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7995 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
7996 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7999 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8001 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8002 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8003 $as_echo_n "(cached) " >&6
8005 ac_check_lib_save_LIBS
=$LIBS
8006 LIBS
="-ldnet_stub $LIBS"
8007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8008 /* end confdefs.h. */
8010 /* Override any GCC internal prototype to avoid an error.
8011 Use char because int might match the return type of a GCC
8012 builtin and then its argument prototype would still apply. */
8020 return dnet_ntoa ();
8025 if ac_fn_c_try_link
"$LINENO"; then :
8026 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8028 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8030 rm -f core conftest.err conftest.
$ac_objext \
8031 conftest
$ac_exeext conftest.
$ac_ext
8032 LIBS
=$ac_check_lib_save_LIBS
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8035 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8036 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8037 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8042 rm -f core conftest.err conftest.
$ac_objext \
8043 conftest
$ac_exeext conftest.
$ac_ext
8044 LIBS
="$ac_xsave_LIBS"
8046 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8047 # to get the SysV transport functions.
8048 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8050 # The nsl library prevents programs from opening the X display
8051 # on Irix 5.2, according to T.E. Dickey.
8052 # The functions gethostbyname, getservbyname, and inet_addr are
8053 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8054 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8055 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8059 if test $ac_cv_func_gethostbyname = no
; then
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8061 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8062 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8063 $as_echo_n "(cached) " >&6
8065 ac_check_lib_save_LIBS
=$LIBS
8067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8068 /* end confdefs.h. */
8070 /* Override any GCC internal prototype to avoid an error.
8071 Use char because int might match the return type of a GCC
8072 builtin and then its argument prototype would still apply. */
8076 char gethostbyname ();
8080 return gethostbyname ();
8085 if ac_fn_c_try_link
"$LINENO"; then :
8086 ac_cv_lib_nsl_gethostbyname
=yes
8088 ac_cv_lib_nsl_gethostbyname
=no
8090 rm -f core conftest.err conftest.
$ac_objext \
8091 conftest
$ac_exeext conftest.
$ac_ext
8092 LIBS
=$ac_check_lib_save_LIBS
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8095 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8096 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8097 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8100 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8102 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8103 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8104 $as_echo_n "(cached) " >&6
8106 ac_check_lib_save_LIBS
=$LIBS
8108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8109 /* end confdefs.h. */
8111 /* Override any GCC internal prototype to avoid an error.
8112 Use char because int might match the return type of a GCC
8113 builtin and then its argument prototype would still apply. */
8117 char gethostbyname ();
8121 return gethostbyname ();
8126 if ac_fn_c_try_link
"$LINENO"; then :
8127 ac_cv_lib_bsd_gethostbyname
=yes
8129 ac_cv_lib_bsd_gethostbyname
=no
8131 rm -f core conftest.err conftest.
$ac_objext \
8132 conftest
$ac_exeext conftest.
$ac_ext
8133 LIBS
=$ac_check_lib_save_LIBS
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8136 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8137 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
8138 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8144 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8145 # socket/setsockopt and other routines are undefined under SCO ODT
8146 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8147 # on later versions), says Simon Leinen: it contains gethostby*
8148 # variants that don't use the name server (or something). -lsocket
8149 # must be given before -lnsl if both are needed. We assume that
8150 # if connect needs -lnsl, so does gethostbyname.
8151 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
8152 if test "x$ac_cv_func_connect" = xyes
; then :
8156 if test $ac_cv_func_connect = no
; then
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8158 $as_echo_n "checking for connect in -lsocket... " >&6; }
8159 if ${ac_cv_lib_socket_connect+:} false
; then :
8160 $as_echo_n "(cached) " >&6
8162 ac_check_lib_save_LIBS
=$LIBS
8163 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8165 /* end confdefs.h. */
8167 /* Override any GCC internal prototype to avoid an error.
8168 Use char because int might match the return type of a GCC
8169 builtin and then its argument prototype would still apply. */
8182 if ac_fn_c_try_link
"$LINENO"; then :
8183 ac_cv_lib_socket_connect
=yes
8185 ac_cv_lib_socket_connect
=no
8187 rm -f core conftest.err conftest.
$ac_objext \
8188 conftest
$ac_exeext conftest.
$ac_ext
8189 LIBS
=$ac_check_lib_save_LIBS
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8192 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8193 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
8194 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8199 # Guillermo Gomez says -lposix is necessary on A/UX.
8200 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
8201 if test "x$ac_cv_func_remove" = xyes
; then :
8205 if test $ac_cv_func_remove = no
; then
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8207 $as_echo_n "checking for remove in -lposix... " >&6; }
8208 if ${ac_cv_lib_posix_remove+:} false
; then :
8209 $as_echo_n "(cached) " >&6
8211 ac_check_lib_save_LIBS
=$LIBS
8212 LIBS
="-lposix $LIBS"
8213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8214 /* end confdefs.h. */
8216 /* Override any GCC internal prototype to avoid an error.
8217 Use char because int might match the return type of a GCC
8218 builtin and then its argument prototype would still apply. */
8231 if ac_fn_c_try_link
"$LINENO"; then :
8232 ac_cv_lib_posix_remove
=yes
8234 ac_cv_lib_posix_remove
=no
8236 rm -f core conftest.err conftest.
$ac_objext \
8237 conftest
$ac_exeext conftest.
$ac_ext
8238 LIBS
=$ac_check_lib_save_LIBS
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8241 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8242 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
8243 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8248 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8249 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
8250 if test "x$ac_cv_func_shmat" = xyes
; then :
8254 if test $ac_cv_func_shmat = no
; then
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8256 $as_echo_n "checking for shmat in -lipc... " >&6; }
8257 if ${ac_cv_lib_ipc_shmat+:} false
; then :
8258 $as_echo_n "(cached) " >&6
8260 ac_check_lib_save_LIBS
=$LIBS
8262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8263 /* end confdefs.h. */
8265 /* Override any GCC internal prototype to avoid an error.
8266 Use char because int might match the return type of a GCC
8267 builtin and then its argument prototype would still apply. */
8280 if ac_fn_c_try_link
"$LINENO"; then :
8281 ac_cv_lib_ipc_shmat
=yes
8283 ac_cv_lib_ipc_shmat
=no
8285 rm -f core conftest.err conftest.
$ac_objext \
8286 conftest
$ac_exeext conftest.
$ac_ext
8287 LIBS
=$ac_check_lib_save_LIBS
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8290 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8291 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
8292 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8298 # Check for libraries that X11R6 Xt/Xaw programs need.
8299 ac_save_LDFLAGS
=$LDFLAGS
8300 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8301 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8302 # check for ICE first), but we must link in the order -lSM -lICE or
8303 # we get undefined symbols. So assume we have SM if we have ICE.
8304 # These have to be linked with before -lX11, unlike the other
8305 # libraries we check for below, so use a different variable.
8306 # John Interrante, Karl Berry
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8308 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8309 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
8310 $as_echo_n "(cached) " >&6
8312 ac_check_lib_save_LIBS
=$LIBS
8313 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8315 /* end confdefs.h. */
8317 /* Override any GCC internal prototype to avoid an error.
8318 Use char because int might match the return type of a GCC
8319 builtin and then its argument prototype would still apply. */
8323 char IceConnectionNumber ();
8327 return IceConnectionNumber ();
8332 if ac_fn_c_try_link
"$LINENO"; then :
8333 ac_cv_lib_ICE_IceConnectionNumber
=yes
8335 ac_cv_lib_ICE_IceConnectionNumber
=no
8337 rm -f core conftest.err conftest.
$ac_objext \
8338 conftest
$ac_exeext conftest.
$ac_ext
8339 LIBS
=$ac_check_lib_save_LIBS
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8342 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8343 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
8344 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8347 LDFLAGS
=$ac_save_LDFLAGS
8352 if test "$have_x" = "yes"
8355 ac_save_CPPFLAGS
="$CPPFLAGS"
8356 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8359 $as_echo_n "checking for -lX11... " >&6; }
8360 if ${ac_cv_lib_soname_X11+:} false
; then :
8361 $as_echo_n "(cached) " >&6
8363 ac_check_soname_save_LIBS
=$LIBS
8364 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8366 /* end confdefs.h. */
8368 /* Override any GCC internal prototype to avoid an error.
8369 Use char because int might match the return type of a GCC
8370 builtin and then its argument prototype would still apply. */
8374 char XCreateWindow ();
8378 return XCreateWindow ();
8383 if ac_fn_c_try_link
"$LINENO"; then :
8385 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8386 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'` ;;
8387 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8388 if test "x$ac_cv_lib_soname_X11" = x
; then :
8389 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8393 rm -f core conftest.err conftest.
$ac_objext \
8394 conftest
$ac_exeext conftest.
$ac_ext
8395 LIBS
=$ac_check_soname_save_LIBS
8397 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8399 $as_echo "not found" >&6; }
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8403 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8405 cat >>confdefs.h
<<_ACEOF
8406 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8412 $as_echo_n "checking for -lXext... " >&6; }
8413 if ${ac_cv_lib_soname_Xext+:} false
; then :
8414 $as_echo_n "(cached) " >&6
8416 ac_check_soname_save_LIBS
=$LIBS
8417 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8419 /* end confdefs.h. */
8421 /* Override any GCC internal prototype to avoid an error.
8422 Use char because int might match the return type of a GCC
8423 builtin and then its argument prototype would still apply. */
8427 char XextCreateExtension ();
8431 return XextCreateExtension ();
8436 if ac_fn_c_try_link
"$LINENO"; then :
8438 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8439 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'` ;;
8440 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8441 if test "x$ac_cv_lib_soname_Xext" = x
; then :
8442 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8446 rm -f core conftest.err conftest.
$ac_objext \
8447 conftest
$ac_exeext conftest.
$ac_ext
8448 LIBS
=$ac_check_soname_save_LIBS
8450 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8452 $as_echo "not found" >&6; }
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8456 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8458 cat >>confdefs.h
<<_ACEOF
8459 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8465 for ac_header
in X11
/Xlib.h \
8468 X11
/Xcursor
/Xcursor.h \
8469 X11
/extensions
/shape.h \
8470 X11
/extensions
/XInput.h \
8471 X11
/extensions
/XInput2.h \
8472 X11
/extensions
/XShm.h \
8473 X11
/extensions
/Xcomposite.h \
8474 X11
/extensions
/Xinerama.h \
8475 X11
/extensions
/Xrandr.h \
8476 X11
/extensions
/Xrender.h \
8477 X11
/extensions
/xf86vmode.h \
8478 X11
/extensions
/xf86vmproto.h
8480 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8481 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8482 # include <X11/Xlib.h>
8484 #ifdef HAVE_X11_XUTIL_H
8485 # include <X11/Xutil.h>
8488 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8489 cat >>confdefs.h
<<_ACEOF
8490 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8498 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8501 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8502 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
8503 $as_echo_n "(cached) " >&6
8505 ac_check_lib_save_LIBS
=$LIBS
8506 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8510 /* Override any GCC internal prototype to avoid an error.
8511 Use char because int might match the return type of a GCC
8512 builtin and then its argument prototype would still apply. */
8516 char XkbQueryExtension ();
8520 return XkbQueryExtension ();
8525 if ac_fn_c_try_link
"$LINENO"; then :
8526 ac_cv_lib_X11_XkbQueryExtension
=yes
8528 ac_cv_lib_X11_XkbQueryExtension
=no
8530 rm -f core conftest.err conftest.
$ac_objext \
8531 conftest
$ac_exeext conftest.
$ac_ext
8532 LIBS
=$ac_check_lib_save_LIBS
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8535 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8536 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
8538 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8544 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8547 $as_echo_n "checking for -lXcursor... " >&6; }
8548 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
8549 $as_echo_n "(cached) " >&6
8551 ac_check_soname_save_LIBS
=$LIBS
8552 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8556 /* Override any GCC internal prototype to avoid an error.
8557 Use char because int might match the return type of a GCC
8558 builtin and then its argument prototype would still apply. */
8562 char XcursorImageLoadCursor ();
8566 return XcursorImageLoadCursor ();
8571 if ac_fn_c_try_link
"$LINENO"; then :
8573 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8574 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'` ;;
8575 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8576 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
8577 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8581 rm -f core conftest.err conftest.
$ac_objext \
8582 conftest
$ac_exeext conftest.
$ac_ext
8583 LIBS
=$ac_check_soname_save_LIBS
8585 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8587 $as_echo "not found" >&6; }
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8591 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8593 cat >>confdefs.h
<<_ACEOF
8594 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8600 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8601 case "x$with_xcursor" in
8602 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8604 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8605 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8609 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8612 $as_echo_n "checking for -lXi... " >&6; }
8613 if ${ac_cv_lib_soname_Xi+:} false
; then :
8614 $as_echo_n "(cached) " >&6
8616 ac_check_soname_save_LIBS
=$LIBS
8617 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8619 /* end confdefs.h. */
8621 /* Override any GCC internal prototype to avoid an error.
8622 Use char because int might match the return type of a GCC
8623 builtin and then its argument prototype would still apply. */
8627 char XOpenDevice ();
8631 return XOpenDevice ();
8636 if ac_fn_c_try_link
"$LINENO"; then :
8638 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8639 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'` ;;
8640 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8641 if test "x$ac_cv_lib_soname_Xi" = x
; then :
8642 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8646 rm -f core conftest.err conftest.
$ac_objext \
8647 conftest
$ac_exeext conftest.
$ac_ext
8648 LIBS
=$ac_check_soname_save_LIBS
8650 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8652 $as_echo "not found" >&6; }
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8656 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8658 cat >>confdefs.h
<<_ACEOF
8659 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8665 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8666 case "x$with_xinput" in
8667 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8669 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8670 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8674 if test "x$ac_cv_lib_soname_Xi" != x
8676 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8677 case "x$with_xinput2" in
8678 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8680 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
8681 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8686 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8689 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8690 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
8691 $as_echo_n "(cached) " >&6
8693 ac_check_lib_save_LIBS
=$LIBS
8694 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8696 /* end confdefs.h. */
8698 /* Override any GCC internal prototype to avoid an error.
8699 Use char because int might match the return type of a GCC
8700 builtin and then its argument prototype would still apply. */
8704 char XShmQueryExtension ();
8708 return XShmQueryExtension ();
8713 if ac_fn_c_try_link
"$LINENO"; then :
8714 ac_cv_lib_Xext_XShmQueryExtension
=yes
8716 ac_cv_lib_Xext_XShmQueryExtension
=no
8718 rm -f core conftest.err conftest.
$ac_objext \
8719 conftest
$ac_exeext conftest.
$ac_ext
8720 LIBS
=$ac_check_lib_save_LIBS
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8723 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8724 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
8726 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8731 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8732 case "x$with_xshm" in
8733 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8735 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8736 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8740 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8743 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8744 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
8745 $as_echo_n "(cached) " >&6
8747 ac_check_lib_save_LIBS
=$LIBS
8748 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8750 /* end confdefs.h. */
8752 /* Override any GCC internal prototype to avoid an error.
8753 Use char because int might match the return type of a GCC
8754 builtin and then its argument prototype would still apply. */
8758 char XShapeQueryExtension ();
8762 return XShapeQueryExtension ();
8767 if ac_fn_c_try_link
"$LINENO"; then :
8768 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8770 ac_cv_lib_Xext_XShapeQueryExtension
=no
8772 rm -f core conftest.err conftest.
$ac_objext \
8773 conftest
$ac_exeext conftest.
$ac_ext
8774 LIBS
=$ac_check_lib_save_LIBS
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8777 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8778 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
8780 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8785 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8786 case "x$with_xshape" in
8787 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8789 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8790 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8794 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8797 $as_echo_n "checking for -lXxf86vm... " >&6; }
8798 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
8799 $as_echo_n "(cached) " >&6
8801 ac_check_soname_save_LIBS
=$LIBS
8802 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8804 /* end confdefs.h. */
8806 /* Override any GCC internal prototype to avoid an error.
8807 Use char because int might match the return type of a GCC
8808 builtin and then its argument prototype would still apply. */
8812 char XF86VidModeQueryExtension ();
8816 return XF86VidModeQueryExtension ();
8821 if ac_fn_c_try_link
"$LINENO"; then :
8823 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8824 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'` ;;
8825 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8826 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
8827 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8831 rm -f core conftest.err conftest.
$ac_objext \
8832 conftest
$ac_exeext conftest.
$ac_ext
8833 LIBS
=$ac_check_soname_save_LIBS
8835 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8837 $as_echo "not found" >&6; }
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8841 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8843 cat >>confdefs.h
<<_ACEOF
8844 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8850 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8851 case "x$with_xxf86vm" in
8852 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8854 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8855 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8859 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"
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8862 $as_echo_n "checking for -lXrender... " >&6; }
8863 if ${ac_cv_lib_soname_Xrender+:} false
; then :
8864 $as_echo_n "(cached) " >&6
8866 ac_check_soname_save_LIBS
=$LIBS
8867 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8869 /* end confdefs.h. */
8871 /* Override any GCC internal prototype to avoid an error.
8872 Use char because int might match the return type of a GCC
8873 builtin and then its argument prototype would still apply. */
8877 char XRenderQueryExtension ();
8881 return XRenderQueryExtension ();
8886 if ac_fn_c_try_link
"$LINENO"; then :
8888 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8889 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'` ;;
8890 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8891 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
8892 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8896 rm -f core conftest.err conftest.
$ac_objext \
8897 conftest
$ac_exeext conftest.
$ac_ext
8898 LIBS
=$ac_check_soname_save_LIBS
8900 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8902 $as_echo "not found" >&6; }
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8906 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8908 cat >>confdefs.h
<<_ACEOF
8909 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8913 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8914 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
8915 $as_echo_n "(cached) " >&6
8917 ac_check_lib_save_LIBS
=$LIBS
8918 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8920 /* end confdefs.h. */
8922 /* Override any GCC internal prototype to avoid an error.
8923 Use char because int might match the return type of a GCC
8924 builtin and then its argument prototype would still apply. */
8928 char XRenderSetPictureTransform ();
8932 return XRenderSetPictureTransform ();
8937 if ac_fn_c_try_link
"$LINENO"; then :
8938 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8940 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8942 rm -f core conftest.err conftest.
$ac_objext \
8943 conftest
$ac_exeext conftest.
$ac_ext
8944 LIBS
=$ac_check_lib_save_LIBS
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8947 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8948 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
8950 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8955 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8956 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
8957 $as_echo_n "(cached) " >&6
8959 ac_check_lib_save_LIBS
=$LIBS
8960 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8962 /* end confdefs.h. */
8964 /* Override any GCC internal prototype to avoid an error.
8965 Use char because int might match the return type of a GCC
8966 builtin and then its argument prototype would still apply. */
8970 char XRenderCreateLinearGradient ();
8974 return XRenderCreateLinearGradient ();
8979 if ac_fn_c_try_link
"$LINENO"; then :
8980 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
8982 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
8984 rm -f core conftest.err conftest.
$ac_objext \
8985 conftest
$ac_exeext conftest.
$ac_ext
8986 LIBS
=$ac_check_lib_save_LIBS
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8989 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8990 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
8992 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8999 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9000 case "x$with_xrender" in
9001 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9003 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9004 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9008 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9011 /* end confdefs.h. */
9012 #include <X11/Xlib.h>
9013 #include <X11/extensions/Xrandr.h>
9017 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9022 if ac_fn_c_try_compile
"$LINENO"; then :
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9024 $as_echo_n "checking for -lXrandr... " >&6; }
9025 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9026 $as_echo_n "(cached) " >&6
9028 ac_check_soname_save_LIBS
=$LIBS
9029 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9031 /* end confdefs.h. */
9033 /* Override any GCC internal prototype to avoid an error.
9034 Use char because int might match the return type of a GCC
9035 builtin and then its argument prototype would still apply. */
9039 char XRRQueryExtension ();
9043 return XRRQueryExtension ();
9048 if ac_fn_c_try_link
"$LINENO"; then :
9050 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9051 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'` ;;
9052 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9053 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
9054 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9058 rm -f core conftest.err conftest.
$ac_objext \
9059 conftest
$ac_exeext conftest.
$ac_ext
9060 LIBS
=$ac_check_soname_save_LIBS
9062 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9064 $as_echo "not found" >&6; }
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9068 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9070 cat >>confdefs.h
<<_ACEOF
9071 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9075 /* end confdefs.h. */
9076 #include <X11/Xlib.h>
9077 #include <X11/extensions/Xrandr.h>
9081 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9086 if ac_fn_c_try_compile
"$LINENO"; then :
9088 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9096 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9097 case "x$with_xrandr" in
9098 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9100 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9101 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9105 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9108 /* end confdefs.h. */
9109 #include <X11/Xlib.h>
9110 #include <X11/extensions/Xinerama.h>
9114 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9119 if ac_fn_c_try_compile
"$LINENO"; then :
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9121 $as_echo_n "checking for -lXinerama... " >&6; }
9122 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
9123 $as_echo_n "(cached) " >&6
9125 ac_check_soname_save_LIBS
=$LIBS
9126 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9128 /* end confdefs.h. */
9130 /* Override any GCC internal prototype to avoid an error.
9131 Use char because int might match the return type of a GCC
9132 builtin and then its argument prototype would still apply. */
9136 char XineramaQueryScreens ();
9140 return XineramaQueryScreens ();
9145 if ac_fn_c_try_link
"$LINENO"; then :
9147 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9148 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'` ;;
9149 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9150 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
9151 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9155 rm -f core conftest.err conftest.
$ac_objext \
9156 conftest
$ac_exeext conftest.
$ac_ext
9157 LIBS
=$ac_check_soname_save_LIBS
9159 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9161 $as_echo "not found" >&6; }
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9165 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9167 cat >>confdefs.h
<<_ACEOF
9168 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9176 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9177 case "x$with_xinerama" in
9178 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9180 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9181 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9185 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9188 $as_echo_n "checking for -lXcomposite... " >&6; }
9189 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
9190 $as_echo_n "(cached) " >&6
9192 ac_check_soname_save_LIBS
=$LIBS
9193 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9195 /* end confdefs.h. */
9197 /* Override any GCC internal prototype to avoid an error.
9198 Use char because int might match the return type of a GCC
9199 builtin and then its argument prototype would still apply. */
9203 char XCompositeRedirectWindow ();
9207 return XCompositeRedirectWindow ();
9212 if ac_fn_c_try_link
"$LINENO"; then :
9214 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9215 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'` ;;
9216 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9217 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
9218 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9222 rm -f core conftest.err conftest.
$ac_objext \
9223 conftest
$ac_exeext conftest.
$ac_ext
9224 LIBS
=$ac_check_soname_save_LIBS
9226 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9228 $as_echo "not found" >&6; }
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9232 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9234 cat >>confdefs.h
<<_ACEOF
9235 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9241 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9242 case "x$with_xcomposite" in
9243 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9245 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9246 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9250 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9251 #include <X11/Xlib.h>
9254 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
9256 cat >>confdefs.h
<<_ACEOF
9257 #define HAVE_XICCALLBACK_CALLBACK 1
9262 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9263 #include <X11/Xlib.h>
9266 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
9268 cat >>confdefs.h
<<_ACEOF
9269 #define HAVE_XEVENT_XCOOKIE 1
9278 if test "x$with_opengl" != "xno"
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9281 $as_echo_n "checking for -lGL... " >&6; }
9282 if ${ac_cv_lib_soname_GL+:} false
; then :
9283 $as_echo_n "(cached) " >&6
9285 ac_check_soname_save_LIBS
=$LIBS
9286 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9288 /* end confdefs.h. */
9290 /* Override any GCC internal prototype to avoid an error.
9291 Use char because int might match the return type of a GCC
9292 builtin and then its argument prototype would still apply. */
9296 char glXCreateContext ();
9300 return glXCreateContext ();
9305 if ac_fn_c_try_link
"$LINENO"; then :
9307 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9308 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'` ;;
9309 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9310 if test "x$ac_cv_lib_soname_GL" = x
; then :
9311 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9315 rm -f core conftest.err conftest.
$ac_objext \
9316 conftest
$ac_exeext conftest.
$ac_ext
9317 LIBS
=$ac_check_soname_save_LIBS
9319 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9321 $as_echo "not found" >&6; }
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9323 $as_echo_n "checking for -lGL... " >&6; }
9324 if ${ac_cv_lib_soname_GL+:} false
; then :
9325 $as_echo_n "(cached) " >&6
9327 ac_check_soname_save_LIBS
=$LIBS
9328 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"
9329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9330 /* end confdefs.h. */
9332 /* Override any GCC internal prototype to avoid an error.
9333 Use char because int might match the return type of a GCC
9334 builtin and then its argument prototype would still apply. */
9338 char glXCreateContext ();
9342 return glXCreateContext ();
9347 if ac_fn_c_try_link
"$LINENO"; then :
9349 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9350 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'` ;;
9351 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9352 if test "x$ac_cv_lib_soname_GL" = x
; then :
9353 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9357 rm -f core conftest.err conftest.
$ac_objext \
9358 conftest
$ac_exeext conftest.
$ac_ext
9359 LIBS
=$ac_check_soname_save_LIBS
9361 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9363 $as_echo "not found" >&6; }
9364 if test -f /usr
/X11R
6/lib
/libGL.a
9366 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
9367 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9369 opengl_msg
="No OpenGL library found on this system."
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9373 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9375 cat >>confdefs.h
<<_ACEOF
9376 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9379 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"
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9383 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9385 cat >>confdefs.h
<<_ACEOF
9386 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9391 if test "x$with_glu" != "xno"
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9394 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9395 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9396 $as_echo_n "(cached) " >&6
9398 ac_check_lib_save_LIBS
=$LIBS
9399 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9401 /* end confdefs.h. */
9403 /* Override any GCC internal prototype to avoid an error.
9404 Use char because int might match the return type of a GCC
9405 builtin and then its argument prototype would still apply. */
9413 return gluLookAt ();
9418 if ac_fn_c_try_link
"$LINENO"; then :
9419 ac_cv_lib_GLU_gluLookAt
=yes
9421 ac_cv_lib_GLU_gluLookAt
=no
9423 rm -f core conftest.err conftest.
$ac_objext \
9424 conftest
$ac_exeext conftest.
$ac_ext
9425 LIBS
=$ac_check_lib_save_LIBS
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9428 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9429 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
9433 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
9434 case "x$with_glu" in
9435 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9437 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9438 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9443 if test "x$with_osmesa" != "xno"
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9446 $as_echo_n "checking for -lOSMesa... " >&6; }
9447 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9448 $as_echo_n "(cached) " >&6
9450 ac_check_soname_save_LIBS
=$LIBS
9451 LIBS
="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9453 /* end confdefs.h. */
9455 /* Override any GCC internal prototype to avoid an error.
9456 Use char because int might match the return type of a GCC
9457 builtin and then its argument prototype would still apply. */
9470 if ac_fn_c_try_link
"$LINENO"; then :
9472 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9473 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'` ;;
9474 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9475 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
9476 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9480 rm -f core conftest.err conftest.
$ac_objext \
9481 conftest
$ac_exeext conftest.
$ac_ext
9482 LIBS
=$ac_check_soname_save_LIBS
9484 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9486 $as_echo "not found" >&6; }
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9490 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9492 cat >>confdefs.h
<<_ACEOF
9493 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9498 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9499 case "x$with_osmesa" in
9500 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9502 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9503 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9508 if test -n "$opengl_msg"; then :
9509 case "x$with_opengl" in
9510 x
) as_fn_append wine_warnings
"|$opengl_msg
9511 OpenGL and Direct3D won't be supported." ;;
9513 *) as_fn_error $?
"$opengl_msg
9514 OpenGL and Direct3D won't be supported.
9515 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9519 CPPFLAGS
="$ac_save_CPPFLAGS"
9524 enable_winex11_drv
=${enable_winex11_drv:-no}
9526 if test "x$XLIB" = "x"; then :
9529 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
9530 without X support, which probably isn't what you want. You will need
9531 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9532 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9536 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
9538 if test "$ac_cv_header_CL_cl_h" = "yes"
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9541 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9542 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
9543 $as_echo_n "(cached) " >&6
9545 ac_check_lib_save_LIBS
=$LIBS
9546 LIBS
="-lOpenCL $LIBS"
9547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9548 /* end confdefs.h. */
9550 /* Override any GCC internal prototype to avoid an error.
9551 Use char because int might match the return type of a GCC
9552 builtin and then its argument prototype would still apply. */
9556 char clGetPlatformInfo ();
9560 return clGetPlatformInfo ();
9565 if ac_fn_c_try_link
"$LINENO"; then :
9566 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9568 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9570 rm -f core conftest.err conftest.
$ac_objext \
9571 conftest
$ac_exeext conftest.
$ac_ext
9572 LIBS
=$ac_check_lib_save_LIBS
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9575 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9576 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
9577 LIBOPENCL
="-lOpenCL"
9582 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9583 case "x$with_opencl" in
9584 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9586 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9587 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9590 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9593 if test "x$with_xml" != "xno"
9595 ac_save_CPPFLAGS
="$CPPFLAGS"
9596 if test -n "$XML2_CFLAGS"; then :
9598 elif test -n "$PKG_CONFIG"; then :
9599 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
9601 XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
9602 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
9603 if test -n "$XML2_LIBS"; then :
9605 elif test -n "$PKG_CONFIG"; then :
9606 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
9608 XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
9609 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
9610 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
9612 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9613 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9614 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9615 cat >>confdefs.h
<<_ACEOF
9616 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9623 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"
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9626 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9627 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
9628 $as_echo_n "(cached) " >&6
9630 ac_check_lib_save_LIBS
=$LIBS
9631 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9635 /* Override any GCC internal prototype to avoid an error.
9636 Use char because int might match the return type of a GCC
9637 builtin and then its argument prototype would still apply. */
9641 char xmlParseMemory ();
9645 return xmlParseMemory ();
9650 if ac_fn_c_try_link
"$LINENO"; then :
9651 ac_cv_lib_xml2_xmlParseMemory
=yes
9653 ac_cv_lib_xml2_xmlParseMemory
=no
9655 rm -f core conftest.err conftest.
$ac_objext \
9656 conftest
$ac_exeext conftest.
$ac_ext
9657 LIBS
=$ac_check_lib_save_LIBS
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9660 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9661 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
9663 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9670 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9671 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
9672 $as_echo_n "(cached) " >&6
9674 ac_check_lib_save_LIBS
=$LIBS
9675 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9677 /* end confdefs.h. */
9679 /* Override any GCC internal prototype to avoid an error.
9680 Use char because int might match the return type of a GCC
9681 builtin and then its argument prototype would still apply. */
9685 char xmlReadMemory ();
9689 return xmlReadMemory ();
9694 if ac_fn_c_try_link
"$LINENO"; then :
9695 ac_cv_lib_xml2_xmlReadMemory
=yes
9697 ac_cv_lib_xml2_xmlReadMemory
=no
9699 rm -f core conftest.err conftest.
$ac_objext \
9700 conftest
$ac_exeext conftest.
$ac_ext
9701 LIBS
=$ac_check_lib_save_LIBS
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9704 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9705 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
9707 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9712 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9713 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
9714 $as_echo_n "(cached) " >&6
9716 ac_check_lib_save_LIBS
=$LIBS
9717 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9719 /* end confdefs.h. */
9721 /* Override any GCC internal prototype to avoid an error.
9722 Use char because int might match the return type of a GCC
9723 builtin and then its argument prototype would still apply. */
9727 char xmlNewDocPI ();
9731 return xmlNewDocPI ();
9736 if ac_fn_c_try_link
"$LINENO"; then :
9737 ac_cv_lib_xml2_xmlNewDocPI
=yes
9739 ac_cv_lib_xml2_xmlNewDocPI
=no
9741 rm -f core conftest.err conftest.
$ac_objext \
9742 conftest
$ac_exeext conftest.
$ac_ext
9743 LIBS
=$ac_check_lib_save_LIBS
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9746 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9747 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
9749 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9754 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9755 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
9756 $as_echo_n "(cached) " >&6
9758 ac_check_lib_save_LIBS
=$LIBS
9759 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9761 /* end confdefs.h. */
9763 /* Override any GCC internal prototype to avoid an error.
9764 Use char because int might match the return type of a GCC
9765 builtin and then its argument prototype would still apply. */
9769 char xmlSchemaSetParserStructuredErrors ();
9773 return xmlSchemaSetParserStructuredErrors ();
9778 if ac_fn_c_try_link
"$LINENO"; then :
9779 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9781 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9783 rm -f core conftest.err conftest.
$ac_objext \
9784 conftest
$ac_exeext conftest.
$ac_ext
9785 LIBS
=$ac_check_lib_save_LIBS
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9788 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9789 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
9791 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9796 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9797 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
9798 $as_echo_n "(cached) " >&6
9800 ac_check_lib_save_LIBS
=$LIBS
9801 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9803 /* end confdefs.h. */
9805 /* Override any GCC internal prototype to avoid an error.
9806 Use char because int might match the return type of a GCC
9807 builtin and then its argument prototype would still apply. */
9811 char xmlSchemaSetValidStructuredErrors ();
9815 return xmlSchemaSetValidStructuredErrors ();
9820 if ac_fn_c_try_link
"$LINENO"; then :
9821 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9823 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9825 rm -f core conftest.err conftest.
$ac_objext \
9826 conftest
$ac_exeext conftest.
$ac_ext
9827 LIBS
=$ac_check_lib_save_LIBS
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9830 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9831 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
9833 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9838 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9839 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
9840 $as_echo_n "(cached) " >&6
9842 ac_check_lib_save_LIBS
=$LIBS
9843 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9847 /* Override any GCC internal prototype to avoid an error.
9848 Use char because int might match the return type of a GCC
9849 builtin and then its argument prototype would still apply. */
9853 char xmlFirstElementChild ();
9857 return xmlFirstElementChild ();
9862 if ac_fn_c_try_link
"$LINENO"; then :
9863 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9865 ac_cv_lib_xml2_xmlFirstElementChild
=no
9867 rm -f core conftest.err conftest.
$ac_objext \
9868 conftest
$ac_exeext conftest.
$ac_ext
9869 LIBS
=$ac_check_lib_save_LIBS
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9872 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9873 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
9875 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9879 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9881 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
9883 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9891 CPPFLAGS
="$ac_save_CPPFLAGS"
9893 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9894 case "x$with_xml" in
9895 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9897 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9898 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9902 if test "x$with_xslt" != "xno"
9904 ac_save_CPPFLAGS
="$CPPFLAGS"
9905 if test -n "$XSLT_CFLAGS"; then :
9907 elif test -n "$PKG_CONFIG"; then :
9908 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
9910 XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
9911 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
9912 if test -n "$XSLT_LIBS"; then :
9914 elif test -n "$PKG_CONFIG"; then :
9915 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
9917 XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
9918 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
9919 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9921 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9922 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9923 # include <libxslt/pattern.h>
9926 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9927 cat >>confdefs.h
<<_ACEOF
9928 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9935 CPPFLAGS
="$ac_save_CPPFLAGS"
9936 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9939 $as_echo_n "checking for -lxslt... " >&6; }
9940 if ${ac_cv_lib_soname_xslt+:} false
; then :
9941 $as_echo_n "(cached) " >&6
9943 ac_check_soname_save_LIBS
=$LIBS
9944 LIBS
="-lxslt $XSLT_LIBS $LIBS"
9945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9946 /* end confdefs.h. */
9948 /* Override any GCC internal prototype to avoid an error.
9949 Use char because int might match the return type of a GCC
9950 builtin and then its argument prototype would still apply. */
9954 char xsltCompilePattern ();
9958 return xsltCompilePattern ();
9963 if ac_fn_c_try_link
"$LINENO"; then :
9965 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9966 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'` ;;
9967 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9968 if test "x$ac_cv_lib_soname_xslt" = x
; then :
9969 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9973 rm -f core conftest.err conftest.
$ac_objext \
9974 conftest
$ac_exeext conftest.
$ac_ext
9975 LIBS
=$ac_check_soname_save_LIBS
9977 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9979 $as_echo "not found" >&6; }
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9983 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9985 cat >>confdefs.h
<<_ACEOF
9986 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9995 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9996 case "x$with_xslt" in
9997 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9999 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10000 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10004 if test "x$with_dbus" != "xno"
10006 ac_save_CPPFLAGS
="$CPPFLAGS"
10007 if test -n "$DBUS_CFLAGS"; then :
10009 elif test -n "$PKG_CONFIG"; then :
10010 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10013 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10014 if test -n "$DBUS_LIBS"; then :
10016 elif test -n "$PKG_CONFIG"; then :
10017 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10021 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10022 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10024 $as_echo_n "checking for -ldbus-1... " >&6; }
10025 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10026 $as_echo_n "(cached) " >&6
10028 ac_check_soname_save_LIBS
=$LIBS
10029 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10031 /* end confdefs.h. */
10033 /* Override any GCC internal prototype to avoid an error.
10034 Use char because int might match the return type of a GCC
10035 builtin and then its argument prototype would still apply. */
10039 char dbus_connection_close ();
10043 return dbus_connection_close ();
10048 if ac_fn_c_try_link
"$LINENO"; then :
10050 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10051 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'` ;;
10052 *) 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'`
10053 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
10054 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10058 rm -f core conftest.err conftest.
$ac_objext \
10059 conftest
$ac_exeext conftest.
$ac_ext
10060 LIBS
=$ac_check_soname_save_LIBS
10062 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10064 $as_echo "not found" >&6; }
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10068 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10070 cat >>confdefs.h
<<_ACEOF
10071 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10081 CPPFLAGS
="$ac_save_CPPFLAGS"
10083 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10084 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10085 case "x$with_dbus" in
10086 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10088 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10089 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10093 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10095 ac_save_CPPFLAGS
="$CPPFLAGS"
10096 if test -n "$HAL_CFLAGS"; then :
10098 elif test -n "$PKG_CONFIG"; then :
10099 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
10102 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
10103 if test -n "$HAL_LIBS"; then :
10105 elif test -n "$PKG_CONFIG"; then :
10106 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
10109 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
10110 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10111 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10113 $as_echo_n "checking for -lhal... " >&6; }
10114 if ${ac_cv_lib_soname_hal+:} false
; then :
10115 $as_echo_n "(cached) " >&6
10117 ac_check_soname_save_LIBS
=$LIBS
10118 LIBS
="-lhal $HAL_LIBS $LIBS"
10119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10120 /* end confdefs.h. */
10122 /* Override any GCC internal prototype to avoid an error.
10123 Use char because int might match the return type of a GCC
10124 builtin and then its argument prototype would still apply. */
10128 char libhal_ctx_new ();
10132 return libhal_ctx_new ();
10137 if ac_fn_c_try_link
"$LINENO"; then :
10139 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10140 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'` ;;
10141 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10142 if test "x$ac_cv_lib_soname_hal" = x
; then :
10143 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10147 rm -f core conftest.err conftest.
$ac_objext \
10148 conftest
$ac_exeext conftest.
$ac_ext
10149 LIBS
=$ac_check_soname_save_LIBS
10151 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10153 $as_echo "not found" >&6; }
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10157 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10159 cat >>confdefs.h
<<_ACEOF
10160 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10170 CPPFLAGS
="$ac_save_CPPFLAGS"
10171 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10172 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10173 case "x$with_hal" in
10174 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10176 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
10177 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10182 if test "x$with_gnutls" != "xno"
10184 ac_save_CPPFLAGS
="$CPPFLAGS"
10185 if test -n "$GNUTLS_CFLAGS"; then :
10187 elif test -n "$PKG_CONFIG"; then :
10188 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10191 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
10192 if test -n "$GNUTLS_LIBS"; then :
10194 elif test -n "$PKG_CONFIG"; then :
10195 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10199 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10200 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
10201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10203 #include <gnutls/gnutls.h>
10204 #include <gnutls/crypto.h>
10208 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10213 if ac_fn_c_try_compile
"$LINENO"; then :
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10215 $as_echo_n "checking for -lgnutls... " >&6; }
10216 if ${ac_cv_lib_soname_gnutls+:} false
; then :
10217 $as_echo_n "(cached) " >&6
10219 ac_check_soname_save_LIBS
=$LIBS
10220 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
10221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10222 /* end confdefs.h. */
10224 /* Override any GCC internal prototype to avoid an error.
10225 Use char because int might match the return type of a GCC
10226 builtin and then its argument prototype would still apply. */
10230 char gnutls_global_init ();
10234 return gnutls_global_init ();
10239 if ac_fn_c_try_link
"$LINENO"; then :
10241 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10242 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'` ;;
10243 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10244 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
10245 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10249 rm -f core conftest.err conftest.
$ac_objext \
10250 conftest
$ac_exeext conftest.
$ac_ext
10251 LIBS
=$ac_check_soname_save_LIBS
10253 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10255 $as_echo "not found" >&6; }
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10259 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10261 cat >>confdefs.h
<<_ACEOF
10262 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10274 CPPFLAGS
="$ac_save_CPPFLAGS"
10276 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10277 case "x$with_gnutls" in
10278 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10280 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
10281 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10286 if test "$ac_cv_header_ncurses_h" = "yes"
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10289 $as_echo_n "checking for -lncurses... " >&6; }
10290 if ${ac_cv_lib_soname_ncurses+:} false
; then :
10291 $as_echo_n "(cached) " >&6
10293 ac_check_soname_save_LIBS
=$LIBS
10294 LIBS
="-lncurses $LIBS"
10295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10296 /* end confdefs.h. */
10298 /* Override any GCC internal prototype to avoid an error.
10299 Use char because int might match the return type of a GCC
10300 builtin and then its argument prototype would still apply. */
10313 if ac_fn_c_try_link
"$LINENO"; then :
10315 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10316 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'` ;;
10317 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10318 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
10319 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10323 rm -f core conftest.err conftest.
$ac_objext \
10324 conftest
$ac_exeext conftest.
$ac_ext
10325 LIBS
=$ac_check_soname_save_LIBS
10327 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10329 $as_echo "not found" >&6; }
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10333 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10335 cat >>confdefs.h
<<_ACEOF
10336 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10339 CURSESLIBS
="-lncurses"
10341 elif test "$ac_cv_header_curses_h" = "yes"
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10344 $as_echo_n "checking for -lcurses... " >&6; }
10345 if ${ac_cv_lib_soname_curses+:} false
; then :
10346 $as_echo_n "(cached) " >&6
10348 ac_check_soname_save_LIBS
=$LIBS
10349 LIBS
="-lcurses $LIBS"
10350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10351 /* end confdefs.h. */
10353 /* Override any GCC internal prototype to avoid an error.
10354 Use char because int might match the return type of a GCC
10355 builtin and then its argument prototype would still apply. */
10368 if ac_fn_c_try_link
"$LINENO"; then :
10370 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10371 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'` ;;
10372 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10373 if test "x$ac_cv_lib_soname_curses" = x
; then :
10374 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10378 rm -f core conftest.err conftest.
$ac_objext \
10379 conftest
$ac_exeext conftest.
$ac_ext
10380 LIBS
=$ac_check_soname_save_LIBS
10382 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10384 $as_echo "not found" >&6; }
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10388 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10390 cat >>confdefs.h
<<_ACEOF
10391 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10394 CURSESLIBS
="-lcurses"
10397 ac_save_LIBS
="$LIBS"
10398 LIBS
="$LIBS $CURSESLIBS"
10399 for ac_func
in mousemask
10401 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
10402 if test "x$ac_cv_func_mousemask" = xyes
; then :
10403 cat >>confdefs.h
<<_ACEOF
10404 #define HAVE_MOUSEMASK 1
10410 LIBS
="$ac_save_LIBS"
10411 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10412 case "x$with_curses" in
10413 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10415 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10416 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10420 if test "x$with_sane" != "xno"
10422 ac_save_CPPFLAGS
="$CPPFLAGS"
10423 if test -n "$SANE_CFLAGS"; then :
10425 elif test -n "$PKG_CONFIG"; then :
10426 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10428 SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10429 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
10430 if test -n "$SANE_LIBS"; then :
10432 elif test -n "$PKG_CONFIG"; then :
10433 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
10435 SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10437 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10438 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10440 $as_echo_n "checking for -lsane... " >&6; }
10441 if ${ac_cv_lib_soname_sane+:} false
; then :
10442 $as_echo_n "(cached) " >&6
10444 ac_check_soname_save_LIBS
=$LIBS
10445 LIBS
="-lsane $SANE_LIBS $LIBS"
10446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10447 /* end confdefs.h. */
10449 /* Override any GCC internal prototype to avoid an error.
10450 Use char because int might match the return type of a GCC
10451 builtin and then its argument prototype would still apply. */
10459 return sane_init ();
10464 if ac_fn_c_try_link
"$LINENO"; then :
10466 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10467 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'` ;;
10468 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10469 if test "x$ac_cv_lib_soname_sane" = x
; then :
10470 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10474 rm -f core conftest.err conftest.
$ac_objext \
10475 conftest
$ac_exeext conftest.
$ac_ext
10476 LIBS
=$ac_check_soname_save_LIBS
10478 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10480 $as_echo "not found" >&6; }
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10484 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10486 cat >>confdefs.h
<<_ACEOF
10487 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10497 CPPFLAGS
="$ac_save_CPPFLAGS"
10499 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10500 case "x$with_sane" in
10501 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10503 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
10504 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10508 if test "x$with_v4l" != "xno"
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10511 $as_echo_n "checking for -lv4l1... " >&6; }
10512 if ${ac_cv_lib_soname_v4l1+:} false
; then :
10513 $as_echo_n "(cached) " >&6
10515 ac_check_soname_save_LIBS
=$LIBS
10516 LIBS
="-lv4l1 $LIBS"
10517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10518 /* end confdefs.h. */
10520 /* Override any GCC internal prototype to avoid an error.
10521 Use char because int might match the return type of a GCC
10522 builtin and then its argument prototype would still apply. */
10530 return v4l1_open ();
10535 if ac_fn_c_try_link
"$LINENO"; then :
10537 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10538 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'` ;;
10539 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10540 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
10541 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10545 rm -f core conftest.err conftest.
$ac_objext \
10546 conftest
$ac_exeext conftest.
$ac_ext
10547 LIBS
=$ac_check_soname_save_LIBS
10549 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10551 $as_echo "not found" >&6; }
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10555 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10557 cat >>confdefs.h
<<_ACEOF
10558 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10564 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10565 case "x$with_v4l" in
10566 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
10568 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
10569 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10573 if test "x$with_gphoto" != "xno"
10575 ac_save_CPPFLAGS
="$CPPFLAGS"
10576 if test -n "$GPHOTO2_CFLAGS"; then :
10578 elif test -n "$PKG_CONFIG"; then :
10579 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
10581 GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
10582 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
10583 if test -n "$GPHOTO2_LIBS"; then :
10585 elif test -n "$PKG_CONFIG"; then :
10586 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
10588 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
10589 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
10590 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10591 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10593 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10594 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
10595 $as_echo_n "(cached) " >&6
10597 ac_check_lib_save_LIBS
=$LIBS
10598 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
10599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10600 /* end confdefs.h. */
10602 /* Override any GCC internal prototype to avoid an error.
10603 Use char because int might match the return type of a GCC
10604 builtin and then its argument prototype would still apply. */
10608 char gp_camera_new ();
10612 return gp_camera_new ();
10617 if ac_fn_c_try_link
"$LINENO"; then :
10618 ac_cv_lib_gphoto2_gp_camera_new
=yes
10620 ac_cv_lib_gphoto2_gp_camera_new
=no
10622 rm -f core conftest.err conftest.
$ac_objext \
10623 conftest
$ac_exeext conftest.
$ac_ext
10624 LIBS
=$ac_check_lib_save_LIBS
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10627 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10628 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
10630 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10633 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
10637 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
10641 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
10643 elif test -n "$PKG_CONFIG"; then :
10644 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
10646 GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
10647 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
10648 if test -n "$GPHOTO2_PORT_LIBS"; then :
10650 elif test -n "$PKG_CONFIG"; then :
10651 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
10653 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
10654 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
10655 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
10656 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
10658 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
10659 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
10660 $as_echo_n "(cached) " >&6
10662 ac_check_lib_save_LIBS
=$LIBS
10663 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
10664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10665 /* end confdefs.h. */
10667 /* Override any GCC internal prototype to avoid an error.
10668 Use char because int might match the return type of a GCC
10669 builtin and then its argument prototype would still apply. */
10673 char gp_port_info_list_new ();
10677 return gp_port_info_list_new ();
10682 if ac_fn_c_try_link
"$LINENO"; then :
10683 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
10685 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
10687 rm -f core conftest.err conftest.
$ac_objext \
10688 conftest
$ac_exeext conftest.
$ac_ext
10689 LIBS
=$ac_check_lib_save_LIBS
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
10692 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
10693 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
10695 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
10698 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
10702 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
10706 CPPFLAGS
="$ac_save_CPPFLAGS"
10708 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10709 case "x$with_gphoto" in
10710 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10712 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10713 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10716 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
10717 case "x$with_gphoto" in
10718 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
10720 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
10721 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10726 if test "$ac_cv_header_resolv_h" = "yes"
10728 ac_save_LIBS
="$LIBS"
10729 for lib
in '' -lresolv
10731 LIBS
="$lib $ac_save_LIBS"
10732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10733 /* end confdefs.h. */
10734 #ifdef HAVE_NETINET_IN_H
10735 #include <netinet/in.h>
10737 #include <resolv.h>
10741 res_query("foo",ns_c_in,0,0,0);
10746 if ac_fn_c_try_link
"$LINENO"; then :
10748 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10753 rm -f core conftest.err conftest.
$ac_objext \
10754 conftest
$ac_exeext conftest.
$ac_ext
10755 if test "${RESOLVLIBS+set}" = set; then
10759 LIBS
="$ac_save_LIBS"
10762 if test "x$with_lcms2" != "xno"
10764 ac_save_CPPFLAGS
="$CPPFLAGS"
10765 if test -n "$LCMS2_CFLAGS"; then :
10767 elif test -n "$PKG_CONFIG"; then :
10768 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
10771 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
10772 if test -n "$LCMS2_LIBS"; then :
10774 elif test -n "$PKG_CONFIG"; then :
10775 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
10778 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
10779 for ac_header
in lcms2.h
10781 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
10782 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
10783 cat >>confdefs.h
<<_ACEOF
10784 #define HAVE_LCMS2_H 1
10791 if test "$ac_cv_header_lcms2_h" = "yes"
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
10794 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
10795 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
10796 $as_echo_n "(cached) " >&6
10798 ac_check_lib_save_LIBS
=$LIBS
10799 LIBS
="-llcms2 $LIBS"
10800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10801 /* end confdefs.h. */
10803 /* Override any GCC internal prototype to avoid an error.
10804 Use char because int might match the return type of a GCC
10805 builtin and then its argument prototype would still apply. */
10809 char cmsOpenProfileFromFile ();
10813 return cmsOpenProfileFromFile ();
10818 if ac_fn_c_try_link
"$LINENO"; then :
10819 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
10821 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
10823 rm -f core conftest.err conftest.
$ac_objext \
10824 conftest
$ac_exeext conftest.
$ac_ext
10825 LIBS
=$ac_check_lib_save_LIBS
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
10828 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
10829 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
10831 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
10841 CPPFLAGS
="$ac_save_CPPFLAGS"
10843 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
10844 case "x$with_cms" in
10845 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
10847 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
10848 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10852 if test "x$with_freetype" != "xno"
10854 ac_save_CPPFLAGS
="$CPPFLAGS"
10855 if test -n "$FREETYPE_CFLAGS"; then :
10857 elif test -n "$PKG_CONFIG"; then :
10858 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
10860 FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
10861 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
10862 if test -n "$FREETYPE_LIBS"; then :
10864 elif test -n "$PKG_CONFIG"; then :
10865 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
10867 FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
10868 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10870 $as_echo_n "checking for -lfreetype... " >&6; }
10871 if ${ac_cv_lib_soname_freetype+:} false
; then :
10872 $as_echo_n "(cached) " >&6
10874 ac_check_soname_save_LIBS
=$LIBS
10875 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
10876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10877 /* end confdefs.h. */
10879 /* Override any GCC internal prototype to avoid an error.
10880 Use char because int might match the return type of a GCC
10881 builtin and then its argument prototype would still apply. */
10885 char FT_Init_FreeType ();
10889 return FT_Init_FreeType ();
10894 if ac_fn_c_try_link
"$LINENO"; then :
10896 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10897 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'` ;;
10898 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10899 if test "x$ac_cv_lib_soname_freetype" = x
; then :
10900 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10904 rm -f core conftest.err conftest.
$ac_objext \
10905 conftest
$ac_exeext conftest.
$ac_ext
10906 LIBS
=$ac_check_soname_save_LIBS
10908 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10910 $as_echo "not found" >&6; }
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10914 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10916 cat >>confdefs.h
<<_ACEOF
10917 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10922 if test "$ft_lib" = "yes"
10924 for ac_header
in ft2build.h \
10925 freetype
/freetype.h \
10926 freetype
/ftglyph.h \
10927 freetype
/fttypes.h \
10928 freetype
/tttables.h \
10929 freetype
/ftsnames.h \
10930 freetype
/ttnameid.h \
10931 freetype
/ftoutln.h \
10932 freetype
/ftwinfnt.h \
10933 freetype
/ftmodapi.h \
10934 freetype
/ftlcdfil.h
10936 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10937 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10938 # include <ft2build.h>
10941 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10942 cat >>confdefs.h
<<_ACEOF
10943 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10951 /* end confdefs.h. */
10952 #include <ft2build.h>
10953 #include <freetype/fttrigon.h>
10955 if ac_fn_c_try_cpp
"$LINENO"; then :
10957 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10959 wine_cv_fttrigon
=yes
10961 wine_cv_fttrigon
=no
10963 rm -f conftest.err conftest.i conftest.
$ac_ext
10964 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10966 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
10968 cat >>confdefs.h
<<_ACEOF
10969 #define HAVE_FT_TRUETYPEENGINETYPE 1
10975 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10978 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10986 CPPFLAGS
="$ac_save_CPPFLAGS"
10988 if test "x$ac_cv_header_freetype_freetype_h" != xyes
-o "x$wine_cv_fttrigon" != xyes
; then :
10989 case "x$with_freetype" in
10991 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10992 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10995 test "x$ac_cv_header_freetype_freetype_h" = xyes
-a "x$wine_cv_fttrigon" = xyes || enable_fonts
=${enable_fonts:-no}
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10998 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10999 if ${ac_cv_c_ppdev+:} false
; then :
11000 $as_echo_n "(cached) " >&6
11002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11003 /* end confdefs.h. */
11004 #ifdef HAVE_SYS_IOCTL_H
11005 # include <sys/ioctl.h>
11007 #include <linux/ppdev.h>
11011 ioctl (1,PPCLAIM,0)
11016 if ac_fn_c_try_compile
"$LINENO"; then :
11017 ac_cv_c_ppdev
="yes"
11021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11024 $as_echo "$ac_cv_c_ppdev" >&6; }
11025 if test "$ac_cv_c_ppdev" = "yes"
11028 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11032 ac_wine_check_funcs_save_LIBS
="$LIBS"
11033 LIBS
="$LIBS $LIBPTHREAD"
11035 pthread_attr_get_np \
11036 pthread_getattr_np \
11037 pthread_getthreadid_np \
11038 pthread_get_stackaddr_np \
11039 pthread_get_stacksize_np
11041 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11042 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11043 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11044 cat >>confdefs.h
<<_ACEOF
11045 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11051 LIBS
="$ac_wine_check_funcs_save_LIBS"
11053 if test "$ac_cv_header_zlib_h" = "yes"
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11056 $as_echo_n "checking for inflate in -lz... " >&6; }
11057 if ${ac_cv_lib_z_inflate+:} false
; then :
11058 $as_echo_n "(cached) " >&6
11060 ac_check_lib_save_LIBS
=$LIBS
11062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11065 /* Override any GCC internal prototype to avoid an error.
11066 Use char because int might match the return type of a GCC
11067 builtin and then its argument prototype would still apply. */
11080 if ac_fn_c_try_link
"$LINENO"; then :
11081 ac_cv_lib_z_inflate
=yes
11083 ac_cv_lib_z_inflate
=no
11085 rm -f core conftest.err conftest.
$ac_objext \
11086 conftest
$ac_exeext conftest.
$ac_ext
11087 LIBS
=$ac_check_lib_save_LIBS
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11090 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11091 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
11093 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11100 if test "x$ZLIB" = "x"; then :
11101 case "x$with_zlib" in
11102 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11104 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
11105 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11109 if test "x$enable_tools" != xno
11111 if test "$ac_cv_header_gettext_po_h" = "yes"
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11114 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11115 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
11116 $as_echo_n "(cached) " >&6
11118 ac_check_lib_save_LIBS
=$LIBS
11119 LIBS
="-lgettextpo $LIBS"
11120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11121 /* end confdefs.h. */
11123 /* Override any GCC internal prototype to avoid an error.
11124 Use char because int might match the return type of a GCC
11125 builtin and then its argument prototype would still apply. */
11129 char po_message_msgctxt ();
11133 return po_message_msgctxt ();
11138 if ac_fn_c_try_link
"$LINENO"; then :
11139 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
11141 ac_cv_lib_gettextpo_po_message_msgctxt
=no
11143 rm -f core conftest.err conftest.
$ac_objext \
11144 conftest
$ac_exeext conftest.
$ac_ext
11145 LIBS
=$ac_check_lib_save_LIBS
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11148 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11149 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
11151 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11153 LIBGETTEXTPO
="-lgettextpo"
11158 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
11159 case "x$with_gettextpo" in
11160 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11162 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11163 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11168 if test "x$with_gstreamer" != "xno"
11170 ac_save_CPPFLAGS
="$CPPFLAGS"
11171 if test -n "$GSTREAMER_CFLAGS"; then :
11173 elif test -n "$PKG_CONFIG"; then :
11174 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11177 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
11178 if test -n "$GSTREAMER_LIBS"; then :
11180 elif test -n "$PKG_CONFIG"; then :
11181 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11186 for i
in $GSTREAMER_CFLAGS
11189 -I*) ac_gst_incl
="$ac_gst_incl $i";;
11192 GSTREAMER_CFLAGS
=$ac_gst_incl
11193 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11194 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11195 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
11196 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11197 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11199 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11202 #include <gst/app/gstappsink.h>
11206 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11211 if ac_fn_c_try_compile
"$LINENO"; then :
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11213 $as_echo "yes" >&6; }
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11215 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11216 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
11217 $as_echo_n "(cached) " >&6
11219 ac_check_lib_save_LIBS
=$LIBS
11220 LIBS
="-lgstreamer-0.10 $LIBS"
11221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11222 /* end confdefs.h. */
11224 /* Override any GCC internal prototype to avoid an error.
11225 Use char because int might match the return type of a GCC
11226 builtin and then its argument prototype would still apply. */
11230 char gst_pad_get_caps_reffed ();
11234 return gst_pad_get_caps_reffed ();
11239 if ac_fn_c_try_link
"$LINENO"; then :
11240 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
11242 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
11244 rm -f core conftest.err conftest.
$ac_objext \
11245 conftest
$ac_exeext conftest.
$ac_ext
11246 LIBS
=$ac_check_lib_save_LIBS
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11249 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11250 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11252 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11253 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
11254 $as_echo_n "(cached) " >&6
11256 ac_check_lib_save_LIBS
=$LIBS
11257 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11259 /* end confdefs.h. */
11261 /* Override any GCC internal prototype to avoid an error.
11262 Use char because int might match the return type of a GCC
11263 builtin and then its argument prototype would still apply. */
11267 char gst_app_buffer_new ();
11271 return gst_app_buffer_new ();
11276 if ac_fn_c_try_link
"$LINENO"; then :
11277 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
11279 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
11281 rm -f core conftest.err conftest.
$ac_objext \
11282 conftest
$ac_exeext conftest.
$ac_ext
11283 LIBS
=$ac_check_lib_save_LIBS
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11286 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11287 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11295 $as_echo "no" >&6; }
11297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11302 GSTREAMER_CFLAGS
=""
11306 CPPFLAGS
="$ac_save_CPPFLAGS"
11308 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
11309 case "x$with_gstreamer" in
11310 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11312 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11313 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11316 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
11320 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11323 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11324 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
11325 $as_echo_n "(cached) " >&6
11327 ac_check_lib_save_LIBS
=$LIBS
11328 LIBS
="-lasound $LIBS"
11329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11330 /* end confdefs.h. */
11332 /* Override any GCC internal prototype to avoid an error.
11333 Use char because int might match the return type of a GCC
11334 builtin and then its argument prototype would still apply. */
11338 char snd_pcm_hw_params_get_access_mask ();
11342 return snd_pcm_hw_params_get_access_mask ();
11347 if ac_fn_c_try_link
"$LINENO"; then :
11348 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
11350 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
11352 rm -f core conftest.err conftest.
$ac_objext \
11353 conftest
$ac_exeext conftest.
$ac_ext
11354 LIBS
=$ac_check_lib_save_LIBS
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11357 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11358 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
11359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11360 /* end confdefs.h. */
11361 #ifdef HAVE_ALSA_ASOUNDLIB_H
11362 #include <alsa/asoundlib.h>
11363 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11364 #include <sys/asoundlib.h>
11369 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11374 if ac_fn_c_try_compile
"$LINENO"; then :
11375 ALSALIBS
="-lasound"
11377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11382 if test "x$with_oss" != xno
11384 ac_save_CPPFLAGS
="$CPPFLAGS"
11385 if test -f /etc
/oss.conf
11389 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11390 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
11391 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11392 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
11393 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11395 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
11397 cat >>confdefs.h
<<_ACEOF
11398 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11401 OSS4INCL
="$ac_oss_incl"
11408 CPPFLAGS
="$ac_save_CPPFLAGS"
11409 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11411 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11416 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11419 $as_echo_n "checking for -lcapi20... " >&6; }
11420 if ${ac_cv_lib_soname_capi20+:} false
; then :
11421 $as_echo_n "(cached) " >&6
11423 ac_check_soname_save_LIBS
=$LIBS
11424 LIBS
="-lcapi20 $LIBS"
11425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11426 /* end confdefs.h. */
11428 /* Override any GCC internal prototype to avoid an error.
11429 Use char because int might match the return type of a GCC
11430 builtin and then its argument prototype would still apply. */
11434 char capi20_register ();
11438 return capi20_register ();
11443 if ac_fn_c_try_link
"$LINENO"; then :
11445 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11446 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'` ;;
11447 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11448 if test "x$ac_cv_lib_soname_capi20" = x
; then :
11449 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11453 rm -f core conftest.err conftest.
$ac_objext \
11454 conftest
$ac_exeext conftest.
$ac_ext
11455 LIBS
=$ac_check_soname_save_LIBS
11457 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11459 $as_echo "not found" >&6; }
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11463 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11465 cat >>confdefs.h
<<_ACEOF
11466 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11472 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11473 case "x$with_capi" in
11474 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11476 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11477 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11483 if test "x$with_cups" != "xno"
11485 ac_save_CPPFLAGS
="$CPPFLAGS"
11486 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
11487 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
11488 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
11489 for ac_header
in cups
/cups.h
11491 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11492 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
11493 cat >>confdefs.h
<<_ACEOF
11494 #define HAVE_CUPS_CUPS_H 1
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11497 $as_echo_n "checking for -lcups... " >&6; }
11498 if ${ac_cv_lib_soname_cups+:} false
; then :
11499 $as_echo_n "(cached) " >&6
11501 ac_check_soname_save_LIBS
=$LIBS
11502 LIBS
="-lcups $ac_cups_libs $LIBS"
11503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11504 /* end confdefs.h. */
11506 /* Override any GCC internal prototype to avoid an error.
11507 Use char because int might match the return type of a GCC
11508 builtin and then its argument prototype would still apply. */
11512 char cupsGetDefault ();
11516 return cupsGetDefault ();
11521 if ac_fn_c_try_link
"$LINENO"; then :
11523 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11524 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'` ;;
11525 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11526 if test "x$ac_cv_lib_soname_cups" = x
; then :
11527 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11531 rm -f core conftest.err conftest.
$ac_objext \
11532 conftest
$ac_exeext conftest.
$ac_ext
11533 LIBS
=$ac_check_soname_save_LIBS
11535 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11537 $as_echo "not found" >&6; }
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11541 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11543 cat >>confdefs.h
<<_ACEOF
11544 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11547 CUPSINCL
="$ac_cups_cflags"
11553 CPPFLAGS
="$ac_save_CPPFLAGS"
11555 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11556 case "x$with_cups" in
11557 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11559 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
11560 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11564 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11567 $as_echo_n "checking for -lfontconfig... " >&6; }
11568 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11569 $as_echo_n "(cached) " >&6
11571 ac_check_soname_save_LIBS
=$LIBS
11572 LIBS
="-lfontconfig $LIBS"
11573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11574 /* end confdefs.h. */
11576 /* Override any GCC internal prototype to avoid an error.
11577 Use char because int might match the return type of a GCC
11578 builtin and then its argument prototype would still apply. */
11591 if ac_fn_c_try_link
"$LINENO"; then :
11593 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11594 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'` ;;
11595 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11596 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11597 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11601 rm -f core conftest.err conftest.
$ac_objext \
11602 conftest
$ac_exeext conftest.
$ac_ext
11603 LIBS
=$ac_check_soname_save_LIBS
11605 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11607 $as_echo "not found" >&6; }
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11611 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11613 cat >>confdefs.h
<<_ACEOF
11614 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11619 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11621 ac_save_CPPFLAGS
="$CPPFLAGS"
11622 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11623 $as_unset ac_cv_header_fontconfig_fontconfig_h
11624 for ac_header
in fontconfig
/fontconfig.h
11626 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11627 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
11628 cat >>confdefs.h
<<_ACEOF
11629 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11636 CPPFLAGS
="$ac_save_CPPFLAGS"
11637 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11639 FONTCONFIGINCL
="$X_CFLAGS"
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11642 $as_echo_n "checking for -lfontconfig... " >&6; }
11643 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11644 $as_echo_n "(cached) " >&6
11646 ac_check_soname_save_LIBS
=$LIBS
11647 LIBS
="-lfontconfig $X_LIBS $LIBS"
11648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11649 /* end confdefs.h. */
11651 /* Override any GCC internal prototype to avoid an error.
11652 Use char because int might match the return type of a GCC
11653 builtin and then its argument prototype would still apply. */
11666 if ac_fn_c_try_link
"$LINENO"; then :
11668 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11669 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'` ;;
11670 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11671 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11672 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11676 rm -f core conftest.err conftest.
$ac_objext \
11677 conftest
$ac_exeext conftest.
$ac_ext
11678 LIBS
=$ac_check_soname_save_LIBS
11680 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11682 $as_echo "not found" >&6; }
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11686 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11688 cat >>confdefs.h
<<_ACEOF
11689 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11696 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11697 case "x$with_fontconfig" in
11698 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11700 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11701 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11705 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11708 $as_echo_n "checking for -lgsm... " >&6; }
11709 if ${ac_cv_lib_soname_gsm+:} false
; then :
11710 $as_echo_n "(cached) " >&6
11712 ac_check_soname_save_LIBS
=$LIBS
11714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11715 /* end confdefs.h. */
11717 /* Override any GCC internal prototype to avoid an error.
11718 Use char because int might match the return type of a GCC
11719 builtin and then its argument prototype would still apply. */
11723 char gsm_create ();
11727 return gsm_create ();
11732 if ac_fn_c_try_link
"$LINENO"; then :
11734 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11735 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'` ;;
11736 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11737 if test "x$ac_cv_lib_soname_gsm" = x
; then :
11738 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11742 rm -f core conftest.err conftest.
$ac_objext \
11743 conftest
$ac_exeext conftest.
$ac_ext
11744 LIBS
=$ac_check_soname_save_LIBS
11746 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11748 $as_echo "not found" >&6; }
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11752 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11754 cat >>confdefs.h
<<_ACEOF
11755 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11761 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11762 case "x$with_gsm" in
11763 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11765 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11766 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11770 if test "$ac_cv_header_jpeglib_h" = "yes"
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11773 $as_echo_n "checking for -ljpeg... " >&6; }
11774 if ${ac_cv_lib_soname_jpeg+:} false
; then :
11775 $as_echo_n "(cached) " >&6
11777 ac_check_soname_save_LIBS
=$LIBS
11778 LIBS
="-ljpeg $LIBS"
11779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11780 /* end confdefs.h. */
11782 /* Override any GCC internal prototype to avoid an error.
11783 Use char because int might match the return type of a GCC
11784 builtin and then its argument prototype would still apply. */
11788 char jpeg_start_decompress ();
11792 return jpeg_start_decompress ();
11797 if ac_fn_c_try_link
"$LINENO"; then :
11799 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11800 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'` ;;
11801 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11802 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
11803 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11807 rm -f core conftest.err conftest.
$ac_objext \
11808 conftest
$ac_exeext conftest.
$ac_ext
11809 LIBS
=$ac_check_soname_save_LIBS
11811 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11813 $as_echo "not found" >&6; }
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11817 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11819 cat >>confdefs.h
<<_ACEOF
11820 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11826 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11827 case "x$with_jpeg" in
11828 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11830 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11831 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11835 if test "x$with_png" != "xno"
11837 ac_save_CPPFLAGS
="$CPPFLAGS"
11838 if test -n "$PNG_CFLAGS"; then :
11840 elif test -n "$PKG_CONFIG"; then :
11841 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
11843 PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
11844 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
11845 if test -n "$PNG_LIBS"; then :
11847 elif test -n "$PKG_CONFIG"; then :
11848 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
11850 PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
11852 for ac_header
in png.h
11854 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11855 if test "x$ac_cv_header_png_h" = xyes
; then :
11856 cat >>confdefs.h
<<_ACEOF
11857 #define HAVE_PNG_H 1
11864 if test "$ac_cv_header_png_h" = "yes"
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11867 $as_echo_n "checking for -lpng... " >&6; }
11868 if ${ac_cv_lib_soname_png+:} false
; then :
11869 $as_echo_n "(cached) " >&6
11871 ac_check_soname_save_LIBS
=$LIBS
11872 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
11873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11874 /* end confdefs.h. */
11876 /* Override any GCC internal prototype to avoid an error.
11877 Use char because int might match the return type of a GCC
11878 builtin and then its argument prototype would still apply. */
11882 char png_create_read_struct ();
11886 return png_create_read_struct ();
11891 if ac_fn_c_try_link
"$LINENO"; then :
11893 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11894 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'` ;;
11895 *) 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'`
11896 if test "x$ac_cv_lib_soname_png" = x
; then :
11897 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11901 rm -f core conftest.err conftest.
$ac_objext \
11902 conftest
$ac_exeext conftest.
$ac_ext
11903 LIBS
=$ac_check_soname_save_LIBS
11905 if test "x$ac_cv_lib_soname_png" = "x"; then :
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11907 $as_echo "not found" >&6; }
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11911 $as_echo "$ac_cv_lib_soname_png" >&6; }
11913 cat >>confdefs.h
<<_ACEOF
11914 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11918 /* end confdefs.h. */
11923 typeof(png_set_expand_gray_1_2_4_to_8) *p
11928 if ac_fn_c_try_compile
"$LINENO"; then :
11930 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11938 CPPFLAGS
="$ac_save_CPPFLAGS"
11940 if test "x$ac_cv_lib_soname_png" = "x"; then :
11941 case "x$with_png" in
11942 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11944 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
11945 This is an error since --with-png was requested." "$LINENO" 5 ;;
11949 if test "$ac_cv_header_tiffio_h" = "yes"
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11952 $as_echo_n "checking for -ltiff... " >&6; }
11953 if ${ac_cv_lib_soname_tiff+:} false
; then :
11954 $as_echo_n "(cached) " >&6
11956 ac_check_soname_save_LIBS
=$LIBS
11957 LIBS
="-ltiff $LIBS"
11958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11959 /* end confdefs.h. */
11961 /* Override any GCC internal prototype to avoid an error.
11962 Use char because int might match the return type of a GCC
11963 builtin and then its argument prototype would still apply. */
11967 char TIFFClientOpen ();
11971 return TIFFClientOpen ();
11976 if ac_fn_c_try_link
"$LINENO"; then :
11978 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11979 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'` ;;
11980 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11981 if test "x$ac_cv_lib_soname_tiff" = x
; then :
11982 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11986 rm -f core conftest.err conftest.
$ac_objext \
11987 conftest
$ac_exeext conftest.
$ac_ext
11988 LIBS
=$ac_check_soname_save_LIBS
11990 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11992 $as_echo "not found" >&6; }
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11996 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11998 cat >>confdefs.h
<<_ACEOF
11999 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12005 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12006 case "x$with_tiff" in
12007 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12009 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
12010 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12014 if test "$ac_cv_header_mpg123_h" = "yes"
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12017 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12018 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
12019 $as_echo_n "(cached) " >&6
12021 ac_check_lib_save_LIBS
=$LIBS
12022 LIBS
="-lmpg123 $LIBS"
12023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12024 /* end confdefs.h. */
12026 /* Override any GCC internal prototype to avoid an error.
12027 Use char because int might match the return type of a GCC
12028 builtin and then its argument prototype would still apply. */
12032 char mpg123_feed ();
12036 return mpg123_feed ();
12041 if ac_fn_c_try_link
"$LINENO"; then :
12042 ac_cv_lib_mpg123_mpg123_feed
=yes
12044 ac_cv_lib_mpg123_mpg123_feed
=no
12046 rm -f core conftest.err conftest.
$ac_objext \
12047 conftest
$ac_exeext conftest.
$ac_ext
12048 LIBS
=$ac_check_lib_save_LIBS
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12051 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12052 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
12053 LIBMPG123
="-lmpg123"
12058 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
12059 case "x$with_mpg123" in
12060 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12062 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12063 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12066 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}
12068 if test "$ac_cv_header_AL_al_h" = "yes"
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12071 $as_echo_n "checking for -lopenal... " >&6; }
12072 if ${ac_cv_lib_soname_openal+:} false
; then :
12073 $as_echo_n "(cached) " >&6
12075 ac_check_soname_save_LIBS
=$LIBS
12076 LIBS
="-lopenal $LIBS"
12077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12078 /* end confdefs.h. */
12080 /* Override any GCC internal prototype to avoid an error.
12081 Use char because int might match the return type of a GCC
12082 builtin and then its argument prototype would still apply. */
12086 char alGetSource3i ();
12090 return alGetSource3i ();
12095 if ac_fn_c_try_link
"$LINENO"; then :
12097 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12098 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'` ;;
12099 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12100 if test "x$ac_cv_lib_soname_openal" = x
; then :
12101 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12105 rm -f core conftest.err conftest.
$ac_objext \
12106 conftest
$ac_exeext conftest.
$ac_ext
12107 LIBS
=$ac_check_soname_save_LIBS
12109 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12111 $as_echo "not found" >&6; }
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12115 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12117 cat >>confdefs.h
<<_ACEOF
12118 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12121 LIBOPENAL
="-lopenal"
12123 ac_cv_lib_openal
=yes
12125 cat >>confdefs.h
<<_ACEOF
12126 #define HAVE_OPENAL 1
12131 if test "x$ac_cv_lib_openal" != xyes
; then :
12132 case "x$with_openal" in
12133 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12135 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12136 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12139 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
12141 if test "$ac_cv_header_kstat_h" = "yes"
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12144 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12145 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
12146 $as_echo_n "(cached) " >&6
12148 ac_check_lib_save_LIBS
=$LIBS
12149 LIBS
="-lkstat $LIBS"
12150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h. */
12153 /* Override any GCC internal prototype to avoid an error.
12154 Use char because int might match the return type of a GCC
12155 builtin and then its argument prototype would still apply. */
12159 char kstat_open ();
12163 return kstat_open ();
12168 if ac_fn_c_try_link
"$LINENO"; then :
12169 ac_cv_lib_kstat_kstat_open
=yes
12171 ac_cv_lib_kstat_kstat_open
=no
12173 rm -f core conftest.err conftest.
$ac_objext \
12174 conftest
$ac_exeext conftest.
$ac_ext
12175 LIBS
=$ac_check_lib_save_LIBS
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12178 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12179 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
12181 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12190 $as_echo_n "checking for -lodbc... " >&6; }
12191 if ${ac_cv_lib_soname_odbc+:} false
; then :
12192 $as_echo_n "(cached) " >&6
12194 ac_check_soname_save_LIBS
=$LIBS
12195 LIBS
="-lodbc $LIBS"
12196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12197 /* end confdefs.h. */
12199 /* Override any GCC internal prototype to avoid an error.
12200 Use char because int might match the return type of a GCC
12201 builtin and then its argument prototype would still apply. */
12205 char SQLConnect ();
12209 return SQLConnect ();
12214 if ac_fn_c_try_link
"$LINENO"; then :
12216 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12217 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'` ;;
12218 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12219 if test "x$ac_cv_lib_soname_odbc" = x
; then :
12220 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12224 rm -f core conftest.err conftest.
$ac_objext \
12225 conftest
$ac_exeext conftest.
$ac_ext
12226 LIBS
=$ac_check_soname_save_LIBS
12228 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12230 $as_echo "not found" >&6; }
12231 cat >>confdefs.h
<<_ACEOF
12232 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12237 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12239 cat >>confdefs.h
<<_ACEOF
12240 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12246 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12247 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
12248 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
12249 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
12251 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12252 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
12253 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12255 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
12261 if test "x${GCC}" = "xyes"
12263 EXTRACFLAGS
="-Wall -pipe"
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12266 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12267 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
12268 $as_echo_n "(cached) " >&6
12270 if test "$cross_compiling" = yes; then :
12271 ac_cv_c_gcc_strength_bug
="yes"
12273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12274 /* end confdefs.h. */
12275 int L[4] = {0,1,2,3};
12279 static int Array[3];
12280 unsigned int B = 3;
12282 for(i=0; i<B; i++) Array[i] = i - 3;
12283 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12285 return (Array[1] != -2 || L[2] != 3)
12290 if ac_fn_c_try_run
"$LINENO"; then :
12291 ac_cv_c_gcc_strength_bug
="no"
12293 ac_cv_c_gcc_strength_bug
="yes"
12295 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12296 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12301 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12302 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12304 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12308 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12309 if ${ac_cv_cflags__fno_builtin+:} false
; then :
12310 $as_echo_n "(cached) " >&6
12312 ac_wine_try_cflags_saved
=$CFLAGS
12313 CFLAGS
="$CFLAGS -fno-builtin"
12314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12315 /* end confdefs.h. */
12316 int main(int argc, char **argv) { return 0; }
12318 if ac_fn_c_try_link
"$LINENO"; then :
12319 ac_cv_cflags__fno_builtin
=yes
12321 ac_cv_cflags__fno_builtin
=no
12323 rm -f core conftest.err conftest.
$ac_objext \
12324 conftest
$ac_exeext conftest.
$ac_ext
12325 CFLAGS
=$ac_wine_try_cflags_saved
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12328 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12329 if test $ac_cv_cflags__fno_builtin = yes; then :
12330 BUILTINFLAG
="-fno-builtin"
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12334 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12335 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
12336 $as_echo_n "(cached) " >&6
12338 ac_wine_try_cflags_saved
=$CFLAGS
12339 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12341 /* end confdefs.h. */
12342 int main(int argc, char **argv) { return 0; }
12344 if ac_fn_c_try_link
"$LINENO"; then :
12345 ac_cv_cflags__fno_strict_aliasing
=yes
12347 ac_cv_cflags__fno_strict_aliasing
=no
12349 rm -f core conftest.err conftest.
$ac_objext \
12350 conftest
$ac_exeext conftest.
$ac_ext
12351 CFLAGS
=$ac_wine_try_cflags_saved
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12354 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12355 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12356 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12358 saved_CFLAGS
=$CFLAGS
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
12360 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
12361 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
12362 $as_echo_n "(cached) " >&6
12364 ac_wine_try_cflags_saved
=$CFLAGS
12365 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
12366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12367 /* end confdefs.h. */
12368 int main(int argc, char **argv) { return 0; }
12370 if ac_fn_c_try_link
"$LINENO"; then :
12371 ac_cv_cflags__Werror_unknown_warning_option
=yes
12373 ac_cv_cflags__Werror_unknown_warning_option
=no
12375 rm -f core conftest.err conftest.
$ac_objext \
12376 conftest
$ac_exeext conftest.
$ac_ext
12377 CFLAGS
=$ac_wine_try_cflags_saved
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
12380 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
12381 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
12382 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12385 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12386 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
12387 $as_echo_n "(cached) " >&6
12389 ac_wine_try_cflags_saved
=$CFLAGS
12390 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12392 /* end confdefs.h. */
12393 int main(int argc, char **argv) { return 0; }
12395 if ac_fn_c_try_link
"$LINENO"; then :
12396 ac_cv_cflags__Wdeclaration_after_statement
=yes
12398 ac_cv_cflags__Wdeclaration_after_statement
=no
12400 rm -f core conftest.err conftest.
$ac_objext \
12401 conftest
$ac_exeext conftest.
$ac_ext
12402 CFLAGS
=$ac_wine_try_cflags_saved
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12405 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12406 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12407 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12410 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12411 if ${ac_cv_cflags__Wempty_body+:} false
; then :
12412 $as_echo_n "(cached) " >&6
12414 ac_wine_try_cflags_saved
=$CFLAGS
12415 CFLAGS
="$CFLAGS -Wempty-body"
12416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12417 /* end confdefs.h. */
12418 int main(int argc, char **argv) { return 0; }
12420 if ac_fn_c_try_link
"$LINENO"; then :
12421 ac_cv_cflags__Wempty_body
=yes
12423 ac_cv_cflags__Wempty_body
=no
12425 rm -f core conftest.err conftest.
$ac_objext \
12426 conftest
$ac_exeext conftest.
$ac_ext
12427 CFLAGS
=$ac_wine_try_cflags_saved
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12430 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12431 if test $ac_cv_cflags__Wempty_body = yes; then :
12432 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12435 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12436 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
12437 $as_echo_n "(cached) " >&6
12439 ac_wine_try_cflags_saved
=$CFLAGS
12440 CFLAGS
="$CFLAGS -Wignored-qualifiers"
12441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12442 /* end confdefs.h. */
12443 int main(int argc, char **argv) { return 0; }
12445 if ac_fn_c_try_link
"$LINENO"; then :
12446 ac_cv_cflags__Wignored_qualifiers
=yes
12448 ac_cv_cflags__Wignored_qualifiers
=no
12450 rm -f core conftest.err conftest.
$ac_objext \
12451 conftest
$ac_exeext conftest.
$ac_ext
12452 CFLAGS
=$ac_wine_try_cflags_saved
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12455 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12456 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12457 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12460 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12461 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
12462 $as_echo_n "(cached) " >&6
12464 ac_wine_try_cflags_saved
=$CFLAGS
12465 CFLAGS
="$CFLAGS -Wstrict-prototypes"
12466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12467 /* end confdefs.h. */
12468 int main(int argc, char **argv) { return 0; }
12470 if ac_fn_c_try_link
"$LINENO"; then :
12471 ac_cv_cflags__Wstrict_prototypes
=yes
12473 ac_cv_cflags__Wstrict_prototypes
=no
12475 rm -f core conftest.err conftest.
$ac_objext \
12476 conftest
$ac_exeext conftest.
$ac_ext
12477 CFLAGS
=$ac_wine_try_cflags_saved
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12480 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12481 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12482 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12485 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12486 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
12487 $as_echo_n "(cached) " >&6
12489 ac_wine_try_cflags_saved
=$CFLAGS
12490 CFLAGS
="$CFLAGS -Wtype-limits"
12491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12493 int main(int argc, char **argv) { return 0; }
12495 if ac_fn_c_try_link
"$LINENO"; then :
12496 ac_cv_cflags__Wtype_limits
=yes
12498 ac_cv_cflags__Wtype_limits
=no
12500 rm -f core conftest.err conftest.
$ac_objext \
12501 conftest
$ac_exeext conftest.
$ac_ext
12502 CFLAGS
=$ac_wine_try_cflags_saved
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12505 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12506 if test $ac_cv_cflags__Wtype_limits = yes; then :
12507 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12510 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12511 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
12512 $as_echo_n "(cached) " >&6
12514 ac_wine_try_cflags_saved
=$CFLAGS
12515 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
12516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12517 /* end confdefs.h. */
12518 int main(int argc, char **argv) { return 0; }
12520 if ac_fn_c_try_link
"$LINENO"; then :
12521 ac_cv_cflags__Wunused_but_set_parameter
=yes
12523 ac_cv_cflags__Wunused_but_set_parameter
=no
12525 rm -f core conftest.err conftest.
$ac_objext \
12526 conftest
$ac_exeext conftest.
$ac_ext
12527 CFLAGS
=$ac_wine_try_cflags_saved
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12530 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12531 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12532 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12535 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12536 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
12537 $as_echo_n "(cached) " >&6
12539 ac_wine_try_cflags_saved
=$CFLAGS
12540 CFLAGS
="$CFLAGS -Wwrite-strings"
12541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12543 int main(int argc, char **argv) { return 0; }
12545 if ac_fn_c_try_link
"$LINENO"; then :
12546 ac_cv_cflags__Wwrite_strings
=yes
12548 ac_cv_cflags__Wwrite_strings
=no
12550 rm -f core conftest.err conftest.
$ac_objext \
12551 conftest
$ac_exeext conftest.
$ac_ext
12552 CFLAGS
=$ac_wine_try_cflags_saved
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12555 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12556 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12557 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
12561 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
12562 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
12563 $as_echo_n "(cached) " >&6
12565 ac_wine_try_cflags_saved
=$CFLAGS
12566 CFLAGS
="$CFLAGS -Wpointer-arith"
12567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12569 int main(int argc, char **argv) { return 0; }
12571 if ac_fn_c_try_link
"$LINENO"; then :
12572 ac_cv_cflags__Wpointer_arith
=yes
12574 ac_cv_cflags__Wpointer_arith
=no
12576 rm -f core conftest.err conftest.
$ac_objext \
12577 conftest
$ac_exeext conftest.
$ac_ext
12578 CFLAGS
=$ac_wine_try_cflags_saved
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
12581 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
12582 if test $ac_cv_cflags__Wpointer_arith = yes; then :
12583 saved_string_h_CFLAGS
=$CFLAGS
12584 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12586 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12587 if ${ac_cv_c_string_h_warnings+:} false
; then :
12588 $as_echo_n "(cached) " >&6
12590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12591 /* end confdefs.h. */
12592 #include <string.h>
12601 if ac_fn_c_try_compile
"$LINENO"; then :
12602 ac_cv_c_string_h_warnings
=no
12604 ac_cv_c_string_h_warnings
=yes
12606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12609 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12610 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12611 CFLAGS
=$saved_string_h_CFLAGS
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
12615 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
12616 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
12617 $as_echo_n "(cached) " >&6
12619 ac_wine_try_cflags_saved
=$CFLAGS
12620 CFLAGS
="$CFLAGS -Wlogical-op"
12621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12622 /* end confdefs.h. */
12623 int main(int argc, char **argv) { return 0; }
12625 if ac_fn_c_try_link
"$LINENO"; then :
12626 ac_cv_cflags__Wlogical_op
=yes
12628 ac_cv_cflags__Wlogical_op
=no
12630 rm -f core conftest.err conftest.
$ac_objext \
12631 conftest
$ac_exeext conftest.
$ac_ext
12632 CFLAGS
=$ac_wine_try_cflags_saved
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
12635 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
12636 if test $ac_cv_cflags__Wlogical_op = yes; then :
12637 saved_string_h_CFLAGS
=$CFLAGS
12638 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12640 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12641 if ${ac_cv_c_logicalop_noisy+:} false
; then :
12642 $as_echo_n "(cached) " >&6
12644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12645 /* end confdefs.h. */
12646 #include <string.h>
12647 char*f(const char *h,char n) {return strchr(h,n);}
12656 if ac_fn_c_try_compile
"$LINENO"; then :
12657 ac_cv_c_logicalop_noisy
=no
12659 ac_cv_c_logicalop_noisy
=yes
12661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12664 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12665 CFLAGS
=$saved_string_h_CFLAGS
12666 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12669 CFLAGS
=$saved_CFLAGS
12671 for ac_flag
in $CFLAGS; do
12673 -g) case $host_os in
12674 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12675 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12676 if ${ac_cv_cflags__gstabsp+:} false
; then :
12677 $as_echo_n "(cached) " >&6
12679 ac_wine_try_cflags_saved
=$CFLAGS
12680 CFLAGS
="$CFLAGS -gstabs+"
12681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12682 /* end confdefs.h. */
12683 int main(int argc, char **argv) { return 0; }
12685 if ac_fn_c_try_link
"$LINENO"; then :
12686 ac_cv_cflags__gstabsp
=yes
12688 ac_cv_cflags__gstabsp
=no
12690 rm -f core conftest.err conftest.
$ac_objext \
12691 conftest
$ac_exeext conftest.
$ac_ext
12692 CFLAGS
=$ac_wine_try_cflags_saved
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12695 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12696 if test $ac_cv_cflags__gstabsp = yes; then :
12697 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12699 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12700 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12701 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
12702 $as_echo_n "(cached) " >&6
12704 ac_wine_try_cflags_saved
=$CFLAGS
12705 CFLAGS
="$CFLAGS -gdwarf-2"
12706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12707 /* end confdefs.h. */
12708 int main(int argc, char **argv) { return 0; }
12710 if ac_fn_c_try_link
"$LINENO"; then :
12711 ac_cv_cflags__gdwarf_2
=yes
12713 ac_cv_cflags__gdwarf_2
=no
12715 rm -f core conftest.err conftest.
$ac_objext \
12716 conftest
$ac_exeext conftest.
$ac_ext
12717 CFLAGS
=$ac_wine_try_cflags_saved
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12720 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12721 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12722 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12725 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12726 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
12727 $as_echo_n "(cached) " >&6
12729 ac_wine_try_cflags_saved
=$CFLAGS
12730 CFLAGS
="$CFLAGS -gstrict-dwarf"
12731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12732 /* end confdefs.h. */
12733 int main(int argc, char **argv) { return 0; }
12735 if ac_fn_c_try_link
"$LINENO"; then :
12736 ac_cv_cflags__gstrict_dwarf
=yes
12738 ac_cv_cflags__gstrict_dwarf
=no
12740 rm -f core conftest.err conftest.
$ac_objext \
12741 conftest
$ac_exeext conftest.
$ac_ext
12742 CFLAGS
=$ac_wine_try_cflags_saved
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12745 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12746 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12747 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
12754 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12755 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12756 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
12757 $as_echo_n "(cached) " >&6
12759 ac_wine_try_cflags_saved
=$CFLAGS
12760 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
12761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12762 /* end confdefs.h. */
12763 int main(int argc, char **argv) { return 0; }
12765 if ac_fn_c_try_link
"$LINENO"; then :
12766 ac_cv_cflags__fno_omit_frame_pointer
=yes
12768 ac_cv_cflags__fno_omit_frame_pointer
=no
12770 rm -f core conftest.err conftest.
$ac_objext \
12771 conftest
$ac_exeext conftest.
$ac_ext
12772 CFLAGS
=$ac_wine_try_cflags_saved
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12775 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12776 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12777 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
12782 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12783 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12784 if ${ac_cv_cflags__Wno_format+:} false
; then :
12785 $as_echo_n "(cached) " >&6
12787 ac_wine_try_cflags_saved
=$CFLAGS
12788 CFLAGS
="$CFLAGS -Wno-format"
12789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12790 /* end confdefs.h. */
12791 int main(int argc, char **argv) { return 0; }
12793 if ac_fn_c_try_link
"$LINENO"; then :
12794 ac_cv_cflags__Wno_format
=yes
12796 ac_cv_cflags__Wno_format
=no
12798 rm -f core conftest.err conftest.
$ac_objext \
12799 conftest
$ac_exeext conftest.
$ac_ext
12800 CFLAGS
=$ac_wine_try_cflags_saved
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12803 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12804 if test $ac_cv_cflags__Wno_format = yes; then :
12805 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
12809 if test "x$enable_maintainer_mode" = "xyes"
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12812 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12813 if ${ac_cv_cflags__Werror+:} false
; then :
12814 $as_echo_n "(cached) " >&6
12816 ac_wine_try_cflags_saved
=$CFLAGS
12817 CFLAGS
="$CFLAGS -Werror"
12818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12819 /* end confdefs.h. */
12820 int main(int argc, char **argv) { return 0; }
12822 if ac_fn_c_try_link
"$LINENO"; then :
12823 ac_cv_cflags__Werror
=yes
12825 ac_cv_cflags__Werror
=no
12827 rm -f core conftest.err conftest.
$ac_objext \
12828 conftest
$ac_exeext conftest.
$ac_ext
12829 CFLAGS
=$ac_wine_try_cflags_saved
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12832 $as_echo "$ac_cv_cflags__Werror" >&6; }
12833 if test $ac_cv_cflags__Werror = yes; then :
12834 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12838 saved_CFLAGS
="$CFLAGS"
12839 CFLAGS
="$CFLAGS -Werror"
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12841 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12842 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
12843 $as_echo_n "(cached) " >&6
12845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h. */
12847 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12856 if ac_fn_c_try_compile
"$LINENO"; then :
12857 ac_cv_have_ms_hook_prologue
="yes"
12859 ac_cv_have_ms_hook_prologue
="no"
12861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12864 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12865 CFLAGS
="$saved_CFLAGS"
12866 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12869 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12872 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12879 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12880 if ${ac_cv_c_fortify_enabled+:} false
; then :
12881 $as_echo_n "(cached) " >&6
12883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12884 /* end confdefs.h. */
12885 #include <string.h>
12889 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12890 #error Fortify enabled
12896 if ac_fn_c_try_compile
"$LINENO"; then :
12897 ac_cv_c_fortify_enabled
=no
12899 ac_cv_c_fortify_enabled
=yes
12901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12904 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12905 if test "$ac_cv_c_fortify_enabled" = yes
12907 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12912 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12913 if ${ac_cv_c_extern_prefix+:} false
; then :
12914 $as_echo_n "(cached) " >&6
12916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12917 /* end confdefs.h. */
12918 extern int ac_test;
12922 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12927 if ac_fn_c_try_link
"$LINENO"; then :
12928 ac_cv_c_extern_prefix
="yes"
12930 ac_cv_c_extern_prefix
="no"
12932 rm -f core conftest.err conftest.
$ac_objext \
12933 conftest
$ac_exeext conftest.
$ac_ext
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12936 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12941 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12942 if ${ac_cv_c_stdcall_suffix+:} false
; then :
12943 $as_echo_n "(cached) " >&6
12945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12946 /* end confdefs.h. */
12948 #define __stdcall __attribute__((__stdcall__))
12950 int __stdcall ac_test(int i) { return i; }
12954 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12959 if ac_fn_c_try_link
"$LINENO"; then :
12960 ac_cv_c_stdcall_suffix
="yes"
12962 ac_cv_c_stdcall_suffix
="no"
12964 rm -f core conftest.err conftest.
$ac_objext \
12965 conftest
$ac_exeext conftest.
$ac_ext
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12968 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12969 *) ac_cv_c_stdcall_suffix
="no" ;;
12973 if test "$ac_cv_c_extern_prefix" = "yes"
12975 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12977 asm_name_prefix
="_"
12979 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12985 if test "$ac_cv_c_stdcall_suffix" = "yes"
12987 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12990 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12996 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12997 if ${ac_cv_asm_func_def+:} false
; then :
12998 $as_echo_n "(cached) " >&6
13000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13001 /* end confdefs.h. */
13006 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13011 if ac_fn_c_try_link
"$LINENO"; then :
13012 ac_cv_asm_func_def
=".def"
13014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13015 /* end confdefs.h. */
13020 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13025 if ac_fn_c_try_link
"$LINENO"; then :
13026 ac_cv_asm_func_def
=".type @function"
13028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13029 /* end confdefs.h. */
13034 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13039 if ac_fn_c_try_link
"$LINENO"; then :
13040 ac_cv_asm_func_def
=".type 2"
13042 ac_cv_asm_func_def
="unknown"
13044 rm -f core conftest.err conftest.
$ac_objext \
13045 conftest
$ac_exeext conftest.
$ac_ext
13047 rm -f core conftest.err conftest.
$ac_objext \
13048 conftest
$ac_exeext conftest.
$ac_ext
13050 rm -f core conftest.err conftest.
$ac_objext \
13051 conftest
$ac_exeext conftest.
$ac_ext
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13054 $as_echo "$ac_cv_asm_func_def" >&6; }
13057 case "$ac_cv_asm_func_def" in
13059 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13061 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13063 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13065 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
13067 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13069 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
13071 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13073 asm_func_header
="" ;;
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13077 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13078 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
13079 $as_echo_n "(cached) " >&6
13081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13082 /* end confdefs.h. */
13083 asm(".text\n\t.long 0");
13092 if ac_fn_c_try_compile
"$LINENO"; then :
13093 ac_cv_c_asm_outside_funcs
="yes"
13095 ac_cv_c_asm_outside_funcs
="no"
13097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13100 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13103 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13104 if ${ac_cv_c_dot_previous+:} false
; then :
13105 $as_echo_n "(cached) " >&6
13107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13108 /* end confdefs.h. */
13113 asm(".text\nac_test:\t.long 0\n\t.previous");
13118 if ac_fn_c_try_link
"$LINENO"; then :
13119 ac_cv_c_dot_previous
="yes"
13121 ac_cv_c_dot_previous
="no"
13123 rm -f core conftest.err conftest.
$ac_objext \
13124 conftest
$ac_exeext conftest.
$ac_ext
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13127 $as_echo "$ac_cv_c_dot_previous" >&6; }
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13130 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13131 if ${ac_cv_c_cfi_support+:} false
; then :
13132 $as_echo_n "(cached) " >&6
13134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13135 /* end confdefs.h. */
13136 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13145 if ac_fn_c_try_compile
"$LINENO"; then :
13146 ac_cv_c_cfi_support
="yes"
13148 ac_cv_c_cfi_support
="no"
13150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13153 $as_echo "$ac_cv_c_cfi_support" >&6; }
13155 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13156 asm_func_trailer
=""
13157 if test "$ac_cv_c_dot_previous" = "yes"
13159 asm_func_trailer
="\\n\\t.previous"
13161 if test "$ac_cv_c_cfi_support" = "yes"
13163 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
13164 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
13166 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13168 UNWINDFLAGS
=-fasynchronous-unwind-tables
13171 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13175 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
13178 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13180 cat >>confdefs.h
<<_ACEOF
13181 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13185 cat >>confdefs.h
<<_ACEOF
13186 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13191 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13194 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13204 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13209 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13215 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
13220 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
13222 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
13229 ac_save_CFLAGS
="$CFLAGS"
13230 CFLAGS
="$CFLAGS $BUILTINFLAG"
13304 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13305 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13306 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13307 cat >>confdefs.h
<<_ACEOF
13308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13314 CFLAGS
="$ac_save_CFLAGS"
13316 if test "$ac_cv_func_dlopen" = no
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13319 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13320 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13321 $as_echo_n "(cached) " >&6
13323 ac_check_lib_save_LIBS
=$LIBS
13325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13326 /* end confdefs.h. */
13328 /* Override any GCC internal prototype to avoid an error.
13329 Use char because int might match the return type of a GCC
13330 builtin and then its argument prototype would still apply. */
13343 if ac_fn_c_try_link
"$LINENO"; then :
13344 ac_cv_lib_dl_dlopen
=yes
13346 ac_cv_lib_dl_dlopen
=no
13348 rm -f core conftest.err conftest.
$ac_objext \
13349 conftest
$ac_exeext conftest.
$ac_ext
13350 LIBS
=$ac_check_lib_save_LIBS
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13353 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13354 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13355 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13361 ac_wine_check_funcs_save_LIBS
="$LIBS"
13362 LIBS
="$LIBS $LIBDL"
13363 for ac_func
in dladdr
13365 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
13366 if test "x$ac_cv_func_dladdr" = xyes
; then :
13367 cat >>confdefs.h
<<_ACEOF
13368 #define HAVE_DLADDR 1
13374 LIBS
="$ac_wine_check_funcs_save_LIBS"
13376 if test "$ac_cv_func_poll" = no
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13379 $as_echo_n "checking for poll in -lpoll... " >&6; }
13380 if ${ac_cv_lib_poll_poll+:} false
; then :
13381 $as_echo_n "(cached) " >&6
13383 ac_check_lib_save_LIBS
=$LIBS
13384 LIBS
="-lpoll $LIBS"
13385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13386 /* end confdefs.h. */
13388 /* Override any GCC internal prototype to avoid an error.
13389 Use char because int might match the return type of a GCC
13390 builtin and then its argument prototype would still apply. */
13403 if ac_fn_c_try_link
"$LINENO"; then :
13404 ac_cv_lib_poll_poll
=yes
13406 ac_cv_lib_poll_poll
=no
13408 rm -f core conftest.err conftest.
$ac_objext \
13409 conftest
$ac_exeext conftest.
$ac_ext
13410 LIBS
=$ac_check_lib_save_LIBS
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13413 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13414 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
13415 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13423 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13424 if ${ac_cv_search_gethostbyname+:} false
; then :
13425 $as_echo_n "(cached) " >&6
13427 ac_func_search_save_LIBS
=$LIBS
13428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13429 /* end confdefs.h. */
13431 /* Override any GCC internal prototype to avoid an error.
13432 Use char because int might match the return type of a GCC
13433 builtin and then its argument prototype would still apply. */
13437 char gethostbyname ();
13441 return gethostbyname ();
13446 for ac_lib
in '' nsl
; do
13447 if test -z "$ac_lib"; then
13448 ac_res
="none required"
13451 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13453 if ac_fn_c_try_link
"$LINENO"; then :
13454 ac_cv_search_gethostbyname
=$ac_res
13456 rm -f core conftest.err conftest.
$ac_objext \
13458 if ${ac_cv_search_gethostbyname+:} false
; then :
13462 if ${ac_cv_search_gethostbyname+:} false
; then :
13465 ac_cv_search_gethostbyname
=no
13467 rm conftest.
$ac_ext
13468 LIBS
=$ac_func_search_save_LIBS
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13471 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13472 ac_res
=$ac_cv_search_gethostbyname
13473 if test "$ac_res" != no
; then :
13474 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13480 $as_echo_n "checking for library containing connect... " >&6; }
13481 if ${ac_cv_search_connect+:} false
; then :
13482 $as_echo_n "(cached) " >&6
13484 ac_func_search_save_LIBS
=$LIBS
13485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13486 /* end confdefs.h. */
13488 /* Override any GCC internal prototype to avoid an error.
13489 Use char because int might match the return type of a GCC
13490 builtin and then its argument prototype would still apply. */
13503 for ac_lib
in '' socket
; do
13504 if test -z "$ac_lib"; then
13505 ac_res
="none required"
13508 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13510 if ac_fn_c_try_link
"$LINENO"; then :
13511 ac_cv_search_connect
=$ac_res
13513 rm -f core conftest.err conftest.
$ac_objext \
13515 if ${ac_cv_search_connect+:} false
; then :
13519 if ${ac_cv_search_connect+:} false
; then :
13522 ac_cv_search_connect
=no
13524 rm conftest.
$ac_ext
13525 LIBS
=$ac_func_search_save_LIBS
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13528 $as_echo "$ac_cv_search_connect" >&6; }
13529 ac_res
=$ac_cv_search_connect
13530 if test "$ac_res" != no
; then :
13531 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13537 $as_echo_n "checking for library containing inet_aton... " >&6; }
13538 if ${ac_cv_search_inet_aton+:} false
; then :
13539 $as_echo_n "(cached) " >&6
13541 ac_func_search_save_LIBS
=$LIBS
13542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13543 /* end confdefs.h. */
13545 /* Override any GCC internal prototype to avoid an error.
13546 Use char because int might match the return type of a GCC
13547 builtin and then its argument prototype would still apply. */
13555 return inet_aton ();
13560 for ac_lib
in '' resolv
; do
13561 if test -z "$ac_lib"; then
13562 ac_res
="none required"
13565 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13567 if ac_fn_c_try_link
"$LINENO"; then :
13568 ac_cv_search_inet_aton
=$ac_res
13570 rm -f core conftest.err conftest.
$ac_objext \
13572 if ${ac_cv_search_inet_aton+:} false
; then :
13576 if ${ac_cv_search_inet_aton+:} false
; then :
13579 ac_cv_search_inet_aton
=no
13581 rm conftest.
$ac_ext
13582 LIBS
=$ac_func_search_save_LIBS
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13585 $as_echo "$ac_cv_search_inet_aton" >&6; }
13586 ac_res
=$ac_cv_search_inet_aton
13587 if test "$ac_res" != no
; then :
13588 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13607 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13608 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13609 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13610 cat >>confdefs.h
<<_ACEOF
13611 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
13620 $as_echo_n "checking for library containing clock_gettime... " >&6; }
13621 if ${ac_cv_search_clock_gettime+:} false
; then :
13622 $as_echo_n "(cached) " >&6
13624 ac_func_search_save_LIBS
=$LIBS
13625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13628 /* Override any GCC internal prototype to avoid an error.
13629 Use char because int might match the return type of a GCC
13630 builtin and then its argument prototype would still apply. */
13634 char clock_gettime ();
13638 return clock_gettime ();
13643 for ac_lib
in '' rt
; do
13644 if test -z "$ac_lib"; then
13645 ac_res
="none required"
13648 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13650 if ac_fn_c_try_link
"$LINENO"; then :
13651 ac_cv_search_clock_gettime
=$ac_res
13653 rm -f core conftest.err conftest.
$ac_objext \
13655 if ${ac_cv_search_clock_gettime+:} false
; then :
13659 if ${ac_cv_search_clock_gettime+:} false
; then :
13662 ac_cv_search_clock_gettime
=no
13664 rm conftest.
$ac_ext
13665 LIBS
=$ac_func_search_save_LIBS
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
13668 $as_echo "$ac_cv_search_clock_gettime" >&6; }
13669 ac_res
=$ac_cv_search_clock_gettime
13670 if test "$ac_res" != no
; then :
13671 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13673 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13675 test "$ac_res" = "none required" || LIBRT
="$ac_res"
13683 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13685 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13687 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13689 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13690 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
13691 $as_echo_n "(cached) " >&6
13693 ac_check_lib_save_LIBS
=$LIBS
13694 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13696 /* end confdefs.h. */
13698 /* Override any GCC internal prototype to avoid an error.
13699 Use char because int might match the return type of a GCC
13700 builtin and then its argument prototype would still apply. */
13704 char ldap_initialize ();
13708 return ldap_initialize ();
13713 if ac_fn_c_try_link
"$LINENO"; then :
13714 ac_cv_lib_ldap_r_ldap_initialize
=yes
13716 ac_cv_lib_ldap_r_ldap_initialize
=no
13718 rm -f core conftest.err conftest.
$ac_objext \
13719 conftest
$ac_exeext conftest.
$ac_ext
13720 LIBS
=$ac_check_lib_save_LIBS
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13723 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13724 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13726 $as_echo_n "checking for ber_init in -llber... " >&6; }
13727 if ${ac_cv_lib_lber_ber_init+:} false
; then :
13728 $as_echo_n "(cached) " >&6
13730 ac_check_lib_save_LIBS
=$LIBS
13731 LIBS
="-llber $LIBPTHREAD $LIBS"
13732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13733 /* end confdefs.h. */
13735 /* Override any GCC internal prototype to avoid an error.
13736 Use char because int might match the return type of a GCC
13737 builtin and then its argument prototype would still apply. */
13745 return ber_init ();
13750 if ac_fn_c_try_link
"$LINENO"; then :
13751 ac_cv_lib_lber_ber_init
=yes
13753 ac_cv_lib_lber_ber_init
=no
13755 rm -f core conftest.err conftest.
$ac_objext \
13756 conftest
$ac_exeext conftest.
$ac_ext
13757 LIBS
=$ac_check_lib_save_LIBS
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13760 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13761 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
13763 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13765 LDAPLIBS
="-lldap_r -llber"
13772 ac_wine_check_funcs_save_LIBS
="$LIBS"
13773 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13775 ldap_count_references \
13776 ldap_first_reference \
13777 ldap_next_reference \
13778 ldap_parse_reference \
13779 ldap_parse_sort_control \
13780 ldap_parse_sortresponse_control \
13781 ldap_parse_vlv_control \
13782 ldap_parse_vlvresponse_control
13784 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13785 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13786 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13787 cat >>confdefs.h
<<_ACEOF
13788 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13794 LIBS
="$ac_wine_check_funcs_save_LIBS"
13796 if test "x$LDAPLIBS" = "x"; then :
13797 case "x$with_ldap" in
13798 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13800 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13801 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13806 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13807 if ${wine_cv_one_arg_mkdir+:} false
; then :
13808 $as_echo_n "(cached) " >&6
13810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13811 /* end confdefs.h. */
13812 #include <sys/stat.h>
13821 if ac_fn_c_try_compile
"$LINENO"; then :
13822 wine_cv_one_arg_mkdir
=yes
13824 wine_cv_one_arg_mkdir
=no
13826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13829 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13830 if test "$wine_cv_one_arg_mkdir" = "yes"
13833 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13838 $as_echo_n "checking for sched_setaffinity... " >&6; }
13839 if ${wine_cv_have_sched_setaffinity+:} false
; then :
13840 $as_echo_n "(cached) " >&6
13842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13844 #define _GNU_SOURCE
13849 sched_setaffinity(0, 0, 0);
13854 if ac_fn_c_try_link
"$LINENO"; then :
13855 wine_cv_have_sched_setaffinity
=yes
13857 wine_cv_have_sched_setaffinity
=no
13859 rm -f core conftest.err conftest.
$ac_objext \
13860 conftest
$ac_exeext conftest.
$ac_ext
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13863 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13864 if test "$wine_cv_have_sched_setaffinity" = "yes"
13867 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
13872 $as_echo_n "checking for fallocate... " >&6; }
13873 if ${wine_cv_have_fallocate+:} false
; then :
13874 $as_echo_n "(cached) " >&6
13876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13877 /* end confdefs.h. */
13878 #define _GNU_SOURCE
13883 fallocate(-1, 0, 0, 0);
13888 if ac_fn_c_try_link
"$LINENO"; then :
13889 wine_cv_have_fallocate
=yes
13891 wine_cv_have_fallocate
=no
13893 rm -f core conftest.err conftest.
$ac_objext \
13894 conftest
$ac_exeext conftest.
$ac_ext
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
13897 $as_echo "$wine_cv_have_fallocate" >&6; }
13898 if test "$wine_cv_have_fallocate" = "yes"
13901 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13907 $as_echo_n "checking for inline... " >&6; }
13908 if ${ac_cv_c_inline+:} false
; then :
13909 $as_echo_n "(cached) " >&6
13912 for ac_kw
in inline __inline__ __inline
; do
13913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13914 /* end confdefs.h. */
13915 #ifndef __cplusplus
13917 static $ac_kw foo_t static_foo () {return 0; }
13918 $ac_kw foo_t foo () {return 0; }
13922 if ac_fn_c_try_compile
"$LINENO"; then :
13923 ac_cv_c_inline
=$ac_kw
13925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13926 test "$ac_cv_c_inline" != no
&& break
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13931 $as_echo "$ac_cv_c_inline" >&6; }
13933 case $ac_cv_c_inline in
13936 case $ac_cv_c_inline in
13938 *) ac_val
=$ac_cv_c_inline;;
13940 cat >>confdefs.h
<<_ACEOF
13941 #ifndef __cplusplus
13942 #define inline $ac_val
13948 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13949 if test "x$ac_cv_type_mode_t" = xyes
; then :
13951 cat >>confdefs.h
<<_ACEOF
13952 #define HAVE_MODE_T 1
13957 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13958 if test "x$ac_cv_type_off_t" = xyes
; then :
13960 cat >>confdefs.h
<<_ACEOF
13961 #define HAVE_OFF_T 1
13966 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13967 if test "x$ac_cv_type_pid_t" = xyes
; then :
13969 cat >>confdefs.h
<<_ACEOF
13970 #define HAVE_PID_T 1
13975 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13976 if test "x$ac_cv_type_size_t" = xyes
; then :
13978 cat >>confdefs.h
<<_ACEOF
13979 #define HAVE_SIZE_T 1
13984 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13985 if test "x$ac_cv_type_ssize_t" = xyes
; then :
13987 cat >>confdefs.h
<<_ACEOF
13988 #define HAVE_SSIZE_T 1
13993 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13994 if test "x$ac_cv_type_long_long" = xyes
; then :
13996 cat >>confdefs.h
<<_ACEOF
13997 #define HAVE_LONG_LONG 1
14002 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14003 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
14005 cat >>confdefs.h
<<_ACEOF
14006 #define HAVE_FSBLKCNT_T 1
14011 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14012 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
14014 cat >>confdefs.h
<<_ACEOF
14015 #define HAVE_FSFILCNT_T 1
14021 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14022 #include <signal.h>
14024 if test "x$ac_cv_type_sigset_t" = xyes
; then :
14026 cat >>confdefs.h
<<_ACEOF
14027 #define HAVE_SIGSET_T 1
14033 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14035 if test "x$ac_cv_type_request_sense" = xyes
; then :
14037 cat >>confdefs.h
<<_ACEOF
14038 #define HAVE_REQUEST_SENSE 1
14045 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14046 #ifdef HAVE_SYS_SOCKET_H
14047 #include <sys/socket.h>
14049 #ifdef HAVE_SYS_SOCKETVAR_H
14050 #include <sys/socketvar.h>
14052 #ifdef HAVE_NET_ROUTE_H
14053 #include <net/route.h>
14055 #ifdef HAVE_NETINET_IN_H
14056 #include <netinet/in.h>
14058 #ifdef HAVE_NETINET_IN_SYSTM_H
14059 #include <netinet/in_systm.h>
14061 #ifdef HAVE_NETINET_IP_H
14062 #include <netinet/ip.h>
14064 #ifdef HAVE_NETINET_IN_PCB_H
14065 #include <netinet/in_pcb.h>
14068 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
14070 cat >>confdefs.h
<<_ACEOF
14071 #define HAVE_STRUCT_XINPGEN 1
14078 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14079 #include <linux/input.h>
14082 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
14084 cat >>confdefs.h
<<_ACEOF
14085 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14093 $as_echo_n "checking for sigaddset... " >&6; }
14094 if ${wine_cv_have_sigaddset+:} false
; then :
14095 $as_echo_n "(cached) " >&6
14097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14098 /* end confdefs.h. */
14099 #include <signal.h>
14103 sigset_t set; sigaddset(&set,SIGTERM);
14108 if ac_fn_c_try_link
"$LINENO"; then :
14109 wine_cv_have_sigaddset
=yes
14111 wine_cv_have_sigaddset
=no
14113 rm -f core conftest.err conftest.
$ac_objext \
14114 conftest
$ac_exeext conftest.
$ac_ext
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14117 $as_echo "$wine_cv_have_sigaddset" >&6; }
14118 if test "$wine_cv_have_sigaddset" = "yes"
14121 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14127 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14128 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
14129 $as_echo_n "(cached) " >&6
14131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14132 /* end confdefs.h. */
14140 struct hostent *result;
14147 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14148 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14154 if ac_fn_c_try_link
"$LINENO"; then :
14155 wine_cv_linux_gethostbyname_r_6
=yes
14157 wine_cv_linux_gethostbyname_r_6
=no
14160 rm -f core conftest.err conftest.
$ac_objext \
14161 conftest
$ac_exeext conftest.
$ac_ext
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14165 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14166 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14169 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14173 if test "$ac_cv_header_linux_joystick_h" = "yes"
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14176 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14177 if ${wine_cv_linux_joystick_22_api+:} false
; then :
14178 $as_echo_n "(cached) " >&6
14180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14181 /* end confdefs.h. */
14183 #include <sys/ioctl.h>
14184 #include <sys/types.h>
14185 #include <linux/joystick.h>
14187 struct js_event blub;
14188 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14189 #error "no 2.2 header"
14200 if ac_fn_c_try_compile
"$LINENO"; then :
14201 wine_cv_linux_joystick_22_api
=yes
14203 wine_cv_linux_joystick_22_api
=no
14205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14209 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14210 if test "$wine_cv_linux_joystick_22_api" = "yes"
14213 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14219 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14220 #ifdef HAVE_SYS_PARAM_H
14221 # include <sys/param.h>
14223 #ifdef HAVE_SYS_MOUNT_H
14224 # include <sys/mount.h>
14226 #ifdef HAVE_SYS_VFS_H
14227 # include <sys/vfs.h>
14229 #ifdef HAVE_SYS_STATFS_H
14230 # include <sys/statfs.h>
14233 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
14235 cat >>confdefs.h
<<_ACEOF
14236 #define HAVE_STRUCT_STATFS_F_BFREE 1
14241 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
14242 #ifdef HAVE_SYS_PARAM_H
14243 # include <sys/param.h>
14245 #ifdef HAVE_SYS_MOUNT_H
14246 # include <sys/mount.h>
14248 #ifdef HAVE_SYS_VFS_H
14249 # include <sys/vfs.h>
14251 #ifdef HAVE_SYS_STATFS_H
14252 # include <sys/statfs.h>
14255 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
14257 cat >>confdefs.h
<<_ACEOF
14258 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
14263 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
14264 #ifdef HAVE_SYS_PARAM_H
14265 # include <sys/param.h>
14267 #ifdef HAVE_SYS_MOUNT_H
14268 # include <sys/mount.h>
14270 #ifdef HAVE_SYS_VFS_H
14271 # include <sys/vfs.h>
14273 #ifdef HAVE_SYS_STATFS_H
14274 # include <sys/statfs.h>
14277 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
14279 cat >>confdefs.h
<<_ACEOF
14280 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
14285 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
14286 #ifdef HAVE_SYS_PARAM_H
14287 # include <sys/param.h>
14289 #ifdef HAVE_SYS_MOUNT_H
14290 # include <sys/mount.h>
14292 #ifdef HAVE_SYS_VFS_H
14293 # include <sys/vfs.h>
14295 #ifdef HAVE_SYS_STATFS_H
14296 # include <sys/statfs.h>
14299 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
14301 cat >>confdefs.h
<<_ACEOF
14302 #define HAVE_STRUCT_STATFS_F_FFREE 1
14307 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
14308 #ifdef HAVE_SYS_PARAM_H
14309 # include <sys/param.h>
14311 #ifdef HAVE_SYS_MOUNT_H
14312 # include <sys/mount.h>
14314 #ifdef HAVE_SYS_VFS_H
14315 # include <sys/vfs.h>
14317 #ifdef HAVE_SYS_STATFS_H
14318 # include <sys/statfs.h>
14321 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
14323 cat >>confdefs.h
<<_ACEOF
14324 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
14329 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
14330 #ifdef HAVE_SYS_PARAM_H
14331 # include <sys/param.h>
14333 #ifdef HAVE_SYS_MOUNT_H
14334 # include <sys/mount.h>
14336 #ifdef HAVE_SYS_VFS_H
14337 # include <sys/vfs.h>
14339 #ifdef HAVE_SYS_STATFS_H
14340 # include <sys/statfs.h>
14343 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
14345 cat >>confdefs.h
<<_ACEOF
14346 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14353 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14354 #include <sys/statvfs.h>
14357 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
14359 cat >>confdefs.h
<<_ACEOF
14360 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14367 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14368 #include <dirent.h>
14371 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
14373 cat >>confdefs.h
<<_ACEOF
14374 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14381 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14382 #ifdef HAVE_SYS_SOCKET_H
14383 # include <sys/socket.h>
14385 #ifdef HAVE_SYS_UN_H
14386 # include <sys/un.h>
14389 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
14391 cat >>confdefs.h
<<_ACEOF
14392 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14397 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14398 #ifdef HAVE_SYS_SOCKET_H
14399 # include <sys/socket.h>
14401 #ifdef HAVE_SYS_UN_H
14402 # include <sys/un.h>
14405 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
14407 cat >>confdefs.h
<<_ACEOF
14408 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14413 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14414 #ifdef HAVE_SYS_SOCKET_H
14415 # include <sys/socket.h>
14417 #ifdef HAVE_SYS_UN_H
14418 # include <sys/un.h>
14421 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
14423 cat >>confdefs.h
<<_ACEOF
14424 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14431 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14432 #ifdef HAVE_SCSI_SG_H
14433 #include <scsi/sg.h>
14436 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
14438 cat >>confdefs.h
<<_ACEOF
14439 #define HAVE_SCSIREQ_T_CMD 1
14444 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>
14445 #ifdef HAVE_SCSI_SG_H
14446 #include <scsi/sg.h>
14449 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
14451 cat >>confdefs.h
<<_ACEOF
14452 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14459 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14461 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
14463 cat >>confdefs.h
<<_ACEOF
14464 #define HAVE_SIGINFO_T_SI_FD 1
14471 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14472 #ifdef HAVE_SYS_MTIO_H
14473 #include <sys/mtio.h>
14476 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
14478 cat >>confdefs.h
<<_ACEOF
14479 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14484 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14485 #ifdef HAVE_SYS_MTIO_H
14486 #include <sys/mtio.h>
14489 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
14491 cat >>confdefs.h
<<_ACEOF
14492 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14497 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14498 #ifdef HAVE_SYS_MTIO_H
14499 #include <sys/mtio.h>
14502 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
14504 cat >>confdefs.h
<<_ACEOF
14505 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14512 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14513 #include <getopt.h>
14516 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
14518 cat >>confdefs.h
<<_ACEOF
14519 #define HAVE_STRUCT_OPTION_NAME 1
14526 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14527 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
14529 cat >>confdefs.h
<<_ACEOF
14530 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14535 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14536 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
14538 cat >>confdefs.h
<<_ACEOF
14539 #define HAVE_STRUCT_STAT_ST_MTIM 1
14544 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14545 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
14547 cat >>confdefs.h
<<_ACEOF
14548 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14553 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14554 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
14556 cat >>confdefs.h
<<_ACEOF
14557 #define HAVE_STRUCT_STAT_ST_CTIM 1
14562 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14563 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
14565 cat >>confdefs.h
<<_ACEOF
14566 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14571 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14572 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
14574 cat >>confdefs.h
<<_ACEOF
14575 #define HAVE_STRUCT_STAT_ST_ATIM 1
14580 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14581 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
14583 cat >>confdefs.h
<<_ACEOF
14584 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14589 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14590 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
14592 cat >>confdefs.h
<<_ACEOF
14593 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14598 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14599 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
14601 cat >>confdefs.h
<<_ACEOF
14602 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14607 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14608 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
14610 cat >>confdefs.h
<<_ACEOF
14611 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14616 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14617 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
14619 cat >>confdefs.h
<<_ACEOF
14620 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14625 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14626 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
14628 cat >>confdefs.h
<<_ACEOF
14629 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14636 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
14637 #include <sys/types.h>
14639 #ifdef HAVE_NETINET_IN_H
14640 #include <netinet/in.h>
14643 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
14645 cat >>confdefs.h
<<_ACEOF
14646 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14653 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14654 #include <sys/types.h>
14656 #ifdef HAVE_NETINET_IN_H
14657 # include <netinet/in.h>
14659 #ifdef HAVE_ARPA_NAMESER_H
14660 # include <arpa/nameser.h>
14663 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
14665 cat >>confdefs.h
<<_ACEOF
14666 #define HAVE_NS_MSG__MSG_PTR 1
14673 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14674 #include <sys/types.h>
14676 #ifdef HAVE_NETINET_IP_H
14677 #include <netinet/ip.h>
14679 #ifdef HAVE_NETINET_IP_ICMP_H
14680 #include <netinet/ip_icmp.h>
14682 #ifdef HAVE_NETINET_ICMP_VAR_H
14683 #include <netinet/icmp_var.h>
14686 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
14688 cat >>confdefs.h
<<_ACEOF
14689 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14696 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14697 #include <sys/types.h>
14699 #ifdef HAVE_ALIAS_H
14702 #ifdef HAVE_SYS_SOCKET_H
14703 #include <sys/socket.h>
14705 #ifdef HAVE_SYS_SOCKETVAR_H
14706 #include <sys/socketvar.h>
14708 #ifdef HAVE_SYS_TIMEOUT_H
14709 #include <sys/timeout.h>
14711 #ifdef HAVE_NETINET_IN_H
14712 #include <netinet/in.h>
14714 #ifdef HAVE_NETINET_IN_SYSTM_H
14715 #include <netinet/in_systm.h>
14717 #ifdef HAVE_NETINET_IP_H
14718 #include <netinet/ip.h>
14720 #ifdef HAVE_NETINET_IP_VAR_H
14721 #include <netinet/ip_var.h>
14723 #ifdef HAVE_NETINET_IP_ICMP_H
14724 #include <netinet/ip_icmp.h>
14726 #ifdef HAVE_NETINET_ICMP_VAR_H
14727 #include <netinet/icmp_var.h>
14730 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
14732 cat >>confdefs.h
<<_ACEOF
14733 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14740 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14741 #include <sys/types.h>
14743 #ifdef HAVE_SYS_SOCKETVAR_H
14744 #include <sys/socketvar.h>
14746 #ifdef HAVE_NETINET_IN_H
14747 #include <netinet/in.h>
14749 #ifdef HAVE_NETINET_IP_VAR_H
14750 #include <netinet/ip_var.h>
14753 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
14755 cat >>confdefs.h
<<_ACEOF
14756 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14763 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
14764 #include <netinet/ip_var.h>
14767 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
14769 cat >>confdefs.h
<<_ACEOF
14770 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14777 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14778 #include <sys/types.h>
14780 #ifdef HAVE_SYS_SOCKETVAR_H
14781 #include <sys/socketvar.h>
14783 #ifdef HAVE_NETINET_IN_H
14784 #include <netinet/in.h>
14786 #ifdef HAVE_NETINET_TCP_H
14787 #include <netinet/tcp.h>
14789 #ifdef HAVE_NETINET_TCP_VAR_H
14790 #include <netinet/tcp_var.h>
14793 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
14795 cat >>confdefs.h
<<_ACEOF
14796 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14803 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
14804 #include <netinet/tcp_var.h>
14807 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
14809 cat >>confdefs.h
<<_ACEOF
14810 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14817 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
14818 #include <sys/types.h>
14820 #ifdef HAVE_NETINET_IN_H
14821 #include <netinet/in.h>
14823 #ifdef HAVE_NETINET_IP_VAR_H
14824 #include <netinet/ip_var.h>
14826 #ifdef HAVE_NETINET_UDP_H
14827 #include <netinet/udp.h>
14829 #ifdef HAVE_NETINET_UDP_VAR_H
14830 #include <netinet/udp_var.h>
14833 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
14835 cat >>confdefs.h
<<_ACEOF
14836 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14843 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14844 #include <sys/types.h>
14846 #ifdef HAVE_NET_IF_H
14847 # include <net/if.h>
14850 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
14852 cat >>confdefs.h
<<_ACEOF
14853 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14861 $as_echo_n "checking for timezone variable... " >&6; }
14862 if ${ac_cv_have_timezone+:} false
; then :
14863 $as_echo_n "(cached) " >&6
14865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14866 /* end confdefs.h. */
14876 if ac_fn_c_try_link
"$LINENO"; then :
14877 ac_cv_have_timezone
="yes"
14879 ac_cv_have_timezone
="no"
14881 rm -f core conftest.err conftest.
$ac_objext \
14882 conftest
$ac_exeext conftest.
$ac_ext
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14885 $as_echo "$ac_cv_have_timezone" >&6; }
14886 if test "$ac_cv_have_timezone" = "yes"
14889 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14893 $as_echo_n "checking for daylight variable... " >&6; }
14894 if ${ac_cv_have_daylight+:} false
; then :
14895 $as_echo_n "(cached) " >&6
14897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14898 /* end confdefs.h. */
14908 if ac_fn_c_try_link
"$LINENO"; then :
14909 ac_cv_have_daylight
="yes"
14911 ac_cv_have_daylight
="no"
14913 rm -f core conftest.err conftest.
$ac_objext \
14914 conftest
$ac_exeext conftest.
$ac_ext
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14917 $as_echo "$ac_cv_have_daylight" >&6; }
14918 if test "$ac_cv_have_daylight" = "yes"
14921 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14925 ac_save_LIBS
="$LIBS"
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14928 $as_echo_n "checking for isinf... " >&6; }
14929 if ${ac_cv_have_isinf+:} false
; then :
14930 $as_echo_n "(cached) " >&6
14932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14933 /* end confdefs.h. */
14938 float f = 0.0; return isinf(f)
14943 if ac_fn_c_try_link
"$LINENO"; then :
14944 ac_cv_have_isinf
="yes"
14946 ac_cv_have_isinf
="no"
14948 rm -f core conftest.err conftest.
$ac_objext \
14949 conftest
$ac_exeext conftest.
$ac_ext
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14952 $as_echo "$ac_cv_have_isinf" >&6; }
14953 if test "$ac_cv_have_isinf" = "yes"
14956 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14961 $as_echo_n "checking for isnan... " >&6; }
14962 if ${ac_cv_have_isnan+:} false
; then :
14963 $as_echo_n "(cached) " >&6
14965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14966 /* end confdefs.h. */
14971 float f = 0.0; return isnan(f)
14976 if ac_fn_c_try_link
"$LINENO"; then :
14977 ac_cv_have_isnan
="yes"
14979 ac_cv_have_isnan
="no"
14981 rm -f core conftest.err conftest.
$ac_objext \
14982 conftest
$ac_exeext conftest.
$ac_ext
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14985 $as_echo "$ac_cv_have_isnan" >&6; }
14986 if test "$ac_cv_have_isnan" = "yes"
14989 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14992 LIBS
="$ac_save_LIBS"
14996 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14997 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14998 if ${ac_cv_cpp_def___i386__+:} false
; then :
14999 $as_echo_n "(cached) " >&6
15001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15002 /* end confdefs.h. */
15007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15008 $EGREP "yes" >/dev
/null
2>&1; then :
15009 ac_cv_cpp_def___i386__
=yes
15011 ac_cv_cpp_def___i386__
=no
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15017 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15018 if test $ac_cv_cpp_def___i386__ = yes; then :
15019 CFLAGS
="$CFLAGS -D__i386__"
15020 LINTFLAGS
="$LINTFLAGS -D__i386__"
15022 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15023 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15024 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
15025 $as_echo_n "(cached) " >&6
15027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15028 /* end confdefs.h. */
15033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15034 $EGREP "yes" >/dev
/null
2>&1; then :
15035 ac_cv_cpp_def___x86_64__
=yes
15037 ac_cv_cpp_def___x86_64__
=no
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15043 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15044 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15045 CFLAGS
="$CFLAGS -D__x86_64__"
15046 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
15048 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15049 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15050 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
15051 $as_echo_n "(cached) " >&6
15053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15054 /* end confdefs.h. */
15055 #ifndef __sparc64__
15059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15060 $EGREP "yes" >/dev
/null
2>&1; then :
15061 ac_cv_cpp_def___sparc64__
=yes
15063 ac_cv_cpp_def___sparc64__
=no
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15069 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15070 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15071 CFLAGS
="$CFLAGS -D__sparc64__"
15072 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
15074 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15075 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15076 if ${ac_cv_cpp_def___sparc__+:} false
; then :
15077 $as_echo_n "(cached) " >&6
15079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15080 /* end confdefs.h. */
15085 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15086 $EGREP "yes" >/dev
/null
2>&1; then :
15087 ac_cv_cpp_def___sparc__
=yes
15089 ac_cv_cpp_def___sparc__
=no
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15095 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15096 if test $ac_cv_cpp_def___sparc__ = yes; then :
15097 CFLAGS
="$CFLAGS -D__sparc__"
15098 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15100 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15101 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15102 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
15103 $as_echo_n "(cached) " >&6
15105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15106 /* end confdefs.h. */
15107 #ifndef __powerpc64__
15111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15112 $EGREP "yes" >/dev
/null
2>&1; then :
15113 ac_cv_cpp_def___powerpc64__
=yes
15115 ac_cv_cpp_def___powerpc64__
=no
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15121 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15122 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15123 CFLAGS
="$CFLAGS -D__powerpc64__"
15124 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
15126 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15127 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15128 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
15129 $as_echo_n "(cached) " >&6
15131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15132 /* end confdefs.h. */
15133 #ifndef __powerpc__
15137 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15138 $EGREP "yes" >/dev
/null
2>&1; then :
15139 ac_cv_cpp_def___powerpc__
=yes
15141 ac_cv_cpp_def___powerpc__
=no
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15147 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15148 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15149 CFLAGS
="$CFLAGS -D__powerpc__"
15150 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
15152 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15153 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15154 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
15155 $as_echo_n "(cached) " >&6
15157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15158 /* end confdefs.h. */
15159 #ifndef __aarch64__
15163 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15164 $EGREP "yes" >/dev
/null
2>&1; then :
15165 ac_cv_cpp_def___aarch64__
=yes
15167 ac_cv_cpp_def___aarch64__
=no
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15173 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15174 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15175 CFLAGS
="$CFLAGS -D__aarch64__"
15176 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
15178 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15179 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15180 if ${ac_cv_cpp_def___arm__+:} false
; then :
15181 $as_echo_n "(cached) " >&6
15183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15184 /* end confdefs.h. */
15189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15190 $EGREP "yes" >/dev
/null
2>&1; then :
15191 ac_cv_cpp_def___arm__
=yes
15193 ac_cv_cpp_def___arm__
=no
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15199 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15200 if test $ac_cv_cpp_def___arm__ = yes; then :
15201 CFLAGS
="$CFLAGS -D__arm__"
15202 LINTFLAGS
="$LINTFLAGS -D__arm__"
15206 case $host_vendor in
15207 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
15208 $as_echo_n "checking whether we need to define __sun__... " >&6; }
15209 if ${ac_cv_cpp_def___sun__+:} false
; then :
15210 $as_echo_n "(cached) " >&6
15212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15213 /* end confdefs.h. */
15218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15219 $EGREP "yes" >/dev
/null
2>&1; then :
15220 ac_cv_cpp_def___sun__
=yes
15222 ac_cv_cpp_def___sun__
=no
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
15228 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
15229 if test $ac_cv_cpp_def___sun__ = yes; then :
15230 CFLAGS
="$CFLAGS -D__sun__"
15231 LINTFLAGS
="$LINTFLAGS -D__sun__"
15239 ac_config_commands
="$ac_config_commands include/stamp-h"
15242 ALL_MAKEFILE_DEPENDS
="
15243 # Rules automatically generated by configure
15248 Makefile: Makefile.in Make.vars.in Make.rules config.status
15249 @./config.status Make.tmp Makefile"
15252 ALL_TEST_RESOURCES
=""
15255 wine_fn_append_file
()
15257 as_fn_append
$1 " \\$as_nl $2"
15260 wine_fn_append_rule
()
15262 as_fn_append
$1 "$as_nl$2"
15265 wine_fn_has_flag
()
15267 expr ",$2," : ".*,$1,.*" >/dev
/null
15270 wine_fn_all_dir_rules
()
15274 ac_makedep
="\$(MAKEDEP)"
15275 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
15276 if test $ac_dir != tools
15278 ac_alldeps
="$2 $ac_makedep"
15280 ac_alldeps
="$2 include/config.h"
15283 *.
in) ac_input
=$ac_input:$2 ;;
15284 *) ac_makedep
="$2 $ac_makedep" ;;
15287 wine_fn_append_file ALL_DIRS
$ac_dir
15288 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15289 "__clean__: $ac_dir/__clean__
15290 .PHONY: $ac_dir/__clean__
15291 $ac_dir/__clean__: $ac_dir/Makefile
15292 @cd $ac_dir && \$(MAKE) clean
15293 \$(RM) $ac_dir/Makefile
15294 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
15295 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
15296 depend: $ac_dir/__depend__
15297 .PHONY: $ac_dir/__depend__
15298 $ac_dir/__depend__: $ac_makedep dummy
15299 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
15302 wine_fn_pot_rules
()
15307 test "x$with_gettextpo" = xyes ||
return
15309 if wine_fn_has_flag mc
$ac_flags
15311 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
15312 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15313 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
15314 @cd $ac_dir && \$(MAKE) msg.pot
15315 $ac_dir/msg.pot: tools/wmc include"
15317 if wine_fn_has_flag po
$ac_flags
15319 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
15320 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15321 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
15322 @cd $ac_dir && \$(MAKE) rsrc.pot
15323 $ac_dir/rsrc.pot: tools/wrc include"
15327 wine_fn_config_makefile
()
15333 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15337 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
15338 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15341 $ac_dir: $ac_dir/Makefile dummy
15342 @cd $ac_dir && \$(MAKE)"
15344 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
15346 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15347 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15348 $ac_dir/__install__:: $ac_dir
15349 @cd $ac_dir && \$(MAKE) install
15350 $ac_dir/__uninstall__:: $ac_dir/Makefile
15351 @cd $ac_dir && \$(MAKE) uninstall
15352 install:: $ac_dir/__install__
15353 __uninstall__: $ac_dir/__uninstall__"
15355 if wine_fn_has_flag install-lib
$ac_flags
15357 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15358 ".PHONY: $ac_dir/__install-lib__
15359 $ac_dir/__install-lib__:: $ac_dir
15360 @cd $ac_dir && \$(MAKE) install-lib
15361 install-lib:: $ac_dir/__install-lib__"
15364 if wine_fn_has_flag install-dev
$ac_flags
15366 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15367 ".PHONY: $ac_dir/__install-dev
15368 $ac_dir/__install-dev__:: $ac_dir
15369 @cd $ac_dir && \$(MAKE) install-dev
15370 install-dev:: $ac_dir/__install-dev__"
15374 wine_fn_config_lib
()
15378 ac_dir
=dlls
/$ac_name
15379 wine_fn_config_makefile
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
15381 if wine_fn_has_flag install-dev
$ac_flags
15384 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15385 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15386 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15387 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15388 $ac_dir/__uninstall__::
15389 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15390 install install-dev:: $ac_dir/__install__
15391 __uninstall__: $ac_dir/__uninstall__"
15394 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: $ac_dir"
15395 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: tools/widl tools/winebuild tools/winegcc include"
15398 wine_fn_config_dll
()
15401 ac_dir
=dlls
/$ac_name
15404 ac_implib
=${4:-$ac_name}
15405 ac_file
=$ac_dir/lib
$ac_implib
15407 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
15411 *16) ac_implibflags
=" -m16" ;;
15413 *) ac_dll
=$ac_dll.dll
;;
15416 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
15418 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15419 test "$ac_enable" != enable_win16 ||
return 0
15420 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
15422 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15423 "$ac_dir: __builddeps__
15424 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15425 @cd $ac_dir && \$(MAKE) \$@"
15427 if wine_fn_has_flag install-lib
$ac_flags
15430 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15431 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15432 install install-lib:: $ac_dir/__install-lib__
15433 __uninstall__: $ac_dir/__uninstall__"
15434 if test -n "$DLLEXT"
15436 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15437 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15438 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
15439 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15440 $ac_dir/__uninstall__::
15441 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15443 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15444 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15445 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15446 $ac_dir/__uninstall__::
15447 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15451 wine_fn_pot_rules
$ac_dir $ac_flags
15454 if wine_fn_has_flag staticimplib
$ac_flags
15456 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15457 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15458 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15459 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15460 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15461 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15462 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15463 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15464 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15465 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15466 $ac_dir/__uninstall__::
15467 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15468 install install-dev:: $ac_dir/__install-dev__
15469 __uninstall__: $ac_dir/__uninstall__"
15471 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15473 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15474 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15475 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15476 $ac_dir/__uninstall__::
15477 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15480 if test "x$CROSSTEST_DISABLE" = x
15482 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15483 "__builddeps__: $ac_file.cross.a
15484 $ac_file.cross.a: $ac_dir/Makefile dummy
15485 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15488 elif wine_fn_has_flag implib
$ac_flags
15490 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15491 "__builddeps__: $ac_file.$IMPLIBEXT
15492 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15493 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15494 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15495 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15496 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15497 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15498 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15499 $ac_dir/__uninstall__::
15500 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15501 install install-dev:: $ac_dir/__install-dev__
15502 __uninstall__: $ac_dir/__uninstall__"
15503 if test "x$CROSSTEST_DISABLE" = x
15505 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15506 "__builddeps__: $ac_file.cross.a
15507 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15508 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15511 if test "$ac_name" != "$ac_implib"
15513 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15514 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15515 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15516 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15518 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15519 if test "x$CROSSTEST_DISABLE" = x
15521 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15522 "__builddeps__: dlls/lib$ac_implib.cross.a
15523 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15524 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15530 wine_fn_config_program
()
15533 ac_dir
=programs
/$ac_name
15536 ac_program
=$ac_name
15540 *) ac_program
=$ac_program.exe
;;
15543 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
15545 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15548 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15549 "$ac_dir: __builddeps__"
15551 wine_fn_pot_rules
$ac_dir $ac_flags
15553 wine_fn_has_flag
install $ac_flags ||
return
15554 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15555 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15556 install install-lib:: $ac_dir/__install__
15557 __uninstall__: $ac_dir/__uninstall__"
15559 if test -n "$DLLEXT"
15561 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15562 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15563 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15564 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15565 $ac_dir/__uninstall__::
15566 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15568 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
15570 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15571 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15572 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15573 $ac_dir/__uninstall__::
15574 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15577 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15578 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15579 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15580 $ac_dir/__uninstall__::
15581 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15584 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
15586 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15587 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15588 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15589 $ac_dir/__uninstall__::
15590 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15595 wine_fn_config_test
()
15600 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
15601 wine_fn_all_dir_rules
$ac_dir Maketest.rules
15603 if test "x$enable_tests" = xno
; then :
15606 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15609 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15610 @cd $ac_dir && \$(MAKE)
15611 programs/winetest: $ac_dir
15612 check test: $ac_dir/__test__
15613 .PHONY: $ac_dir/__test__
15614 $ac_dir/__test__: dummy
15615 @cd $ac_dir && \$(MAKE) test
15617 \$(RM) $ac_dir/*.ok"
15619 if test "x$CROSSTEST_DISABLE" = x
15621 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15622 "crosstest: $ac_dir/__crosstest__
15623 .PHONY: $ac_dir/__crosstest__
15624 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15625 @cd $ac_dir && \$(MAKE) crosstest"
15630 wine_fn_config_tool
()
15634 if test "x$enable_tools" = xno
; then :
15638 wine_fn_config_makefile
$ac_dir enable_tools
$ac_flags
15640 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__tooldeps__: $ac_dir"
15641 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: libs/port"
15643 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
15647 wine_fn_config_makerules
()
15651 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15652 "$ac_rules: $ac_rules.in $ac_deps config.status
15653 @./config.status $ac_rules
15658 wine_fn_config_symlink
()
15661 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15663 @./config.status $ac_link
15668 if test "x$CROSSTEST_DISABLE" != x
15670 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15672 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15674 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15675 wine_fn_config_symlink dlls
/shell32
/AUTHORS
15676 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15677 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
15678 if test "x$enable_fonts" != xno
; then
15679 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15680 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
15682 if test "x$enable_fonts" != xno
; then
15683 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15684 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
15686 if test "x$enable_fonts" != xno
; then
15687 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15688 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
15690 if test "x$enable_fonts" != xno
; then
15691 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15692 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
15694 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
15695 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
15696 if test "x$enable_tools" != xno
; then
15697 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15698 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
15700 ac_config_links
="$ac_config_links wine:tools/winewrapper"
15701 wine_fn_config_symlink wine
15702 if test "x$enable_win64" != xno
; then
15703 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
15704 wine_fn_config_symlink wine64
15707 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
15709 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
15711 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
15713 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
15715 ac_config_commands
="$ac_config_commands dlls/user32/resources"
15717 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
15719 ac_config_commands
="$ac_config_commands include/wine"
15722 wine_fn_config_makerules Make.rules
15723 MAKE_RULES
=Make.rules
15724 ac_config_files
="$ac_config_files Make.rules"
15726 wine_fn_config_makerules Maketest.rules Make.rules
15727 MAKE_TEST_RULES
=Maketest.rules
15728 ac_config_files
="$ac_config_files Maketest.rules"
15730 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
15731 MAKE_DLL_RULES
=dlls
/Makedll.rules
15732 ac_config_files
="$ac_config_files dlls/Makedll.rules"
15734 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
15735 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
15736 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
15738 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
15739 MAKE_PROG_RULES
=programs
/Makeprog.rules
15740 ac_config_files
="$ac_config_files programs/Makeprog.rules"
15743 wine_fn_config_dll acledit enable_acledit
15744 wine_fn_config_dll aclui enable_aclui implib
15745 wine_fn_config_dll activeds enable_activeds implib
15746 wine_fn_config_dll actxprxy enable_actxprxy
15747 wine_fn_config_lib adsiid
15748 wine_fn_config_dll advapi32 enable_advapi32 implib
15749 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
15750 wine_fn_config_dll advpack enable_advpack implib
15751 wine_fn_config_test dlls
/advpack
/tests advpack_test
15752 wine_fn_config_dll amstream enable_amstream
15753 wine_fn_config_test dlls
/amstream
/tests amstream_test
15754 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
15755 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
15756 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15757 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15758 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15759 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15760 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15761 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15762 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15763 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15764 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15765 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15766 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15767 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15768 wine_fn_config_dll apphelp enable_apphelp
15769 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
15770 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15771 wine_fn_config_dll atl enable_atl implib
15772 wine_fn_config_test dlls
/atl
/tests atl_test
15773 wine_fn_config_dll atl100 enable_atl100 implib
15774 wine_fn_config_test dlls
/atl100
/tests atl100_test
15775 wine_fn_config_dll atl80 enable_atl80 implib
15776 wine_fn_config_test dlls
/atl80
/tests atl80_test
15777 wine_fn_config_dll authz enable_authz
15778 wine_fn_config_dll avicap32 enable_avicap32 implib
15779 wine_fn_config_dll avifil32 enable_avifil32 implib
,po
15780 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
15781 wine_fn_config_dll avifile.dll16 enable_win16
15782 wine_fn_config_dll avrt enable_avrt implib
15783 wine_fn_config_dll bcrypt enable_bcrypt
15784 wine_fn_config_dll browseui enable_browseui po
15785 wine_fn_config_test dlls
/browseui
/tests browseui_test
15786 wine_fn_config_dll cabinet enable_cabinet implib
15787 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
15788 wine_fn_config_dll capi2032 enable_capi2032 implib
15789 wine_fn_config_dll cards enable_cards implib
15790 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15791 wine_fn_config_dll clusapi enable_clusapi implib
15792 wine_fn_config_dll comcat enable_comcat
15793 wine_fn_config_test dlls
/comcat
/tests comcat_test
15794 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
15795 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
15796 wine_fn_config_dll comdlg32 enable_comdlg32 implib
,po
15797 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
15798 wine_fn_config_dll
comm.drv16 enable_win16
15799 wine_fn_config_dll commdlg.dll16 enable_win16
15800 wine_fn_config_dll compobj.dll16 enable_win16
15801 wine_fn_config_dll compstui enable_compstui implib
15802 wine_fn_config_dll credui enable_credui implib
,po
15803 wine_fn_config_test dlls
/credui
/tests credui_test
15804 wine_fn_config_dll crtdll enable_crtdll implib
15805 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
15806 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
15807 wine_fn_config_dll cryptdlg enable_cryptdlg po
15808 wine_fn_config_dll cryptdll enable_cryptdll implib
15809 wine_fn_config_dll cryptnet enable_cryptnet implib
15810 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
15811 wine_fn_config_dll cryptui enable_cryptui implib
,po
15812 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
15813 wine_fn_config_dll ctapi32 enable_ctapi32
15814 wine_fn_config_dll ctl3d.dll16 enable_win16
15815 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15816 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15817 wine_fn_config_dll d3d10 enable_d3d10 implib
15818 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
15819 wine_fn_config_dll d3d10core enable_d3d10core implib
15820 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
15821 wine_fn_config_dll d3d11 enable_d3d11
15822 wine_fn_config_dll d3d8 enable_d3d8 implib
15823 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
15824 wine_fn_config_dll d3d9 enable_d3d9 implib
15825 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
15826 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15827 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15828 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15829 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15830 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15831 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15832 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15833 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15834 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15835 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15836 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15837 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
15838 wine_fn_config_dll d3dim enable_d3dim implib
15839 wine_fn_config_dll d3drm enable_d3drm implib
15840 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
15841 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15842 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15843 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15844 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15845 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15846 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15847 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15848 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15849 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15850 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15851 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15852 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15853 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15854 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15855 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15856 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15857 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15858 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15859 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15860 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15861 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15862 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15863 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15864 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15865 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
15866 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15867 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15868 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15869 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15870 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15871 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15872 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15873 wine_fn_config_dll d3dxof enable_d3dxof implib
15874 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
15875 wine_fn_config_dll dbgeng enable_dbgeng implib
15876 wine_fn_config_dll dbghelp enable_dbghelp implib
15877 wine_fn_config_dll dciman32 enable_dciman32 implib
15878 wine_fn_config_dll ddeml.dll16 enable_win16
15879 wine_fn_config_dll ddraw enable_ddraw implib
15880 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
15881 wine_fn_config_dll ddrawex enable_ddrawex
15882 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
15883 wine_fn_config_dll devenum enable_devenum po
15884 wine_fn_config_test dlls
/devenum
/tests devenum_test
15885 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15886 wine_fn_config_dll difxapi enable_difxapi
15887 wine_fn_config_dll dinput enable_dinput implib
,po
,staticimplib
15888 wine_fn_config_test dlls
/dinput
/tests dinput_test
15889 wine_fn_config_dll dinput8 enable_dinput8 implib
15890 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
15891 wine_fn_config_dll dispdib.dll16 enable_win16
15892 wine_fn_config_dll dispex enable_dispex
15893 wine_fn_config_test dlls
/dispex
/tests dispex_test
15894 wine_fn_config_dll display.drv16 enable_win16
15895 wine_fn_config_dll dmband enable_dmband
15896 wine_fn_config_test dlls
/dmband
/tests dmband_test
15897 wine_fn_config_dll dmcompos enable_dmcompos
15898 wine_fn_config_dll dmime enable_dmime
15899 wine_fn_config_test dlls
/dmime
/tests dmime_test
15900 wine_fn_config_dll dmloader enable_dmloader
15901 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
15902 wine_fn_config_dll dmscript enable_dmscript
15903 wine_fn_config_dll dmstyle enable_dmstyle
15904 wine_fn_config_dll dmsynth enable_dmsynth
15905 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
15906 wine_fn_config_dll dmusic enable_dmusic
15907 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
15908 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15909 wine_fn_config_dll dnsapi enable_dnsapi implib
15910 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
15911 wine_fn_config_dll dplay enable_dplay implib
15912 wine_fn_config_dll dplayx enable_dplayx implib
15913 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
15914 wine_fn_config_dll dpnaddr enable_dpnaddr
15915 wine_fn_config_dll dpnet enable_dpnet implib
15916 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
15917 wine_fn_config_dll dpnhpast enable_dpnhpast
15918 wine_fn_config_dll dpnlobby enable_dpnlobby
15919 wine_fn_config_dll dpwsockx enable_dpwsockx
15920 wine_fn_config_dll drmclien enable_drmclien
15921 wine_fn_config_dll dsound enable_dsound implib
15922 wine_fn_config_test dlls
/dsound
/tests dsound_test
15923 wine_fn_config_dll dssenh enable_dssenh
15924 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
15925 wine_fn_config_dll dswave enable_dswave
15926 wine_fn_config_dll dwmapi enable_dwmapi implib
15927 wine_fn_config_dll dwrite enable_dwrite implib
15928 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
15929 wine_fn_config_dll dxdiagn enable_dxdiagn po
15930 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
15931 wine_fn_config_lib dxerr8
15932 wine_fn_config_lib dxerr9
15933 wine_fn_config_dll dxgi enable_dxgi implib
15934 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
15935 wine_fn_config_lib dxguid
15936 wine_fn_config_dll explorerframe enable_explorerframe
15937 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
15938 wine_fn_config_dll faultrep enable_faultrep implib
15939 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
15940 wine_fn_config_dll fltlib enable_fltlib
15941 wine_fn_config_dll fusion enable_fusion
15942 wine_fn_config_test dlls
/fusion
/tests fusion_test
15943 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15944 wine_fn_config_dll gameux enable_gameux
15945 wine_fn_config_test dlls
/gameux
/tests gameux_test
15946 wine_fn_config_dll gdi.exe16 enable_win16
15947 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
15948 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
15949 wine_fn_config_dll gdiplus enable_gdiplus implib
15950 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
15951 wine_fn_config_dll glu32 enable_glu32 implib
15952 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15953 wine_fn_config_dll gpkcsp enable_gpkcsp
15954 wine_fn_config_dll hal enable_hal
15955 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib
,po htmlhelp
15956 wine_fn_config_dll hid enable_hid implib
15957 wine_fn_config_dll hlink enable_hlink implib
15958 wine_fn_config_test dlls
/hlink
/tests hlink_test
15959 wine_fn_config_dll hnetcfg enable_hnetcfg
15960 wine_fn_config_dll httpapi enable_httpapi
15961 wine_fn_config_dll iccvid enable_iccvid po
15962 wine_fn_config_dll icmp enable_icmp
15963 wine_fn_config_dll ieframe enable_ieframe implib
,po
15964 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
15965 wine_fn_config_dll ifsmgr.vxd enable_win16
15966 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15967 wine_fn_config_dll imagehlp enable_imagehlp implib
15968 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
15969 wine_fn_config_dll imm.dll16 enable_win16
15970 wine_fn_config_dll imm32 enable_imm32 implib
15971 wine_fn_config_test dlls
/imm32
/tests imm32_test
15972 wine_fn_config_dll inetcomm enable_inetcomm implib
15973 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
15974 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15975 wine_fn_config_dll inetmib1 enable_inetmib1
15976 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
15977 wine_fn_config_dll infosoft enable_infosoft
15978 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
15979 wine_fn_config_dll initpki enable_initpki
15980 wine_fn_config_dll inkobj enable_inkobj
15981 wine_fn_config_dll inseng enable_inseng
15982 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15983 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
15984 wine_fn_config_dll itircl enable_itircl
15985 wine_fn_config_dll itss enable_itss
15986 wine_fn_config_test dlls
/itss
/tests itss_test
15987 wine_fn_config_dll joy.cpl enable_joy_cpl po
15988 wine_fn_config_dll jscript enable_jscript po
15989 wine_fn_config_test dlls
/jscript
/tests jscript_test
15990 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
15991 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
15992 wine_fn_config_dll keyboard.drv16 enable_win16
15993 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15994 wine_fn_config_dll ktmw32 enable_ktmw32
15995 wine_fn_config_dll loadperf enable_loadperf implib
15996 wine_fn_config_dll localspl enable_localspl po
15997 wine_fn_config_test dlls
/localspl
/tests localspl_test
15998 wine_fn_config_dll localui enable_localui po
15999 wine_fn_config_test dlls
/localui
/tests localui_test
16000 wine_fn_config_dll lz32 enable_lz32 implib
16001 wine_fn_config_test dlls
/lz32
/tests lz32_test
16002 wine_fn_config_dll lzexpand.dll16 enable_win16
16003 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16004 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16005 wine_fn_config_dll mapistub enable_mapistub
16006 wine_fn_config_dll mciavi32 enable_mciavi32
16007 wine_fn_config_dll mcicda enable_mcicda
16008 wine_fn_config_dll mciqtz32 enable_mciqtz32
16009 wine_fn_config_dll mciseq enable_mciseq
16010 wine_fn_config_dll mciwave enable_mciwave
16011 wine_fn_config_dll mgmtapi enable_mgmtapi
16012 wine_fn_config_dll midimap enable_midimap
16013 wine_fn_config_dll mlang enable_mlang implib
16014 wine_fn_config_test dlls
/mlang
/tests mlang_test
16015 wine_fn_config_dll mmcndmgr enable_mmcndmgr
16016 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16017 wine_fn_config_dll mmdevapi enable_mmdevapi
16018 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16019 wine_fn_config_dll mmdevldr.vxd enable_win16
16020 wine_fn_config_dll mmsystem.dll16 enable_win16
16021 wine_fn_config_dll monodebg.vxd enable_win16
16022 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16023 wine_fn_config_dll mouse.drv16 enable_win16
16024 wine_fn_config_dll mpr enable_mpr implib
,po
16025 wine_fn_config_test dlls
/mpr
/tests mpr_test
16026 wine_fn_config_dll mprapi enable_mprapi implib
16027 wine_fn_config_dll msacm.dll16 enable_win16
16028 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16029 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16030 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16031 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16032 wine_fn_config_dll mscat32 enable_mscat32
16033 wine_fn_config_dll mscms enable_mscms implib
16034 wine_fn_config_test dlls
/mscms
/tests mscms_test
16035 wine_fn_config_dll mscoree enable_mscoree
16036 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16037 wine_fn_config_dll msctf enable_msctf
16038 wine_fn_config_test dlls
/msctf
/tests msctf_test
16039 wine_fn_config_dll msdaps enable_msdaps
16040 wine_fn_config_dll msdmo enable_msdmo implib
16041 wine_fn_config_dll msftedit enable_msftedit
16042 wine_fn_config_dll msg711.acm enable_msg711_acm
16043 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16044 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
16045 wine_fn_config_dll mshtml enable_mshtml implib
,po
16046 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
16047 wine_fn_config_dll msi enable_msi implib
,po
16048 wine_fn_config_test dlls
/msi
/tests msi_test
16049 wine_fn_config_dll msident enable_msident
16050 wine_fn_config_dll msimg32 enable_msimg32 implib
16051 wine_fn_config_dll msimsg enable_msimsg
16052 wine_fn_config_dll msimtf enable_msimtf
16053 wine_fn_config_dll msisip enable_msisip
16054 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16055 wine_fn_config_dll msls31 enable_msls31
16056 wine_fn_config_dll msnet32 enable_msnet32
16057 wine_fn_config_dll mspatcha enable_mspatcha
16058 wine_fn_config_dll msrle32 enable_msrle32 po
16059 wine_fn_config_dll mssign32 enable_mssign32
16060 wine_fn_config_dll mssip32 enable_mssip32
16061 wine_fn_config_dll mstask enable_mstask
16062 wine_fn_config_test dlls
/mstask
/tests mstask_test
16063 wine_fn_config_dll msvcirt enable_msvcirt
16064 wine_fn_config_dll msvcm80 enable_msvcm80
16065 wine_fn_config_dll msvcm90 enable_msvcm90
16066 wine_fn_config_dll msvcp100 enable_msvcp100
16067 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16068 wine_fn_config_dll msvcp110 enable_msvcp110
16069 wine_fn_config_dll msvcp60 enable_msvcp60
16070 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16071 wine_fn_config_dll msvcp70 enable_msvcp70
16072 wine_fn_config_dll msvcp71 enable_msvcp71
16073 wine_fn_config_dll msvcp80 enable_msvcp80
16074 wine_fn_config_dll msvcp90 enable_msvcp90
16075 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16076 wine_fn_config_dll msvcr100 enable_msvcr100
16077 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16078 wine_fn_config_dll msvcr110 enable_msvcr110
16079 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16080 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16081 wine_fn_config_dll msvcr80 enable_msvcr80
16082 wine_fn_config_dll msvcr90 enable_msvcr90
16083 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16084 wine_fn_config_dll msvcrt enable_msvcrt implib
16085 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16086 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16087 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16088 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16089 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
16090 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
16091 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
16092 wine_fn_config_dll msvidc32 enable_msvidc32 po
16093 wine_fn_config_dll msvideo.dll16 enable_win16
16094 wine_fn_config_dll mswsock enable_mswsock implib
16095 wine_fn_config_dll msxml enable_msxml
16096 wine_fn_config_dll msxml2 enable_msxml2
16097 wine_fn_config_dll msxml3 enable_msxml3
16098 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
16099 wine_fn_config_dll msxml4 enable_msxml4
16100 wine_fn_config_dll msxml6 enable_msxml6
16101 wine_fn_config_dll nddeapi enable_nddeapi implib
16102 wine_fn_config_dll netapi32 enable_netapi32 implib
16103 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
16104 wine_fn_config_dll newdev enable_newdev implib
16105 wine_fn_config_dll normaliz enable_normaliz implib
16106 wine_fn_config_dll npmshtml enable_npmshtml
16107 wine_fn_config_dll ntdll enable_ntdll implib
16108 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
16109 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16110 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
16111 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16112 wine_fn_config_dll ntprint enable_ntprint
16113 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
16114 wine_fn_config_dll objsel enable_objsel
16115 wine_fn_config_dll odbc32 enable_odbc32 implib
16116 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16117 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
16118 wine_fn_config_dll odbccu32 enable_odbccu32
16119 wine_fn_config_dll ole2.dll16 enable_win16
16120 wine_fn_config_dll ole2conv.dll16 enable_win16
16121 wine_fn_config_dll ole2disp.dll16 enable_win16
16122 wine_fn_config_dll ole2nls.dll16 enable_win16
16123 wine_fn_config_dll ole2prox.dll16 enable_win16
16124 wine_fn_config_dll ole2thk.dll16 enable_win16
16125 wine_fn_config_dll ole32 enable_ole32 implib
16126 wine_fn_config_test dlls
/ole32
/tests ole32_test
16127 wine_fn_config_dll oleacc enable_oleacc implib
,po
16128 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
16129 wine_fn_config_dll oleaut32 enable_oleaut32 implib
,po
16130 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
16131 wine_fn_config_dll olecli.dll16 enable_win16
16132 wine_fn_config_dll olecli32 enable_olecli32 implib
16133 wine_fn_config_dll oledb32 enable_oledb32
16134 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
16135 wine_fn_config_dll oledlg enable_oledlg implib
,po
16136 wine_fn_config_dll olepro32 enable_olepro32 implib
16137 wine_fn_config_dll olesvr.dll16 enable_win16
16138 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16139 wine_fn_config_dll olethk32 enable_olethk32
16140 wine_fn_config_dll openal32 enable_openal32
16141 wine_fn_config_dll opencl enable_opencl
16142 wine_fn_config_dll opengl32 enable_opengl32 implib
16143 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
16144 wine_fn_config_dll pdh enable_pdh implib
16145 wine_fn_config_test dlls
/pdh
/tests pdh_test
16146 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16147 wine_fn_config_dll pidgen enable_pidgen
16148 wine_fn_config_dll powrprof enable_powrprof implib
16149 wine_fn_config_dll printui enable_printui
16150 wine_fn_config_dll propsys enable_propsys implib
16151 wine_fn_config_test dlls
/propsys
/tests propsys_test
16152 wine_fn_config_dll psapi enable_psapi implib
16153 wine_fn_config_test dlls
/psapi
/tests psapi_test
16154 wine_fn_config_dll pstorec enable_pstorec
16155 wine_fn_config_dll qcap enable_qcap
16156 wine_fn_config_test dlls
/qcap
/tests qcap_test
16157 wine_fn_config_dll qedit enable_qedit
16158 wine_fn_config_test dlls
/qedit
/tests qedit_test
16159 wine_fn_config_dll qmgr enable_qmgr
16160 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
16161 wine_fn_config_dll qmgrprxy enable_qmgrprxy
16162 wine_fn_config_dll quartz enable_quartz implib
16163 wine_fn_config_test dlls
/quartz
/tests quartz_test
16164 wine_fn_config_dll query enable_query
16165 wine_fn_config_dll rasapi16.dll16 enable_win16
16166 wine_fn_config_dll rasapi32 enable_rasapi32 implib
16167 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
16168 wine_fn_config_dll rasdlg enable_rasdlg implib
16169 wine_fn_config_dll regapi enable_regapi
16170 wine_fn_config_dll resutils enable_resutils implib
16171 wine_fn_config_dll riched20 enable_riched20 implib
16172 wine_fn_config_test dlls
/riched20
/tests riched20_test
16173 wine_fn_config_dll riched32 enable_riched32
16174 wine_fn_config_test dlls
/riched32
/tests riched32_test
16175 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
16176 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
16177 wine_fn_config_dll rsabase enable_rsabase
16178 wine_fn_config_dll rsaenh enable_rsaenh implib
16179 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
16180 wine_fn_config_dll rstrtmgr enable_rstrtmgr
16181 wine_fn_config_dll rtutils enable_rtutils implib
16182 wine_fn_config_dll samlib enable_samlib
16183 wine_fn_config_dll sane.ds enable_sane_ds po
16184 wine_fn_config_dll scarddlg enable_scarddlg
16185 wine_fn_config_dll sccbase enable_sccbase
16186 wine_fn_config_dll schannel enable_schannel
16187 wine_fn_config_test dlls
/schannel
/tests schannel_test
16188 wine_fn_config_dll scrrun enable_scrrun
16189 wine_fn_config_test dlls
/scrrun
/tests scrrun_test
16190 wine_fn_config_dll scsiport.sys enable_scsiport_sys
16191 wine_fn_config_dll secur32 enable_secur32 implib
16192 wine_fn_config_test dlls
/secur32
/tests secur32_test
16193 wine_fn_config_dll security enable_security
16194 wine_fn_config_dll sensapi enable_sensapi implib
16195 wine_fn_config_dll serialui enable_serialui implib
,po
16196 wine_fn_config_test dlls
/serialui
/tests serialui_test
16197 wine_fn_config_dll setupapi enable_setupapi implib
,po
16198 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
16199 wine_fn_config_dll setupx.dll16 enable_win16
16200 wine_fn_config_dll sfc enable_sfc implib
16201 wine_fn_config_dll sfc_os enable_sfc_os implib
16202 wine_fn_config_dll shdoclc enable_shdoclc po
16203 wine_fn_config_dll shdocvw enable_shdocvw implib
16204 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
16205 wine_fn_config_dll shell.dll16 enable_win16
16206 wine_fn_config_dll shell32 enable_shell32 implib
,po
16207 wine_fn_config_test dlls
/shell32
/tests shell32_test
16208 wine_fn_config_dll shfolder enable_shfolder implib
16209 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
16210 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
16211 wine_fn_config_dll slbcsp enable_slbcsp
16212 wine_fn_config_dll slc enable_slc implib
16213 wine_fn_config_dll snmpapi enable_snmpapi implib
16214 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
16215 wine_fn_config_dll softpub enable_softpub
16216 wine_fn_config_dll sound.drv16 enable_win16
16217 wine_fn_config_dll spoolss enable_spoolss implib
16218 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
16219 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
16220 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
16221 wine_fn_config_dll sti enable_sti implib
16222 wine_fn_config_test dlls
/sti
/tests sti_test
16223 wine_fn_config_dll storage.dll16 enable_win16
16224 wine_fn_config_dll stress.dll16 enable_win16
16225 wine_fn_config_lib strmbase
16226 wine_fn_config_lib strmiids
16227 wine_fn_config_dll svrapi enable_svrapi
16228 wine_fn_config_dll sxs enable_sxs implib
16229 wine_fn_config_test dlls
/sxs
/tests sxs_test
16230 wine_fn_config_dll system.drv16 enable_win16
16231 wine_fn_config_dll t2embed enable_t2embed
16232 wine_fn_config_dll tapi32 enable_tapi32 implib
16233 wine_fn_config_dll toolhelp.dll16 enable_win16
16234 wine_fn_config_dll traffic enable_traffic
16235 wine_fn_config_dll twain.dll16 enable_win16
16236 wine_fn_config_dll twain_32 enable_twain_32
16237 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
16238 wine_fn_config_dll typelib.dll16 enable_win16
16239 wine_fn_config_dll unicows enable_unicows implib
16240 wine_fn_config_dll updspapi enable_updspapi
16241 wine_fn_config_dll url enable_url implib
16242 wine_fn_config_dll urlmon enable_urlmon implib
,po
16243 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
16244 wine_fn_config_dll usbd.sys enable_usbd_sys implib
16245 wine_fn_config_dll user.exe16 enable_win16
16246 wine_fn_config_dll user32 enable_user32 implib
,po
16247 wine_fn_config_test dlls
/user32
/tests user32_test
16248 wine_fn_config_dll userenv enable_userenv implib
16249 wine_fn_config_test dlls
/userenv
/tests userenv_test
16250 wine_fn_config_dll usp10 enable_usp10 implib
16251 wine_fn_config_test dlls
/usp10
/tests usp10_test
16252 wine_fn_config_lib uuid
16253 wine_fn_config_dll uxtheme enable_uxtheme implib
16254 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
16255 wine_fn_config_dll vbscript enable_vbscript
16256 wine_fn_config_test dlls
/vbscript
/tests vbscript_test
16257 wine_fn_config_dll vcomp enable_vcomp
16258 wine_fn_config_dll vcomp100 enable_vcomp100
16259 wine_fn_config_dll vcomp90 enable_vcomp90
16260 wine_fn_config_dll vdhcp.vxd enable_win16
16261 wine_fn_config_dll vdmdbg enable_vdmdbg implib
16262 wine_fn_config_dll ver.dll16 enable_win16
16263 wine_fn_config_dll version enable_version implib
16264 wine_fn_config_test dlls
/version
/tests version_test
16265 wine_fn_config_dll vmm.vxd enable_win16
16266 wine_fn_config_dll vnbt.vxd enable_win16
16267 wine_fn_config_dll vnetbios.vxd enable_win16
16268 wine_fn_config_dll vtdapi.vxd enable_win16
16269 wine_fn_config_dll vwin32.vxd enable_win16
16270 wine_fn_config_dll w32skrnl enable_win16
16271 wine_fn_config_dll w32sys.dll16 enable_win16
16272 wine_fn_config_dll wbemprox enable_wbemprox
16273 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
16274 wine_fn_config_dll webservices enable_webservices implib
16275 wine_fn_config_dll wer enable_wer implib
16276 wine_fn_config_test dlls
/wer
/tests wer_test
16277 wine_fn_config_dll wevtapi enable_wevtapi
16278 wine_fn_config_dll wiaservc enable_wiaservc
16279 wine_fn_config_dll win32s16.dll16 enable_win16
16280 wine_fn_config_dll win87em.dll16 enable_win16
16281 wine_fn_config_dll winaspi.dll16 enable_win16
16282 wine_fn_config_dll windebug.dll16 enable_win16
16283 wine_fn_config_dll windowscodecs enable_windowscodecs implib
16284 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
16285 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
16286 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
16287 wine_fn_config_dll winealsa.drv enable_winealsa_drv
16288 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
16289 wine_fn_config_lib winecrt0
16290 wine_fn_config_dll wined3d enable_wined3d implib
16291 wine_fn_config_dll winegstreamer enable_winegstreamer
16292 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
16293 wine_fn_config_dll winemac.drv enable_winemac_drv
16294 wine_fn_config_dll winemapi enable_winemapi
16295 wine_fn_config_dll winemp3.acm enable_winemp3_acm
16296 wine_fn_config_dll wineoss.drv enable_wineoss_drv
16297 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
16298 wine_fn_config_dll wineps16.drv16 enable_win16
16299 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
16300 wine_fn_config_dll winex11.drv enable_winex11_drv
16301 wine_fn_config_dll wing.dll16 enable_win16
16302 wine_fn_config_dll wing32 enable_wing32
16303 wine_fn_config_dll winhttp enable_winhttp implib
16304 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
16305 wine_fn_config_dll wininet enable_wininet implib
,po
16306 wine_fn_config_test dlls
/wininet
/tests wininet_test
16307 wine_fn_config_dll winmm enable_winmm implib
,po
16308 wine_fn_config_test dlls
/winmm
/tests winmm_test
16309 wine_fn_config_dll winnls.dll16 enable_win16
16310 wine_fn_config_dll winnls32 enable_winnls32 implib
16311 wine_fn_config_dll winscard enable_winscard implib
16312 wine_fn_config_dll winsock.dll16 enable_win16
16313 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
16314 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
16315 wine_fn_config_dll winsta enable_winsta
16316 wine_fn_config_dll wintab.dll16 enable_win16
16317 wine_fn_config_dll wintab32 enable_wintab32 implib
16318 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
16319 wine_fn_config_dll wintrust enable_wintrust implib
16320 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
16321 wine_fn_config_dll wlanapi enable_wlanapi
16322 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
16323 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
16324 wine_fn_config_dll wmi enable_wmi
16325 wine_fn_config_dll wmiutils enable_wmiutils
16326 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
16327 wine_fn_config_dll wmvcore enable_wmvcore
16328 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
16329 wine_fn_config_dll wow32 enable_win16 implib
16330 wine_fn_config_dll ws2_32 enable_ws2_32 implib
16331 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
16332 wine_fn_config_dll wshom.ocx enable_wshom_ocx
16333 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test
16334 wine_fn_config_dll wsnmp32 enable_wsnmp32
16335 wine_fn_config_dll wsock32 enable_wsock32 implib
16336 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
16337 wine_fn_config_dll wuapi enable_wuapi
16338 wine_fn_config_dll wuaueng enable_wuaueng
16339 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
16340 wine_fn_config_dll xinput1_1 enable_xinput1_1
16341 wine_fn_config_dll xinput1_2 enable_xinput1_2
16342 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
16343 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
16344 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
16345 wine_fn_config_dll xmllite enable_xmllite
16346 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
16347 wine_fn_config_dll xolehlp enable_xolehlp
16348 wine_fn_config_dll xpsprint enable_xpsprint
16349 wine_fn_config_dll xpssvcs enable_xpssvcs
16350 wine_fn_config_makefile documentation enable_documentation
16351 wine_fn_config_makefile fonts enable_fonts install-lib
16352 wine_fn_config_makefile include enable_include install-dev
16353 wine_fn_config_makefile libs
/port enable_libs_port
16354 wine_fn_config_makefile libs
/wine enable_libs_wine install-dev
,install-lib
16355 wine_fn_config_makefile libs
/wpp enable_libs_wpp
16356 wine_fn_config_makefile loader enable_loader install-lib
,manpage
16357 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
16358 wine_fn_config_program attrib enable_attrib
install,po
16359 wine_fn_config_program cabarc enable_cabarc
install
16360 wine_fn_config_program cacls enable_cacls
install
16361 wine_fn_config_program
clock enable_clock
install,po
16362 wine_fn_config_program cmd enable_cmd
install,po
16363 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
16364 wine_fn_config_program conhost enable_conhost
install
16365 wine_fn_config_program control enable_control
install
16366 wine_fn_config_program cscript enable_cscript
install
16367 wine_fn_config_program dxdiag enable_dxdiag
install,po
16368 wine_fn_config_program eject enable_eject
install
16369 wine_fn_config_program
expand enable_expand
install
16370 wine_fn_config_program explorer enable_explorer
install,po
16371 wine_fn_config_program extrac32 enable_extrac32
install
16372 wine_fn_config_program findstr enable_findstr
install
16373 wine_fn_config_program hh enable_hh
install
16374 wine_fn_config_program hostname enable_hostname
install,po
16375 wine_fn_config_program icinfo enable_icinfo
install
16376 wine_fn_config_program iexplore enable_iexplore
install
16377 wine_fn_config_program ipconfig enable_ipconfig
install,po
16378 wine_fn_config_program lodctr enable_lodctr
install
16379 wine_fn_config_program mofcomp enable_mofcomp
install
16380 wine_fn_config_program mshta enable_mshta
install
16381 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
16382 wine_fn_config_program net enable_net
install,po
16383 wine_fn_config_program netsh enable_netsh
install
16384 wine_fn_config_program netstat enable_netstat
install,po
16385 wine_fn_config_program ngen enable_ngen
install
16386 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
16387 wine_fn_config_program oleview enable_oleview
install,po
16388 wine_fn_config_program
ping enable_ping
install
16389 wine_fn_config_program plugplay enable_plugplay
install
16390 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
16391 wine_fn_config_program progman enable_progman
install,po
16392 wine_fn_config_program reg enable_reg
install,po
16393 wine_fn_config_program regasm enable_regasm
install
16394 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
16395 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
16396 wine_fn_config_program regsvcs enable_regsvcs
install
16397 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
16398 wine_fn_config_program rpcss enable_rpcss
install
16399 wine_fn_config_program rundll.exe16 enable_win16
install
16400 wine_fn_config_program rundll32 enable_rundll32
install
16401 wine_fn_config_program sc enable_sc
install
16402 wine_fn_config_program schtasks enable_schtasks
install
16403 wine_fn_config_program secedit enable_secedit
install
16404 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
16405 wine_fn_config_program services enable_services
install
16406 wine_fn_config_test programs
/services
/tests services.exe_test
16407 wine_fn_config_program spoolsv enable_spoolsv
install
16408 wine_fn_config_program start enable_start
install,po
16409 wine_fn_config_program svchost enable_svchost
install
16410 wine_fn_config_program taskkill enable_taskkill
install,po
16411 wine_fn_config_program taskmgr enable_taskmgr
install,po
16412 wine_fn_config_program termsv enable_termsv
install
16413 wine_fn_config_program uninstaller enable_uninstaller
install,po
16414 wine_fn_config_program unlodctr enable_unlodctr
install
16415 wine_fn_config_program view enable_view
install,po
16416 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
16417 wine_fn_config_program winebrowser enable_winebrowser
install
16418 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
16419 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
16420 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
16421 wine_fn_config_program winedevice enable_winedevice
install
16422 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
16423 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
16424 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
16425 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
16426 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
16427 wine_fn_config_program winetest enable_winetest
16428 wine_fn_config_program winevdm enable_win16
install
16429 wine_fn_config_program winhelp.exe16 enable_win16
install
16430 wine_fn_config_program winhlp32 enable_winhlp32
install,po
16431 wine_fn_config_program winoldap.mod16 enable_win16
install
16432 wine_fn_config_program winver enable_winver
install
16433 wine_fn_config_program wmic enable_wmic
install,po
16434 wine_fn_config_program wordpad enable_wordpad
install,po
16435 wine_fn_config_program
write enable_write
install,po
16436 wine_fn_config_program wscript enable_wscript
install
16437 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
16438 wine_fn_config_program wusa enable_wusa
install
16439 wine_fn_config_program xcopy enable_xcopy
install,po
16440 wine_fn_config_makefile server enable_server install-lib
,manpage
16441 wine_fn_config_tool tools install-dev
,install-lib
,manpage
16442 wine_fn_config_tool tools
/widl install-dev
,manpage
16443 wine_fn_config_tool tools
/winebuild install-dev
,manpage
16444 wine_fn_config_tool tools
/winedump install-dev
,manpage
16445 wine_fn_config_tool tools
/winegcc install-dev
,manpage
16446 wine_fn_config_tool tools
/wmc install-dev
,manpage
16447 wine_fn_config_tool tools
/wrc install-dev
,manpage
16498 ac_config_commands
="$ac_config_commands Makefile"
16501 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16505 if test "x$enable_maintainer_mode" = xyes
16507 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(srcdir)/configure: configure.ac aclocal.m4
16508 cd \$(srcdir) && autoconf --warnings=all
16509 \$(srcdir)/include/config.h.in: include/stamp-h.in
16510 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16511 cd \$(srcdir) && autoheader --warnings=all
16512 @echo timestamp > \$@"
16515 if test "x$with_gettextpo" = xyes
16517 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16518 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"ALL_POT_FILES =$ALL_POT_FILES
16519 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16520 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16521 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16522 msgcat -o \$@ \$(ALL_POT_FILES)"
16525 if test "$MSGFMT" != false
16527 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
16529 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: \$(ALL_MO_FILES)"
16534 if test "x$enable_tools" != xno
16536 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(MAKEDEP): tools/Makefile
16538 \$(RM) tools/makedep\$(EXEEXT)"
16541 if test -n "$with_wine64"
16543 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16544 fonts server tools:
16545 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16546 $with_wine64/loader/wine:
16547 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16548 $with_wine64/loader/wine-preloader:
16549 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16551 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16554 cat >confcache
<<\_ACEOF
16555 # This file is a shell script that caches the results of configure
16556 # tests run on this system so they can be shared between configure
16557 # scripts and configure runs, see configure's option --config-cache.
16558 # It is not useful on other systems. If it contains results you don't
16559 # want to keep, you may remove or edit it.
16561 # config.status only pays attention to the cache file if you give it
16562 # the --recheck option to rerun configure.
16564 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16565 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16566 # following values.
16570 # The following way of writing the cache mishandles newlines in values,
16571 # but we know of no workaround that is simple, portable, and efficient.
16572 # So, we kill variables containing newlines.
16573 # Ultrix sh set writes to stderr and can't be redirected directly,
16574 # and sets the high bit in the cache file unless we assign to the vars.
16576 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16577 eval ac_val
=\$
$ac_var
16581 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16582 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16585 _ | IFS | as_nl
) ;; #(
16586 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16587 *) { eval $ac_var=; unset $ac_var;} ;;
16593 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16594 *${as_nl}ac_space
=\
*)
16595 # `set' does not quote correctly, so add quotes: double-quote
16596 # substitution turns \\\\ into \\, and sed turns \\ into \.
16599 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16602 # `set' quotes correctly as required by POSIX, so do not add quotes.
16603 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16612 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16614 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16616 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16617 if test -w "$cache_file"; then
16618 if test "x$cache_file" != "x/dev/null"; then
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16620 $as_echo "$as_me: updating cache $cache_file" >&6;}
16621 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16622 cat confcache
>"$cache_file"
16624 case $cache_file in #(
16626 mv -f confcache
"$cache_file"$$
&&
16627 mv -f "$cache_file"$$
"$cache_file" ;; #(
16629 mv -f confcache
"$cache_file" ;;
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16635 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16640 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16641 # Let make expand exec_prefix.
16642 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16644 DEFS
=-DHAVE_CONFIG_H
16649 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16650 # 1. Remove the extension, and $U if already installed.
16651 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16652 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16653 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16654 # will be set to the directory where LIBOBJS objects are built.
16655 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16656 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16658 LIBOBJS
=$ac_libobjs
16660 LTLIBOBJS
=$ac_ltlibobjs
16664 : "${CONFIG_STATUS=./config.status}"
16666 ac_clean_files_save
=$ac_clean_files
16667 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16669 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16671 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16673 # Generated by $as_me.
16674 # Run this file to recreate the current configuration.
16675 # Compiler output produced by configure, useful for debugging
16676 # configure, is in config.log if it exists.
16679 ac_cs_recheck=false
16682 SHELL=\${CONFIG_SHELL-$SHELL}
16685 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16686 ## -------------------- ##
16687 ## M4sh Initialization. ##
16688 ## -------------------- ##
16690 # Be more Bourne compatible
16691 DUALCASE
=1; export DUALCASE
# for MKS sh
16692 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16695 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16696 # is contrary to our usage. Disable this feature.
16697 alias -g '${1+"$@"}'='"$@"'
16698 setopt NO_GLOB_SUBST
16700 case `(set -o) 2>/dev/null` in #(
16712 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16713 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16714 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16715 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16716 # Prefer a ksh shell builtin over an external printf program on Solaris,
16717 # but without wasting forks for bash or zsh.
16718 if test -z "$BASH_VERSION$ZSH_VERSION" \
16719 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16720 as_echo='print
-r --'
16721 as_echo_n='print
-rn --'
16722 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16723 as_echo='printf %s
\n'
16724 as_echo_n='printf %s
'
16726 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16727 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16728 as_echo_n='/usr
/ucb
/echo -n'
16730 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16731 as_echo_n_body='eval
16735 expr "X$arg" : "X\\(.*\\)$as_nl";
16736 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16738 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16740 export as_echo_n_body
16741 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16743 export as_echo_body
16744 as_echo='sh
-c $as_echo_body as_echo
'
16747 # The user is always right.
16748 if test "${PATH_SEPARATOR+set}" != set; then
16750 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16751 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16758 # We need space, tab and new line, in precisely that order. Quoting is
16759 # there to prevent editors from complaining about space-tab.
16760 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16761 # splitting by setting IFS to empty value.)
16764 # Find who we are. Look in the path if we contain no directory separator.
16767 *[\\/]* ) as_myself=$0 ;;
16768 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16769 for as_dir in $PATH
16772 test -z "$as_dir" && as_dir=.
16773 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16779 # We did not find ourselves, most probably we were run as `sh COMMAND'
16780 # in which case we are not to be found in the path.
16781 if test "x$as_myself" = x
; then
16784 if test ! -f "$as_myself"; then
16785 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16789 # Unset variables that we do not need and which cause bugs (e.g. in
16790 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16791 # suppresses any "Segmentation fault" message there. '((' could
16792 # trigger a bug in pdksh 5.2.14.
16793 for as_var
in BASH_ENV ENV MAIL MAILPATH
16794 do eval test x\
${$as_var+set} = xset \
16795 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16808 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16811 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16812 # ----------------------------------------
16813 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16814 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16815 # script with STATUS, using 1 if that was 0.
16818 as_status
=$1; test $as_status -eq 0 && as_status
=1
16820 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16821 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16823 $as_echo "$as_me: error: $2" >&2
16824 as_fn_exit
$as_status
16828 # as_fn_set_status STATUS
16829 # -----------------------
16830 # Set $? to STATUS, without forking.
16831 as_fn_set_status
()
16834 } # as_fn_set_status
16836 # as_fn_exit STATUS
16837 # -----------------
16838 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16842 as_fn_set_status
$1
16848 # Portably unset VAR.
16851 { eval $1=; unset $1;}
16853 as_unset
=as_fn_unset
16854 # as_fn_append VAR VALUE
16855 # ----------------------
16856 # Append the text in VALUE to the end of the definition contained in VAR. Take
16857 # advantage of any shell optimizations that allow amortized linear growth over
16858 # repeated appends, instead of the typical quadratic growth present in naive
16860 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16861 eval 'as_fn_append ()
16872 # as_fn_arith ARG...
16873 # ------------------
16874 # Perform arithmetic evaluation on the ARGs, and store the result in the
16875 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16876 # must be portable across $(()) and expr.
16877 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16878 eval 'as_fn_arith ()
16885 as_val
=`expr "$@" || test $? -eq 1`
16890 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16891 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16897 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16898 as_basename
=basename
16903 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16909 as_me
=`$as_basename -- "$0" ||
16910 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16911 X"$0" : 'X\(//\)$' \| \
16912 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16914 sed '/^.*\/\([^/][^/]*\)\/*$/{
16928 # Avoid depending upon Character Ranges.
16929 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16930 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16931 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16932 as_cr_digits
='0123456789'
16933 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16935 ECHO_C
= ECHO_N
= ECHO_T
=
16936 case `echo -n x` in #(((((
16938 case `echo 'xy\c'` in
16939 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16941 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16948 rm -f conf$$ conf$$.exe conf$$.
file
16949 if test -d conf$$.dir
; then
16950 rm -f conf$$.dir
/conf$$.
file
16953 mkdir conf$$.dir
2>/dev
/null
16955 if (echo >conf$$.
file) 2>/dev
/null
; then
16956 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16958 # ... but there are two gotchas:
16959 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16960 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16961 # In both cases, we have to default to `cp -pR'.
16962 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16964 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16972 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16973 rmdir conf$$.dir
2>/dev
/null
16978 # Create "$as_dir" as a directory, including parents if necessary.
16983 -*) as_dir
=.
/$as_dir;;
16985 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16989 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16990 *) as_qdir
=$as_dir;;
16992 as_dirs
="'$as_qdir' $as_dirs"
16993 as_dir
=`$as_dirname -- "$as_dir" ||
16994 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16995 X"$as_dir" : 'X\(//\)[^/]' \| \
16996 X"$as_dir" : 'X\(//\)$' \| \
16997 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16998 $as_echo X"$as_dir" |
16999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17003 /^X\(\/\/\)[^/].*/{
17016 test -d "$as_dir" && break
17018 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17019 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17023 if mkdir
-p .
2>/dev
/null
; then
17024 as_mkdir_p
='mkdir -p "$as_dir"'
17026 test -d .
/-p && rmdir .
/-p
17031 # as_fn_executable_p FILE
17032 # -----------------------
17033 # Test if FILE is an executable regular file.
17034 as_fn_executable_p
()
17036 test -f "$1" && test -x "$1"
17037 } # as_fn_executable_p
17038 as_test_x
='test -x'
17039 as_executable_p
=as_fn_executable_p
17041 # Sed expression to map a string onto a valid CPP name.
17042 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17044 # Sed expression to map a string onto a valid variable name.
17045 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17049 ## ----------------------------------- ##
17050 ## Main body of $CONFIG_STATUS script. ##
17051 ## ----------------------------------- ##
17053 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17056 # Save the log message, to keep $0 and so on meaningful, and to
17057 # report actual input values of CONFIG_FILES etc. instead of their
17058 # values after options handling.
17060 This file was extended by Wine $as_me 1.6, which was
17061 generated by GNU Autoconf 2.69. Invocation command line was
17063 CONFIG_FILES = $CONFIG_FILES
17064 CONFIG_HEADERS = $CONFIG_HEADERS
17065 CONFIG_LINKS = $CONFIG_LINKS
17066 CONFIG_COMMANDS = $CONFIG_COMMANDS
17069 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17074 case $ac_config_files in *"
17075 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17078 case $ac_config_headers in *"
17079 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17084 # Files that config.status was made for.
17085 config_files="$ac_config_files"
17086 config_headers="$ac_config_headers"
17087 config_links="$ac_config_links"
17088 config_commands="$ac_config_commands"
17092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17094 \`$as_me' instantiates files and other configuration actions
17095 from templates according to the current configuration. Unless the files
17096 and actions are specified as TAGs, all are instantiated by default.
17098 Usage: $0 [OPTION]... [TAG]...
17100 -h, --help print this help, then exit
17101 -V, --version print version number and configuration settings, then exit
17102 --config print configuration, then exit
17103 -q, --quiet, --silent
17104 do not print progress messages
17105 -d, --debug don't remove temporary files
17106 --recheck update $as_me by reconfiguring in the same conditions
17107 --file=FILE[:TEMPLATE]
17108 instantiate the configuration file FILE
17109 --header=FILE[:TEMPLATE]
17110 instantiate the configuration header FILE
17112 Configuration files:
17115 Configuration headers:
17118 Configuration links:
17121 Configuration commands:
17124 Report bugs to <wine-devel@winehq.org>.
17125 Wine home page: <http://www.winehq.org>."
17128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17129 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17131 Wine config.status 1.6
17132 configured by $0, generated by GNU Autoconf 2.69,
17133 with options \\"\$ac_cs_config\\"
17135 Copyright (C) 2012 Free Software Foundation, Inc.
17136 This config.status script is free software; the Free Software Foundation
17137 gives unlimited permission to copy, distribute and modify it."
17142 test -n "\$AWK" || AWK=awk
17145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17146 # The default lists apply if the user does not specify any file.
17152 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17153 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17157 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17169 # Handling of the options.
17170 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17172 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17173 $as_echo "$ac_cs_version"; exit ;;
17174 --config |
--confi |
--conf |
--con |
--co |
--c )
17175 $as_echo "$ac_cs_config"; exit ;;
17176 --debug |
--debu |
--deb |
--de |
--d |
-d )
17178 --file |
--fil |
--fi |
--f )
17181 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17182 '') as_fn_error $?
"missing file argument" ;;
17184 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17185 ac_need_defaults
=false
;;
17186 --header |
--heade |
--head |
--hea )
17189 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17191 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17192 ac_need_defaults
=false
;;
17194 # Conflict between --help and --header
17195 as_fn_error $?
"ambiguous option: \`$1'
17196 Try \`$0 --help' for more information.";;
17197 --help |
--hel |
-h )
17198 $as_echo "$ac_cs_usage"; exit ;;
17199 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17200 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17203 # This is an error.
17204 -*) as_fn_error $?
"unrecognized option: \`$1'
17205 Try \`$0 --help' for more information." ;;
17207 *) as_fn_append ac_config_targets
" $1"
17208 ac_need_defaults
=false
;;
17214 ac_configure_extra_args
=
17216 if $ac_cs_silent; then
17218 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17223 if \$ac_cs_recheck; then
17224 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17226 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17227 CONFIG_SHELL='$SHELL'
17228 export CONFIG_SHELL
17233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17237 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17238 ## Running $as_me. ##
17244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17248 wine_fn_output_makefile ()
17250 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
17251 $ALL_MAKEFILE_DEPENDS
17253 as_fn_error $? "could not create Makefile" "$LINENO" 5
17258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17260 # Handling of arguments.
17261 for ac_config_target
in $ac_config_targets
17263 case $ac_config_target in
17264 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
17265 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
17266 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
17267 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
17268 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17269 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17270 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17271 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
17272 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
17273 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
17274 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
17275 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
17276 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
17277 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17278 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
17279 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
17280 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
17281 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17282 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
17283 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
17284 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
17285 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
17286 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
17287 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
17288 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
17289 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
17291 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17296 # If the user did not use the arguments to specify the items to instantiate,
17297 # then the envvar interface is used. Set only those that are not.
17298 # We use the long form for the default assignment because of an extremely
17299 # bizarre bug on SunOS 4.1.3.
17300 if $ac_need_defaults; then
17301 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17302 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17303 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
17304 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17307 # Have a temporary directory for convenience. Make it in the build tree
17308 # simply because there is no reason against having it here, and in addition,
17309 # creating and moving files from /tmp can sometimes cause problems.
17310 # Hook for its removal unless debugging.
17311 # Note that there is a small window in which the directory will not be cleaned:
17312 # after its creation but before its name has been assigned to `$tmp'.
17316 trap 'exit_status=$?
17317 : "${ac_tmp:=$tmp}"
17318 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17320 trap 'as_fn_exit 1' 1 2 13 15
17322 # Create a (secure) tmp directory for tmp files.
17325 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17329 tmp
=.
/conf$$
-$RANDOM
17330 (umask 077 && mkdir
"$tmp")
17331 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17334 # Set up the scripts for CONFIG_FILES section.
17335 # No need to generate them if there are no CONFIG_FILES.
17336 # This happens for instance with `./config.status config.h'.
17337 if test -n "$CONFIG_FILES"; then
17339 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
17340 ac_cs_awk_getline
=:
17341 ac_cs_awk_pipe_init
=
17342 ac_cs_awk_read_file
='
17343 while ((getline aline < (F[key])) > 0)
17346 ac_cs_awk_pipe_fini
=
17348 ac_cs_awk_getline
=false
17349 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
17350 ac_cs_awk_read_file
='
17352 print "cat " F[key] " &&"
17353 '$ac_cs_awk_pipe_init
17354 # The final `:' finishes the AND list.
17355 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
17357 ac_cr
=`echo X | tr X '\015'`
17358 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17359 # But we know of no other shell where ac_cr would be empty at this
17360 # point, so we can use a bashism as a fallback.
17361 if test "x$ac_cr" = x
; then
17362 eval ac_cr
=\$
\'\\r
\'
17364 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17365 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17368 ac_cs_awk_cr
=$ac_cr
17371 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17374 # Create commands to substitute file output variables.
17376 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17377 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17378 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
17381 } >conf$
$files.sh
&&
17382 . .
/conf$
$files.sh ||
17383 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
17384 rm -f conf$
$files.sh
17387 echo "cat >conf$$subs.awk <<_ACEOF" &&
17388 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17390 } >conf$$subs.sh ||
17391 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17392 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17394 for ac_last_try in false false false false false :; do
17395 . ./conf$$subs.sh ||
17396 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17398 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17399 if test $ac_delim_n = $ac_delim_num; then
17401 elif $ac_last_try; then
17402 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17404 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17407 rm -f conf$$subs.sh
17409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17410 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17414 s/^/S["/; s
/!.
*/"]=/
17424 s/\(.\{148\}\)..*/\1/
17426 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17431 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17438 s/\(.\{148\}\)..*/\1/
17440 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17444 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17449 ' <conf$$subs.awk | sed '
17454 ' >>$CONFIG_STATUS || ac_write_fail=1
17455 rm -f conf$$subs.awk
17456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17458 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17459 for (key in S) S_is_set[key] = 1
17461 \$ac_cs_awk_pipe_init
17465 nfields = split(line, field, "@
")
17467 len = length(field[1])
17468 for (i = 2; i < nfields; i++) {
17470 keylen = length(key)
17471 if (S_is_set[key]) {
17473 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17474 len += length(value) + length(field[++i])
17479 if (nfields == 3 && !substed) {
17481 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17482 \$ac_cs_awk_read_file
17488 \$ac_cs_awk_pipe_fini
17491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17492 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17493 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17496 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17497 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17500 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17501 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17502 # trailing colons and then remove the whole line if VPATH becomes empty
17503 # (actually we leave an empty line to preserve line numbers).
17504 if test "x
$srcdir" = x.; then
17505 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17524 fi # test -n "$CONFIG_FILES"
17526 # Set up the scripts for CONFIG_HEADERS section.
17527 # No need to generate them if there are no CONFIG_HEADERS.
17528 # This happens for instance with `./config.status Makefile'.
17529 if test -n "$CONFIG_HEADERS"; then
17530 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17534 # Transform confdefs.h into an awk script `defines.awk', embedded as
17535 # here-document in config.status, that substitutes the proper values into
17536 # config.h.in to produce config.h.
17538 # Create a delimiter string that does not exist in confdefs.h, to ease
17539 # handling of long lines.
17541 for ac_last_try in false false :; do
17542 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17543 if test -z "$ac_tt"; then
17545 elif $ac_last_try; then
17546 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17548 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17552 # For the awk script, D is an array of macro values keyed by name,
17553 # likewise P contains macro parameters if any. Preserve backslash
17554 # newline sequences.
17556 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17558 s/.\{148\}/&'"$ac_delim"'/g
17561 s/^[ ]*#[ ]*define[ ][ ]*/ /
17568 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17570 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17574 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17575 D["\
1"]=" \
3\\\\\\n
"\\/p
17577 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17582 s/.\{148\}/&'"$ac_delim"'/g
17587 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17590 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17592 ' <confdefs.h | sed '
17593 s/'"$ac_delim"'/"\\\
17594 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17597 for (key in D) D_is_set[key] = 1
17600 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17602 split(line, arg, " ")
17603 if (arg[1] == "#") {
17607 defundef
= substr
(arg
[1], 2)
17610 split(mac1
, mac2
, "(") #)
17612 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17613 if (D_is_set
[macro
]) {
17614 # Preserve the white space surrounding the "#".
17615 print prefix
"define", macro P
[macro
] D
[macro
]
17618 # Replace #undef with comments. This is necessary, for example,
17619 # in the case of _POSIX_SOURCE, which is predefined and required
17620 # on some systems where configure will not decide to define it.
17621 if (defundef
== "undef") {
17622 print
"/*", prefix defundef
, macro
, "*/"
17630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17631 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17632 fi # test -n "$CONFIG_HEADERS"
17635 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17640 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17642 case $ac_mode$ac_tag in
17644 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17645 :[FH
]-) ac_tag
=-:-;;
17646 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17663 -) ac_f
="$ac_tmp/stdin";;
17664 *) # Look for the file first in the build tree, then in the source tree
17665 # (if the path is not absolute). The absolute path cannot be DOS-style,
17666 # because $ac_f cannot contain `:'.
17670 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17672 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17674 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17675 as_fn_append ac_file_inputs
" '$ac_f'"
17678 # Let's still pretend it is `configure' which instantiates (i.e., don't
17679 # use $as_me), people would be surprised to read:
17680 # /* config.h. Generated by config.status. */
17681 configure_input
='Generated from '`
17682 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17684 if test x
"$ac_file" != x-
; then
17685 configure_input
="$ac_file. $configure_input"
17686 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17687 $as_echo "$as_me: creating $ac_file" >&6;}
17689 # Neutralize special characters interpreted by sed in replacement strings.
17690 case $configure_input in #(
17691 *\
&* |
*\|
* |
*\\* )
17692 ac_sed_conf_input
=`$as_echo "$configure_input" |
17693 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17694 *) ac_sed_conf_input
=$configure_input;;
17698 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17699 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17704 ac_dir
=`$as_dirname -- "$ac_file" ||
17705 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17706 X"$ac_file" : 'X\(//\)[^/]' \| \
17707 X"$ac_file" : 'X\(//\)$' \| \
17708 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17709 $as_echo X"$ac_file" |
17710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17714 /^X\(\/\/\)[^/].*/{
17727 as_dir
="$ac_dir"; as_fn_mkdir_p
17731 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17733 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17734 # A ".." for each directory in $ac_dir_suffix.
17735 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17736 case $ac_top_builddir_sub in
17737 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17738 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17741 ac_abs_top_builddir
=$ac_pwd
17742 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17743 # for backward compatibility:
17744 ac_top_builddir
=$ac_top_build_prefix
17747 .
) # We are building in place.
17749 ac_top_srcdir
=$ac_top_builddir_sub
17750 ac_abs_top_srcdir
=$ac_pwd ;;
17751 [\\/]* | ?
:[\\/]* ) # Absolute name.
17752 ac_srcdir
=$srcdir$ac_dir_suffix;
17753 ac_top_srcdir
=$srcdir
17754 ac_abs_top_srcdir
=$srcdir ;;
17755 *) # Relative name.
17756 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17757 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17758 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17760 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17770 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17771 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17776 # If the template does not know about datarootdir, expand it.
17777 # FIXME: This hack should be removed a few years after 2.60.
17778 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17789 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17790 *datarootdir
*) ac_datarootdir_seen
=yes;;
17791 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17793 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17796 ac_datarootdir_hack='
17797 s&@datadir@&$datadir&g
17798 s&@docdir@&$docdir&g
17799 s&@infodir@&$infodir&g
17800 s&@localedir@&$localedir&g
17801 s&@mandir@&$mandir&g
17802 s&\\\${datarootdir}&$datarootdir&g' ;;
17806 # Neutralize VPATH when `$srcdir' = `.'.
17807 # Shell code in configure.ac might set extrasub.
17808 # FIXME: do we really want to maintain this feature?
17809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17810 ac_sed_extra="$ac_vpsub
17813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17815 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17816 s|@configure_input@|
$ac_sed_conf_input|
;t t
17817 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17818 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17819 s
&@srcdir@
&$ac_srcdir&;t t
17820 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17821 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17822 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17823 s
&@builddir@
&$ac_builddir&;t t
17824 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17825 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17826 s
&@INSTALL@
&$ac_INSTALL&;t t
17827 $ac_datarootdir_hack
17829 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17830 if $ac_cs_awk_getline; then
17831 $AWK -f "$ac_tmp/subs.
awk"
17833 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
17835 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17837 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17838 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17839 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17840 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17842 which seems to be undefined. Please make sure it is defined" >&5
17843 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17844 which seems to be undefined. Please make sure it is defined" >&2;}
17846 rm -f "$ac_tmp/stdin"
17848 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17849 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17851 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17857 if test x"$ac_file" != x-; then
17859 $as_echo "/* $configure_input */" \
17860 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17861 } >"$ac_tmp/config.h" \
17862 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17863 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17865 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17868 mv "$ac_tmp/config.h" "$ac_file" \
17869 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17872 $as_echo "/* $configure_input */" \
17873 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17874 || as_fn_error $? "could not create -" "$LINENO" 5
17882 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
17885 # Prefer the file from the source tree if names are identical.
17886 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17887 ac_source=$srcdir/$ac_source
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17891 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17893 if test ! -r "$ac_source"; then
17894 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17898 # Try a relative symlink, then a hard link, then a copy.
17900 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17901 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17903 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17904 ln "$ac_source" "$ac_file" 2>/dev/null ||
17905 cp -p "$ac_source" "$ac_file" ||
17906 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17909 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17910 $as_echo "$as_me: executing $ac_file commands" >&6;}
17915 case $ac_file$ac_mode in
17916 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17917 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17918 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17919 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17920 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17921 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17922 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17923 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17924 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17925 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17926 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17927 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17928 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17929 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17930 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17931 "Makefile":C) wine_fn_output_makefile Makefile ;;
17939 ac_clean_files=$ac_clean_files_save
17941 test $ac_write_fail = 0 ||
17942 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17945 # configure is writing to config.log, and then calls config.status.
17946 # config.status does its own redirection, appending to config.log.
17947 # Unfortunately, on DOS this fails, as config.log is still kept open
17948 # by configure, so config.status won't be able to
write to it
; its
17949 # output is simply discarded. So we exec the FD to /dev/null,
17950 # effectively closing config.log, so it can be properly (re)opened and
17951 # appended to by config.status. When coming back to configure, we
17952 # need to make the FD available again.
17953 if test "$no_create" != yes; then
17955 ac_config_status_args
=
17956 test "$silent" = yes &&
17957 ac_config_status_args
="$ac_config_status_args --quiet"
17959 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17961 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17962 # would make configure fail if this is the last instruction.
17963 $ac_cs_success || as_fn_exit
1
17965 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17967 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17971 if test "$no_create" = "yes"
17977 if test "x$wine_notices != "x
; then
17980 for msg
in $wine_notices; do
17982 if test -n "$msg"; then
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17984 $as_echo "$as_me: $msg" >&6;}
17989 for msg
in $wine_warnings; do
17991 if test -n "$msg"; then
17993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17994 $as_echo "$as_me: WARNING: $msg" >&2;}
18000 $as_me: Finished. Do '${ac_make}' to compile Wine.