2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.5.29.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.5.29'
584 PACKAGE_STRING
='Wine 1.5.29'
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
782 program_transform_name
793 ac_subst_files
='MAKE_RULES
799 enable_option_checking
803 enable_maintainer_mode
852 ac_precious_vars
='build_alias
889 # Initialize some variables set by options.
891 ac_init_version
=false
892 ac_unrecognized_opts
=
894 # The variables have the same names as the options, with
895 # dashes changed to underlines.
903 program_transform_name
=s
,x
,x
,
911 # Installation directory options.
912 # These are left unexpanded so users can "make install exec_prefix=/foo"
913 # and all the variables that are supposed to be based on exec_prefix
914 # by default will actually change.
915 # Use braces instead of parens because sh, perl, etc. also accept them.
916 # (The list follows the same order as the GNU Coding Standards.)
917 bindir
='${exec_prefix}/bin'
918 sbindir
='${exec_prefix}/sbin'
919 libexecdir
='${exec_prefix}/libexec'
920 datarootdir
='${prefix}/share'
921 datadir
='${datarootdir}'
922 sysconfdir
='${prefix}/etc'
923 sharedstatedir
='${prefix}/com'
924 localstatedir
='${prefix}/var'
925 includedir
='${prefix}/include'
926 oldincludedir
='/usr/include'
927 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
928 infodir
='${datarootdir}/info'
933 libdir
='${exec_prefix}/lib'
934 localedir
='${datarootdir}/locale'
935 mandir
='${datarootdir}/man'
941 # If the previous option needs an argument, assign it.
942 if test -n "$ac_prev"; then
943 eval $ac_prev=\
$ac_option
949 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
954 # Accept the important Cygnus configure options, so we can diagnose typos.
956 case $ac_dashdash$ac_option in
960 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
962 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
965 -build |
--build |
--buil |
--bui |
--bu)
966 ac_prev
=build_alias
;;
967 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
968 build_alias
=$ac_optarg ;;
970 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
971 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
972 ac_prev
=cache_file
;;
973 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
974 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
975 cache_file
=$ac_optarg ;;
978 cache_file
=config.cache
;;
980 -datadir |
--datadir |
--datadi |
--datad)
982 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
983 datadir
=$ac_optarg ;;
985 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
986 |
--dataroo |
--dataro |
--datar)
987 ac_prev
=datarootdir
;;
988 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
989 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
990 datarootdir
=$ac_optarg ;;
992 -disable-* |
--disable-*)
993 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
996 as_fn_error $?
"invalid feature name: $ac_useropt"
997 ac_useropt_orig
=$ac_useropt
998 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1001 "enable_
$ac_useropt"
1003 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1004 ac_unrecognized_sep
=', ';;
1006 eval enable_
$ac_useropt=no
;;
1008 -docdir |
--docdir |
--docdi |
--doc |
--do)
1010 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1011 docdir
=$ac_optarg ;;
1013 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1015 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1016 dvidir
=$ac_optarg ;;
1018 -enable-* |
--enable-*)
1019 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1022 as_fn_error $?
"invalid feature name: $ac_useropt"
1023 ac_useropt_orig
=$ac_useropt
1024 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1027 "enable_
$ac_useropt"
1029 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1030 ac_unrecognized_sep
=', ';;
1032 eval enable_
$ac_useropt=\
$ac_optarg ;;
1034 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1035 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1036 |
--exec |
--exe |
--ex)
1037 ac_prev
=exec_prefix
;;
1038 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1039 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1040 |
--exec=* |
--exe=* |
--ex=*)
1041 exec_prefix
=$ac_optarg ;;
1043 -gas |
--gas |
--ga |
--g)
1044 # Obsolete; use --with-gas.
1047 -help |
--help |
--hel |
--he |
-h)
1048 ac_init_help
=long
;;
1049 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1050 ac_init_help
=recursive
;;
1051 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1052 ac_init_help
=short
;;
1054 -host |
--host |
--hos |
--ho)
1055 ac_prev
=host_alias
;;
1056 -host=* |
--host=* |
--hos=* |
--ho=*)
1057 host_alias
=$ac_optarg ;;
1059 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1061 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1063 htmldir
=$ac_optarg ;;
1065 -includedir |
--includedir |
--includedi |
--included |
--include \
1066 |
--includ |
--inclu |
--incl |
--inc)
1067 ac_prev
=includedir
;;
1068 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1069 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1070 includedir
=$ac_optarg ;;
1072 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1074 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1075 infodir
=$ac_optarg ;;
1077 -libdir |
--libdir |
--libdi |
--libd)
1079 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1080 libdir
=$ac_optarg ;;
1082 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1083 |
--libexe |
--libex |
--libe)
1084 ac_prev
=libexecdir
;;
1085 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1086 |
--libexe=* |
--libex=* |
--libe=*)
1087 libexecdir
=$ac_optarg ;;
1089 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1090 ac_prev
=localedir
;;
1091 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1092 localedir
=$ac_optarg ;;
1094 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1095 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1096 ac_prev
=localstatedir
;;
1097 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1098 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1099 localstatedir
=$ac_optarg ;;
1101 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1103 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1104 mandir
=$ac_optarg ;;
1106 -nfp |
--nfp |
--nf)
1107 # Obsolete; use --without-fp.
1110 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1111 |
--no-cr |
--no-c |
-n)
1114 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1115 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1118 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1119 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1120 |
--oldin |
--oldi |
--old |
--ol |
--o)
1121 ac_prev
=oldincludedir
;;
1122 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1123 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1124 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1125 oldincludedir
=$ac_optarg ;;
1127 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1129 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1130 prefix
=$ac_optarg ;;
1132 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1133 |
--program-pre |
--program-pr |
--program-p)
1134 ac_prev
=program_prefix
;;
1135 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1136 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1137 program_prefix
=$ac_optarg ;;
1139 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1140 |
--program-suf |
--program-su |
--program-s)
1141 ac_prev
=program_suffix
;;
1142 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1143 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1144 program_suffix
=$ac_optarg ;;
1146 -program-transform-name |
--program-transform-name \
1147 |
--program-transform-nam |
--program-transform-na \
1148 |
--program-transform-n |
--program-transform- \
1149 |
--program-transform |
--program-transfor \
1150 |
--program-transfo |
--program-transf \
1151 |
--program-trans |
--program-tran \
1152 |
--progr-tra |
--program-tr |
--program-t)
1153 ac_prev
=program_transform_name
;;
1154 -program-transform-name=* |
--program-transform-name=* \
1155 |
--program-transform-nam=* |
--program-transform-na=* \
1156 |
--program-transform-n=* |
--program-transform-=* \
1157 |
--program-transform=* |
--program-transfor=* \
1158 |
--program-transfo=* |
--program-transf=* \
1159 |
--program-trans=* |
--program-tran=* \
1160 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1161 program_transform_name
=$ac_optarg ;;
1163 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1165 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1166 pdfdir
=$ac_optarg ;;
1168 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1170 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1173 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1174 |
-silent |
--silent |
--silen |
--sile |
--sil)
1177 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1179 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1181 sbindir
=$ac_optarg ;;
1183 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1184 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1185 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1187 ac_prev
=sharedstatedir
;;
1188 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1189 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1190 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1192 sharedstatedir
=$ac_optarg ;;
1194 -site |
--site |
--sit)
1196 -site=* |
--site=* |
--sit=*)
1199 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1201 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1202 srcdir
=$ac_optarg ;;
1204 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1205 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1206 ac_prev
=sysconfdir
;;
1207 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1208 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1209 sysconfdir
=$ac_optarg ;;
1211 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1212 ac_prev
=target_alias
;;
1213 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1214 target_alias
=$ac_optarg ;;
1216 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1219 -version |
--version |
--versio |
--versi |
--vers |
-V)
1220 ac_init_version
=: ;;
1223 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1224 # Reject names that are not valid shell variable names.
1225 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1226 as_fn_error $?
"invalid package name: $ac_useropt"
1227 ac_useropt_orig
=$ac_useropt
1228 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1229 case $ac_user_opts in
1233 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1234 ac_unrecognized_sep
=', ';;
1236 eval with_
$ac_useropt=\
$ac_optarg ;;
1238 -without-* |
--without-*)
1239 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1240 # Reject names that are not valid shell variable names.
1241 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1242 as_fn_error $?
"invalid package name: $ac_useropt"
1243 ac_useropt_orig
=$ac_useropt
1244 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1245 case $ac_user_opts in
1249 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1250 ac_unrecognized_sep
=', ';;
1252 eval with_
$ac_useropt=no
;;
1255 # Obsolete; use --with-x.
1258 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1259 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1260 ac_prev
=x_includes
;;
1261 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1262 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1263 x_includes
=$ac_optarg ;;
1265 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1266 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1267 ac_prev
=x_libraries
;;
1268 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1269 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1270 x_libraries
=$ac_optarg ;;
1272 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1273 Try \`$0 --help' for more information"
1277 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1278 # Reject names that are not valid shell variable names.
1279 case $ac_envvar in #(
1280 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1281 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1283 eval $ac_envvar=\
$ac_optarg
1284 export $ac_envvar ;;
1287 # FIXME: should be removed in autoconf 3.0.
1288 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1289 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1290 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1291 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1297 if test -n "$ac_prev"; then
1298 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1299 as_fn_error $?
"missing argument to $ac_option"
1302 if test -n "$ac_unrecognized_opts"; then
1303 case $enable_option_checking in
1305 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1306 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1310 # Check all directory arguments for consistency.
1311 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1312 datadir sysconfdir sharedstatedir localstatedir includedir \
1313 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1314 libdir localedir mandir
1316 eval ac_val
=\$
$ac_var
1317 # Remove trailing slashes.
1320 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1321 eval $ac_var=\
$ac_val;;
1323 # Be sure to have absolute directory names.
1325 [\\/$
]* | ?
:[\\/]* ) continue;;
1326 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1328 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1331 # There might be people who depend on the old broken behavior: `$host'
1332 # used to hold the argument of --host etc.
1333 # FIXME: To remove some day.
1336 target
=$target_alias
1338 # FIXME: To remove some day.
1339 if test "x$host_alias" != x
; then
1340 if test "x$build_alias" = x
; then
1341 cross_compiling
=maybe
1342 elif test "x$build_alias" != "x$host_alias"; then
1348 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1350 test "$silent" = yes && exec 6>/dev
/null
1353 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1354 ac_ls_di
=`ls -di .` &&
1355 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1356 as_fn_error $?
"working directory cannot be determined"
1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358 as_fn_error $?
"pwd does not report name of working directory"
1361 # Find the source files, if location was not specified.
1362 if test -z "$srcdir"; then
1363 ac_srcdir_defaulted
=yes
1364 # Try the directory containing this script, then the parent directory.
1365 ac_confdir
=`$as_dirname -- "$as_myself" ||
1366 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367 X"$as_myself" : 'X\(//\)[^/]' \| \
1368 X"$as_myself" : 'X\(//\)$' \| \
1369 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1370 $as_echo X"$as_myself" |
1371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1393 ac_srcdir_defaulted
=no
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1396 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1397 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1399 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1401 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1403 # When building in place, set srcdir=.
1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
1407 # Remove unnecessary trailing slashes from srcdir.
1408 # Double slashes in file names in object file debugging info
1409 # mess up M-x gdb in Emacs.
1411 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1413 for ac_var
in $ac_precious_vars; do
1414 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1415 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1416 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1417 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1421 # Report the --help message.
1423 if test "$ac_init_help" = "long"; then
1424 # Omit some internal or obsolete options to make the list less imposing.
1425 # This message is too long to be a string in the A/UX 3.1 sh.
1427 \`configure' configures Wine 1.5.29 to adapt to many kinds of systems.
1429 Usage: $0 [OPTION]... [VAR=VALUE]...
1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432 VAR=VALUE. See below for descriptions of some of the useful variables.
1434 Defaults for the options are specified in brackets.
1437 -h, --help display this help and exit
1438 --help=short display options specific to this package
1439 --help=recursive display the short help of all the included packages
1440 -V, --version display version information and exit
1441 -q, --quiet, --silent do not print \`checking ...' messages
1442 --cache-file=FILE cache test results in FILE [disabled]
1443 -C, --config-cache alias for \`--cache-file=config.cache'
1444 -n, --no-create do not create output files
1445 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1447 Installation directories:
1448 --prefix=PREFIX install architecture-independent files in PREFIX
1449 [$ac_default_prefix]
1450 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1453 By default, \`make install' will install all the files in
1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456 for instance \`--prefix=\$HOME'.
1458 For better control, use the options below.
1460 Fine tuning of the installation directories:
1461 --bindir=DIR user executables [EPREFIX/bin]
1462 --sbindir=DIR system admin executables [EPREFIX/sbin]
1463 --libexecdir=DIR program executables [EPREFIX/libexec]
1464 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1465 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1466 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1467 --libdir=DIR object code libraries [EPREFIX/lib]
1468 --includedir=DIR C header files [PREFIX/include]
1469 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1470 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1471 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1472 --infodir=DIR info documentation [DATAROOTDIR/info]
1473 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1474 --mandir=DIR man documentation [DATAROOTDIR/man]
1475 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1476 --htmldir=DIR html documentation [DOCDIR]
1477 --dvidir=DIR dvi documentation [DOCDIR]
1478 --pdfdir=DIR pdf documentation [DOCDIR]
1479 --psdir=DIR ps documentation [DOCDIR]
1485 --x-includes=DIR X include files are
in DIR
1486 --x-libraries=DIR X library files are
in DIR
1489 --build=BUILD configure
for building on BUILD
[guessed
]
1490 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1494 if test -n "$ac_init_help"; then
1495 case $ac_init_help in
1496 short | recursive
) echo "Configuration of Wine 1.5.29:";;
1501 --disable-option-checking ignore unrecognized
--enable/--with options
1502 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1503 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1504 --disable-win16 do not include Win16 support
1505 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1507 --disable-tests do not build the regression tests
1508 --enable-maintainer-mode
1509 enable maintainer-specific build rules
1510 --disable-largefile omit support for large files
1513 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1514 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1515 --without-alsa do not use the Alsa sound support
1516 --without-capi do not use CAPI (ISDN support)
1517 --without-cms do not use CMS (color management support)
1518 --without-coreaudio do not use the CoreAudio sound support
1519 --without-cups do not use CUPS
1520 --without-curses do not use (n)curses
1521 --without-dbus do not use DBus (dynamic device support)
1522 --without-fontconfig do not use fontconfig
1523 --without-freetype do not use the FreeType library
1524 --without-gettext do not use gettext
1525 --with-gettextpo use the GetTextPO library to rebuild po files
1526 --without-gphoto do not use gphoto (Digital Camera support)
1527 --without-glu do not use the GLU library
1528 --without-gnutls do not use GnuTLS (schannel support)
1529 --without-gsm do not use libgsm (GSM 06.10 codec support)
1530 --without-gstreamer do not use GStreamer (codecs support)
1531 --without-hal do not use HAL (dynamic device support)
1532 --without-jpeg do not use JPEG
1533 --without-ldap do not use LDAP
1534 --without-mpg123 do not use the mpg123 library
1535 --without-openal do not use OpenAL
1536 --without-opencl do not use OpenCL
1537 --without-opengl do not use OpenGL
1538 --without-osmesa do not use the OSMesa library
1539 --without-oss do not use the OSS sound support
1540 --without-png do not use PNG
1541 --without-pthread do not use the pthread library
1542 --without-sane do not use SANE (scanner support)
1543 --without-tiff do not use TIFF
1544 --without-v4l do not use v4l1 (v4l support)
1545 --without-xcomposite do not use the Xcomposite extension
1546 --without-xcursor do not use the Xcursor extension
1547 --without-xinerama do not use Xinerama (multi-monitor support)
1548 --without-xinput do not use the Xinput extension
1549 --without-xinput2 do not use the Xinput 2 extension
1550 --without-xml do not use XML
1551 --without-xrandr do not use Xrandr (resolution changes)
1552 --without-xrender do not use the Xrender extension
1553 --without-xshape do not use the Xshape extension
1554 --without-xshm do not use XShm (shared memory extension)
1555 --without-xslt do not use XSLT
1556 --without-xxf86vm do not use XFree video mode extension
1557 --without-zlib do not use Zlib (data compression)
1558 --with-wine-tools=DIR use Wine tools from directory DIR
1559 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1560 --with-x use the X Window System
1562 Some influential environment variables:
1563 CC C compiler command
1564 CFLAGS C compiler flags
1565 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1566 nonstandard directory <lib dir>
1567 LIBS libraries to pass to the linker, e.g. -l<library>
1568 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1569 you have headers in a nonstandard directory <include dir>
1570 CXX C++ compiler command
1571 CXXFLAGS C++ compiler flags
1573 XMKMF Path to xmkmf, Makefile generator for X Window System
1574 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
1575 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
1576 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
1577 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
1578 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
1579 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
1580 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
1581 HAL_LIBS Linker flags for hal, overriding pkg-config
1583 C compiler flags for gnutls, overriding pkg-config
1584 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
1585 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
1586 SANE_LIBS Linker flags for libsane, overriding pkg-config
1588 C compiler flags for libgphoto2, overriding pkg-config
1590 Linker flags for libgphoto2, overriding pkg-config
1592 C compiler flags for libgphoto2_port, overriding pkg-config
1594 Linker flags for libgphoto2_port, overriding pkg-config
1595 LCMS_CFLAGS C compiler flags for lcms, overriding pkg-config
1596 LCMS_LIBS Linker flags for lcms, overriding pkg-config
1598 C compiler flags for freetype2, overriding pkg-config
1600 Linker flags for freetype2, overriding pkg-config
1602 C compiler flags for gstreamer-app-0.10, overriding pkg-config
1604 Linker flags for gstreamer-app-0.10, overriding pkg-config
1606 Use these variables to override the choices made by `configure' or to
help
1607 it to
find libraries and programs with nonstandard names
/locations.
1609 Report bugs to
<wine-devel@winehq.org
>.
1610 Wine home page
: <http
://www.winehq.org
>.
1615 if test "$ac_init_help" = "recursive"; then
1616 # If there are subdirs, report their specific --help.
1617 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1618 test -d "$ac_dir" ||
1619 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1624 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1626 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1627 # A ".." for each directory in $ac_dir_suffix.
1628 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1629 case $ac_top_builddir_sub in
1630 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1631 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1634 ac_abs_top_builddir
=$ac_pwd
1635 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1636 # for backward compatibility:
1637 ac_top_builddir
=$ac_top_build_prefix
1640 .
) # We are building in place.
1642 ac_top_srcdir
=$ac_top_builddir_sub
1643 ac_abs_top_srcdir
=$ac_pwd ;;
1644 [\\/]* | ?
:[\\/]* ) # Absolute name.
1645 ac_srcdir
=$srcdir$ac_dir_suffix;
1646 ac_top_srcdir
=$srcdir
1647 ac_abs_top_srcdir
=$srcdir ;;
1649 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1650 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1651 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1653 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1655 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1656 # Check for guested configure.
1657 if test -f "$ac_srcdir/configure.gnu"; then
1659 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1660 elif test -f "$ac_srcdir/configure"; then
1662 $SHELL "$ac_srcdir/configure" --help=recursive
1664 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1666 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1670 test -n "$ac_init_help" && exit $ac_status
1671 if $ac_init_version; then
1673 Wine configure
1.5.29
1674 generated by GNU Autoconf
2.69
1676 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1677 This configure
script is free software
; the Free Software Foundation
1678 gives unlimited permission to copy
, distribute and modify it.
1683 ## ------------------------ ##
1684 ## Autoconf initialization. ##
1685 ## ------------------------ ##
1687 # ac_fn_c_try_compile LINENO
1688 # --------------------------
1689 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1690 ac_fn_c_try_compile
()
1692 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1693 rm -f conftest.
$ac_objext
1694 if { { ac_try
="$ac_compile"
1696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1697 *) ac_try_echo=$ac_try;;
1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_compile") 2>conftest.err
1703 if test -s conftest.err; then
1704 grep -v '^ *+' conftest.err >conftest.er1
1705 cat conftest.er1 >&5
1706 mv -f conftest.er1 conftest.err
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; } && {
1710 test -z "$ac_c_werror_flag" ||
1711 test ! -s conftest.err
1712 } && test -s conftest.$ac_objext; then :
1715 $as_echo "$as_me: failed program was:" >&5
1716 sed 's/^/| /' conftest.$ac_ext >&5
1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721 as_fn_set_status $ac_retval
1723 } # ac_fn_c_try_compile
1725 # ac_fn_cxx_try_compile LINENO
1726 # ----------------------------
1727 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1728 ac_fn_cxx_try_compile ()
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 rm -f conftest.$ac_objext
1732 if { { ac_try="$ac_compile"
1734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1735 *) ac_try_echo
=$ac_try;;
1737 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_compile") 2>conftest.err
1741 if test -s conftest.err
; then
1742 grep -v '^ *+' conftest.err
>conftest.er1
1743 cat conftest.er1
>&5
1744 mv -f conftest.er1 conftest.err
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; } && {
1748 test -z "$ac_cxx_werror_flag" ||
1749 test ! -s conftest.err
1750 } && test -s conftest.
$ac_objext; then :
1753 $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.
$ac_ext >&5
1758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759 as_fn_set_status
$ac_retval
1761 } # ac_fn_cxx_try_compile
1763 # ac_fn_c_try_link LINENO
1764 # -----------------------
1765 # Try to link conftest.$ac_ext, and return whether this succeeded.
1768 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1769 rm -f conftest.
$ac_objext conftest
$ac_exeext
1770 if { { ac_try
="$ac_link"
1772 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1773 *) ac_try_echo=$ac_try;;
1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777 (eval "$ac_link") 2>conftest.err
1779 if test -s conftest.err; then
1780 grep -v '^ *+' conftest.err >conftest.er1
1781 cat conftest.er1 >&5
1782 mv -f conftest.er1 conftest.err
1784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785 test $ac_status = 0; } && {
1786 test -z "$ac_c_werror_flag" ||
1787 test ! -s conftest.err
1788 } && test -s conftest$ac_exeext && {
1789 test "$cross_compiling" = yes ||
1790 test -x conftest$ac_exeext
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.$ac_ext >&5
1799 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1800 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1801 # interfere with the next link command; also delete a directory that is
1802 # left behind by Apple's compiler. We do this before executing the actions.
1803 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805 as_fn_set_status $ac_retval
1807 } # ac_fn_c_try_link
1809 # ac_fn_c_try_cpp LINENO
1810 # ----------------------
1811 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815 if { { ac_try="$ac_cpp conftest.$ac_ext"
1817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1818 *) ac_try_echo
=$ac_try;;
1820 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1821 $as_echo "$ac_try_echo"; } >&5
1822 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1824 if test -s conftest.err
; then
1825 grep -v '^ *+' conftest.err
>conftest.er1
1826 cat conftest.er1
>&5
1827 mv -f conftest.er1 conftest.err
1829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830 test $ac_status = 0; } > conftest.i
&& {
1831 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1832 test ! -s conftest.err
1836 $as_echo "$as_me: failed program was:" >&5
1837 sed 's/^/| /' conftest.
$ac_ext >&5
1841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842 as_fn_set_status
$ac_retval
1846 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1847 # -------------------------------------------------------
1848 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1849 # the include files in INCLUDES and setting the cache variable VAR
1851 ac_fn_c_check_header_mongrel
()
1853 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1854 if eval \
${$3+:} false
; then :
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1856 $as_echo_n "checking for $2... " >&6; }
1857 if eval \
${$3+:} false
; then :
1858 $as_echo_n "(cached) " >&6
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1862 $as_echo "$ac_res" >&6; }
1864 # Is the header compilable?
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1866 $as_echo_n "checking $2 usability... " >&6; }
1867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1868 /* end confdefs.h. */
1872 if ac_fn_c_try_compile
"$LINENO"; then :
1873 ac_header_compiler
=yes
1875 ac_header_compiler
=no
1877 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1879 $as_echo "$ac_header_compiler" >&6; }
1881 # Is the header present?
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1883 $as_echo_n "checking $2 presence... " >&6; }
1884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1885 /* end confdefs.h. */
1888 if ac_fn_c_try_cpp
"$LINENO"; then :
1889 ac_header_preproc
=yes
1891 ac_header_preproc
=no
1893 rm -f conftest.err conftest.i conftest.
$ac_ext
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1895 $as_echo "$ac_header_preproc" >&6; }
1897 # So? What about this header?
1898 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1901 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1903 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1907 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1909 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1911 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1913 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1915 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1916 ( $as_echo "## ------------------------------------ ##
1917 ## Report this to wine-devel@winehq.org ##
1918 ## ------------------------------------ ##"
1919 ) |
sed "s/^/$as_me: WARNING: /" >&2
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923 $as_echo_n "checking for $2... " >&6; }
1924 if eval \
${$3+:} false
; then :
1925 $as_echo_n "(cached) " >&6
1927 eval "$3=\$ac_header_compiler"
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1931 $as_echo "$ac_res" >&6; }
1933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1935 } # ac_fn_c_check_header_mongrel
1937 # ac_fn_c_try_run LINENO
1938 # ----------------------
1939 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1940 # that executables *can* be run.
1943 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1944 if { { ac_try
="$ac_link"
1946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1947 *) ac_try_echo=$ac_try;;
1949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1950 $as_echo "$ac_try_echo"; } >&5
1951 (eval "$ac_link") 2>&5
1953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1954 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1955 { { case "(($ac_try" in
1956 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1957 *) ac_try_echo
=$ac_try;;
1959 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1960 $as_echo "$ac_try_echo"; } >&5
1961 (eval "$ac_try") 2>&5
1963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1964 test $ac_status = 0; }; }; then :
1967 $as_echo "$as_me: program exited with status $ac_status" >&5
1968 $as_echo "$as_me: failed program was:" >&5
1969 sed 's/^/| /' conftest.
$ac_ext >&5
1971 ac_retval
=$ac_status
1973 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1974 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1975 as_fn_set_status
$ac_retval
1979 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1980 # -------------------------------------------------------
1981 # Tests whether HEADER exists and can be compiled using the include files in
1982 # INCLUDES, setting the cache variable VAR accordingly.
1983 ac_fn_c_check_header_compile
()
1985 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1987 $as_echo_n "checking for $2... " >&6; }
1988 if eval \
${$3+:} false
; then :
1989 $as_echo_n "(cached) " >&6
1991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1992 /* end confdefs.h. */
1996 if ac_fn_c_try_compile
"$LINENO"; then :
2001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2005 $as_echo "$ac_res" >&6; }
2006 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2008 } # ac_fn_c_check_header_compile
2010 # ac_fn_c_check_func LINENO FUNC VAR
2011 # ----------------------------------
2012 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2013 ac_fn_c_check_func
()
2015 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2017 $as_echo_n "checking for $2... " >&6; }
2018 if eval \
${$3+:} false
; then :
2019 $as_echo_n "(cached) " >&6
2021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2022 /* end confdefs.h. */
2023 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2025 #define $2 innocuous_$2
2027 /* System header to define __stub macros and hopefully few prototypes,
2028 which can conflict with char $2 (); below.
2029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2030 <limits.h> exists even on freestanding compilers. */
2033 # include <limits.h>
2035 # include <assert.h>
2040 /* Override any GCC internal prototype to avoid an error.
2041 Use char because int might match the return type of a GCC
2042 builtin and then its argument prototype would still apply. */
2047 /* The GNU C library defines this for functions which it implements
2048 to always fail with ENOSYS. Some functions are actually named
2049 something starting with __ and the normal name is an alias. */
2050 #if defined __stub_$2 || defined __stub___$2
2062 if ac_fn_c_try_link
"$LINENO"; then :
2067 rm -f core conftest.err conftest.
$ac_objext \
2068 conftest
$ac_exeext conftest.
$ac_ext
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2072 $as_echo "$ac_res" >&6; }
2073 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2075 } # ac_fn_c_check_func
2077 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2078 # ----------------------------------------------------
2079 # Tries to find if the field MEMBER exists in type AGGR, after including
2080 # INCLUDES, setting cache variable VAR accordingly.
2081 ac_fn_c_check_member
()
2083 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2085 $as_echo_n "checking for $2.$3... " >&6; }
2086 if eval \
${$4+:} false
; then :
2087 $as_echo_n "(cached) " >&6
2089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2090 /* end confdefs.h. */
2102 if ac_fn_c_try_compile
"$LINENO"; then :
2105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2106 /* end confdefs.h. */
2112 if (sizeof ac_aggr.$3)
2118 if ac_fn_c_try_compile
"$LINENO"; then :
2123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2129 $as_echo "$ac_res" >&6; }
2130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2132 } # ac_fn_c_check_member
2134 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2135 # -------------------------------------------
2136 # Tests whether TYPE exists after having included INCLUDES, setting cache
2137 # variable VAR accordingly.
2138 ac_fn_c_check_type
()
2140 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2142 $as_echo_n "checking for $2... " >&6; }
2143 if eval \
${$3+:} false
; then :
2144 $as_echo_n "(cached) " >&6
2147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2148 /* end confdefs.h. */
2159 if ac_fn_c_try_compile
"$LINENO"; then :
2160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h. */
2172 if ac_fn_c_try_compile
"$LINENO"; then :
2177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2183 $as_echo "$ac_res" >&6; }
2184 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2186 } # ac_fn_c_check_type
2187 cat >config.log
<<_ACEOF
2188 This file contains any messages produced by compilers while
2189 running configure, to aid debugging if configure makes a mistake.
2191 It was created by Wine $as_me 1.5.29, which was
2192 generated by GNU Autoconf 2.69. Invocation command line was
2204 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2205 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2206 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2207 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2208 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2210 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2211 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2213 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2214 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2215 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2216 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2217 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2218 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2219 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2227 test -z "$as_dir" && as_dir
=.
2228 $as_echo "PATH: $as_dir"
2244 # Keep a trace of the command line.
2245 # Strip out --no-create and --no-recursion so they do not pile up.
2246 # Strip out --silent because we don't want to record it for future runs.
2247 # Also quote any args containing shell meta-characters.
2248 # Make two passes to allow for proper duplicate-argument suppression.
2252 ac_must_keep_next
=false
2258 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2259 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2260 |
-silent |
--silent |
--silen |
--sile |
--sil)
2263 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2266 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2268 as_fn_append ac_configure_args1
" '$ac_arg'"
2269 if test $ac_must_keep_next = true
; then
2270 ac_must_keep_next
=false
# Got value, back to normal.
2273 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2274 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2275 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2276 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2277 case "$ac_configure_args0 " in
2278 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2281 -* ) ac_must_keep_next
=true
;;
2284 as_fn_append ac_configure_args
" '$ac_arg'"
2289 { ac_configure_args0
=; unset ac_configure_args0
;}
2290 { ac_configure_args1
=; unset ac_configure_args1
;}
2292 # When interrupted or exit'd, cleanup temporary files, and complete
2293 # config.log. We remove comments because anyway the quotes in there
2294 # would cause problems or look ugly.
2295 # WARNING: Use '\'' to represent an apostrophe within the trap.
2296 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2297 trap 'exit_status=$?
2298 # Save into config.log some information that might help in debugging.
2302 $as_echo "## ---------------- ##
2303 ## Cache variables. ##
2304 ## ---------------- ##"
2306 # The following way of writing the cache mishandles newlines in values,
2308 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2309 eval ac_val=\$$ac_var
2313 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2314 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2317 _ | IFS | as_nl) ;; #(
2318 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2319 *) { eval $ac_var=; unset $ac_var;} ;;
2324 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2325 *${as_nl}ac_space=\ *)
2327 "s/'\''/'\''\\\\'\'''\''/g;
2328 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2331 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2338 $as_echo "## ----------------- ##
2339 ## Output variables. ##
2340 ## ----------------- ##"
2342 for ac_var in $ac_subst_vars
2344 eval ac_val=\$$ac_var
2346 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2348 $as_echo "$ac_var='\''$ac_val'\''"
2352 if test -n "$ac_subst_files"; then
2353 $as_echo "## ------------------- ##
2354 ## File substitutions. ##
2355 ## ------------------- ##"
2357 for ac_var
in $ac_subst_files
2359 eval ac_val
=\$
$ac_var
2361 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2363 $as_echo "$ac_var='\''$ac_val'\''"
2368 if test -s confdefs.h; then
2369 $as_echo "## ----------- ##
2376 test "$ac_signal" != 0 &&
2377 $as_echo "$as_me: caught signal $ac_signal"
2378 $as_echo "$as_me: exit $exit_status"
2380 rm -f core *.core core.conftest.* &&
2381 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2384 for ac_signal
in 1 2 13 15; do
2385 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2389 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2390 rm -f -r conftest
* confdefs.h
2392 $as_echo "/* confdefs.h */" > confdefs.h
2394 # Predefined preprocessor variables.
2396 cat >>confdefs.h
<<_ACEOF
2397 #define PACKAGE_NAME "$PACKAGE_NAME"
2400 cat >>confdefs.h
<<_ACEOF
2401 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2404 cat >>confdefs.h
<<_ACEOF
2405 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2408 cat >>confdefs.h
<<_ACEOF
2409 #define PACKAGE_STRING "$PACKAGE_STRING"
2412 cat >>confdefs.h
<<_ACEOF
2413 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2416 cat >>confdefs.h
<<_ACEOF
2417 #define PACKAGE_URL "$PACKAGE_URL"
2421 # Let the site file select an alternate cache file if it wants to.
2422 # Prefer an explicitly selected file to automatically selected ones.
2425 if test -n "$CONFIG_SITE"; then
2426 # We do not want a PATH search for config.site.
2427 case $CONFIG_SITE in #((
2428 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2429 */*) ac_site_file1
=$CONFIG_SITE;;
2430 *) ac_site_file1
=.
/$CONFIG_SITE;;
2432 elif test "x$prefix" != xNONE
; then
2433 ac_site_file1
=$prefix/share
/config.site
2434 ac_site_file2
=$prefix/etc
/config.site
2436 ac_site_file1
=$ac_default_prefix/share
/config.site
2437 ac_site_file2
=$ac_default_prefix/etc
/config.site
2439 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2441 test "x$ac_site_file" = xNONE
&& continue
2442 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2444 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2445 sed 's/^/| /' "$ac_site_file" >&5
2447 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2449 as_fn_error $?
"failed to load site script $ac_site_file
2450 See \`config.log' for more details" "$LINENO" 5; }
2454 if test -r "$cache_file"; then
2455 # Some versions of bash will fail to source /dev/null (special files
2456 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2457 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2459 $as_echo "$as_me: loading cache $cache_file" >&6;}
2461 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2462 *) .
"./$cache_file";;
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2467 $as_echo "$as_me: creating cache $cache_file" >&6;}
2471 # Check that the precious variables saved in the cache have kept the same
2473 ac_cache_corrupted
=false
2474 for ac_var
in $ac_precious_vars; do
2475 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2476 eval ac_new_set
=\
$ac_env_${ac_var}_set
2477 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2478 eval ac_new_val
=\
$ac_env_${ac_var}_value
2479 case $ac_old_set,$ac_new_set in
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2482 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2483 ac_cache_corrupted
=: ;;
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2486 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2487 ac_cache_corrupted
=: ;;
2490 if test "x$ac_old_val" != "x$ac_new_val"; then
2491 # differences in whitespace do not lead to failure.
2492 ac_old_val_w
=`echo x $ac_old_val`
2493 ac_new_val_w
=`echo x $ac_new_val`
2494 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2496 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2497 ac_cache_corrupted
=:
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2500 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2501 eval $ac_var=\
$ac_old_val
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2504 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2506 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2509 # Pass precious variables to config.status.
2510 if test "$ac_new_set" = set; then
2512 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2513 *) ac_arg
=$ac_var=$ac_new_val ;;
2515 case " $ac_configure_args " in
2516 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2517 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2521 if $ac_cache_corrupted; then
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2525 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2526 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2528 ## -------------------- ##
2529 ## Main body of script. ##
2530 ## -------------------- ##
2533 ac_cpp
='$CPP $CPPFLAGS'
2534 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2535 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2536 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2540 ac_config_headers
="$ac_config_headers include/config.h"
2543 for ac_dir
in tools
"$srcdir"/tools
; do
2544 if test -f "$ac_dir/install-sh"; then
2546 ac_install_sh
="$ac_aux_dir/install-sh -c"
2548 elif test -f "$ac_dir/install.sh"; then
2550 ac_install_sh
="$ac_aux_dir/install.sh -c"
2552 elif test -f "$ac_dir/shtool"; then
2554 ac_install_sh
="$ac_aux_dir/shtool install -c"
2558 if test -z "$ac_aux_dir"; then
2559 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2562 # These three variables are undocumented and unsupported,
2563 # and are intended to be withdrawn in a future Autoconf release.
2564 # They can cause serious problems if a builder's source tree is in a directory
2565 # whose full name contains unusual characters.
2566 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2567 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2568 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2574 # Check whether --enable-win16 was given.
2575 if test "${enable_win16+set}" = set; then :
2576 enableval
=$enable_win16;
2579 # Check whether --enable-win64 was given.
2580 if test "${enable_win64+set}" = set; then :
2581 enableval
=$enable_win64;
2584 # Check whether --enable-tests was given.
2585 if test "${enable_tests+set}" = set; then :
2586 enableval
=$enable_tests;
2589 # Check whether --enable-maintainer-mode was given.
2590 if test "${enable_maintainer_mode+set}" = set; then :
2591 enableval
=$enable_maintainer_mode;
2596 # Check whether --with-alsa was given.
2597 if test "${with_alsa+set}" = set; then :
2598 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2602 # Check whether --with-capi was given.
2603 if test "${with_capi+set}" = set; then :
2604 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2608 # Check whether --with-cms was given.
2609 if test "${with_cms+set}" = set; then :
2614 # Check whether --with-coreaudio was given.
2615 if test "${with_coreaudio+set}" = set; then :
2616 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2620 # Check whether --with-cups was given.
2621 if test "${with_cups+set}" = set; then :
2626 # Check whether --with-curses was given.
2627 if test "${with_curses+set}" = set; then :
2628 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2632 # Check whether --with-dbus was given.
2633 if test "${with_dbus+set}" = set; then :
2638 # Check whether --with-fontconfig was given.
2639 if test "${with_fontconfig+set}" = set; then :
2640 withval
=$with_fontconfig;
2644 # Check whether --with-freetype was given.
2645 if test "${with_freetype+set}" = set; then :
2646 withval
=$with_freetype;
2650 # Check whether --with-gettext was given.
2651 if test "${with_gettext+set}" = set; then :
2652 withval
=$with_gettext;
2656 # Check whether --with-gettextpo was given.
2657 if test "${with_gettextpo+set}" = set; then :
2658 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
2662 # Check whether --with-gphoto was given.
2663 if test "${with_gphoto+set}" = set; then :
2664 withval
=$with_gphoto;
2668 # Check whether --with-glu was given.
2669 if test "${with_glu+set}" = set; then :
2674 # Check whether --with-gnutls was given.
2675 if test "${with_gnutls+set}" = set; then :
2676 withval
=$with_gnutls;
2680 # Check whether --with-gsm was given.
2681 if test "${with_gsm+set}" = set; then :
2682 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2686 # Check whether --with-gstreamer was given.
2687 if test "${with_gstreamer+set}" = set; then :
2688 withval
=$with_gstreamer;
2692 # Check whether --with-hal was given.
2693 if test "${with_hal+set}" = set; then :
2698 # Check whether --with-jpeg was given.
2699 if test "${with_jpeg+set}" = set; then :
2700 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2704 # Check whether --with-ldap was given.
2705 if test "${with_ldap+set}" = set; then :
2706 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2710 # Check whether --with-mpg123 was given.
2711 if test "${with_mpg123+set}" = set; then :
2712 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2716 # Check whether --with-openal was given.
2717 if test "${with_openal+set}" = set; then :
2718 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2722 # Check whether --with-opencl was given.
2723 if test "${with_opencl+set}" = set; then :
2724 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
2728 # Check whether --with-opengl was given.
2729 if test "${with_opengl+set}" = set; then :
2730 withval
=$with_opengl;
2734 # Check whether --with-osmesa was given.
2735 if test "${with_osmesa+set}" = set; then :
2736 withval
=$with_osmesa;
2740 # Check whether --with-oss was given.
2741 if test "${with_oss+set}" = set; then :
2746 # Check whether --with-png was given.
2747 if test "${with_png+set}" = set; then :
2748 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2752 # Check whether --with-pthread was given.
2753 if test "${with_pthread+set}" = set; then :
2754 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2758 # Check whether --with-sane was given.
2759 if test "${with_sane+set}" = set; then :
2764 # Check whether --with-tiff was given.
2765 if test "${with_tiff+set}" = set; then :
2766 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2770 # Check whether --with-v4l was given.
2771 if test "${with_v4l+set}" = set; then :
2776 # Check whether --with-xcomposite was given.
2777 if test "${with_xcomposite+set}" = set; then :
2778 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2782 # Check whether --with-xcursor was given.
2783 if test "${with_xcursor+set}" = set; then :
2784 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2788 # Check whether --with-xinerama was given.
2789 if test "${with_xinerama+set}" = set; then :
2790 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2794 # Check whether --with-xinput was given.
2795 if test "${with_xinput+set}" = set; then :
2796 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2800 # Check whether --with-xinput2 was given.
2801 if test "${with_xinput2+set}" = set; then :
2802 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
2806 # Check whether --with-xml was given.
2807 if test "${with_xml+set}" = set; then :
2812 # Check whether --with-xrandr was given.
2813 if test "${with_xrandr+set}" = set; then :
2814 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2818 # Check whether --with-xrender was given.
2819 if test "${with_xrender+set}" = set; then :
2820 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2824 # Check whether --with-xshape was given.
2825 if test "${with_xshape+set}" = set; then :
2826 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2830 # Check whether --with-xshm was given.
2831 if test "${with_xshm+set}" = set; then :
2832 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2836 # Check whether --with-xslt was given.
2837 if test "${with_xslt+set}" = set; then :
2842 # Check whether --with-xxf86vm was given.
2843 if test "${with_xxf86vm+set}" = set; then :
2844 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
2848 # Check whether --with-zlib was given.
2849 if test "${with_zlib+set}" = set; then :
2850 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
2855 # Check whether --with-wine-tools was given.
2856 if test "${with_wine_tools+set}" = set; then :
2857 withval
=$with_wine_tools;
2861 # Check whether --with-wine64 was given.
2862 if test "${with_wine64+set}" = set; then :
2863 withval
=$with_wine64;
2867 # Make sure we can run config.sub.
2868 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2869 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2872 $as_echo_n "checking build system type... " >&6; }
2873 if ${ac_cv_build+:} false
; then :
2874 $as_echo_n "(cached) " >&6
2876 ac_build_alias
=$build_alias
2877 test "x$ac_build_alias" = x
&&
2878 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2879 test "x$ac_build_alias" = x
&&
2880 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2881 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2882 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2886 $as_echo "$ac_cv_build" >&6; }
2887 case $ac_cv_build in
2889 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2892 ac_save_IFS
=$IFS; IFS
='-'
2898 # Remember, the first character of IFS is used to create $*,
2899 # except with old shells:
2902 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2906 $as_echo_n "checking host system type... " >&6; }
2907 if ${ac_cv_host+:} false
; then :
2908 $as_echo_n "(cached) " >&6
2910 if test "x$host_alias" = x
; then
2911 ac_cv_host
=$ac_cv_build
2913 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2914 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2919 $as_echo "$ac_cv_host" >&6; }
2922 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2925 ac_save_IFS
=$IFS; IFS
='-'
2931 # Remember, the first character of IFS is used to create $*,
2932 # except with old shells:
2935 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2941 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2942 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2943 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2949 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2951 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2952 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2953 $as_echo_n "(cached) " >&6
2955 cat >conftest.
make <<\_ACEOF
2958 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2960 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2961 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2963 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2965 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2969 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2971 $as_echo "yes" >&6; }
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975 $as_echo "no" >&6; }
2976 SET_MAKE
="MAKE=${MAKE-make}"
2980 ac_cpp
='$CPP $CPPFLAGS'
2981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2984 if test -n "$ac_tool_prefix"; then
2985 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2986 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2988 $as_echo_n "checking for $ac_word... " >&6; }
2989 if ${ac_cv_prog_CC+:} false
; then :
2990 $as_echo_n "(cached) " >&6
2992 if test -n "$CC"; then
2993 ac_cv_prog_CC
="$CC" # Let the user override the test.
2995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2999 test -z "$as_dir" && as_dir
=.
3000 for ac_exec_ext
in '' $ac_executable_extensions; do
3001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3002 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3013 if test -n "$CC"; then
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3015 $as_echo "$CC" >&6; }
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3018 $as_echo "no" >&6; }
3023 if test -z "$ac_cv_prog_CC"; then
3025 # Extract the first word of "gcc", so it can be a program name with args.
3026 set dummy gcc
; ac_word
=$2
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028 $as_echo_n "checking for $ac_word... " >&6; }
3029 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3030 $as_echo_n "(cached) " >&6
3032 if test -n "$ac_ct_CC"; then
3033 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3039 test -z "$as_dir" && as_dir
=.
3040 for ac_exec_ext
in '' $ac_executable_extensions; do
3041 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3042 ac_cv_prog_ac_ct_CC
="gcc"
3043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3053 if test -n "$ac_ct_CC"; then
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3055 $as_echo "$ac_ct_CC" >&6; }
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058 $as_echo "no" >&6; }
3061 if test "x$ac_ct_CC" = x
; then
3064 case $cross_compiling:$ac_tool_warned in
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3068 ac_tool_warned
=yes ;;
3076 if test -z "$CC"; then
3077 if test -n "$ac_tool_prefix"; then
3078 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3079 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3081 $as_echo_n "checking for $ac_word... " >&6; }
3082 if ${ac_cv_prog_CC+:} false
; then :
3083 $as_echo_n "(cached) " >&6
3085 if test -n "$CC"; then
3086 ac_cv_prog_CC
="$CC" # Let the user override the test.
3088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3092 test -z "$as_dir" && as_dir
=.
3093 for ac_exec_ext
in '' $ac_executable_extensions; do
3094 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3095 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3106 if test -n "$CC"; then
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3108 $as_echo "$CC" >&6; }
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3111 $as_echo "no" >&6; }
3117 if test -z "$CC"; then
3118 # Extract the first word of "cc", so it can be a program name with args.
3119 set dummy cc
; ac_word
=$2
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3121 $as_echo_n "checking for $ac_word... " >&6; }
3122 if ${ac_cv_prog_CC+:} false
; then :
3123 $as_echo_n "(cached) " >&6
3125 if test -n "$CC"; then
3126 ac_cv_prog_CC
="$CC" # Let the user override the test.
3129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3133 test -z "$as_dir" && as_dir
=.
3134 for ac_exec_ext
in '' $ac_executable_extensions; do
3135 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3136 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3137 ac_prog_rejected
=yes
3141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3148 if test $ac_prog_rejected = yes; then
3149 # We found a bogon in the path, so make sure we never use it.
3150 set dummy
$ac_cv_prog_CC
3152 if test $# != 0; then
3153 # We chose a different compiler from the bogus one.
3154 # However, it has the same basename, so the bogon will be chosen
3155 # first if we set CC to just the basename; use the full file name.
3157 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3163 if test -n "$CC"; then
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3165 $as_echo "$CC" >&6; }
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3168 $as_echo "no" >&6; }
3173 if test -z "$CC"; then
3174 if test -n "$ac_tool_prefix"; then
3175 for ac_prog
in cl.exe
3177 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3178 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3180 $as_echo_n "checking for $ac_word... " >&6; }
3181 if ${ac_cv_prog_CC+:} false
; then :
3182 $as_echo_n "(cached) " >&6
3184 if test -n "$CC"; then
3185 ac_cv_prog_CC
="$CC" # Let the user override the test.
3187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3191 test -z "$as_dir" && as_dir
=.
3192 for ac_exec_ext
in '' $ac_executable_extensions; do
3193 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3194 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3205 if test -n "$CC"; then
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3207 $as_echo "$CC" >&6; }
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3210 $as_echo "no" >&6; }
3214 test -n "$CC" && break
3217 if test -z "$CC"; then
3219 for ac_prog
in cl.exe
3221 # Extract the first word of "$ac_prog", so it can be a program name with args.
3222 set dummy
$ac_prog; ac_word
=$2
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3224 $as_echo_n "checking for $ac_word... " >&6; }
3225 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3226 $as_echo_n "(cached) " >&6
3228 if test -n "$ac_ct_CC"; then
3229 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3235 test -z "$as_dir" && as_dir
=.
3236 for ac_exec_ext
in '' $ac_executable_extensions; do
3237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3238 ac_cv_prog_ac_ct_CC
="$ac_prog"
3239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3248 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3249 if test -n "$ac_ct_CC"; then
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3251 $as_echo "$ac_ct_CC" >&6; }
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3258 test -n "$ac_ct_CC" && break
3261 if test "x$ac_ct_CC" = x
; then
3264 case $cross_compiling:$ac_tool_warned in
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3268 ac_tool_warned
=yes ;;
3277 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3279 as_fn_error $?
"no acceptable C compiler found in \$PATH
3280 See \`config.log' for more details" "$LINENO" 5; }
3282 # Provide some information about the compiler.
3283 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3286 for ac_option
in --version -v -V -qversion; do
3287 { { ac_try
="$ac_compiler $ac_option >&5"
3289 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3290 *) ac_try_echo=$ac_try;;
3292 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3293 $as_echo "$ac_try_echo"; } >&5
3294 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3296 if test -s conftest.err; then
3298 ... rest of stderr output deleted ...
3299 10q' conftest.err >conftest.er1
3300 cat conftest.er1 >&5
3302 rm -f conftest.er1 conftest.err
3303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3304 test $ac_status = 0; }
3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3318 ac_clean_files_save=$ac_clean_files
3319 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3320 # Try to create an executable without -o first, disregard a.out.
3321 # It will help us diagnose broken compilers, and finding out an intuition
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3324 $as_echo_n "checking whether the C compiler works... " >&6; }
3325 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3327 # The possible output files:
3328 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3331 for ac_file in $ac_files
3334 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3335 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3340 if { { ac_try="$ac_link_default"
3342 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3343 *) ac_try_echo
=$ac_try;;
3345 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3346 $as_echo "$ac_try_echo"; } >&5
3347 (eval "$ac_link_default") 2>&5
3349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3350 test $ac_status = 0; }; then :
3351 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3352 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3353 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3354 # so that the user can short-circuit this test for compilers unknown to
3356 for ac_file
in $ac_files ''
3358 test -f "$ac_file" ||
continue
3360 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3363 # We found the default executable, but exeext='' is most
3367 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3369 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3371 # We set ac_cv_exeext here because the later test for it is not
3372 # safe: cross compilers may not add the suffix if given an `-o'
3373 # argument, so we may need to know it at that point already.
3374 # Even if this section looks crufty: it has the advantage of
3381 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3386 if test -z "$ac_file"; then :
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3388 $as_echo "no" >&6; }
3389 $as_echo "$as_me: failed program was:" >&5
3390 sed 's/^/| /' conftest.
$ac_ext >&5
3392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3394 as_fn_error
77 "C compiler cannot create executables
3395 See \`config.log' for more details" "$LINENO" 5; }
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3398 $as_echo "yes" >&6; }
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3401 $as_echo_n "checking for C compiler default output file name... " >&6; }
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3403 $as_echo "$ac_file" >&6; }
3404 ac_exeext
=$ac_cv_exeext
3406 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3407 ac_clean_files
=$ac_clean_files_save
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3409 $as_echo_n "checking for suffix of executables... " >&6; }
3410 if { { ac_try
="$ac_link"
3412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3413 *) ac_try_echo=$ac_try;;
3415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3416 $as_echo "$ac_try_echo"; } >&5
3417 (eval "$ac_link") 2>&5
3419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3420 test $ac_status = 0; }; then :
3421 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3422 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3423 # work properly (i.e., refer to `conftest.exe'), while it won't with
3425 for ac_file
in conftest.exe conftest conftest.
*; do
3426 test -f "$ac_file" ||
continue
3428 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3429 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3437 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3438 See \`config.log' for more details" "$LINENO" 5; }
3440 rm -f conftest conftest
$ac_cv_exeext
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3442 $as_echo "$ac_cv_exeext" >&6; }
3444 rm -f conftest.
$ac_ext
3445 EXEEXT
=$ac_cv_exeext
3447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3448 /* end confdefs.h. */
3453 FILE *f = fopen ("conftest.out", "w");
3454 return ferror (f) || fclose (f) != 0;
3460 ac_clean_files
="$ac_clean_files conftest.out"
3461 # Check that the compiler produces executables we can run. If not, either
3462 # the compiler is broken, or we cross compile.
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3464 $as_echo_n "checking whether we are cross compiling... " >&6; }
3465 if test "$cross_compiling" != yes; then
3466 { { ac_try
="$ac_link"
3468 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3469 *) ac_try_echo=$ac_try;;
3471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3472 $as_echo "$ac_try_echo"; } >&5
3473 (eval "$ac_link") 2>&5
3475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3476 test $ac_status = 0; }
3477 if { ac_try='./conftest$ac_cv_exeext'
3478 { { case "(($ac_try" in
3479 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3480 *) ac_try_echo
=$ac_try;;
3482 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3483 $as_echo "$ac_try_echo"; } >&5
3484 (eval "$ac_try") 2>&5
3486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3487 test $ac_status = 0; }; }; then
3490 if test "$cross_compiling" = maybe
; then
3493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3495 as_fn_error $?
"cannot run C compiled programs.
3496 If you meant to cross compile, use \`--host'.
3497 See \`config.log' for more details" "$LINENO" 5; }
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3502 $as_echo "$cross_compiling" >&6; }
3504 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3505 ac_clean_files
=$ac_clean_files_save
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3507 $as_echo_n "checking for suffix of object files... " >&6; }
3508 if ${ac_cv_objext+:} false
; then :
3509 $as_echo_n "(cached) " >&6
3511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3512 /* end confdefs.h. */
3522 rm -f conftest.o conftest.obj
3523 if { { ac_try
="$ac_compile"
3525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3526 *) ac_try_echo=$ac_try;;
3528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3529 $as_echo "$ac_try_echo"; } >&5
3530 (eval "$ac_compile") 2>&5
3532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3533 test $ac_status = 0; }; then :
3534 for ac_file in conftest.o conftest.obj conftest.*; do
3535 test -f "$ac_file" || continue;
3537 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3538 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3543 $as_echo "$as_me: failed program was:" >&5
3544 sed 's/^/| /' conftest.$ac_ext >&5
3546 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3548 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3549 See \
`config.log' for more details" "$LINENO" 5; }
3551 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3554 $as_echo "$ac_cv_objext" >&6; }
3555 OBJEXT=$ac_cv_objext
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3558 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3559 if ${ac_cv_c_compiler_gnu+:} false; then :
3560 $as_echo_n "(cached) " >&6
3562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3563 /* end confdefs.h. */
3576 if ac_fn_c_try_compile "$LINENO"; then :
3581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3582 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3586 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3587 if test $ac_compiler_gnu = yes; then
3592 ac_test_CFLAGS=${CFLAGS+set}
3593 ac_save_CFLAGS=$CFLAGS
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3595 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3596 if ${ac_cv_prog_cc_g+:} false; then :
3597 $as_echo_n "(cached) " >&6
3599 ac_save_c_werror_flag=$ac_c_werror_flag
3600 ac_c_werror_flag=yes
3603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3604 /* end confdefs.h. */
3614 if ac_fn_c_try_compile "$LINENO"; then :
3618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3619 /* end confdefs.h. */
3629 if ac_fn_c_try_compile "$LINENO"; then :
3632 ac_c_werror_flag=$ac_save_c_werror_flag
3634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635 /* end confdefs.h. */
3645 if ac_fn_c_try_compile "$LINENO"; then :
3648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3653 ac_c_werror_flag=$ac_save_c_werror_flag
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3656 $as_echo "$ac_cv_prog_cc_g" >&6; }
3657 if test "$ac_test_CFLAGS" = set; then
3658 CFLAGS=$ac_save_CFLAGS
3659 elif test $ac_cv_prog_cc_g = yes; then
3660 if test "$GCC" = yes; then
3666 if test "$GCC" = yes; then
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3673 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3674 if ${ac_cv_prog_cc_c89+:} false; then :
3675 $as_echo_n "(cached) " >&6
3677 ac_cv_prog_cc_c89=no
3679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3680 /* end confdefs.h. */
3684 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3685 struct buf { int x; };
3686 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3687 static char *e (p, i)
3693 static char *f (char * (*g) (char **, int), char **p, ...)
3698 s = g (p, va_arg (v,int));
3703 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3704 function prototypes and stuff, but not '\xHH' hex character constants.
3705 These don't provoke an error unfortunately, instead are silently treated
3706 as 'x'. The following induces an error, until -std is added to get
3707 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3708 array size at least. It's necessary to write '\x00'==0 to get something
3709 that's true only with -std. */
3710 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3712 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3713 inside strings and character constants. */
3715 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3717 int test (int i, double x);
3718 struct s1 {int (*f) (int a);};
3719 struct s2 {int (*f) (double a);};
3720 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3726 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3731 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3732 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3734 CC="$ac_save_CC $ac_arg"
3735 if ac_fn_c_try_compile "$LINENO"; then :
3736 ac_cv_prog_cc_c89=$ac_arg
3738 rm -f core conftest.err conftest.$ac_objext
3739 test "x$ac_cv_prog_cc_c89" != "xno" && break
3741 rm -f conftest.$ac_ext
3746 case "x$ac_cv_prog_cc_c89" in
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3749 $as_echo "none needed" >&6; } ;;
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3752 $as_echo "unsupported" >&6; } ;;
3754 CC="$CC $ac_cv_prog_cc_c89"
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3756 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3758 if test "x$ac_cv_prog_cc_c89" != xno; then :
3763 ac_cpp='$CPP $CPPFLAGS'
3764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3769 ac_cpp='$CXXCPP $CPPFLAGS'
3770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3773 if test -z "$CXX"; then
3774 if test -n "$CCC"; then
3777 if test -n "$ac_tool_prefix"; then
3778 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3780 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3781 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3783 $as_echo_n "checking for $ac_word... " >&6; }
3784 if ${ac_cv_prog_CXX+:} false; then :
3785 $as_echo_n "(cached) " >&6
3787 if test -n "$CXX"; then
3788 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3794 test -z "$as_dir" && as_dir=.
3795 for ac_exec_ext in '' $ac_executable_extensions; do
3796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3797 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3808 if test -n "$CXX"; then
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3810 $as_echo "$CXX" >&6; }
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3813 $as_echo "no" >&6; }
3817 test -n "$CXX" && break
3820 if test -z "$CXX"; then
3822 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3824 # Extract the first word of "$ac_prog", so it can be a program name with args.
3825 set dummy $ac_prog; ac_word=$2
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3827 $as_echo_n "checking for $ac_word... " >&6; }
3828 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3829 $as_echo_n "(cached) " >&6
3831 if test -n "$ac_ct_CXX"; then
3832 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3838 test -z "$as_dir" && as_dir=.
3839 for ac_exec_ext in '' $ac_executable_extensions; do
3840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3841 ac_cv_prog_ac_ct_CXX="$ac_prog"
3842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3851 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3852 if test -n "$ac_ct_CXX"; then
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3854 $as_echo "$ac_ct_CXX" >&6; }
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 $as_echo "no" >&6; }
3861 test -n "$ac_ct_CXX" && break
3864 if test "x$ac_ct_CXX" = x; then
3867 case $cross_compiling:$ac_tool_warned in
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3871 ac_tool_warned=yes ;;
3879 # Provide some information about the compiler.
3880 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3883 for ac_option in --version -v -V -qversion; do
3884 { { ac_try="$ac_compiler $ac_option >&5"
3886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3887 *) ac_try_echo
=$ac_try;;
3889 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3890 $as_echo "$ac_try_echo"; } >&5
3891 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3893 if test -s conftest.err
; then
3895 ... rest of stderr output deleted ...
3896 10q' conftest.err
>conftest.er1
3897 cat conftest.er1
>&5
3899 rm -f conftest.er1 conftest.err
3900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3901 test $ac_status = 0; }
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3905 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3906 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3907 $as_echo_n "(cached) " >&6
3909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3910 /* end confdefs.h. */
3923 if ac_fn_cxx_try_compile
"$LINENO"; then :
3928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3929 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3933 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3934 if test $ac_compiler_gnu = yes; then
3939 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3940 ac_save_CXXFLAGS
=$CXXFLAGS
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3942 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3943 if ${ac_cv_prog_cxx_g+:} false
; then :
3944 $as_echo_n "(cached) " >&6
3946 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3947 ac_cxx_werror_flag
=yes
3950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h. */
3961 if ac_fn_cxx_try_compile
"$LINENO"; then :
3962 ac_cv_prog_cxx_g
=yes
3965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h. */
3976 if ac_fn_cxx_try_compile
"$LINENO"; then :
3979 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3982 /* end confdefs.h. */
3992 if ac_fn_cxx_try_compile
"$LINENO"; then :
3993 ac_cv_prog_cxx_g
=yes
3995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4000 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4003 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4004 if test "$ac_test_CXXFLAGS" = set; then
4005 CXXFLAGS
=$ac_save_CXXFLAGS
4006 elif test $ac_cv_prog_cxx_g = yes; then
4007 if test "$GXX" = yes; then
4013 if test "$GXX" = yes; then
4020 ac_cpp
='$CPP $CPPFLAGS'
4021 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4022 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4023 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4025 if test -n "$ac_tool_prefix"; then
4026 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4027 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4029 $as_echo_n "checking for $ac_word... " >&6; }
4030 if ${ac_cv_prog_CPPBIN+:} false
; then :
4031 $as_echo_n "(cached) " >&6
4033 if test -n "$CPPBIN"; then
4034 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4040 test -z "$as_dir" && as_dir
=.
4041 for ac_exec_ext
in '' $ac_executable_extensions; do
4042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4043 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4053 CPPBIN
=$ac_cv_prog_CPPBIN
4054 if test -n "$CPPBIN"; then
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4056 $as_echo "$CPPBIN" >&6; }
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4059 $as_echo "no" >&6; }
4064 if test -z "$ac_cv_prog_CPPBIN"; then
4065 ac_ct_CPPBIN
=$CPPBIN
4066 # Extract the first word of "cpp", so it can be a program name with args.
4067 set dummy cpp
; ac_word
=$2
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4069 $as_echo_n "checking for $ac_word... " >&6; }
4070 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4071 $as_echo_n "(cached) " >&6
4073 if test -n "$ac_ct_CPPBIN"; then
4074 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4080 test -z "$as_dir" && as_dir
=.
4081 for ac_exec_ext
in '' $ac_executable_extensions; do
4082 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4083 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4093 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4094 if test -n "$ac_ct_CPPBIN"; then
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4096 $as_echo "$ac_ct_CPPBIN" >&6; }
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4099 $as_echo "no" >&6; }
4102 if test "x$ac_ct_CPPBIN" = x
; then
4105 case $cross_compiling:$ac_tool_warned in
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4109 ac_tool_warned
=yes ;;
4111 CPPBIN
=$ac_ct_CPPBIN
4114 CPPBIN
="$ac_cv_prog_CPPBIN"
4118 cat >>confdefs.h
<<_ACEOF
4119 #define EXEEXT "$ac_exeext"
4125 if test "x$enable_win64" = "xyes"
4130 notice_platform
="64-bit "
4137 notice_platform
="32-bit "
4140 enable_win16
=${enable_win16:-yes}
4142 with_fontconfig
=${with_fontconfig:-no}
4145 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4150 $as_echo_n "checking whether $CC works... " >&6; }
4152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h. */
4163 if ac_fn_c_try_link
"$LINENO"; then :
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4165 $as_echo "yes" >&6; }
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4168 $as_echo "no" >&6; }
4169 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4171 rm -f core conftest.err conftest.
$ac_objext \
4172 conftest
$ac_exeext conftest.
$ac_ext
4174 notice_platform
="32-bit "
4177 enable_win16
=${enable_win16:-yes}
4179 if test "x${GCC}" = "xyes"
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4182 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4184 /* end confdefs.h. */
4189 void func(__builtin_ms_va_list *args);
4194 if ac_fn_c_try_compile
"$LINENO"; then :
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4196 $as_echo "yes" >&6; }
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4199 $as_echo "no" >&6; }
4200 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4210 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4213 int ac_test(int i) { return i; }
4217 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4222 if ac_fn_c_try_link
"$LINENO"; then :
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4224 $as_echo "yes" >&6; }
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4227 $as_echo "no" >&6; }
4228 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4230 rm -f core conftest.err conftest.
$ac_objext \
4231 conftest
$ac_exeext conftest.
$ac_ext
4232 CFLAGS
="$CFLAGS -marm"
4234 *-mingw32*|
*-cygwin*)
4235 enable_win16
=${enable_win16:-no}
4236 CFLAGS
="$CFLAGS -D_WIN32"
4239 enable_win16
=${enable_win16:-yes}
4243 enable_win16
=${enable_win16:-no}
4244 enable_win64
=${enable_win64:-no}
4246 enable_winetest
=${enable_winetest:-$enable_tests}
4248 if test -n "$with_wine64"
4250 if test "x$enable_win64" = "xyes"
4252 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4253 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4257 enable_fonts
=${enable_fonts:-no}
4258 enable_server
=${enable_server:-no}
4259 enable_tools
=${enable_tools:-no}
4260 elif test "x$enable_win64" = "xyes"
4262 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4266 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4267 if ${wine_cv_toolsdir+:} false
; then :
4268 $as_echo_n "(cached) " >&6
4270 wine_cv_toolsdir
="$with_wine_tools"
4271 if test -z "$with_wine_tools"; then
4272 if test "$cross_compiling" = "yes"; then
4273 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4274 elif test -n "$with_wine64"; then
4275 wine_cv_toolsdir
="$with_wine64"
4278 if test -z "$wine_cv_toolsdir"; then
4279 wine_cv_toolsdir
="\$(top_builddir)"
4280 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4281 case "$wine_cv_toolsdir" in
4283 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4286 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4290 $as_echo "$wine_cv_toolsdir" >&6; }
4291 TOOLSDIR
=$wine_cv_toolsdir
4293 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4295 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4301 # Extract the first word of "$ac_prog", so it can be a program name with args.
4302 set dummy
$ac_prog; ac_word
=$2
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4304 $as_echo_n "checking for $ac_word... " >&6; }
4305 if ${ac_cv_prog_FLEX+:} false
; then :
4306 $as_echo_n "(cached) " >&6
4308 if test -n "$FLEX"; then
4309 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4315 test -z "$as_dir" && as_dir
=.
4316 for ac_exec_ext
in '' $ac_executable_extensions; do
4317 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4318 ac_cv_prog_FLEX
="$ac_prog"
4319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4328 FLEX
=$ac_cv_prog_FLEX
4329 if test -n "$FLEX"; then
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4331 $as_echo "$FLEX" >&6; }
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334 $as_echo "no" >&6; }
4338 test -n "$FLEX" && break
4340 test -n "$FLEX" || FLEX
="none"
4342 if test "$FLEX" = "none"
4344 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4347 $as_echo_n "checking whether flex is recent enough... " >&6; }
4348 cat >conftest.l
<<EOF
4350 #include "prediluvian.h"
4354 if $FLEX -t conftest.l
>/dev
/null
2>&5
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4357 $as_echo "yes" >&6; }
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4360 $as_echo "no" >&6; }
4361 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4364 for ac_prog
in bison
4366 # Extract the first word of "$ac_prog", so it can be a program name with args.
4367 set dummy
$ac_prog; ac_word
=$2
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4369 $as_echo_n "checking for $ac_word... " >&6; }
4370 if ${ac_cv_prog_BISON+:} false
; then :
4371 $as_echo_n "(cached) " >&6
4373 if test -n "$BISON"; then
4374 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4380 test -z "$as_dir" && as_dir
=.
4381 for ac_exec_ext
in '' $ac_executable_extensions; do
4382 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4383 ac_cv_prog_BISON
="$ac_prog"
4384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4393 BISON
=$ac_cv_prog_BISON
4394 if test -n "$BISON"; then
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4396 $as_echo "$BISON" >&6; }
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4399 $as_echo "no" >&6; }
4403 test -n "$BISON" && break
4405 test -n "$BISON" || BISON
="none"
4407 if test "$BISON" = "none"
4409 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4412 if test -n "$ac_tool_prefix"; then
4413 for ac_prog
in ar gar
4415 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4416 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4418 $as_echo_n "checking for $ac_word... " >&6; }
4419 if ${ac_cv_prog_AR+:} false
; then :
4420 $as_echo_n "(cached) " >&6
4422 if test -n "$AR"; then
4423 ac_cv_prog_AR
="$AR" # Let the user override the test.
4425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4429 test -z "$as_dir" && as_dir
=.
4430 for ac_exec_ext
in '' $ac_executable_extensions; do
4431 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4432 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4443 if test -n "$AR"; then
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4445 $as_echo "$AR" >&6; }
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4448 $as_echo "no" >&6; }
4452 test -n "$AR" && break
4455 if test -z "$AR"; then
4457 for ac_prog
in ar gar
4459 # Extract the first word of "$ac_prog", so it can be a program name with args.
4460 set dummy
$ac_prog; ac_word
=$2
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4462 $as_echo_n "checking for $ac_word... " >&6; }
4463 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4464 $as_echo_n "(cached) " >&6
4466 if test -n "$ac_ct_AR"; then
4467 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4473 test -z "$as_dir" && as_dir
=.
4474 for ac_exec_ext
in '' $ac_executable_extensions; do
4475 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4476 ac_cv_prog_ac_ct_AR
="$ac_prog"
4477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4486 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4487 if test -n "$ac_ct_AR"; then
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4489 $as_echo "$ac_ct_AR" >&6; }
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4492 $as_echo "no" >&6; }
4496 test -n "$ac_ct_AR" && break
4499 if test "x$ac_ct_AR" = x
; then
4502 case $cross_compiling:$ac_tool_warned in
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4506 ac_tool_warned
=yes ;;
4514 if test -n "$ac_tool_prefix"; then
4515 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4516 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4518 $as_echo_n "checking for $ac_word... " >&6; }
4519 if ${ac_cv_prog_RANLIB+:} false
; then :
4520 $as_echo_n "(cached) " >&6
4522 if test -n "$RANLIB"; then
4523 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4529 test -z "$as_dir" && as_dir
=.
4530 for ac_exec_ext
in '' $ac_executable_extensions; do
4531 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4532 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4542 RANLIB
=$ac_cv_prog_RANLIB
4543 if test -n "$RANLIB"; then
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4545 $as_echo "$RANLIB" >&6; }
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4548 $as_echo "no" >&6; }
4553 if test -z "$ac_cv_prog_RANLIB"; then
4554 ac_ct_RANLIB
=$RANLIB
4555 # Extract the first word of "ranlib", so it can be a program name with args.
4556 set dummy ranlib
; ac_word
=$2
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4558 $as_echo_n "checking for $ac_word... " >&6; }
4559 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4560 $as_echo_n "(cached) " >&6
4562 if test -n "$ac_ct_RANLIB"; then
4563 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4569 test -z "$as_dir" && as_dir
=.
4570 for ac_exec_ext
in '' $ac_executable_extensions; do
4571 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4572 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4582 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4583 if test -n "$ac_ct_RANLIB"; then
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4585 $as_echo "$ac_ct_RANLIB" >&6; }
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4588 $as_echo "no" >&6; }
4591 if test "x$ac_ct_RANLIB" = x
; then
4594 case $cross_compiling:$ac_tool_warned in
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4598 ac_tool_warned
=yes ;;
4600 RANLIB
=$ac_ct_RANLIB
4603 RANLIB
="$ac_cv_prog_RANLIB"
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4607 $as_echo_n "checking whether ln -s works... " >&6; }
4609 if test "$LN_S" = "ln -s"; then
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4611 $as_echo "yes" >&6; }
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4614 $as_echo "no, using $LN_S" >&6; }
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4618 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4619 if ${ac_cv_path_GREP+:} false
; then :
4620 $as_echo_n "(cached) " >&6
4622 if test -z "$GREP"; then
4623 ac_path_GREP_found
=false
4624 # Loop through the user's path and test for each of PROGNAME-LIST
4625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4626 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4629 test -z "$as_dir" && as_dir
=.
4630 for ac_prog
in grep ggrep
; do
4631 for ac_exec_ext
in '' $ac_executable_extensions; do
4632 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4633 as_fn_executable_p
"$ac_path_GREP" ||
continue
4634 # Check for GNU ac_path_GREP and select it if it is found.
4635 # Check for GNU $ac_path_GREP
4636 case `"$ac_path_GREP" --version 2>&1` in
4638 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4641 $as_echo_n 0123456789 >"conftest.in"
4644 cat "conftest.in" "conftest.in" >"conftest.tmp"
4645 mv "conftest.tmp" "conftest.in"
4646 cp "conftest.in" "conftest.nl"
4647 $as_echo 'GREP' >> "conftest.nl"
4648 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4649 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4650 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4651 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4652 # Best one so far, save it but keep looking for a better one
4653 ac_cv_path_GREP
="$ac_path_GREP"
4654 ac_path_GREP_max
=$ac_count
4656 # 10*(2^10) chars as input seems more than enough
4657 test $ac_count -gt 10 && break
4659 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4662 $ac_path_GREP_found && break 3
4667 if test -z "$ac_cv_path_GREP"; then
4668 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4671 ac_cv_path_GREP
=$GREP
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4676 $as_echo "$ac_cv_path_GREP" >&6; }
4677 GREP
="$ac_cv_path_GREP"
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4681 $as_echo_n "checking for egrep... " >&6; }
4682 if ${ac_cv_path_EGREP+:} false
; then :
4683 $as_echo_n "(cached) " >&6
4685 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4686 then ac_cv_path_EGREP
="$GREP -E"
4688 if test -z "$EGREP"; then
4689 ac_path_EGREP_found
=false
4690 # Loop through the user's path and test for each of PROGNAME-LIST
4691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4692 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4695 test -z "$as_dir" && as_dir
=.
4696 for ac_prog
in egrep; do
4697 for ac_exec_ext
in '' $ac_executable_extensions; do
4698 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4699 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4700 # Check for GNU ac_path_EGREP and select it if it is found.
4701 # Check for GNU $ac_path_EGREP
4702 case `"$ac_path_EGREP" --version 2>&1` in
4704 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4707 $as_echo_n 0123456789 >"conftest.in"
4710 cat "conftest.in" "conftest.in" >"conftest.tmp"
4711 mv "conftest.tmp" "conftest.in"
4712 cp "conftest.in" "conftest.nl"
4713 $as_echo 'EGREP' >> "conftest.nl"
4714 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4715 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4716 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4717 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4718 # Best one so far, save it but keep looking for a better one
4719 ac_cv_path_EGREP
="$ac_path_EGREP"
4720 ac_path_EGREP_max
=$ac_count
4722 # 10*(2^10) chars as input seems more than enough
4723 test $ac_count -gt 10 && break
4725 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4728 $ac_path_EGREP_found && break 3
4733 if test -z "$ac_cv_path_EGREP"; then
4734 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4737 ac_cv_path_EGREP
=$EGREP
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4743 $as_echo "$ac_cv_path_EGREP" >&6; }
4744 EGREP
="$ac_cv_path_EGREP"
4747 # Extract the first word of "ldconfig", so it can be a program name with args.
4748 set dummy ldconfig
; ac_word
=$2
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4750 $as_echo_n "checking for $ac_word... " >&6; }
4751 if ${ac_cv_path_LDCONFIG+:} false
; then :
4752 $as_echo_n "(cached) " >&6
4756 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4760 for as_dir
in /sbin
/usr
/sbin
$PATH
4763 test -z "$as_dir" && as_dir
=.
4764 for ac_exec_ext
in '' $ac_executable_extensions; do
4765 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4766 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4774 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4778 LDCONFIG
=$ac_cv_path_LDCONFIG
4779 if test -n "$LDCONFIG"; then
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4781 $as_echo "$LDCONFIG" >&6; }
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4784 $as_echo "no" >&6; }
4788 # Find a good install program. We prefer a C program (faster),
4789 # so one script is as good as another. But avoid the broken or
4790 # incompatible versions:
4791 # SysV /etc/install, /usr/sbin/install
4792 # SunOS /usr/etc/install
4793 # IRIX /sbin/install
4795 # AmigaOS /C/install, which installs bootblocks on floppy discs
4796 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4797 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4798 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4799 # OS/2's system install, which has a completely different semantic
4800 # ./install, which can be erroneously created by make from ./install.sh.
4801 # Reject install programs that cannot install multiple files.
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4803 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4804 if test -z "$INSTALL"; then
4805 if ${ac_cv_path_install+:} false
; then :
4806 $as_echo_n "(cached) " >&6
4808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4812 test -z "$as_dir" && as_dir
=.
4813 # Account for people who put trailing slashes in PATH elements.
4814 case $as_dir/ in #((
4815 .
/ | .
// |
/[cC
]/* | \
4816 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4817 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4820 # OSF1 and SCO ODT 3.0 have their own names for install.
4821 # Don't use installbsd from OSF since it installs stuff as root
4823 for ac_prog
in ginstall scoinst
install; do
4824 for ac_exec_ext
in '' $ac_executable_extensions; do
4825 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4826 if test $ac_prog = install &&
4827 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4828 # AIX install. It has an incompatible calling convention.
4830 elif test $ac_prog = install &&
4831 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4832 # program-specific install script used by HP pwplus--don't use.
4835 rm -rf conftest.one conftest.two conftest.dir
4836 echo one
> conftest.one
4837 echo two
> conftest.two
4839 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4840 test -s conftest.one
&& test -s conftest.two
&&
4841 test -s conftest.dir
/conftest.one
&&
4842 test -s conftest.dir
/conftest.two
4844 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4857 rm -rf conftest.one conftest.two conftest.dir
4860 if test "${ac_cv_path_install+set}" = set; then
4861 INSTALL
=$ac_cv_path_install
4863 # As a last resort, use the slow shell script. Don't cache a
4864 # value for INSTALL within a source directory, because that will
4865 # break other packages using the cache if that directory is
4866 # removed, or if the value is a relative name.
4867 INSTALL
=$ac_install_sh
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4871 $as_echo "$INSTALL" >&6; }
4873 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4874 # It thinks the first close brace ends the variable substitution.
4875 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4877 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4879 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4882 [\\/$
]* | ?
:[\\/]* ) ;;
4883 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4886 for ac_prog
in lclint lint
4888 # Extract the first word of "$ac_prog", so it can be a program name with args.
4889 set dummy
$ac_prog; ac_word
=$2
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4891 $as_echo_n "checking for $ac_word... " >&6; }
4892 if ${ac_cv_prog_LINT+:} false
; then :
4893 $as_echo_n "(cached) " >&6
4895 if test -n "$LINT"; then
4896 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4902 test -z "$as_dir" && as_dir
=.
4903 for ac_exec_ext
in '' $ac_executable_extensions; do
4904 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4905 ac_cv_prog_LINT
="$ac_prog"
4906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 LINT
=$ac_cv_prog_LINT
4916 if test -n "$LINT"; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4918 $as_echo "$LINT" >&6; }
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921 $as_echo "no" >&6; }
4925 test -n "$LINT" && break
4928 if test "$LINT" = "lint"
4930 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4934 for ac_prog
in fontforge
4936 # Extract the first word of "$ac_prog", so it can be a program name with args.
4937 set dummy
$ac_prog; ac_word
=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if ${ac_cv_prog_FONTFORGE+:} false
; then :
4941 $as_echo_n "(cached) " >&6
4943 if test -n "$FONTFORGE"; then
4944 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4950 test -z "$as_dir" && as_dir
=.
4951 for ac_exec_ext
in '' $ac_executable_extensions; do
4952 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4953 ac_cv_prog_FONTFORGE
="$ac_prog"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4963 FONTFORGE
=$ac_cv_prog_FONTFORGE
4964 if test -n "$FONTFORGE"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4966 $as_echo "$FONTFORGE" >&6; }
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4973 test -n "$FONTFORGE" && break
4975 test -n "$FONTFORGE" || FONTFORGE
="false"
4979 # Extract the first word of "$ac_prog", so it can be a program name with args.
4980 set dummy
$ac_prog; ac_word
=$2
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4982 $as_echo_n "checking for $ac_word... " >&6; }
4983 if ${ac_cv_prog_RSVG+:} false
; then :
4984 $as_echo_n "(cached) " >&6
4986 if test -n "$RSVG"; then
4987 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
4989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4993 test -z "$as_dir" && as_dir
=.
4994 for ac_exec_ext
in '' $ac_executable_extensions; do
4995 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4996 ac_cv_prog_RSVG
="$ac_prog"
4997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5006 RSVG
=$ac_cv_prog_RSVG
5007 if test -n "$RSVG"; then
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5009 $as_echo "$RSVG" >&6; }
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5012 $as_echo "no" >&6; }
5016 test -n "$RSVG" && break
5018 test -n "$RSVG" || RSVG
="false"
5020 for ac_prog
in convert
5022 # Extract the first word of "$ac_prog", so it can be a program name with args.
5023 set dummy
$ac_prog; ac_word
=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if ${ac_cv_prog_CONVERT+:} false
; then :
5027 $as_echo_n "(cached) " >&6
5029 if test -n "$CONVERT"; then
5030 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5036 test -z "$as_dir" && as_dir
=.
5037 for ac_exec_ext
in '' $ac_executable_extensions; do
5038 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5039 ac_cv_prog_CONVERT
="$ac_prog"
5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 CONVERT
=$ac_cv_prog_CONVERT
5050 if test -n "$CONVERT"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5052 $as_echo "$CONVERT" >&6; }
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5059 test -n "$CONVERT" && break
5061 test -n "$CONVERT" || CONVERT
="false"
5063 for ac_prog
in icotool
5065 # Extract the first word of "$ac_prog", so it can be a program name with args.
5066 set dummy
$ac_prog; ac_word
=$2
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5068 $as_echo_n "checking for $ac_word... " >&6; }
5069 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5070 $as_echo_n "(cached) " >&6
5072 if test -n "$ICOTOOL"; then
5073 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5079 test -z "$as_dir" && as_dir
=.
5080 for ac_exec_ext
in '' $ac_executable_extensions; do
5081 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5082 ac_cv_prog_ICOTOOL
="$ac_prog"
5083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5092 ICOTOOL
=$ac_cv_prog_ICOTOOL
5093 if test -n "$ICOTOOL"; then
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5095 $as_echo "$ICOTOOL" >&6; }
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098 $as_echo "no" >&6; }
5102 test -n "$ICOTOOL" && break
5104 test -n "$ICOTOOL" || ICOTOOL
="false"
5106 for ac_prog
in msgfmt
5108 # Extract the first word of "$ac_prog", so it can be a program name with args.
5109 set dummy
$ac_prog; ac_word
=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if ${ac_cv_prog_MSGFMT+:} false
; then :
5113 $as_echo_n "(cached) " >&6
5115 if test -n "$MSGFMT"; then
5116 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5122 test -z "$as_dir" && as_dir
=.
5123 for ac_exec_ext
in '' $ac_executable_extensions; do
5124 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5125 ac_cv_prog_MSGFMT
="$ac_prog"
5126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 MSGFMT
=$ac_cv_prog_MSGFMT
5136 if test -n "$MSGFMT"; then
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5138 $as_echo "$MSGFMT" >&6; }
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141 $as_echo "no" >&6; }
5145 test -n "$MSGFMT" && break
5147 test -n "$MSGFMT" || MSGFMT
="false"
5150 if test "x$enable_maintainer_mode" != "xyes"
5155 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5156 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5158 if test "$CONVERT" = false
5160 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5163 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5164 convert_version
=`convert --version | head -n1`
5165 if test "x$convert_version" != "x"
5167 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5168 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5169 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5174 if test "$CONVERT" = false
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5177 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5178 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5181 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5185 if test "$ICOTOOL" = false
5187 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5190 $as_echo_n "checking for recent enough icotool... " >&6; }
5191 icotool_version
=`icotool --version | head -n1`
5192 if test "x$icotool_version" != "x"
5194 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5195 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5196 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5199 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5202 if test "$ICOTOOL" = false
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5205 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5206 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5209 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5215 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5218 test "x$with_gettext" != xno || MSGFMT
=false
5219 if test "$MSGFMT" != "false"
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5222 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5223 cat >conftest.po
<<EOF
5229 if $MSGFMT -o /dev
/null conftest.po
2>&5
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5232 $as_echo "yes" >&6; }
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5235 $as_echo "no" >&6; }
5239 if test "$MSGFMT" = false
; then :
5240 case "x$with_gettext" in
5241 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5243 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5244 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5250 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5251 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5252 $as_echo_n "(cached) " >&6
5254 ac_check_lib_save_LIBS
=$LIBS
5256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5257 /* end confdefs.h. */
5259 /* Override any GCC internal prototype to avoid an error.
5260 Use char because int might match the return type of a GCC
5261 builtin and then its argument prototype would still apply. */
5265 char i386_set_ldt ();
5269 return i386_set_ldt ();
5274 if ac_fn_c_try_link
"$LINENO"; then :
5275 ac_cv_lib_i386_i386_set_ldt
=yes
5277 ac_cv_lib_i386_i386_set_ldt
=no
5279 rm -f core conftest.err conftest.
$ac_objext \
5280 conftest
$ac_exeext conftest.
$ac_ext
5281 LIBS
=$ac_check_lib_save_LIBS
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5284 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5285 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5286 cat >>confdefs.h
<<_ACEOF
5287 #define HAVE_LIBI386 1
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5295 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5296 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5297 $as_echo_n "(cached) " >&6
5299 ac_check_lib_save_LIBS
=$LIBS
5300 LIBS
="-lossaudio $LIBS"
5301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5302 /* end confdefs.h. */
5304 /* Override any GCC internal prototype to avoid an error.
5305 Use char because int might match the return type of a GCC
5306 builtin and then its argument prototype would still apply. */
5314 return _oss_ioctl ();
5319 if ac_fn_c_try_link
"$LINENO"; then :
5320 ac_cv_lib_ossaudio__oss_ioctl
=yes
5322 ac_cv_lib_ossaudio__oss_ioctl
=no
5324 rm -f core conftest.err conftest.
$ac_objext \
5325 conftest
$ac_exeext conftest.
$ac_ext
5326 LIBS
=$ac_check_lib_save_LIBS
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5329 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5330 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5331 cat >>confdefs.h
<<_ACEOF
5332 #define HAVE_LIBOSSAUDIO 1
5335 LIBS
="-lossaudio $LIBS"
5346 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
5348 # Check whether --enable-largefile was given.
5349 if test "${enable_largefile+set}" = set; then :
5350 enableval
=$enable_largefile;
5353 if test "$enable_largefile" != no
; then
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5356 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5357 if ${ac_cv_sys_largefile_CC+:} false
; then :
5358 $as_echo_n "(cached) " >&6
5360 ac_cv_sys_largefile_CC
=no
5361 if test "$GCC" != yes; then
5364 # IRIX 6.2 and later do not support large files by default,
5365 # so use the C compiler's -n32 option if that helps.
5366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5367 /* end confdefs.h. */
5368 #include <sys/types.h>
5369 /* Check that off_t can represent 2**63 - 1 correctly.
5370 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5371 since some C++ compilers masquerading as C compilers
5372 incorrectly reject 9223372036854775807. */
5373 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5374 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5375 && LARGE_OFF_T % 2147483647 == 1)
5385 if ac_fn_c_try_compile
"$LINENO"; then :
5388 rm -f core conftest.err conftest.
$ac_objext
5390 if ac_fn_c_try_compile
"$LINENO"; then :
5391 ac_cv_sys_largefile_CC
=' -n32'; break
5393 rm -f core conftest.err conftest.
$ac_objext
5397 rm -f conftest.
$ac_ext
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5401 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5402 if test "$ac_cv_sys_largefile_CC" != no
; then
5403 CC
=$CC$ac_cv_sys_largefile_CC
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5407 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5408 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5409 $as_echo_n "(cached) " >&6
5412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5413 /* end confdefs.h. */
5414 #include <sys/types.h>
5415 /* Check that off_t can represent 2**63 - 1 correctly.
5416 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5417 since some C++ compilers masquerading as C compilers
5418 incorrectly reject 9223372036854775807. */
5419 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5420 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5421 && LARGE_OFF_T % 2147483647 == 1)
5431 if ac_fn_c_try_compile
"$LINENO"; then :
5432 ac_cv_sys_file_offset_bits
=no
; break
5434 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5436 /* end confdefs.h. */
5437 #define _FILE_OFFSET_BITS 64
5438 #include <sys/types.h>
5439 /* Check that off_t can represent 2**63 - 1 correctly.
5440 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5441 since some C++ compilers masquerading as C compilers
5442 incorrectly reject 9223372036854775807. */
5443 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5444 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5445 && LARGE_OFF_T % 2147483647 == 1)
5455 if ac_fn_c_try_compile
"$LINENO"; then :
5456 ac_cv_sys_file_offset_bits
=64; break
5458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5459 ac_cv_sys_file_offset_bits
=unknown
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5464 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5465 case $ac_cv_sys_file_offset_bits in #(
5468 cat >>confdefs.h
<<_ACEOF
5469 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5474 if test $ac_cv_sys_file_offset_bits = unknown
; then
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5476 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5477 if ${ac_cv_sys_large_files+:} false
; then :
5478 $as_echo_n "(cached) " >&6
5481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5482 /* end confdefs.h. */
5483 #include <sys/types.h>
5484 /* Check that off_t can represent 2**63 - 1 correctly.
5485 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5486 since some C++ compilers masquerading as C compilers
5487 incorrectly reject 9223372036854775807. */
5488 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5489 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5490 && LARGE_OFF_T % 2147483647 == 1)
5500 if ac_fn_c_try_compile
"$LINENO"; then :
5501 ac_cv_sys_large_files
=no
; break
5503 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5505 /* end confdefs.h. */
5506 #define _LARGE_FILES 1
5507 #include <sys/types.h>
5508 /* Check that off_t can represent 2**63 - 1 correctly.
5509 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5510 since some C++ compilers masquerading as C compilers
5511 incorrectly reject 9223372036854775807. */
5512 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5513 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5514 && LARGE_OFF_T % 2147483647 == 1)
5524 if ac_fn_c_try_compile
"$LINENO"; then :
5525 ac_cv_sys_large_files
=1; break
5527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5528 ac_cv_sys_large_files
=unknown
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5533 $as_echo "$ac_cv_sys_large_files" >&6; }
5534 case $ac_cv_sys_large_files in #(
5537 cat >>confdefs.h
<<_ACEOF
5538 #define _LARGE_FILES $ac_cv_sys_large_files
5550 ac_cpp
='$CPP $CPPFLAGS'
5551 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5552 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5553 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5555 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5556 # On Suns, sometimes $CPP names a directory.
5557 if test -n "$CPP" && test -d "$CPP"; then
5560 if test -z "$CPP"; then
5561 if ${ac_cv_prog_CPP+:} false
; then :
5562 $as_echo_n "(cached) " >&6
5564 # Double quotes because CPP needs to be expanded
5565 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5568 for ac_c_preproc_warn_flag
in '' yes
5570 # Use a header file that comes with gcc, so configuring glibc
5571 # with a fresh cross-compiler works.
5572 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5573 # <limits.h> exists even on freestanding compilers.
5574 # On the NeXT, cc -E runs the code through the compiler's parser,
5575 # not just through cpp. "Syntax error" is here to catch this case.
5576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5577 /* end confdefs.h. */
5579 # include <limits.h>
5581 # include <assert.h>
5585 if ac_fn_c_try_cpp
"$LINENO"; then :
5588 # Broken: fails on valid input.
5591 rm -f conftest.err conftest.i conftest.
$ac_ext
5593 # OK, works on sane cases. Now check whether nonexistent headers
5594 # can be detected and how.
5595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5596 /* end confdefs.h. */
5597 #include <ac_nonexistent.h>
5599 if ac_fn_c_try_cpp
"$LINENO"; then :
5600 # Broken: success on invalid input.
5603 # Passes both tests.
5607 rm -f conftest.err conftest.i conftest.
$ac_ext
5610 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5611 rm -f conftest.i conftest.err conftest.
$ac_ext
5612 if $ac_preproc_ok; then :
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5625 $as_echo "$CPP" >&6; }
5627 for ac_c_preproc_warn_flag
in '' yes
5629 # Use a header file that comes with gcc, so configuring glibc
5630 # with a fresh cross-compiler works.
5631 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5632 # <limits.h> exists even on freestanding compilers.
5633 # On the NeXT, cc -E runs the code through the compiler's parser,
5634 # not just through cpp. "Syntax error" is here to catch this case.
5635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5636 /* end confdefs.h. */
5638 # include <limits.h>
5640 # include <assert.h>
5644 if ac_fn_c_try_cpp
"$LINENO"; then :
5647 # Broken: fails on valid input.
5650 rm -f conftest.err conftest.i conftest.
$ac_ext
5652 # OK, works on sane cases. Now check whether nonexistent headers
5653 # can be detected and how.
5654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5655 /* end confdefs.h. */
5656 #include <ac_nonexistent.h>
5658 if ac_fn_c_try_cpp
"$LINENO"; then :
5659 # Broken: success on invalid input.
5662 # Passes both tests.
5666 rm -f conftest.err conftest.i conftest.
$ac_ext
5669 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5670 rm -f conftest.i conftest.err conftest.
$ac_ext
5671 if $ac_preproc_ok; then :
5674 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5676 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5677 See \`config.log' for more details" "$LINENO" 5; }
5681 ac_cpp
='$CPP $CPPFLAGS'
5682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5688 $as_echo_n "checking for ANSI C header files... " >&6; }
5689 if ${ac_cv_header_stdc+:} false
; then :
5690 $as_echo_n "(cached) " >&6
5692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5693 /* end confdefs.h. */
5707 if ac_fn_c_try_compile
"$LINENO"; then :
5708 ac_cv_header_stdc
=yes
5710 ac_cv_header_stdc
=no
5712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5714 if test $ac_cv_header_stdc = yes; then
5715 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5717 /* end confdefs.h. */
5721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5722 $EGREP "memchr" >/dev
/null
2>&1; then :
5725 ac_cv_header_stdc
=no
5731 if test $ac_cv_header_stdc = yes; then
5732 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5734 /* end confdefs.h. */
5738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5739 $EGREP "free" >/dev
/null
2>&1; then :
5742 ac_cv_header_stdc
=no
5748 if test $ac_cv_header_stdc = yes; then
5749 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5750 if test "$cross_compiling" = yes; then :
5753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5754 /* end confdefs.h. */
5757 #if ((' ' & 0x0FF) == 0x020)
5758 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5759 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5761 # define ISLOWER(c) \
5762 (('a' <= (c) && (c) <= 'i') \
5763 || ('j' <= (c) && (c) <= 'r') \
5764 || ('s' <= (c) && (c) <= 'z'))
5765 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5768 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5773 for (i = 0; i < 256; i++)
5774 if (XOR (islower (i), ISLOWER (i))
5775 || toupper (i) != TOUPPER (i))
5780 if ac_fn_c_try_run
"$LINENO"; then :
5783 ac_cv_header_stdc
=no
5785 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5786 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5792 $as_echo "$ac_cv_header_stdc" >&6; }
5793 if test $ac_cv_header_stdc = yes; then
5795 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5799 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5800 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5801 inttypes.h stdint.h unistd.h
5803 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5804 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5806 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5807 cat >>confdefs.h
<<_ACEOF
5808 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5818 ApplicationServices
/ApplicationServices.h \
5819 AudioToolbox
/AudioConverter.h \
5820 AudioUnit
/AudioUnit.h \
5821 AudioUnit
/AudioComponent.h \
5824 CoreAudio
/CoreAudio.h \
5825 CoreServices
/CoreServices.h \
5826 DiskArbitration
/DiskArbitration.h \
5828 IOKit
/hid
/IOHIDLib.h \
5831 QuickTime
/ImageCompression.h \
5832 Security
/Security.h \
5846 fontconfig
/fontconfig.h \
5885 netinet
/in_systm.h \
5946 valgrind
/memcheck.h \
5947 valgrind
/valgrind.h \
5951 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5952 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5953 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5954 cat >>confdefs.h
<<_ACEOF
5955 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5963 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5964 if ${ac_cv_header_stat_broken+:} false
; then :
5965 $as_echo_n "(cached) " >&6
5967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5968 /* end confdefs.h. */
5969 #include <sys/types.h>
5970 #include <sys/stat.h>
5972 #if defined S_ISBLK && defined S_IFDIR
5973 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5976 #if defined S_ISBLK && defined S_IFCHR
5977 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5980 #if defined S_ISLNK && defined S_IFREG
5981 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5984 #if defined S_ISSOCK && defined S_IFREG
5985 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5989 if ac_fn_c_try_compile
"$LINENO"; then :
5990 ac_cv_header_stat_broken
=no
5992 ac_cv_header_stat_broken
=yes
5994 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5997 $as_echo "$ac_cv_header_stat_broken" >&6; }
5998 if test $ac_cv_header_stat_broken = yes; then
6000 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6006 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6008 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6009 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6010 #ifdef HAVE_SYS_PARAM_H
6011 # include <sys/param.h>
6014 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6015 cat >>confdefs.h
<<_ACEOF
6016 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6031 netinet
/if_ether.h \
6032 netinet
/if_inarp.h \
6041 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6042 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6043 #ifdef HAVE_SYS_SOCKET_H
6044 # include <sys/socket.h>
6046 #ifdef HAVE_SYS_SOCKETVAR_H
6047 # include <sys/socketvar.h>
6049 #ifdef HAVE_NET_ROUTE_H
6050 # include <net/route.h>
6052 #ifdef HAVE_NETINET_IN_H
6053 # include <netinet/in.h>
6055 #ifdef HAVE_NETINET_IN_SYSTM_H
6056 # include <netinet/in_systm.h>
6058 #ifdef HAVE_NET_IF_H
6059 # include <net/if.h>
6061 #ifdef HAVE_NETINET_IP_H
6062 # include <netinet/ip.h>
6065 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6066 cat >>confdefs.h
<<_ACEOF
6067 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6075 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6077 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6078 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6082 #ifdef HAVE_SYS_SOCKET_H
6083 # include <sys/socket.h>
6085 #ifdef HAVE_SYS_SOCKETVAR_H
6086 # include <sys/socketvar.h>
6088 #ifdef HAVE_SYS_TIMEOUT_H
6089 # include <sys/timeout.h>
6091 #ifdef HAVE_NETINET_IN_H
6092 # include <netinet/in.h>
6094 #ifdef HAVE_NETINET_IN_SYSTM_H
6095 # include <netinet/in_systm.h>
6097 #ifdef HAVE_NETINET_IP_H
6098 # include <netinet/ip.h>
6100 #ifdef HAVE_NETINET_IP_VAR_H
6101 # include <netinet/ip_var.h>
6103 #ifdef HAVE_NETINET_IP_ICMP_H
6104 # include <netinet/ip_icmp.h>
6106 #ifdef HAVE_NETINET_UDP_H
6107 # include <netinet/udp.h>
6109 #ifdef HAVE_NETINET_TCP_H
6110 # include <netinet/tcp.h>
6112 #ifdef HAVE_NETINET_TCP_TIMER_H
6113 #include <netinet/tcp_timer.h>
6116 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6117 cat >>confdefs.h
<<_ACEOF
6118 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6126 for ac_header
in linux
/ipx.h linux
/irda.h
6128 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6129 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6130 #ifdef HAVE_ASM_TYPES_H
6131 # include <asm/types.h>
6133 #ifdef HAVE_SYS_SOCKET_H
6134 # include <sys/socket.h>
6136 #ifdef HAVE_LINUX_TYPES_H
6137 # include <linux/types.h>
6140 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6141 cat >>confdefs.h
<<_ACEOF
6142 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6150 for ac_header
in mach-o
/dyld_images.h
6152 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6153 # include <stdbool.h>
6155 #ifdef HAVE_STDINT_H
6156 # include <stdint.h>
6159 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6160 cat >>confdefs.h
<<_ACEOF
6161 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6169 for ac_header
in resolv.h
6171 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6172 #ifdef HAVE_SYS_SOCKET_H
6173 # include <sys/socket.h>
6175 #ifdef HAVE_NETINET_IN_H
6176 # include <netinet/in.h>
6178 #ifdef HAVE_ARPA_NAMESER_H
6179 # include <arpa/nameser.h>
6182 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6183 cat >>confdefs.h
<<_ACEOF
6184 #define HAVE_RESOLV_H 1
6192 for ac_header
in ifaddrs.h
6194 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6196 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6197 cat >>confdefs.h
<<_ACEOF
6198 #define HAVE_IFADDRS_H 1
6206 for ac_header
in ucontext.h
6208 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6210 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6211 cat >>confdefs.h
<<_ACEOF
6212 #define HAVE_UCONTEXT_H 1
6220 for ac_header
in sys
/thr.h
6222 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6223 #ifdef HAVE_UCONTEXT_H
6224 #include <ucontext.h>
6227 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6228 cat >>confdefs.h
<<_ACEOF
6229 #define HAVE_SYS_THR_H 1
6237 for ac_header
in pthread_np.h
6239 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6240 #include <pthread.h>
6243 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6244 cat >>confdefs.h
<<_ACEOF
6245 #define HAVE_PTHREAD_NP_H 1
6253 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6255 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6256 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6257 #include <sys/time.h>
6259 #include <sys/types.h>
6260 #ifdef HAVE_ASM_TYPES_H
6261 #include <asm/types.h>
6264 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6265 cat >>confdefs.h
<<_ACEOF
6266 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6274 for ac_header
in linux
/capi.h
6276 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6278 if test "x$ac_cv_header_linux_capi_h" = xyes
; then :
6279 cat >>confdefs.h
<<_ACEOF
6280 #define HAVE_LINUX_CAPI_H 1
6291 DLLFLAGS
="-D_REENTRANT"
6302 STATIC_IMPLIBEXT
="def.a"
6303 # Extract the first word of "ldd", so it can be a program name with args.
6304 set dummy ldd
; ac_word
=$2
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6306 $as_echo_n "checking for $ac_word... " >&6; }
6307 if ${ac_cv_path_LDD+:} false
; then :
6308 $as_echo_n "(cached) " >&6
6312 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6316 as_dummy
="/sbin:/usr/sbin:$PATH"
6317 for as_dir
in $as_dummy
6320 test -z "$as_dir" && as_dir
=.
6321 for ac_exec_ext
in '' $ac_executable_extensions; do
6322 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6323 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6331 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6336 if test -n "$LDD"; then
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6338 $as_echo "$LDD" >&6; }
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6341 $as_echo "no" >&6; }
6345 if test -n "$ac_tool_prefix"; then
6346 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6347 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6349 $as_echo_n "checking for $ac_word... " >&6; }
6350 if ${ac_cv_prog_READELF+:} false
; then :
6351 $as_echo_n "(cached) " >&6
6353 if test -n "$READELF"; then
6354 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6360 test -z "$as_dir" && as_dir
=.
6361 for ac_exec_ext
in '' $ac_executable_extensions; do
6362 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6363 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6373 READELF
=$ac_cv_prog_READELF
6374 if test -n "$READELF"; then
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6376 $as_echo "$READELF" >&6; }
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6379 $as_echo "no" >&6; }
6384 if test -z "$ac_cv_prog_READELF"; then
6385 ac_ct_READELF
=$READELF
6386 # Extract the first word of "readelf", so it can be a program name with args.
6387 set dummy readelf
; ac_word
=$2
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6389 $as_echo_n "checking for $ac_word... " >&6; }
6390 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
6391 $as_echo_n "(cached) " >&6
6393 if test -n "$ac_ct_READELF"; then
6394 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
6396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6400 test -z "$as_dir" && as_dir
=.
6401 for ac_exec_ext
in '' $ac_executable_extensions; do
6402 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6403 ac_cv_prog_ac_ct_READELF
="readelf"
6404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6413 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
6414 if test -n "$ac_ct_READELF"; then
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6416 $as_echo "$ac_ct_READELF" >&6; }
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6419 $as_echo "no" >&6; }
6422 if test "x$ac_ct_READELF" = x
; then
6425 case $cross_compiling:$ac_tool_warned in
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6429 ac_tool_warned
=yes ;;
6431 READELF
=$ac_ct_READELF
6434 READELF
="$ac_cv_prog_READELF"
6440 if test -n "$ac_tool_prefix"; then
6441 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6442 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6444 $as_echo_n "checking for $ac_word... " >&6; }
6445 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6446 $as_echo_n "(cached) " >&6
6448 if test -n "$DLLTOOL"; then
6449 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6455 test -z "$as_dir" && as_dir
=.
6456 for ac_exec_ext
in '' $ac_executable_extensions; do
6457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6458 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6468 DLLTOOL
=$ac_cv_prog_DLLTOOL
6469 if test -n "$DLLTOOL"; then
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6471 $as_echo "$DLLTOOL" >&6; }
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6474 $as_echo "no" >&6; }
6479 if test -z "$ac_cv_prog_DLLTOOL"; then
6480 ac_ct_DLLTOOL
=$DLLTOOL
6481 # Extract the first word of "dlltool", so it can be a program name with args.
6482 set dummy dlltool
; ac_word
=$2
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6484 $as_echo_n "checking for $ac_word... " >&6; }
6485 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6486 $as_echo_n "(cached) " >&6
6488 if test -n "$ac_ct_DLLTOOL"; then
6489 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6495 test -z "$as_dir" && as_dir
=.
6496 for ac_exec_ext
in '' $ac_executable_extensions; do
6497 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6498 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6508 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6509 if test -n "$ac_ct_DLLTOOL"; then
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6511 $as_echo "$ac_ct_DLLTOOL" >&6; }
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6514 $as_echo "no" >&6; }
6517 if test "x$ac_ct_DLLTOOL" = x
; then
6520 case $cross_compiling:$ac_tool_warned in
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6524 ac_tool_warned
=yes ;;
6526 DLLTOOL
=$ac_ct_DLLTOOL
6529 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6534 STATIC_IMPLIBEXT
="a"
6535 enable_iphlpapi
=${enable_iphlpapi:-no}
6536 enable_kernel32
=${enable_kernel32:-no}
6537 enable_msvcrt
=${enable_msvcrt:-no}
6538 enable_ntdll
=${enable_ntdll:-no}
6539 enable_ws2_32
=${enable_ws2_32:-no}
6540 enable_loader
=${enable_loader:-no}
6541 enable_server
=${enable_server:-no}
6542 with_x
=${with_x:-no}
6543 with_pthread
=${with_pthread:-no}
6549 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
6554 all: libwine.dll libwine.a
6557 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
6559 libwine.dll: \$(OBJS) wine.def Makefile.in
6560 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
6562 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
6563 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
6565 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
6566 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
6569 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
6572 \$(RM) libwine.dll version.c
6580 DLLFLAGS
="$DLLFLAGS -fPIC"
6581 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6582 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6583 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6584 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
6585 COREFOUNDATIONLIB
="-framework CoreFoundation"
6587 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6589 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
6591 CORESERVICESLIB
="-framework CoreServices"
6595 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"
6598 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6601 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6603 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6606 if test "$ac_cv_header_Security_Security_h" = "yes"
6608 SECURITYLIB
="-framework Security -framework CoreFoundation"
6610 ac_save_LIBS
="$LIBS"
6611 LIBS
="$LIBS $SECURITYLIB"
6612 for ac_func
in SSLCopyPeerCertificates
6614 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6615 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
6616 cat >>confdefs.h
<<_ACEOF
6617 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6623 LIBS
="$ac_save_LIBS"
6624 with_gnutls
=${with_gnutls:-no}
6626 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6628 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6630 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6633 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6636 ac_save_LIBS
="$LIBS"
6637 LIBS
="$LIBS $COREAUDIO"
6638 for ac_func
in AUGraphAddNode
6640 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6641 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
6642 cat >>confdefs.h
<<_ACEOF
6643 #define HAVE_AUGRAPHADDNODE 1
6649 LIBS
="$ac_save_LIBS"
6651 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6653 FRAMEWORK_OPENAL
="-framework OpenAL"
6656 cat >>confdefs.h
<<_ACEOF
6657 #define HAVE_OPENAL 1
6660 ac_cv_lib_openal
=yes
6662 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6664 LIBOPENCL
="-framework OpenCL"
6666 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6668 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6670 ac_save_LIBS
="$LIBS"
6671 LIBS
="$LIBS $IOKITLIB"
6672 for ac_func
in IOHIDManagerCreate
6674 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6675 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
6676 cat >>confdefs.h
<<_ACEOF
6677 #define HAVE_IOHIDMANAGERCREATE 1
6683 LIBS
="$ac_save_LIBS"
6687 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6689 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6691 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6693 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6695 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6697 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6699 CARBONLIB
="-framework Carbon"
6703 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6705 ac_save_LIBS
="$LIBS"
6706 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
6707 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6708 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
6709 enable_winemac_drv
=${enable_winemac_drv:-yes}
6712 LIBS
="$ac_save_LIBS"
6715 if test "x$enable_win16" = "xyes"
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6718 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6719 if test "$cross_compiling" = yes; then :
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6721 $as_echo "cross-compiling, assuming yes" >&6; }
6723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6724 /* end confdefs.h. */
6727 "good:\tnop;nop\n\t"
6728 ".globl _testfunc\n"
6729 "_testfunc:\tcallw good");
6730 extern void testfunc();
6734 unsigned short *p = (unsigned short *)testfunc;
6735 return p[0] != 0xe866 || p[1] != 0xfffa
6740 if ac_fn_c_try_run
"$LINENO"; then :
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6742 $as_echo "yes" >&6; }
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6745 $as_echo "no" >&6; }
6746 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
6748 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6749 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6757 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
6758 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
6760 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
6761 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
6763 libwine.dylib: libwine.\$(SOVERSION).dylib
6764 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
6766 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
6767 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
6768 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6770 install install-dev:: \$(DESTDIR)\$(libdir) dummy
6771 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
6774 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6777 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
6783 DLLFLAGS
="$DLLFLAGS -fPIC"
6785 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6787 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6788 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
6789 $as_echo_n "(cached) " >&6
6791 ac_wine_try_cflags_saved
=$CFLAGS
6792 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6794 /* end confdefs.h. */
6795 int main(int argc, char **argv) { return 0; }
6797 if ac_fn_c_try_link
"$LINENO"; then :
6798 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6800 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6802 rm -f core conftest.err conftest.
$ac_objext \
6803 conftest
$ac_exeext conftest.
$ac_ext
6804 CFLAGS
=$ac_wine_try_cflags_saved
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6807 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6808 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6809 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6811 { $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
6812 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6813 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
6814 $as_echo_n "(cached) " >&6
6816 ac_wine_try_cflags_saved
=$CFLAGS
6817 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6819 /* end confdefs.h. */
6820 int main(int argc, char **argv) { return 0; }
6822 if ac_fn_c_try_link
"$LINENO"; then :
6823 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6825 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6827 rm -f core conftest.err conftest.
$ac_objext \
6828 conftest
$ac_exeext conftest.
$ac_ext
6829 CFLAGS
=$ac_wine_try_cflags_saved
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6832 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6833 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6834 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6837 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6838 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
6839 $as_echo_n "(cached) " >&6
6841 ac_wine_try_cflags_saved
=$CFLAGS
6842 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6844 /* end confdefs.h. */
6845 int main(int argc, char **argv) { return 0; }
6847 if ac_fn_c_try_link
"$LINENO"; then :
6848 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6850 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6852 rm -f core conftest.err conftest.
$ac_objext \
6853 conftest
$ac_exeext conftest.
$ac_ext
6854 CFLAGS
=$ac_wine_try_cflags_saved
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6857 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6858 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6859 LDEXECFLAGS
="-Wl,--export-dynamic"
6862 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6864 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6865 if eval \
${$as_ac_var+:} false
; then :
6866 $as_echo_n "(cached) " >&6
6868 ac_wine_try_cflags_saved
=$CFLAGS
6869 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6871 /* end confdefs.h. */
6872 int main(int argc, char **argv) { return 0; }
6874 if ac_fn_c_try_link
"$LINENO"; then :
6875 eval "$as_ac_var=yes"
6877 eval "$as_ac_var=no"
6879 rm -f core conftest.err conftest.
$ac_objext \
6880 conftest
$ac_exeext conftest.
$ac_ext
6881 CFLAGS
=$ac_wine_try_cflags_saved
6883 eval ac_res
=\$
$as_ac_var
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6885 $as_echo "$ac_res" >&6; }
6886 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6887 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6888 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6890 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6892 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6893 if eval \
${$as_ac_var+:} false
; then :
6894 $as_echo_n "(cached) " >&6
6896 ac_wine_try_cflags_saved
=$CFLAGS
6897 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6899 /* end confdefs.h. */
6900 int main(int argc, char **argv) { return 0; }
6902 if ac_fn_c_try_link
"$LINENO"; then :
6903 eval "$as_ac_var=yes"
6905 eval "$as_ac_var=no"
6907 rm -f core conftest.err conftest.
$ac_objext \
6908 conftest
$ac_exeext conftest.
$ac_ext
6909 CFLAGS
=$ac_wine_try_cflags_saved
6911 eval ac_res
=\$
$as_ac_var
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6913 $as_echo "$ac_res" >&6; }
6914 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6915 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6916 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6921 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6922 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
6923 $as_echo_n "(cached) " >&6
6925 ac_wine_try_cflags_saved
=$CFLAGS
6926 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
6927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6928 /* end confdefs.h. */
6929 int main(int argc, char **argv) { return 0; }
6931 if ac_fn_c_try_link
"$LINENO"; then :
6932 ac_cv_cflags__Wl___enable_new_dtags
=yes
6934 ac_cv_cflags__Wl___enable_new_dtags
=no
6936 rm -f core conftest.err conftest.
$ac_objext \
6937 conftest
$ac_exeext conftest.
$ac_ext
6938 CFLAGS
=$ac_wine_try_cflags_saved
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6941 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6942 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6943 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6947 *i
[3456789]86* | x86_64
)
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6949 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6950 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
6951 $as_echo_n "(cached) " >&6
6953 ac_wine_try_cflags_saved
=$CFLAGS
6954 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6956 /* end confdefs.h. */
6957 int main(int argc, char **argv) { return 0; }
6959 if ac_fn_c_try_link
"$LINENO"; then :
6960 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
6962 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
6964 rm -f core conftest.err conftest.
$ac_objext \
6965 conftest
$ac_exeext conftest.
$ac_ext
6966 CFLAGS
=$ac_wine_try_cflags_saved
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
6969 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
6970 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
6971 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
6979 libwine.so: \$(OBJS) Makefile.in
6980 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
6982 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
6983 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
6986 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
6989 \$(RM) libwine.so version.c
6995 DLLFLAGS
="$DLLFLAGS -fPIC"
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6998 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6999 if ${ac_cv_c_dll_gnuelf+:} false
; then :
7000 $as_echo_n "(cached) " >&6
7002 ac_wine_try_cflags_saved
=$CFLAGS
7003 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7005 /* end confdefs.h. */
7008 if ac_fn_c_try_link
"$LINENO"; then :
7009 ac_cv_c_dll_gnuelf
="yes"
7011 ac_cv_c_dll_gnuelf
="no"
7013 rm -f core conftest.err conftest.
$ac_objext \
7014 conftest
$ac_exeext conftest.
$ac_ext
7015 CFLAGS
=$ac_wine_try_cflags_saved
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7018 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7019 if test "$ac_cv_c_dll_gnuelf" = "yes"
7021 LDSHARED
="\$(CC) -shared"
7022 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7024 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7025 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
7026 $as_echo_n "(cached) " >&6
7028 ac_wine_try_cflags_saved
=$CFLAGS
7029 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7031 /* end confdefs.h. */
7032 int main(int argc, char **argv) { return 0; }
7034 if ac_fn_c_try_link
"$LINENO"; then :
7035 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
7037 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
7039 rm -f core conftest.err conftest.
$ac_objext \
7040 conftest
$ac_exeext conftest.
$ac_ext
7041 CFLAGS
=$ac_wine_try_cflags_saved
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7044 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7045 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7046 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7049 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7050 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
7051 $as_echo_n "(cached) " >&6
7053 ac_wine_try_cflags_saved
=$CFLAGS
7054 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
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__fPIC__shared__Wl__h_confest_so_1
=yes
7062 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=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__fPIC__shared__Wl__h_confest_so_1" >&5
7069 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7070 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7071 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
7076 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
7077 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
7078 $as_echo_n "(cached) " >&6
7080 ac_wine_try_cflags_saved
=$CFLAGS
7081 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
7082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7083 /* end confdefs.h. */
7084 int main(int argc, char **argv) { return 0; }
7086 if ac_fn_c_try_link
"$LINENO"; then :
7087 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
7089 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
7091 rm -f core conftest.err conftest.
$ac_objext \
7092 conftest
$ac_exeext conftest.
$ac_ext
7093 CFLAGS
=$ac_wine_try_cflags_saved
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
7096 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
7097 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
7098 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
7101 { $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
7102 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
7103 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
7104 $as_echo_n "(cached) " >&6
7106 ac_wine_try_cflags_saved
=$CFLAGS
7107 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
7108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7109 /* end confdefs.h. */
7110 int main(int argc, char **argv) { return 0; }
7112 if ac_fn_c_try_link
"$LINENO"; then :
7113 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
7115 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
7117 rm -f core conftest.err conftest.
$ac_objext \
7118 conftest
$ac_exeext conftest.
$ac_ext
7119 CFLAGS
=$ac_wine_try_cflags_saved
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
7122 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
7123 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
7124 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
7127 echo '{ global: *; };' >conftest.map
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7129 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7130 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
7131 $as_echo_n "(cached) " >&6
7133 ac_wine_try_cflags_saved
=$CFLAGS
7134 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7136 /* end confdefs.h. */
7137 int main(int argc, char **argv) { return 0; }
7139 if ac_fn_c_try_link
"$LINENO"; then :
7140 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
7142 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
7144 rm -f core conftest.err conftest.
$ac_objext \
7145 conftest
$ac_exeext conftest.
$ac_ext
7146 CFLAGS
=$ac_wine_try_cflags_saved
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7149 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7150 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7151 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7156 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7157 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7158 $as_echo_n "(cached) " >&6
7160 ac_wine_try_cflags_saved
=$CFLAGS
7161 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7163 /* end confdefs.h. */
7164 int main(int argc, char **argv) { return 0; }
7166 if ac_fn_c_try_link
"$LINENO"; then :
7167 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7169 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7171 rm -f core conftest.err conftest.
$ac_objext \
7172 conftest
$ac_exeext conftest.
$ac_ext
7173 CFLAGS
=$ac_wine_try_cflags_saved
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7176 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7177 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7178 LDEXECFLAGS
="-Wl,--export-dynamic"
7182 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7184 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7185 if eval \
${$as_ac_var+:} false
; then :
7186 $as_echo_n "(cached) " >&6
7188 ac_wine_try_cflags_saved
=$CFLAGS
7189 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7191 /* end confdefs.h. */
7192 int main(int argc, char **argv) { return 0; }
7194 if ac_fn_c_try_link
"$LINENO"; then :
7195 eval "$as_ac_var=yes"
7197 eval "$as_ac_var=no"
7199 rm -f core conftest.err conftest.
$ac_objext \
7200 conftest
$ac_exeext conftest.
$ac_ext
7201 CFLAGS
=$ac_wine_try_cflags_saved
7203 eval ac_res
=\$
$as_ac_var
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7205 $as_echo "$ac_res" >&6; }
7206 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7207 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7208 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7210 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7212 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7213 if eval \
${$as_ac_var+:} false
; then :
7214 $as_echo_n "(cached) " >&6
7216 ac_wine_try_cflags_saved
=$CFLAGS
7217 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7219 /* end confdefs.h. */
7220 int main(int argc, char **argv) { return 0; }
7222 if ac_fn_c_try_link
"$LINENO"; then :
7223 eval "$as_ac_var=yes"
7225 eval "$as_ac_var=no"
7227 rm -f core conftest.err conftest.
$ac_objext \
7228 conftest
$ac_exeext conftest.
$ac_ext
7229 CFLAGS
=$ac_wine_try_cflags_saved
7231 eval ac_res
=\$
$as_ac_var
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7233 $as_echo "$ac_res" >&6; }
7234 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7235 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7236 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7241 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7242 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7243 $as_echo_n "(cached) " >&6
7245 ac_wine_try_cflags_saved
=$CFLAGS
7246 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7248 /* end confdefs.h. */
7249 int main(int argc, char **argv) { return 0; }
7251 if ac_fn_c_try_link
"$LINENO"; then :
7252 ac_cv_cflags__Wl___enable_new_dtags
=yes
7254 ac_cv_cflags__Wl___enable_new_dtags
=no
7256 rm -f core conftest.err conftest.
$ac_objext \
7257 conftest
$ac_exeext conftest.
$ac_ext
7258 CFLAGS
=$ac_wine_try_cflags_saved
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7261 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7262 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7263 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7267 *i
[3456789]86* | x86_64
)
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7269 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7270 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7271 $as_echo_n "(cached) " >&6
7273 ac_wine_try_cflags_saved
=$CFLAGS
7274 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7276 /* end confdefs.h. */
7277 int main(int argc, char **argv) { return 0; }
7279 if ac_fn_c_try_link
"$LINENO"; then :
7280 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7282 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7284 rm -f core conftest.err conftest.
$ac_objext \
7285 conftest
$ac_exeext conftest.
$ac_ext
7286 CFLAGS
=$ac_wine_try_cflags_saved
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7289 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7290 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7292 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7293 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7297 # Extract the first word of "prelink", so it can be a program name with args.
7298 set dummy prelink
; ac_word
=$2
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7300 $as_echo_n "checking for $ac_word... " >&6; }
7301 if ${ac_cv_path_PRELINK+:} false
; then :
7302 $as_echo_n "(cached) " >&6
7306 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7310 for as_dir
in /sbin
/usr
/sbin
$PATH
7313 test -z "$as_dir" && as_dir
=.
7314 for ac_exec_ext
in '' $ac_executable_extensions; do
7315 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7316 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7324 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7328 PRELINK
=$ac_cv_path_PRELINK
7329 if test -n "$PRELINK"; then
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7331 $as_echo "$PRELINK" >&6; }
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7334 $as_echo "no" >&6; }
7338 if test "x$PRELINK" = xfalse
7340 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7347 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7348 if ${ac_cv_c_dll_unixware+:} false
; then :
7349 $as_echo_n "(cached) " >&6
7351 ac_wine_try_cflags_saved
=$CFLAGS
7352 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7354 /* end confdefs.h. */
7357 if ac_fn_c_try_link
"$LINENO"; then :
7358 ac_cv_c_dll_unixware
="yes"
7360 ac_cv_c_dll_unixware
="no"
7362 rm -f core conftest.err conftest.
$ac_objext \
7363 conftest
$ac_exeext conftest.
$ac_ext
7364 CFLAGS
=$ac_wine_try_cflags_saved
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7367 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7368 if test "$ac_cv_c_dll_unixware" = "yes"
7370 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7371 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
7377 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7378 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7380 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7381 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7383 libwine.so: libwine.so.\$(SOVERSION)
7384 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7386 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
7387 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
7388 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7390 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7391 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
7394 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7397 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
7403 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7404 enable_winemac_drv
=${enable_winemac_drv:-no}
7406 CROSSTEST_DISABLE
=\
#
7408 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7412 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
7415 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 " ;;
7417 ac_prefix_list
="" ;;
7419 for ac_prog
in $ac_prefix_list
7421 # Extract the first word of "$ac_prog", so it can be a program name with args.
7422 set dummy
$ac_prog; ac_word
=$2
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7424 $as_echo_n "checking for $ac_word... " >&6; }
7425 if ${ac_cv_prog_CROSSCC+:} false
; then :
7426 $as_echo_n "(cached) " >&6
7428 if test -n "$CROSSCC"; then
7429 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7435 test -z "$as_dir" && as_dir
=.
7436 for ac_exec_ext
in '' $ac_executable_extensions; do
7437 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7438 ac_cv_prog_CROSSCC
="$ac_prog"
7439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7448 CROSSCC
=$ac_cv_prog_CROSSCC
7449 if test -n "$CROSSCC"; then
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7451 $as_echo "$CROSSCC" >&6; }
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7454 $as_echo "no" >&6; }
7458 test -n "$CROSSCC" && break
7460 test -n "$CROSSCC" || CROSSCC
="false"
7462 if test "$CROSSCC" != "false"
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7467 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7469 /* end confdefs.h. */
7479 if ac_fn_c_try_compile
"$LINENO"; then :
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7481 $as_echo "yes" >&6; }
7488 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7492 if test -n "$target"
7494 CROSSTEST_DISABLE
=""
7495 CROSSTARGET
="$target"
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7500 $as_echo "no" >&6; }
7502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7508 if test "$ac_cv_header_pthread_h" = "yes"
7510 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7511 if test "x$ac_cv_func_pthread_create" = xyes
; then :
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7515 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7516 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
7517 $as_echo_n "(cached) " >&6
7519 ac_check_lib_save_LIBS
=$LIBS
7520 LIBS
="-lpthread $LIBS"
7521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7522 /* end confdefs.h. */
7524 /* Override any GCC internal prototype to avoid an error.
7525 Use char because int might match the return type of a GCC
7526 builtin and then its argument prototype would still apply. */
7530 char pthread_create ();
7534 return pthread_create ();
7539 if ac_fn_c_try_link
"$LINENO"; then :
7540 ac_cv_lib_pthread_pthread_create
=yes
7542 ac_cv_lib_pthread_pthread_create
=no
7544 rm -f core conftest.err conftest.
$ac_objext \
7545 conftest
$ac_exeext conftest.
$ac_ext
7546 LIBS
=$ac_check_lib_save_LIBS
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7549 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7550 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
7551 LIBPTHREAD
="-lpthread"
7558 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
7559 case "x$with_pthread" in
7561 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7562 Wine cannot support threads without libpthread.
7563 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7569 $as_echo_n "checking for X... " >&6; }
7572 # Check whether --with-x was given.
7573 if test "${with_x+set}" = set; then :
7577 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7578 if test "x$with_x" = xno
; then
7579 # The user explicitly disabled X.
7582 case $x_includes,$x_libraries in #(
7583 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
7584 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
7585 $as_echo_n "(cached) " >&6
7587 # One or both of the vars are not set, and there is no cached value.
7588 ac_x_includes
=no ac_x_libraries
=no
7589 rm -f -r conftest.dir
7590 if mkdir conftest.dir
; then
7592 cat >Imakefile
<<'_ACEOF'
7594 @echo incroot='${INCROOT}'
7596 @echo usrlibdir='${USRLIBDIR}'
7598 @echo libdir='${LIBDIR}'
7600 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7601 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7602 for ac_var
in incroot usrlibdir libdir
; do
7603 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7605 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7606 for ac_extension
in a so sl dylib la dll
; do
7607 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7608 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7609 ac_im_usrlibdir
=$ac_im_libdir; break
7612 # Screen out bogus values from the imake configuration. They are
7613 # bogus both because they are the default anyway, and because
7614 # using them would break gcc on systems where it needs fixed includes.
7615 case $ac_im_incroot in
7616 /usr
/include
) ac_x_includes
= ;;
7617 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7619 case $ac_im_usrlibdir in
7620 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7621 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7625 rm -f -r conftest.dir
7628 # Standard set of common directories for X headers.
7629 # Check X11 before X11Rn because it is often a symlink to the current release.
7643 /usr/local/X11/include
7644 /usr/local/X11R7/include
7645 /usr/local/X11R6/include
7646 /usr/local/X11R5/include
7647 /usr/local/X11R4/include
7649 /usr/local/include/X11
7650 /usr/local/include/X11R7
7651 /usr/local/include/X11R6
7652 /usr/local/include/X11R5
7653 /usr/local/include/X11R4
7657 /usr/XFree86/include/X11
7661 /usr/unsupported/include
7663 /usr/local/x11r5/include
7664 /usr/lpp/Xamples/include
7666 /usr/openwin/include
7667 /usr/openwin/share/include'
7669 if test "$ac_x_includes" = no
; then
7670 # Guess where to find include files, by looking for Xlib.h.
7671 # First, try using that file with no special directory specified.
7672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7673 /* end confdefs.h. */
7674 #include <X11/Xlib.h>
7676 if ac_fn_c_try_cpp
"$LINENO"; then :
7677 # We can compile using X headers with no special include directory.
7680 for ac_dir
in $ac_x_header_dirs; do
7681 if test -r "$ac_dir/X11/Xlib.h"; then
7682 ac_x_includes
=$ac_dir
7687 rm -f conftest.err conftest.i conftest.
$ac_ext
7688 fi # $ac_x_includes = no
7690 if test "$ac_x_libraries" = no
; then
7691 # Check for the libraries.
7692 # See if we find them without any special options.
7693 # Don't add to $LIBS permanently.
7696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7697 /* end confdefs.h. */
7698 #include <X11/Xlib.h>
7707 if ac_fn_c_try_link
"$LINENO"; then :
7709 # We can link X programs with no special library path.
7713 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7715 # Don't even attempt the hair of trying to link an X program!
7716 for ac_extension
in a so sl dylib la dll
; do
7717 if test -r "$ac_dir/libX11.$ac_extension"; then
7718 ac_x_libraries
=$ac_dir
7724 rm -f core conftest.err conftest.
$ac_objext \
7725 conftest
$ac_exeext conftest.
$ac_ext
7726 fi # $ac_x_libraries = no
7728 case $ac_x_includes,$ac_x_libraries in #(
7730 # Didn't find X, or a directory has "'" in its name.
7731 ac_cv_have_x
="have_x=no";; #(
7733 # Record where we found X for the cache.
7734 ac_cv_have_x
="have_x=yes\
7735 ac_x_includes='$ac_x_includes'\
7736 ac_x_libraries='$ac_x_libraries'"
7742 eval "$ac_cv_have_x"
7745 if test "$have_x" != yes; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7747 $as_echo "$have_x" >&6; }
7750 # If each of the values was on the command line, it overrides each guess.
7751 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7752 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7753 # Update the cache value to reflect the command line values.
7754 ac_cv_have_x
="have_x=yes\
7755 ac_x_includes='$x_includes'\
7756 ac_x_libraries='$x_libraries'"
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7758 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7761 if test "$no_x" = yes; then
7762 # Not all programs may use this symbol, but it does not hurt to define it.
7764 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7766 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7768 if test -n "$x_includes"; then
7769 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7772 # It would also be nice to do this for all -L options, not just this one.
7773 if test -n "$x_libraries"; then
7774 X_LIBS
="$X_LIBS -L$x_libraries"
7775 # For Solaris; some versions of Sun CC require a space after -R and
7776 # others require no space. Words are not sufficient . . . .
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7778 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7779 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7780 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7781 ac_c_werror_flag
=yes
7782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7783 /* end confdefs.h. */
7793 if ac_fn_c_try_link
"$LINENO"; then :
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7795 $as_echo "no" >&6; }
7796 X_LIBS
="$X_LIBS -R$x_libraries"
7798 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7800 /* end confdefs.h. */
7810 if ac_fn_c_try_link
"$LINENO"; then :
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7812 $as_echo "yes" >&6; }
7813 X_LIBS
="$X_LIBS -R $x_libraries"
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7816 $as_echo "neither works" >&6; }
7818 rm -f core conftest.err conftest.
$ac_objext \
7819 conftest
$ac_exeext conftest.
$ac_ext
7821 rm -f core conftest.err conftest.
$ac_objext \
7822 conftest
$ac_exeext conftest.
$ac_ext
7823 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7827 # Check for system-dependent libraries X programs must link with.
7828 # Do this before checking for the system-independent R6 libraries
7829 # (-lICE), since we may need -lsocket or whatever for X linking.
7831 if test "$ISC" = yes; then
7832 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7834 # Martyn Johnson says this is needed for Ultrix, if the X
7835 # libraries were built with DECnet support. And Karl Berry says
7836 # the Alpha needs dnet_stub (dnet does not exist).
7837 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7839 /* end confdefs.h. */
7841 /* Override any GCC internal prototype to avoid an error.
7842 Use char because int might match the return type of a GCC
7843 builtin and then its argument prototype would still apply. */
7847 char XOpenDisplay ();
7851 return XOpenDisplay ();
7856 if ac_fn_c_try_link
"$LINENO"; then :
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7860 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7861 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
7862 $as_echo_n "(cached) " >&6
7864 ac_check_lib_save_LIBS
=$LIBS
7866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7867 /* end confdefs.h. */
7869 /* Override any GCC internal prototype to avoid an error.
7870 Use char because int might match the return type of a GCC
7871 builtin and then its argument prototype would still apply. */
7879 return dnet_ntoa ();
7884 if ac_fn_c_try_link
"$LINENO"; then :
7885 ac_cv_lib_dnet_dnet_ntoa
=yes
7887 ac_cv_lib_dnet_dnet_ntoa
=no
7889 rm -f core conftest.err conftest.
$ac_objext \
7890 conftest
$ac_exeext conftest.
$ac_ext
7891 LIBS
=$ac_check_lib_save_LIBS
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7894 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7895 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
7896 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7899 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7901 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7902 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
7903 $as_echo_n "(cached) " >&6
7905 ac_check_lib_save_LIBS
=$LIBS
7906 LIBS
="-ldnet_stub $LIBS"
7907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7908 /* end confdefs.h. */
7910 /* Override any GCC internal prototype to avoid an error.
7911 Use char because int might match the return type of a GCC
7912 builtin and then its argument prototype would still apply. */
7920 return dnet_ntoa ();
7925 if ac_fn_c_try_link
"$LINENO"; then :
7926 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7928 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7930 rm -f core conftest.err conftest.
$ac_objext \
7931 conftest
$ac_exeext conftest.
$ac_ext
7932 LIBS
=$ac_check_lib_save_LIBS
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7935 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7936 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
7937 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7942 rm -f core conftest.err conftest.
$ac_objext \
7943 conftest
$ac_exeext conftest.
$ac_ext
7944 LIBS
="$ac_xsave_LIBS"
7946 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7947 # to get the SysV transport functions.
7948 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7950 # The nsl library prevents programs from opening the X display
7951 # on Irix 5.2, according to T.E. Dickey.
7952 # The functions gethostbyname, getservbyname, and inet_addr are
7953 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7954 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7955 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
7959 if test $ac_cv_func_gethostbyname = no
; then
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7961 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7962 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
7963 $as_echo_n "(cached) " >&6
7965 ac_check_lib_save_LIBS
=$LIBS
7967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7968 /* end confdefs.h. */
7970 /* Override any GCC internal prototype to avoid an error.
7971 Use char because int might match the return type of a GCC
7972 builtin and then its argument prototype would still apply. */
7976 char gethostbyname ();
7980 return gethostbyname ();
7985 if ac_fn_c_try_link
"$LINENO"; then :
7986 ac_cv_lib_nsl_gethostbyname
=yes
7988 ac_cv_lib_nsl_gethostbyname
=no
7990 rm -f core conftest.err conftest.
$ac_objext \
7991 conftest
$ac_exeext conftest.
$ac_ext
7992 LIBS
=$ac_check_lib_save_LIBS
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7995 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7996 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
7997 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8000 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8002 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8003 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8004 $as_echo_n "(cached) " >&6
8006 ac_check_lib_save_LIBS
=$LIBS
8008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8009 /* end confdefs.h. */
8011 /* Override any GCC internal prototype to avoid an error.
8012 Use char because int might match the return type of a GCC
8013 builtin and then its argument prototype would still apply. */
8017 char gethostbyname ();
8021 return gethostbyname ();
8026 if ac_fn_c_try_link
"$LINENO"; then :
8027 ac_cv_lib_bsd_gethostbyname
=yes
8029 ac_cv_lib_bsd_gethostbyname
=no
8031 rm -f core conftest.err conftest.
$ac_objext \
8032 conftest
$ac_exeext conftest.
$ac_ext
8033 LIBS
=$ac_check_lib_save_LIBS
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8036 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8037 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
8038 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8044 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8045 # socket/setsockopt and other routines are undefined under SCO ODT
8046 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8047 # on later versions), says Simon Leinen: it contains gethostby*
8048 # variants that don't use the name server (or something). -lsocket
8049 # must be given before -lnsl if both are needed. We assume that
8050 # if connect needs -lnsl, so does gethostbyname.
8051 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
8052 if test "x$ac_cv_func_connect" = xyes
; then :
8056 if test $ac_cv_func_connect = no
; then
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8058 $as_echo_n "checking for connect in -lsocket... " >&6; }
8059 if ${ac_cv_lib_socket_connect+:} false
; then :
8060 $as_echo_n "(cached) " >&6
8062 ac_check_lib_save_LIBS
=$LIBS
8063 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8065 /* end confdefs.h. */
8067 /* Override any GCC internal prototype to avoid an error.
8068 Use char because int might match the return type of a GCC
8069 builtin and then its argument prototype would still apply. */
8082 if ac_fn_c_try_link
"$LINENO"; then :
8083 ac_cv_lib_socket_connect
=yes
8085 ac_cv_lib_socket_connect
=no
8087 rm -f core conftest.err conftest.
$ac_objext \
8088 conftest
$ac_exeext conftest.
$ac_ext
8089 LIBS
=$ac_check_lib_save_LIBS
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8092 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8093 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
8094 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8099 # Guillermo Gomez says -lposix is necessary on A/UX.
8100 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
8101 if test "x$ac_cv_func_remove" = xyes
; then :
8105 if test $ac_cv_func_remove = no
; then
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8107 $as_echo_n "checking for remove in -lposix... " >&6; }
8108 if ${ac_cv_lib_posix_remove+:} false
; then :
8109 $as_echo_n "(cached) " >&6
8111 ac_check_lib_save_LIBS
=$LIBS
8112 LIBS
="-lposix $LIBS"
8113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8114 /* end confdefs.h. */
8116 /* Override any GCC internal prototype to avoid an error.
8117 Use char because int might match the return type of a GCC
8118 builtin and then its argument prototype would still apply. */
8131 if ac_fn_c_try_link
"$LINENO"; then :
8132 ac_cv_lib_posix_remove
=yes
8134 ac_cv_lib_posix_remove
=no
8136 rm -f core conftest.err conftest.
$ac_objext \
8137 conftest
$ac_exeext conftest.
$ac_ext
8138 LIBS
=$ac_check_lib_save_LIBS
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8141 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8142 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
8143 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8148 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8149 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
8150 if test "x$ac_cv_func_shmat" = xyes
; then :
8154 if test $ac_cv_func_shmat = no
; then
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8156 $as_echo_n "checking for shmat in -lipc... " >&6; }
8157 if ${ac_cv_lib_ipc_shmat+:} false
; then :
8158 $as_echo_n "(cached) " >&6
8160 ac_check_lib_save_LIBS
=$LIBS
8162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8163 /* end confdefs.h. */
8165 /* Override any GCC internal prototype to avoid an error.
8166 Use char because int might match the return type of a GCC
8167 builtin and then its argument prototype would still apply. */
8180 if ac_fn_c_try_link
"$LINENO"; then :
8181 ac_cv_lib_ipc_shmat
=yes
8183 ac_cv_lib_ipc_shmat
=no
8185 rm -f core conftest.err conftest.
$ac_objext \
8186 conftest
$ac_exeext conftest.
$ac_ext
8187 LIBS
=$ac_check_lib_save_LIBS
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8190 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8191 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
8192 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8198 # Check for libraries that X11R6 Xt/Xaw programs need.
8199 ac_save_LDFLAGS
=$LDFLAGS
8200 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8201 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8202 # check for ICE first), but we must link in the order -lSM -lICE or
8203 # we get undefined symbols. So assume we have SM if we have ICE.
8204 # These have to be linked with before -lX11, unlike the other
8205 # libraries we check for below, so use a different variable.
8206 # John Interrante, Karl Berry
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8208 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8209 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
8210 $as_echo_n "(cached) " >&6
8212 ac_check_lib_save_LIBS
=$LIBS
8213 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8215 /* end confdefs.h. */
8217 /* Override any GCC internal prototype to avoid an error.
8218 Use char because int might match the return type of a GCC
8219 builtin and then its argument prototype would still apply. */
8223 char IceConnectionNumber ();
8227 return IceConnectionNumber ();
8232 if ac_fn_c_try_link
"$LINENO"; then :
8233 ac_cv_lib_ICE_IceConnectionNumber
=yes
8235 ac_cv_lib_ICE_IceConnectionNumber
=no
8237 rm -f core conftest.err conftest.
$ac_objext \
8238 conftest
$ac_exeext conftest.
$ac_ext
8239 LIBS
=$ac_check_lib_save_LIBS
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8242 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8243 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
8244 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8247 LDFLAGS
=$ac_save_LDFLAGS
8252 if test "$have_x" = "yes"
8255 ac_save_CPPFLAGS
="$CPPFLAGS"
8256 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8259 $as_echo_n "checking for -lX11... " >&6; }
8260 if ${ac_cv_lib_soname_X11+:} false
; then :
8261 $as_echo_n "(cached) " >&6
8263 ac_check_soname_save_LIBS
=$LIBS
8264 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8266 /* end confdefs.h. */
8268 /* Override any GCC internal prototype to avoid an error.
8269 Use char because int might match the return type of a GCC
8270 builtin and then its argument prototype would still apply. */
8274 char XCreateWindow ();
8278 return XCreateWindow ();
8283 if ac_fn_c_try_link
"$LINENO"; then :
8285 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8286 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'` ;;
8287 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8288 if test "x$ac_cv_lib_soname_X11" = x
; then :
8289 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8293 rm -f core conftest.err conftest.
$ac_objext \
8294 conftest
$ac_exeext conftest.
$ac_ext
8295 LIBS
=$ac_check_soname_save_LIBS
8297 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8299 $as_echo "not found" >&6; }
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8303 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8305 cat >>confdefs.h
<<_ACEOF
8306 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8312 $as_echo_n "checking for -lXext... " >&6; }
8313 if ${ac_cv_lib_soname_Xext+:} false
; then :
8314 $as_echo_n "(cached) " >&6
8316 ac_check_soname_save_LIBS
=$LIBS
8317 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8319 /* end confdefs.h. */
8321 /* Override any GCC internal prototype to avoid an error.
8322 Use char because int might match the return type of a GCC
8323 builtin and then its argument prototype would still apply. */
8327 char XextCreateExtension ();
8331 return XextCreateExtension ();
8336 if ac_fn_c_try_link
"$LINENO"; then :
8338 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8339 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'` ;;
8340 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8341 if test "x$ac_cv_lib_soname_Xext" = x
; then :
8342 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8346 rm -f core conftest.err conftest.
$ac_objext \
8347 conftest
$ac_exeext conftest.
$ac_ext
8348 LIBS
=$ac_check_soname_save_LIBS
8350 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8352 $as_echo "not found" >&6; }
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8356 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8358 cat >>confdefs.h
<<_ACEOF
8359 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8365 for ac_header
in X11
/Xlib.h \
8368 X11
/Xcursor
/Xcursor.h \
8369 X11
/extensions
/shape.h \
8370 X11
/extensions
/XInput.h \
8371 X11
/extensions
/XInput2.h \
8372 X11
/extensions
/XShm.h \
8373 X11
/extensions
/Xcomposite.h \
8374 X11
/extensions
/Xinerama.h \
8375 X11
/extensions
/Xrandr.h \
8376 X11
/extensions
/Xrender.h \
8377 X11
/extensions
/xf86vmode.h \
8378 X11
/extensions
/xf86vmproto.h
8380 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8381 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8382 # include <X11/Xlib.h>
8384 #ifdef HAVE_X11_XUTIL_H
8385 # include <X11/Xutil.h>
8388 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8389 cat >>confdefs.h
<<_ACEOF
8390 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8398 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8401 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8402 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
8403 $as_echo_n "(cached) " >&6
8405 ac_check_lib_save_LIBS
=$LIBS
8406 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8408 /* end confdefs.h. */
8410 /* Override any GCC internal prototype to avoid an error.
8411 Use char because int might match the return type of a GCC
8412 builtin and then its argument prototype would still apply. */
8416 char XkbQueryExtension ();
8420 return XkbQueryExtension ();
8425 if ac_fn_c_try_link
"$LINENO"; then :
8426 ac_cv_lib_X11_XkbQueryExtension
=yes
8428 ac_cv_lib_X11_XkbQueryExtension
=no
8430 rm -f core conftest.err conftest.
$ac_objext \
8431 conftest
$ac_exeext conftest.
$ac_ext
8432 LIBS
=$ac_check_lib_save_LIBS
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8435 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8436 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
8438 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8444 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8447 $as_echo_n "checking for -lXcursor... " >&6; }
8448 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
8449 $as_echo_n "(cached) " >&6
8451 ac_check_soname_save_LIBS
=$LIBS
8452 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8454 /* end confdefs.h. */
8456 /* Override any GCC internal prototype to avoid an error.
8457 Use char because int might match the return type of a GCC
8458 builtin and then its argument prototype would still apply. */
8462 char XcursorImageLoadCursor ();
8466 return XcursorImageLoadCursor ();
8471 if ac_fn_c_try_link
"$LINENO"; then :
8473 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8474 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'` ;;
8475 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8476 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
8477 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8481 rm -f core conftest.err conftest.
$ac_objext \
8482 conftest
$ac_exeext conftest.
$ac_ext
8483 LIBS
=$ac_check_soname_save_LIBS
8485 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8487 $as_echo "not found" >&6; }
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8491 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8493 cat >>confdefs.h
<<_ACEOF
8494 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8500 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8501 case "x$with_xcursor" in
8502 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8504 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8505 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8509 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8512 $as_echo_n "checking for -lXi... " >&6; }
8513 if ${ac_cv_lib_soname_Xi+:} false
; then :
8514 $as_echo_n "(cached) " >&6
8516 ac_check_soname_save_LIBS
=$LIBS
8517 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8521 /* Override any GCC internal prototype to avoid an error.
8522 Use char because int might match the return type of a GCC
8523 builtin and then its argument prototype would still apply. */
8527 char XOpenDevice ();
8531 return XOpenDevice ();
8536 if ac_fn_c_try_link
"$LINENO"; then :
8538 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8539 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'` ;;
8540 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8541 if test "x$ac_cv_lib_soname_Xi" = x
; then :
8542 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8546 rm -f core conftest.err conftest.
$ac_objext \
8547 conftest
$ac_exeext conftest.
$ac_ext
8548 LIBS
=$ac_check_soname_save_LIBS
8550 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8552 $as_echo "not found" >&6; }
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8556 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8558 cat >>confdefs.h
<<_ACEOF
8559 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8565 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8566 case "x$with_xinput" in
8567 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8569 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8570 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8574 if test "x$ac_cv_lib_soname_Xi" != x
8576 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8577 case "x$with_xinput2" in
8578 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8580 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
8581 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8586 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8589 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8590 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
8591 $as_echo_n "(cached) " >&6
8593 ac_check_lib_save_LIBS
=$LIBS
8594 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8596 /* end confdefs.h. */
8598 /* Override any GCC internal prototype to avoid an error.
8599 Use char because int might match the return type of a GCC
8600 builtin and then its argument prototype would still apply. */
8604 char XShmQueryExtension ();
8608 return XShmQueryExtension ();
8613 if ac_fn_c_try_link
"$LINENO"; then :
8614 ac_cv_lib_Xext_XShmQueryExtension
=yes
8616 ac_cv_lib_Xext_XShmQueryExtension
=no
8618 rm -f core conftest.err conftest.
$ac_objext \
8619 conftest
$ac_exeext conftest.
$ac_ext
8620 LIBS
=$ac_check_lib_save_LIBS
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8623 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8624 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
8626 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8631 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8632 case "x$with_xshm" in
8633 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8635 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8636 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8640 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8643 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8644 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
8645 $as_echo_n "(cached) " >&6
8647 ac_check_lib_save_LIBS
=$LIBS
8648 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8650 /* end confdefs.h. */
8652 /* Override any GCC internal prototype to avoid an error.
8653 Use char because int might match the return type of a GCC
8654 builtin and then its argument prototype would still apply. */
8658 char XShapeQueryExtension ();
8662 return XShapeQueryExtension ();
8667 if ac_fn_c_try_link
"$LINENO"; then :
8668 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8670 ac_cv_lib_Xext_XShapeQueryExtension
=no
8672 rm -f core conftest.err conftest.
$ac_objext \
8673 conftest
$ac_exeext conftest.
$ac_ext
8674 LIBS
=$ac_check_lib_save_LIBS
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8677 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8678 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
8680 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8685 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8686 case "x$with_xshape" in
8687 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8689 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8690 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8694 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8697 $as_echo_n "checking for -lXxf86vm... " >&6; }
8698 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
8699 $as_echo_n "(cached) " >&6
8701 ac_check_soname_save_LIBS
=$LIBS
8702 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8704 /* end confdefs.h. */
8706 /* Override any GCC internal prototype to avoid an error.
8707 Use char because int might match the return type of a GCC
8708 builtin and then its argument prototype would still apply. */
8712 char XF86VidModeQueryExtension ();
8716 return XF86VidModeQueryExtension ();
8721 if ac_fn_c_try_link
"$LINENO"; then :
8723 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8724 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'` ;;
8725 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8726 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
8727 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8731 rm -f core conftest.err conftest.
$ac_objext \
8732 conftest
$ac_exeext conftest.
$ac_ext
8733 LIBS
=$ac_check_soname_save_LIBS
8735 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8737 $as_echo "not found" >&6; }
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8741 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8743 cat >>confdefs.h
<<_ACEOF
8744 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8750 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8751 case "x$with_xxf86vm" in
8752 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8754 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8755 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8759 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"
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8762 $as_echo_n "checking for -lXrender... " >&6; }
8763 if ${ac_cv_lib_soname_Xrender+:} false
; then :
8764 $as_echo_n "(cached) " >&6
8766 ac_check_soname_save_LIBS
=$LIBS
8767 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8769 /* end confdefs.h. */
8771 /* Override any GCC internal prototype to avoid an error.
8772 Use char because int might match the return type of a GCC
8773 builtin and then its argument prototype would still apply. */
8777 char XRenderQueryExtension ();
8781 return XRenderQueryExtension ();
8786 if ac_fn_c_try_link
"$LINENO"; then :
8788 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8789 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'` ;;
8790 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8791 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
8792 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8796 rm -f core conftest.err conftest.
$ac_objext \
8797 conftest
$ac_exeext conftest.
$ac_ext
8798 LIBS
=$ac_check_soname_save_LIBS
8800 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8802 $as_echo "not found" >&6; }
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8806 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8808 cat >>confdefs.h
<<_ACEOF
8809 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8813 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8814 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
8815 $as_echo_n "(cached) " >&6
8817 ac_check_lib_save_LIBS
=$LIBS
8818 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8820 /* end confdefs.h. */
8822 /* Override any GCC internal prototype to avoid an error.
8823 Use char because int might match the return type of a GCC
8824 builtin and then its argument prototype would still apply. */
8828 char XRenderSetPictureTransform ();
8832 return XRenderSetPictureTransform ();
8837 if ac_fn_c_try_link
"$LINENO"; then :
8838 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8840 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8842 rm -f core conftest.err conftest.
$ac_objext \
8843 conftest
$ac_exeext conftest.
$ac_ext
8844 LIBS
=$ac_check_lib_save_LIBS
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8847 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8848 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
8850 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8855 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8856 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
8857 $as_echo_n "(cached) " >&6
8859 ac_check_lib_save_LIBS
=$LIBS
8860 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8862 /* end confdefs.h. */
8864 /* Override any GCC internal prototype to avoid an error.
8865 Use char because int might match the return type of a GCC
8866 builtin and then its argument prototype would still apply. */
8870 char XRenderCreateLinearGradient ();
8874 return XRenderCreateLinearGradient ();
8879 if ac_fn_c_try_link
"$LINENO"; then :
8880 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
8882 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
8884 rm -f core conftest.err conftest.
$ac_objext \
8885 conftest
$ac_exeext conftest.
$ac_ext
8886 LIBS
=$ac_check_lib_save_LIBS
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8889 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8890 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
8892 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8899 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8900 case "x$with_xrender" in
8901 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8903 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8904 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8908 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8911 /* end confdefs.h. */
8912 #include <X11/Xlib.h>
8913 #include <X11/extensions/Xrandr.h>
8917 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8922 if ac_fn_c_try_compile
"$LINENO"; then :
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8924 $as_echo_n "checking for -lXrandr... " >&6; }
8925 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
8926 $as_echo_n "(cached) " >&6
8928 ac_check_soname_save_LIBS
=$LIBS
8929 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8931 /* end confdefs.h. */
8933 /* Override any GCC internal prototype to avoid an error.
8934 Use char because int might match the return type of a GCC
8935 builtin and then its argument prototype would still apply. */
8939 char XRRQueryExtension ();
8943 return XRRQueryExtension ();
8948 if ac_fn_c_try_link
"$LINENO"; then :
8950 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8951 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'` ;;
8952 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8953 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
8954 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8958 rm -f core conftest.err conftest.
$ac_objext \
8959 conftest
$ac_exeext conftest.
$ac_ext
8960 LIBS
=$ac_check_soname_save_LIBS
8962 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8964 $as_echo "not found" >&6; }
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8968 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8970 cat >>confdefs.h
<<_ACEOF
8971 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8975 /* end confdefs.h. */
8976 #include <X11/Xlib.h>
8977 #include <X11/extensions/Xrandr.h>
8981 static typeof(XRRGetScreenResources) *f; if (f) return 0;
8986 if ac_fn_c_try_compile
"$LINENO"; then :
8988 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
8991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8994 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8996 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8997 case "x$with_xrandr" in
8998 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9000 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9001 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9005 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9008 /* end confdefs.h. */
9009 #include <X11/Xlib.h>
9010 #include <X11/extensions/Xinerama.h>
9014 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9019 if ac_fn_c_try_compile
"$LINENO"; then :
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9021 $as_echo_n "checking for -lXinerama... " >&6; }
9022 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
9023 $as_echo_n "(cached) " >&6
9025 ac_check_soname_save_LIBS
=$LIBS
9026 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9028 /* end confdefs.h. */
9030 /* Override any GCC internal prototype to avoid an error.
9031 Use char because int might match the return type of a GCC
9032 builtin and then its argument prototype would still apply. */
9036 char XineramaQueryScreens ();
9040 return XineramaQueryScreens ();
9045 if ac_fn_c_try_link
"$LINENO"; then :
9047 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9048 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'` ;;
9049 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9050 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
9051 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9055 rm -f core conftest.err conftest.
$ac_objext \
9056 conftest
$ac_exeext conftest.
$ac_ext
9057 LIBS
=$ac_check_soname_save_LIBS
9059 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9061 $as_echo "not found" >&6; }
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9065 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9067 cat >>confdefs.h
<<_ACEOF
9068 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9076 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9077 case "x$with_xinerama" in
9078 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9080 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9081 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9085 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9088 $as_echo_n "checking for -lXcomposite... " >&6; }
9089 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
9090 $as_echo_n "(cached) " >&6
9092 ac_check_soname_save_LIBS
=$LIBS
9093 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9095 /* end confdefs.h. */
9097 /* Override any GCC internal prototype to avoid an error.
9098 Use char because int might match the return type of a GCC
9099 builtin and then its argument prototype would still apply. */
9103 char XCompositeRedirectWindow ();
9107 return XCompositeRedirectWindow ();
9112 if ac_fn_c_try_link
"$LINENO"; then :
9114 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9115 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'` ;;
9116 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9117 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
9118 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9122 rm -f core conftest.err conftest.
$ac_objext \
9123 conftest
$ac_exeext conftest.
$ac_ext
9124 LIBS
=$ac_check_soname_save_LIBS
9126 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9128 $as_echo "not found" >&6; }
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9132 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9134 cat >>confdefs.h
<<_ACEOF
9135 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9141 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9142 case "x$with_xcomposite" in
9143 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9145 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9146 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9150 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9151 #include <X11/Xlib.h>
9154 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
9156 cat >>confdefs.h
<<_ACEOF
9157 #define HAVE_XICCALLBACK_CALLBACK 1
9162 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9163 #include <X11/Xlib.h>
9166 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
9168 cat >>confdefs.h
<<_ACEOF
9169 #define HAVE_XEVENT_XCOOKIE 1
9178 if test "x$with_opengl" != "xno"
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9181 $as_echo_n "checking for -lGL... " >&6; }
9182 if ${ac_cv_lib_soname_GL+:} false
; then :
9183 $as_echo_n "(cached) " >&6
9185 ac_check_soname_save_LIBS
=$LIBS
9186 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9188 /* end confdefs.h. */
9190 /* Override any GCC internal prototype to avoid an error.
9191 Use char because int might match the return type of a GCC
9192 builtin and then its argument prototype would still apply. */
9196 char glXCreateContext ();
9200 return glXCreateContext ();
9205 if ac_fn_c_try_link
"$LINENO"; then :
9207 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9208 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'` ;;
9209 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9210 if test "x$ac_cv_lib_soname_GL" = x
; then :
9211 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9215 rm -f core conftest.err conftest.
$ac_objext \
9216 conftest
$ac_exeext conftest.
$ac_ext
9217 LIBS
=$ac_check_soname_save_LIBS
9219 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9221 $as_echo "not found" >&6; }
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9223 $as_echo_n "checking for -lGL... " >&6; }
9224 if ${ac_cv_lib_soname_GL+:} false
; then :
9225 $as_echo_n "(cached) " >&6
9227 ac_check_soname_save_LIBS
=$LIBS
9228 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"
9229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9230 /* end confdefs.h. */
9232 /* Override any GCC internal prototype to avoid an error.
9233 Use char because int might match the return type of a GCC
9234 builtin and then its argument prototype would still apply. */
9238 char glXCreateContext ();
9242 return glXCreateContext ();
9247 if ac_fn_c_try_link
"$LINENO"; then :
9249 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9250 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'` ;;
9251 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9252 if test "x$ac_cv_lib_soname_GL" = x
; then :
9253 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9257 rm -f core conftest.err conftest.
$ac_objext \
9258 conftest
$ac_exeext conftest.
$ac_ext
9259 LIBS
=$ac_check_soname_save_LIBS
9261 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9263 $as_echo "not found" >&6; }
9264 if test -f /usr
/X11R
6/lib
/libGL.a
9266 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
9267 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9269 opengl_msg
="No OpenGL library found on this system."
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9273 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9275 cat >>confdefs.h
<<_ACEOF
9276 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9279 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"
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9283 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9285 cat >>confdefs.h
<<_ACEOF
9286 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9291 if test "x$with_glu" != "xno"
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9294 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9295 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9296 $as_echo_n "(cached) " >&6
9298 ac_check_lib_save_LIBS
=$LIBS
9299 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9301 /* end confdefs.h. */
9303 /* Override any GCC internal prototype to avoid an error.
9304 Use char because int might match the return type of a GCC
9305 builtin and then its argument prototype would still apply. */
9313 return gluLookAt ();
9318 if ac_fn_c_try_link
"$LINENO"; then :
9319 ac_cv_lib_GLU_gluLookAt
=yes
9321 ac_cv_lib_GLU_gluLookAt
=no
9323 rm -f core conftest.err conftest.
$ac_objext \
9324 conftest
$ac_exeext conftest.
$ac_ext
9325 LIBS
=$ac_check_lib_save_LIBS
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9328 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9329 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
9333 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
9334 case "x$with_glu" in
9335 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9337 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9338 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9343 if test "x$with_osmesa" != "xno"
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9346 $as_echo_n "checking for -lOSMesa... " >&6; }
9347 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9348 $as_echo_n "(cached) " >&6
9350 ac_check_soname_save_LIBS
=$LIBS
9351 LIBS
="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9353 /* end confdefs.h. */
9355 /* Override any GCC internal prototype to avoid an error.
9356 Use char because int might match the return type of a GCC
9357 builtin and then its argument prototype would still apply. */
9370 if ac_fn_c_try_link
"$LINENO"; then :
9372 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9373 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'` ;;
9374 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9375 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
9376 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9380 rm -f core conftest.err conftest.
$ac_objext \
9381 conftest
$ac_exeext conftest.
$ac_ext
9382 LIBS
=$ac_check_soname_save_LIBS
9384 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9386 $as_echo "not found" >&6; }
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9390 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9392 cat >>confdefs.h
<<_ACEOF
9393 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9398 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9399 case "x$with_osmesa" in
9400 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9402 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9403 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9408 if test -n "$opengl_msg"; then :
9409 case "x$with_opengl" in
9410 x
) as_fn_append wine_warnings
"|$opengl_msg
9411 OpenGL and Direct3D won't be supported." ;;
9413 *) as_fn_error $?
"$opengl_msg
9414 OpenGL and Direct3D won't be supported.
9415 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9419 CPPFLAGS
="$ac_save_CPPFLAGS"
9424 enable_winex11_drv
=${enable_winex11_drv:-no}
9426 if test "x$XLIB" = "x"; then :
9429 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
9430 without X support, which probably isn't what you want. You will need
9431 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9432 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9436 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
9438 if test "$ac_cv_header_CL_cl_h" = "yes"
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9441 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9442 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
9443 $as_echo_n "(cached) " >&6
9445 ac_check_lib_save_LIBS
=$LIBS
9446 LIBS
="-lOpenCL $LIBS"
9447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9448 /* end confdefs.h. */
9450 /* Override any GCC internal prototype to avoid an error.
9451 Use char because int might match the return type of a GCC
9452 builtin and then its argument prototype would still apply. */
9456 char clGetPlatformInfo ();
9460 return clGetPlatformInfo ();
9465 if ac_fn_c_try_link
"$LINENO"; then :
9466 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9468 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9470 rm -f core conftest.err conftest.
$ac_objext \
9471 conftest
$ac_exeext conftest.
$ac_ext
9472 LIBS
=$ac_check_lib_save_LIBS
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9475 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9476 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
9477 LIBOPENCL
="-lOpenCL"
9482 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9483 case "x$with_opencl" in
9484 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9486 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9487 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9490 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9493 if test "x$with_xml" != "xno"
9495 ac_save_CPPFLAGS
="$CPPFLAGS"
9496 if test -n "$ac_tool_prefix"; then
9497 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9498 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9500 $as_echo_n "checking for $ac_word... " >&6; }
9501 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
9502 $as_echo_n "(cached) " >&6
9504 if test -n "$PKG_CONFIG"; then
9505 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
9507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9511 test -z "$as_dir" && as_dir
=.
9512 for ac_exec_ext
in '' $ac_executable_extensions; do
9513 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9514 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
9515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9524 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
9525 if test -n "$PKG_CONFIG"; then
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9527 $as_echo "$PKG_CONFIG" >&6; }
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9530 $as_echo "no" >&6; }
9535 if test -z "$ac_cv_prog_PKG_CONFIG"; then
9536 ac_ct_PKG_CONFIG
=$PKG_CONFIG
9537 # Extract the first word of "pkg-config", so it can be a program name with args.
9538 set dummy pkg-config
; ac_word
=$2
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9540 $as_echo_n "checking for $ac_word... " >&6; }
9541 if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false
; then :
9542 $as_echo_n "(cached) " >&6
9544 if test -n "$ac_ct_PKG_CONFIG"; then
9545 ac_cv_prog_ac_ct_PKG_CONFIG
="$ac_ct_PKG_CONFIG" # Let the user override the test.
9547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9551 test -z "$as_dir" && as_dir
=.
9552 for ac_exec_ext
in '' $ac_executable_extensions; do
9553 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9554 ac_cv_prog_ac_ct_PKG_CONFIG
="pkg-config"
9555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9564 ac_ct_PKG_CONFIG
=$ac_cv_prog_ac_ct_PKG_CONFIG
9565 if test -n "$ac_ct_PKG_CONFIG"; then
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
9567 $as_echo "$ac_ct_PKG_CONFIG" >&6; }
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9570 $as_echo "no" >&6; }
9573 if test "x$ac_ct_PKG_CONFIG" = x
; then
9576 case $cross_compiling:$ac_tool_warned in
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9580 ac_tool_warned
=yes ;;
9582 PKG_CONFIG
=$ac_ct_PKG_CONFIG
9585 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
9588 if test -n "$XML2_CFLAGS"; then :
9590 elif test -n "$PKG_CONFIG"; then :
9591 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
9593 XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
9594 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
9595 if test -n "$XML2_LIBS"; then :
9597 elif test -n "$PKG_CONFIG"; then :
9598 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
9600 XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
9601 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
9602 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
9604 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9605 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9606 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9607 cat >>confdefs.h
<<_ACEOF
9608 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9615 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"
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9618 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9619 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
9620 $as_echo_n "(cached) " >&6
9622 ac_check_lib_save_LIBS
=$LIBS
9623 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9625 /* end confdefs.h. */
9627 /* Override any GCC internal prototype to avoid an error.
9628 Use char because int might match the return type of a GCC
9629 builtin and then its argument prototype would still apply. */
9633 char xmlParseMemory ();
9637 return xmlParseMemory ();
9642 if ac_fn_c_try_link
"$LINENO"; then :
9643 ac_cv_lib_xml2_xmlParseMemory
=yes
9645 ac_cv_lib_xml2_xmlParseMemory
=no
9647 rm -f core conftest.err conftest.
$ac_objext \
9648 conftest
$ac_exeext conftest.
$ac_ext
9649 LIBS
=$ac_check_lib_save_LIBS
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9652 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9653 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
9655 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9662 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9663 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
9664 $as_echo_n "(cached) " >&6
9666 ac_check_lib_save_LIBS
=$LIBS
9667 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9669 /* end confdefs.h. */
9671 /* Override any GCC internal prototype to avoid an error.
9672 Use char because int might match the return type of a GCC
9673 builtin and then its argument prototype would still apply. */
9677 char xmlReadMemory ();
9681 return xmlReadMemory ();
9686 if ac_fn_c_try_link
"$LINENO"; then :
9687 ac_cv_lib_xml2_xmlReadMemory
=yes
9689 ac_cv_lib_xml2_xmlReadMemory
=no
9691 rm -f core conftest.err conftest.
$ac_objext \
9692 conftest
$ac_exeext conftest.
$ac_ext
9693 LIBS
=$ac_check_lib_save_LIBS
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9696 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9697 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
9699 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9704 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9705 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
9706 $as_echo_n "(cached) " >&6
9708 ac_check_lib_save_LIBS
=$LIBS
9709 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9711 /* end confdefs.h. */
9713 /* Override any GCC internal prototype to avoid an error.
9714 Use char because int might match the return type of a GCC
9715 builtin and then its argument prototype would still apply. */
9719 char xmlNewDocPI ();
9723 return xmlNewDocPI ();
9728 if ac_fn_c_try_link
"$LINENO"; then :
9729 ac_cv_lib_xml2_xmlNewDocPI
=yes
9731 ac_cv_lib_xml2_xmlNewDocPI
=no
9733 rm -f core conftest.err conftest.
$ac_objext \
9734 conftest
$ac_exeext conftest.
$ac_ext
9735 LIBS
=$ac_check_lib_save_LIBS
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9738 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9739 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
9741 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9746 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9747 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
9748 $as_echo_n "(cached) " >&6
9750 ac_check_lib_save_LIBS
=$LIBS
9751 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9753 /* end confdefs.h. */
9755 /* Override any GCC internal prototype to avoid an error.
9756 Use char because int might match the return type of a GCC
9757 builtin and then its argument prototype would still apply. */
9761 char xmlSchemaSetParserStructuredErrors ();
9765 return xmlSchemaSetParserStructuredErrors ();
9770 if ac_fn_c_try_link
"$LINENO"; then :
9771 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9773 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9775 rm -f core conftest.err conftest.
$ac_objext \
9776 conftest
$ac_exeext conftest.
$ac_ext
9777 LIBS
=$ac_check_lib_save_LIBS
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9780 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9781 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
9783 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9788 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9789 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
9790 $as_echo_n "(cached) " >&6
9792 ac_check_lib_save_LIBS
=$LIBS
9793 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9795 /* end confdefs.h. */
9797 /* Override any GCC internal prototype to avoid an error.
9798 Use char because int might match the return type of a GCC
9799 builtin and then its argument prototype would still apply. */
9803 char xmlSchemaSetValidStructuredErrors ();
9807 return xmlSchemaSetValidStructuredErrors ();
9812 if ac_fn_c_try_link
"$LINENO"; then :
9813 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9815 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9817 rm -f core conftest.err conftest.
$ac_objext \
9818 conftest
$ac_exeext conftest.
$ac_ext
9819 LIBS
=$ac_check_lib_save_LIBS
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9822 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9823 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
9825 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9830 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9831 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
9832 $as_echo_n "(cached) " >&6
9834 ac_check_lib_save_LIBS
=$LIBS
9835 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9837 /* end confdefs.h. */
9839 /* Override any GCC internal prototype to avoid an error.
9840 Use char because int might match the return type of a GCC
9841 builtin and then its argument prototype would still apply. */
9845 char xmlFirstElementChild ();
9849 return xmlFirstElementChild ();
9854 if ac_fn_c_try_link
"$LINENO"; then :
9855 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9857 ac_cv_lib_xml2_xmlFirstElementChild
=no
9859 rm -f core conftest.err conftest.
$ac_objext \
9860 conftest
$ac_exeext conftest.
$ac_ext
9861 LIBS
=$ac_check_lib_save_LIBS
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9864 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9865 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
9867 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9871 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9873 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
9875 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9883 CPPFLAGS
="$ac_save_CPPFLAGS"
9885 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9886 case "x$with_xml" in
9887 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9889 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9890 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9894 if test "x$with_xslt" != "xno"
9896 ac_save_CPPFLAGS
="$CPPFLAGS"
9897 if test -n "$XSLT_CFLAGS"; then :
9899 elif test -n "$PKG_CONFIG"; then :
9900 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
9902 XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
9903 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
9904 if test -n "$XSLT_LIBS"; then :
9906 elif test -n "$PKG_CONFIG"; then :
9907 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
9909 XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
9910 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
9911 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9913 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9914 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9915 # include <libxslt/pattern.h>
9918 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9919 cat >>confdefs.h
<<_ACEOF
9920 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9927 CPPFLAGS
="$ac_save_CPPFLAGS"
9928 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9931 $as_echo_n "checking for -lxslt... " >&6; }
9932 if ${ac_cv_lib_soname_xslt+:} false
; then :
9933 $as_echo_n "(cached) " >&6
9935 ac_check_soname_save_LIBS
=$LIBS
9936 LIBS
="-lxslt $XSLT_LIBS $LIBS"
9937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9938 /* end confdefs.h. */
9940 /* Override any GCC internal prototype to avoid an error.
9941 Use char because int might match the return type of a GCC
9942 builtin and then its argument prototype would still apply. */
9946 char xsltCompilePattern ();
9950 return xsltCompilePattern ();
9955 if ac_fn_c_try_link
"$LINENO"; then :
9957 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9958 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'` ;;
9959 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9960 if test "x$ac_cv_lib_soname_xslt" = x
; then :
9961 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9965 rm -f core conftest.err conftest.
$ac_objext \
9966 conftest
$ac_exeext conftest.
$ac_ext
9967 LIBS
=$ac_check_soname_save_LIBS
9969 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9971 $as_echo "not found" >&6; }
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9975 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9977 cat >>confdefs.h
<<_ACEOF
9978 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9987 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9988 case "x$with_xslt" in
9989 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9991 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
9992 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9996 if test "x$with_dbus" != "xno"
9998 ac_save_CPPFLAGS
="$CPPFLAGS"
9999 if test -n "$DBUS_CFLAGS"; then :
10001 elif test -n "$PKG_CONFIG"; then :
10002 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10005 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10006 if test -n "$DBUS_LIBS"; then :
10008 elif test -n "$PKG_CONFIG"; then :
10009 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10013 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10014 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10016 $as_echo_n "checking for -ldbus-1... " >&6; }
10017 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10018 $as_echo_n "(cached) " >&6
10020 ac_check_soname_save_LIBS
=$LIBS
10021 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10023 /* end confdefs.h. */
10025 /* Override any GCC internal prototype to avoid an error.
10026 Use char because int might match the return type of a GCC
10027 builtin and then its argument prototype would still apply. */
10031 char dbus_connection_close ();
10035 return dbus_connection_close ();
10040 if ac_fn_c_try_link
"$LINENO"; then :
10042 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10043 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'` ;;
10044 *) 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'`
10045 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
10046 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10050 rm -f core conftest.err conftest.
$ac_objext \
10051 conftest
$ac_exeext conftest.
$ac_ext
10052 LIBS
=$ac_check_soname_save_LIBS
10054 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10056 $as_echo "not found" >&6; }
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10060 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10062 cat >>confdefs.h
<<_ACEOF
10063 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10073 CPPFLAGS
="$ac_save_CPPFLAGS"
10075 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10076 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10077 case "x$with_dbus" in
10078 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10080 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10081 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10085 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10087 ac_save_CPPFLAGS
="$CPPFLAGS"
10088 if test -n "$HAL_CFLAGS"; then :
10090 elif test -n "$PKG_CONFIG"; then :
10091 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
10094 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
10095 if test -n "$HAL_LIBS"; then :
10097 elif test -n "$PKG_CONFIG"; then :
10098 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
10101 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
10102 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10103 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10105 $as_echo_n "checking for -lhal... " >&6; }
10106 if ${ac_cv_lib_soname_hal+:} false
; then :
10107 $as_echo_n "(cached) " >&6
10109 ac_check_soname_save_LIBS
=$LIBS
10110 LIBS
="-lhal $HAL_LIBS $LIBS"
10111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10112 /* end confdefs.h. */
10114 /* Override any GCC internal prototype to avoid an error.
10115 Use char because int might match the return type of a GCC
10116 builtin and then its argument prototype would still apply. */
10120 char libhal_ctx_new ();
10124 return libhal_ctx_new ();
10129 if ac_fn_c_try_link
"$LINENO"; then :
10131 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10132 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'` ;;
10133 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10134 if test "x$ac_cv_lib_soname_hal" = x
; then :
10135 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10139 rm -f core conftest.err conftest.
$ac_objext \
10140 conftest
$ac_exeext conftest.
$ac_ext
10141 LIBS
=$ac_check_soname_save_LIBS
10143 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10145 $as_echo "not found" >&6; }
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10149 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10151 cat >>confdefs.h
<<_ACEOF
10152 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10162 CPPFLAGS
="$ac_save_CPPFLAGS"
10163 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10164 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10165 case "x$with_hal" in
10166 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10168 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
10169 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10174 if test "x$with_gnutls" != "xno"
10176 ac_save_CPPFLAGS
="$CPPFLAGS"
10177 if test -n "$GNUTLS_CFLAGS"; then :
10179 elif test -n "$PKG_CONFIG"; then :
10180 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10183 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
10184 if test -n "$GNUTLS_LIBS"; then :
10186 elif test -n "$PKG_CONFIG"; then :
10187 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10191 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10192 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
10193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10195 #include <gnutls/gnutls.h>
10199 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10204 if ac_fn_c_try_compile
"$LINENO"; then :
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10206 $as_echo_n "checking for -lgnutls... " >&6; }
10207 if ${ac_cv_lib_soname_gnutls+:} false
; then :
10208 $as_echo_n "(cached) " >&6
10210 ac_check_soname_save_LIBS
=$LIBS
10211 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
10212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10215 /* Override any GCC internal prototype to avoid an error.
10216 Use char because int might match the return type of a GCC
10217 builtin and then its argument prototype would still apply. */
10221 char gnutls_global_init ();
10225 return gnutls_global_init ();
10230 if ac_fn_c_try_link
"$LINENO"; then :
10232 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10233 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'` ;;
10234 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10235 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
10236 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10240 rm -f core conftest.err conftest.
$ac_objext \
10241 conftest
$ac_exeext conftest.
$ac_ext
10242 LIBS
=$ac_check_soname_save_LIBS
10244 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10246 $as_echo "not found" >&6; }
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10250 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10252 cat >>confdefs.h
<<_ACEOF
10253 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10265 CPPFLAGS
="$ac_save_CPPFLAGS"
10267 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10268 case "x$with_gnutls" in
10269 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10271 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
10272 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10277 if test "$ac_cv_header_ncurses_h" = "yes"
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10280 $as_echo_n "checking for -lncurses... " >&6; }
10281 if ${ac_cv_lib_soname_ncurses+:} false
; then :
10282 $as_echo_n "(cached) " >&6
10284 ac_check_soname_save_LIBS
=$LIBS
10285 LIBS
="-lncurses $LIBS"
10286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10287 /* end confdefs.h. */
10289 /* Override any GCC internal prototype to avoid an error.
10290 Use char because int might match the return type of a GCC
10291 builtin and then its argument prototype would still apply. */
10304 if ac_fn_c_try_link
"$LINENO"; then :
10306 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10307 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'` ;;
10308 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10309 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
10310 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10314 rm -f core conftest.err conftest.
$ac_objext \
10315 conftest
$ac_exeext conftest.
$ac_ext
10316 LIBS
=$ac_check_soname_save_LIBS
10318 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10320 $as_echo "not found" >&6; }
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10324 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10326 cat >>confdefs.h
<<_ACEOF
10327 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10330 CURSESLIBS
="-lncurses"
10332 elif test "$ac_cv_header_curses_h" = "yes"
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10335 $as_echo_n "checking for -lcurses... " >&6; }
10336 if ${ac_cv_lib_soname_curses+:} false
; then :
10337 $as_echo_n "(cached) " >&6
10339 ac_check_soname_save_LIBS
=$LIBS
10340 LIBS
="-lcurses $LIBS"
10341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10342 /* end confdefs.h. */
10344 /* Override any GCC internal prototype to avoid an error.
10345 Use char because int might match the return type of a GCC
10346 builtin and then its argument prototype would still apply. */
10359 if ac_fn_c_try_link
"$LINENO"; then :
10361 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10362 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'` ;;
10363 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10364 if test "x$ac_cv_lib_soname_curses" = x
; then :
10365 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10369 rm -f core conftest.err conftest.
$ac_objext \
10370 conftest
$ac_exeext conftest.
$ac_ext
10371 LIBS
=$ac_check_soname_save_LIBS
10373 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10375 $as_echo "not found" >&6; }
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10379 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10381 cat >>confdefs.h
<<_ACEOF
10382 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10385 CURSESLIBS
="-lcurses"
10388 ac_save_LIBS
="$LIBS"
10389 LIBS
="$LIBS $CURSESLIBS"
10390 for ac_func
in mousemask
10392 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
10393 if test "x$ac_cv_func_mousemask" = xyes
; then :
10394 cat >>confdefs.h
<<_ACEOF
10395 #define HAVE_MOUSEMASK 1
10401 LIBS
="$ac_save_LIBS"
10402 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10403 case "x$with_curses" in
10404 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10406 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10407 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10411 if test "x$with_sane" != "xno"
10413 ac_save_CPPFLAGS
="$CPPFLAGS"
10414 if test -n "$SANE_CFLAGS"; then :
10416 elif test -n "$PKG_CONFIG"; then :
10417 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10419 SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10420 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
10421 if test -n "$SANE_LIBS"; then :
10423 elif test -n "$PKG_CONFIG"; then :
10424 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
10426 SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10428 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10429 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10431 $as_echo_n "checking for -lsane... " >&6; }
10432 if ${ac_cv_lib_soname_sane+:} false
; then :
10433 $as_echo_n "(cached) " >&6
10435 ac_check_soname_save_LIBS
=$LIBS
10436 LIBS
="-lsane $SANE_LIBS $LIBS"
10437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10438 /* end confdefs.h. */
10440 /* Override any GCC internal prototype to avoid an error.
10441 Use char because int might match the return type of a GCC
10442 builtin and then its argument prototype would still apply. */
10450 return sane_init ();
10455 if ac_fn_c_try_link
"$LINENO"; then :
10457 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10458 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'` ;;
10459 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10460 if test "x$ac_cv_lib_soname_sane" = x
; then :
10461 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10465 rm -f core conftest.err conftest.
$ac_objext \
10466 conftest
$ac_exeext conftest.
$ac_ext
10467 LIBS
=$ac_check_soname_save_LIBS
10469 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10471 $as_echo "not found" >&6; }
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10475 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10477 cat >>confdefs.h
<<_ACEOF
10478 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10488 CPPFLAGS
="$ac_save_CPPFLAGS"
10490 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10491 case "x$with_sane" in
10492 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10494 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
10495 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10499 if test "x$with_v4l" != "xno"
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10502 $as_echo_n "checking for -lv4l1... " >&6; }
10503 if ${ac_cv_lib_soname_v4l1+:} false
; then :
10504 $as_echo_n "(cached) " >&6
10506 ac_check_soname_save_LIBS
=$LIBS
10507 LIBS
="-lv4l1 $LIBS"
10508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10509 /* end confdefs.h. */
10511 /* Override any GCC internal prototype to avoid an error.
10512 Use char because int might match the return type of a GCC
10513 builtin and then its argument prototype would still apply. */
10521 return v4l1_open ();
10526 if ac_fn_c_try_link
"$LINENO"; then :
10528 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10529 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'` ;;
10530 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10531 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
10532 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10536 rm -f core conftest.err conftest.
$ac_objext \
10537 conftest
$ac_exeext conftest.
$ac_ext
10538 LIBS
=$ac_check_soname_save_LIBS
10540 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10542 $as_echo "not found" >&6; }
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10546 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10548 cat >>confdefs.h
<<_ACEOF
10549 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10555 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10556 case "x$with_v4l" in
10557 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
10559 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
10560 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10564 if test "x$with_gphoto" != "xno"
10566 ac_save_CPPFLAGS
="$CPPFLAGS"
10567 if test -n "$GPHOTO2_CFLAGS"; then :
10569 elif test -n "$PKG_CONFIG"; then :
10570 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
10572 GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
10573 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
10574 if test -n "$GPHOTO2_LIBS"; then :
10576 elif test -n "$PKG_CONFIG"; then :
10577 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
10579 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
10580 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
10581 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10582 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10584 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10585 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
10586 $as_echo_n "(cached) " >&6
10588 ac_check_lib_save_LIBS
=$LIBS
10589 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
10590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10591 /* end confdefs.h. */
10593 /* Override any GCC internal prototype to avoid an error.
10594 Use char because int might match the return type of a GCC
10595 builtin and then its argument prototype would still apply. */
10599 char gp_camera_new ();
10603 return gp_camera_new ();
10608 if ac_fn_c_try_link
"$LINENO"; then :
10609 ac_cv_lib_gphoto2_gp_camera_new
=yes
10611 ac_cv_lib_gphoto2_gp_camera_new
=no
10613 rm -f core conftest.err conftest.
$ac_objext \
10614 conftest
$ac_exeext conftest.
$ac_ext
10615 LIBS
=$ac_check_lib_save_LIBS
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10618 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10619 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
10621 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10624 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
10628 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
10632 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
10634 elif test -n "$PKG_CONFIG"; then :
10635 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
10637 GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
10638 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
10639 if test -n "$GPHOTO2_PORT_LIBS"; then :
10641 elif test -n "$PKG_CONFIG"; then :
10642 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
10644 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
10645 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
10646 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
10647 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
10649 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
10650 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
10651 $as_echo_n "(cached) " >&6
10653 ac_check_lib_save_LIBS
=$LIBS
10654 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
10655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10656 /* end confdefs.h. */
10658 /* Override any GCC internal prototype to avoid an error.
10659 Use char because int might match the return type of a GCC
10660 builtin and then its argument prototype would still apply. */
10664 char gp_port_info_list_new ();
10668 return gp_port_info_list_new ();
10673 if ac_fn_c_try_link
"$LINENO"; then :
10674 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
10676 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
10678 rm -f core conftest.err conftest.
$ac_objext \
10679 conftest
$ac_exeext conftest.
$ac_ext
10680 LIBS
=$ac_check_lib_save_LIBS
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
10683 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
10684 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
10686 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
10689 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
10693 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
10697 CPPFLAGS
="$ac_save_CPPFLAGS"
10699 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10700 case "x$with_gphoto" in
10701 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10703 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10704 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10707 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
10708 case "x$with_gphoto" in
10709 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
10711 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
10712 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10717 if test "$ac_cv_header_resolv_h" = "yes"
10719 ac_save_LIBS
="$LIBS"
10720 for lib
in '' -lresolv
10722 LIBS
="$lib $ac_save_LIBS"
10723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10724 /* end confdefs.h. */
10725 #ifdef HAVE_NETINET_IN_H
10726 #include <netinet/in.h>
10728 #include <resolv.h>
10732 res_query("foo",ns_c_in,0,0,0);
10737 if ac_fn_c_try_link
"$LINENO"; then :
10739 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10744 rm -f core conftest.err conftest.
$ac_objext \
10745 conftest
$ac_exeext conftest.
$ac_ext
10746 if test "${RESOLVLIBS+set}" = set; then
10750 LIBS
="$ac_save_LIBS"
10753 if test "x$with_lcms" != "xno"
10755 ac_save_CPPFLAGS
="$CPPFLAGS"
10756 if test -n "$LCMS_CFLAGS"; then :
10758 elif test -n "$PKG_CONFIG"; then :
10759 LCMS_CFLAGS
=`$PKG_CONFIG --cflags lcms 2>/dev/null`
10762 CPPFLAGS
="$CPPFLAGS $LCMS_CFLAGS"
10763 if test -n "$LCMS_LIBS"; then :
10765 elif test -n "$PKG_CONFIG"; then :
10766 LCMS_LIBS
=`$PKG_CONFIG --libs lcms 2>/dev/null`
10769 LCMS_LIBS
=${LCMS_LIBS:-"-llcms"}
10770 for ac_header
in lcms.h lcms
/lcms.h
10772 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10773 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10774 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10775 cat >>confdefs.h
<<_ACEOF
10776 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10783 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10786 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10787 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false
; then :
10788 $as_echo_n "(cached) " >&6
10790 ac_check_lib_save_LIBS
=$LIBS
10791 LIBS
="-llcms $LIBS"
10792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10801 char cmsOpenProfileFromFile ();
10805 return cmsOpenProfileFromFile ();
10810 if ac_fn_c_try_link
"$LINENO"; then :
10811 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10813 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10815 rm -f core conftest.err conftest.
$ac_objext \
10816 conftest
$ac_exeext conftest.
$ac_ext
10817 LIBS
=$ac_check_lib_save_LIBS
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10820 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10821 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes
; then :
10823 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10833 CPPFLAGS
="$ac_save_CPPFLAGS"
10835 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10836 case "x$with_cms" in
10837 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10839 *) as_fn_error $?
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10840 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10844 if test "x$with_freetype" != "xno"
10846 ac_save_CPPFLAGS
="$CPPFLAGS"
10847 if test -n "$FREETYPE_CFLAGS"; then :
10849 elif test -n "$PKG_CONFIG"; then :
10850 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
10852 FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
10853 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
10854 if test -n "$FREETYPE_LIBS"; then :
10856 elif test -n "$PKG_CONFIG"; then :
10857 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
10859 FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
10860 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10862 $as_echo_n "checking for -lfreetype... " >&6; }
10863 if ${ac_cv_lib_soname_freetype+:} false
; then :
10864 $as_echo_n "(cached) " >&6
10866 ac_check_soname_save_LIBS
=$LIBS
10867 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
10868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10869 /* end confdefs.h. */
10871 /* Override any GCC internal prototype to avoid an error.
10872 Use char because int might match the return type of a GCC
10873 builtin and then its argument prototype would still apply. */
10877 char FT_Init_FreeType ();
10881 return FT_Init_FreeType ();
10886 if ac_fn_c_try_link
"$LINENO"; then :
10888 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10889 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'` ;;
10890 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10891 if test "x$ac_cv_lib_soname_freetype" = x
; then :
10892 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10896 rm -f core conftest.err conftest.
$ac_objext \
10897 conftest
$ac_exeext conftest.
$ac_ext
10898 LIBS
=$ac_check_soname_save_LIBS
10900 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10902 $as_echo "not found" >&6; }
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10906 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10908 cat >>confdefs.h
<<_ACEOF
10909 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10914 if test "$ft_lib" = "yes"
10916 for ac_header
in ft2build.h \
10917 freetype
/freetype.h \
10918 freetype
/ftglyph.h \
10919 freetype
/fttypes.h \
10920 freetype
/tttables.h \
10921 freetype
/ftsnames.h \
10922 freetype
/ttnameid.h \
10923 freetype
/ftoutln.h \
10924 freetype
/ftwinfnt.h \
10925 freetype
/ftmodapi.h \
10926 freetype
/ftlcdfil.h
10928 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10929 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10930 # include <ft2build.h>
10933 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10934 cat >>confdefs.h
<<_ACEOF
10935 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10943 /* end confdefs.h. */
10944 #include <ft2build.h>
10945 #include <freetype/fttrigon.h>
10947 if ac_fn_c_try_cpp
"$LINENO"; then :
10949 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10951 wine_cv_fttrigon
=yes
10953 wine_cv_fttrigon
=no
10955 rm -f conftest.err conftest.i conftest.
$ac_ext
10956 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10958 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
10960 cat >>confdefs.h
<<_ACEOF
10961 #define HAVE_FT_TRUETYPEENGINETYPE 1
10967 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10970 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10978 CPPFLAGS
="$ac_save_CPPFLAGS"
10980 if test "x$ac_cv_header_freetype_freetype_h" != xyes
-o "x$wine_cv_fttrigon" != xyes
; then :
10981 case "x$with_freetype" in
10983 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10984 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10987 test "x$ac_cv_header_freetype_freetype_h" = xyes
-a "x$wine_cv_fttrigon" = xyes || enable_fonts
=${enable_fonts:-no}
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10990 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10991 if ${ac_cv_c_ppdev+:} false
; then :
10992 $as_echo_n "(cached) " >&6
10994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10995 /* end confdefs.h. */
10996 #ifdef HAVE_SYS_IOCTL_H
10997 # include <sys/ioctl.h>
10999 #include <linux/ppdev.h>
11003 ioctl (1,PPCLAIM,0)
11008 if ac_fn_c_try_compile
"$LINENO"; then :
11009 ac_cv_c_ppdev
="yes"
11013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11016 $as_echo "$ac_cv_c_ppdev" >&6; }
11017 if test "$ac_cv_c_ppdev" = "yes"
11020 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11024 ac_wine_check_funcs_save_LIBS
="$LIBS"
11025 LIBS
="$LIBS $LIBPTHREAD"
11027 pthread_attr_get_np \
11028 pthread_getattr_np \
11029 pthread_getthreadid_np \
11030 pthread_get_stackaddr_np \
11031 pthread_get_stacksize_np
11033 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11034 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11035 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11036 cat >>confdefs.h
<<_ACEOF
11037 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11043 LIBS
="$ac_wine_check_funcs_save_LIBS"
11045 if test "$ac_cv_header_zlib_h" = "yes"
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11048 $as_echo_n "checking for inflate in -lz... " >&6; }
11049 if ${ac_cv_lib_z_inflate+:} false
; then :
11050 $as_echo_n "(cached) " >&6
11052 ac_check_lib_save_LIBS
=$LIBS
11054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11055 /* end confdefs.h. */
11057 /* Override any GCC internal prototype to avoid an error.
11058 Use char because int might match the return type of a GCC
11059 builtin and then its argument prototype would still apply. */
11072 if ac_fn_c_try_link
"$LINENO"; then :
11073 ac_cv_lib_z_inflate
=yes
11075 ac_cv_lib_z_inflate
=no
11077 rm -f core conftest.err conftest.
$ac_objext \
11078 conftest
$ac_exeext conftest.
$ac_ext
11079 LIBS
=$ac_check_lib_save_LIBS
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11082 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11083 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
11085 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11092 if test "x$ZLIB" = "x"; then :
11093 case "x$with_zlib" in
11094 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11096 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
11097 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11101 if test "x$enable_tools" != xno
11103 if test "$ac_cv_header_gettext_po_h" = "yes"
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11106 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11107 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
11108 $as_echo_n "(cached) " >&6
11110 ac_check_lib_save_LIBS
=$LIBS
11111 LIBS
="-lgettextpo $LIBS"
11112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h. */
11115 /* Override any GCC internal prototype to avoid an error.
11116 Use char because int might match the return type of a GCC
11117 builtin and then its argument prototype would still apply. */
11121 char po_message_msgctxt ();
11125 return po_message_msgctxt ();
11130 if ac_fn_c_try_link
"$LINENO"; then :
11131 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
11133 ac_cv_lib_gettextpo_po_message_msgctxt
=no
11135 rm -f core conftest.err conftest.
$ac_objext \
11136 conftest
$ac_exeext conftest.
$ac_ext
11137 LIBS
=$ac_check_lib_save_LIBS
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11140 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11141 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
11143 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11145 LIBGETTEXTPO
="-lgettextpo"
11150 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
11151 case "x$with_gettextpo" in
11152 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11154 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11155 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11160 if test "x$with_gstreamer" != "xno"
11162 ac_save_CPPFLAGS
="$CPPFLAGS"
11163 if test -n "$GSTREAMER_CFLAGS"; then :
11165 elif test -n "$PKG_CONFIG"; then :
11166 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11169 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
11170 if test -n "$GSTREAMER_LIBS"; then :
11172 elif test -n "$PKG_CONFIG"; then :
11173 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11178 for i
in $GSTREAMER_CFLAGS
11181 -I*) ac_gst_incl
="$ac_gst_incl $i";;
11184 GSTREAMER_CFLAGS
=$ac_gst_incl
11185 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11186 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11187 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
11188 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11189 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11191 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11193 /* end confdefs.h. */
11194 #include <gst/app/gstappsink.h>
11198 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11203 if ac_fn_c_try_compile
"$LINENO"; then :
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11205 $as_echo "yes" >&6; }
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11207 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11208 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
11209 $as_echo_n "(cached) " >&6
11211 ac_check_lib_save_LIBS
=$LIBS
11212 LIBS
="-lgstreamer-0.10 $LIBS"
11213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11214 /* end confdefs.h. */
11216 /* Override any GCC internal prototype to avoid an error.
11217 Use char because int might match the return type of a GCC
11218 builtin and then its argument prototype would still apply. */
11222 char gst_pad_get_caps_reffed ();
11226 return gst_pad_get_caps_reffed ();
11231 if ac_fn_c_try_link
"$LINENO"; then :
11232 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
11234 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
11236 rm -f core conftest.err conftest.
$ac_objext \
11237 conftest
$ac_exeext conftest.
$ac_ext
11238 LIBS
=$ac_check_lib_save_LIBS
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11241 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11242 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11244 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11245 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
11246 $as_echo_n "(cached) " >&6
11248 ac_check_lib_save_LIBS
=$LIBS
11249 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h. */
11253 /* Override any GCC internal prototype to avoid an error.
11254 Use char because int might match the return type of a GCC
11255 builtin and then its argument prototype would still apply. */
11259 char gst_app_buffer_new ();
11263 return gst_app_buffer_new ();
11268 if ac_fn_c_try_link
"$LINENO"; then :
11269 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
11271 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
11273 rm -f core conftest.err conftest.
$ac_objext \
11274 conftest
$ac_exeext conftest.
$ac_ext
11275 LIBS
=$ac_check_lib_save_LIBS
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11278 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11279 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11287 $as_echo "no" >&6; }
11289 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11294 GSTREAMER_CFLAGS
=""
11298 CPPFLAGS
="$ac_save_CPPFLAGS"
11300 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
11301 case "x$with_gstreamer" in
11302 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11304 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11305 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11308 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
11312 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11315 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11316 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
11317 $as_echo_n "(cached) " >&6
11319 ac_check_lib_save_LIBS
=$LIBS
11320 LIBS
="-lasound $LIBS"
11321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11322 /* end confdefs.h. */
11324 /* Override any GCC internal prototype to avoid an error.
11325 Use char because int might match the return type of a GCC
11326 builtin and then its argument prototype would still apply. */
11330 char snd_pcm_hw_params_get_access_mask ();
11334 return snd_pcm_hw_params_get_access_mask ();
11339 if ac_fn_c_try_link
"$LINENO"; then :
11340 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
11342 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
11344 rm -f core conftest.err conftest.
$ac_objext \
11345 conftest
$ac_exeext conftest.
$ac_ext
11346 LIBS
=$ac_check_lib_save_LIBS
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11349 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11350 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
11351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11352 /* end confdefs.h. */
11353 #ifdef HAVE_ALSA_ASOUNDLIB_H
11354 #include <alsa/asoundlib.h>
11355 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11356 #include <sys/asoundlib.h>
11361 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11366 if ac_fn_c_try_compile
"$LINENO"; then :
11367 ALSALIBS
="-lasound"
11369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11374 if test "x$with_oss" != xno
11376 ac_save_CPPFLAGS
="$CPPFLAGS"
11377 if test -f /etc
/oss.conf
11381 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11382 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
11383 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11384 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
11385 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11387 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
11389 cat >>confdefs.h
<<_ACEOF
11390 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11393 OSS4INCL
="$ac_oss_incl"
11400 CPPFLAGS
="$ac_save_CPPFLAGS"
11401 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11403 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11408 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11411 $as_echo_n "checking for -lcapi20... " >&6; }
11412 if ${ac_cv_lib_soname_capi20+:} false
; then :
11413 $as_echo_n "(cached) " >&6
11415 ac_check_soname_save_LIBS
=$LIBS
11416 LIBS
="-lcapi20 $LIBS"
11417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11418 /* end confdefs.h. */
11420 /* Override any GCC internal prototype to avoid an error.
11421 Use char because int might match the return type of a GCC
11422 builtin and then its argument prototype would still apply. */
11426 char capi20_register ();
11430 return capi20_register ();
11435 if ac_fn_c_try_link
"$LINENO"; then :
11437 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11438 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'` ;;
11439 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11440 if test "x$ac_cv_lib_soname_capi20" = x
; then :
11441 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11445 rm -f core conftest.err conftest.
$ac_objext \
11446 conftest
$ac_exeext conftest.
$ac_ext
11447 LIBS
=$ac_check_soname_save_LIBS
11449 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11451 $as_echo "not found" >&6; }
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11455 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11457 cat >>confdefs.h
<<_ACEOF
11458 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11464 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11465 case "x$with_capi" in
11466 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11468 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11469 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11475 if test "x$with_cups" != "xno"
11477 ac_save_CPPFLAGS
="$CPPFLAGS"
11478 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
11479 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
11480 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
11481 for ac_header
in cups
/cups.h
11483 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11484 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
11485 cat >>confdefs.h
<<_ACEOF
11486 #define HAVE_CUPS_CUPS_H 1
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11489 $as_echo_n "checking for -lcups... " >&6; }
11490 if ${ac_cv_lib_soname_cups+:} false
; then :
11491 $as_echo_n "(cached) " >&6
11493 ac_check_soname_save_LIBS
=$LIBS
11494 LIBS
="-lcups $ac_cups_libs $LIBS"
11495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11496 /* end confdefs.h. */
11498 /* Override any GCC internal prototype to avoid an error.
11499 Use char because int might match the return type of a GCC
11500 builtin and then its argument prototype would still apply. */
11504 char cupsGetDefault ();
11508 return cupsGetDefault ();
11513 if ac_fn_c_try_link
"$LINENO"; then :
11515 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11516 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'` ;;
11517 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11518 if test "x$ac_cv_lib_soname_cups" = x
; then :
11519 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11523 rm -f core conftest.err conftest.
$ac_objext \
11524 conftest
$ac_exeext conftest.
$ac_ext
11525 LIBS
=$ac_check_soname_save_LIBS
11527 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11529 $as_echo "not found" >&6; }
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11533 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11535 cat >>confdefs.h
<<_ACEOF
11536 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11539 CUPSINCL
="$ac_cups_cflags"
11545 CPPFLAGS
="$ac_save_CPPFLAGS"
11547 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11548 case "x$with_cups" in
11549 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11551 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
11552 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11556 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11559 $as_echo_n "checking for -lfontconfig... " >&6; }
11560 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11561 $as_echo_n "(cached) " >&6
11563 ac_check_soname_save_LIBS
=$LIBS
11564 LIBS
="-lfontconfig $LIBS"
11565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11566 /* end confdefs.h. */
11568 /* Override any GCC internal prototype to avoid an error.
11569 Use char because int might match the return type of a GCC
11570 builtin and then its argument prototype would still apply. */
11583 if ac_fn_c_try_link
"$LINENO"; then :
11585 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11586 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'` ;;
11587 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11588 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11589 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11593 rm -f core conftest.err conftest.
$ac_objext \
11594 conftest
$ac_exeext conftest.
$ac_ext
11595 LIBS
=$ac_check_soname_save_LIBS
11597 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11599 $as_echo "not found" >&6; }
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11603 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11605 cat >>confdefs.h
<<_ACEOF
11606 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11611 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11613 ac_save_CPPFLAGS
="$CPPFLAGS"
11614 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11615 $as_unset ac_cv_header_fontconfig_fontconfig_h
11616 for ac_header
in fontconfig
/fontconfig.h
11618 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11619 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
11620 cat >>confdefs.h
<<_ACEOF
11621 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11628 CPPFLAGS
="$ac_save_CPPFLAGS"
11629 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11631 FONTCONFIGINCL
="$X_CFLAGS"
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11634 $as_echo_n "checking for -lfontconfig... " >&6; }
11635 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11636 $as_echo_n "(cached) " >&6
11638 ac_check_soname_save_LIBS
=$LIBS
11639 LIBS
="-lfontconfig $X_LIBS $LIBS"
11640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11641 /* end confdefs.h. */
11643 /* Override any GCC internal prototype to avoid an error.
11644 Use char because int might match the return type of a GCC
11645 builtin and then its argument prototype would still apply. */
11658 if ac_fn_c_try_link
"$LINENO"; then :
11660 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11661 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'` ;;
11662 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11663 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11664 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11668 rm -f core conftest.err conftest.
$ac_objext \
11669 conftest
$ac_exeext conftest.
$ac_ext
11670 LIBS
=$ac_check_soname_save_LIBS
11672 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11674 $as_echo "not found" >&6; }
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11678 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11680 cat >>confdefs.h
<<_ACEOF
11681 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11688 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11689 case "x$with_fontconfig" in
11690 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11692 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11693 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11697 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11700 $as_echo_n "checking for -lgsm... " >&6; }
11701 if ${ac_cv_lib_soname_gsm+:} false
; then :
11702 $as_echo_n "(cached) " >&6
11704 ac_check_soname_save_LIBS
=$LIBS
11706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11707 /* end confdefs.h. */
11709 /* Override any GCC internal prototype to avoid an error.
11710 Use char because int might match the return type of a GCC
11711 builtin and then its argument prototype would still apply. */
11715 char gsm_create ();
11719 return gsm_create ();
11724 if ac_fn_c_try_link
"$LINENO"; then :
11726 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11727 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'` ;;
11728 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11729 if test "x$ac_cv_lib_soname_gsm" = x
; then :
11730 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11734 rm -f core conftest.err conftest.
$ac_objext \
11735 conftest
$ac_exeext conftest.
$ac_ext
11736 LIBS
=$ac_check_soname_save_LIBS
11738 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11740 $as_echo "not found" >&6; }
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11744 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11746 cat >>confdefs.h
<<_ACEOF
11747 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11753 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11754 case "x$with_gsm" in
11755 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11757 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11758 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11762 if test "$ac_cv_header_jpeglib_h" = "yes"
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11765 $as_echo_n "checking for -ljpeg... " >&6; }
11766 if ${ac_cv_lib_soname_jpeg+:} false
; then :
11767 $as_echo_n "(cached) " >&6
11769 ac_check_soname_save_LIBS
=$LIBS
11770 LIBS
="-ljpeg $LIBS"
11771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11772 /* end confdefs.h. */
11774 /* Override any GCC internal prototype to avoid an error.
11775 Use char because int might match the return type of a GCC
11776 builtin and then its argument prototype would still apply. */
11780 char jpeg_start_decompress ();
11784 return jpeg_start_decompress ();
11789 if ac_fn_c_try_link
"$LINENO"; then :
11791 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11792 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'` ;;
11793 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11794 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
11795 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11799 rm -f core conftest.err conftest.
$ac_objext \
11800 conftest
$ac_exeext conftest.
$ac_ext
11801 LIBS
=$ac_check_soname_save_LIBS
11803 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11805 $as_echo "not found" >&6; }
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11809 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11811 cat >>confdefs.h
<<_ACEOF
11812 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11818 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11819 case "x$with_jpeg" in
11820 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11822 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11823 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11827 if test "$ac_cv_header_png_h" = "yes"
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11830 $as_echo_n "checking for -lpng... " >&6; }
11831 if ${ac_cv_lib_soname_png+:} false
; then :
11832 $as_echo_n "(cached) " >&6
11834 ac_check_soname_save_LIBS
=$LIBS
11835 LIBS
="-lpng -lm -lz $LIBS"
11836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11837 /* end confdefs.h. */
11839 /* Override any GCC internal prototype to avoid an error.
11840 Use char because int might match the return type of a GCC
11841 builtin and then its argument prototype would still apply. */
11845 char png_create_read_struct ();
11849 return png_create_read_struct ();
11854 if ac_fn_c_try_link
"$LINENO"; then :
11856 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11857 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'` ;;
11858 *) 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'`
11859 if test "x$ac_cv_lib_soname_png" = x
; then :
11860 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11864 rm -f core conftest.err conftest.
$ac_objext \
11865 conftest
$ac_exeext conftest.
$ac_ext
11866 LIBS
=$ac_check_soname_save_LIBS
11868 if test "x$ac_cv_lib_soname_png" = "x"; then :
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11870 $as_echo "not found" >&6; }
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11874 $as_echo "$ac_cv_lib_soname_png" >&6; }
11876 cat >>confdefs.h
<<_ACEOF
11877 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11883 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11884 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11885 $as_echo_n "(cached) " >&6
11887 ac_check_lib_save_LIBS
=$LIBS
11888 LIBS
="-lpng -lm -lz $LIBS"
11889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11890 /* end confdefs.h. */
11892 /* Override any GCC internal prototype to avoid an error.
11893 Use char because int might match the return type of a GCC
11894 builtin and then its argument prototype would still apply. */
11898 char png_set_expand_gray_1_2_4_to_8 ();
11902 return png_set_expand_gray_1_2_4_to_8 ();
11907 if ac_fn_c_try_link
"$LINENO"; then :
11908 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11910 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11912 rm -f core conftest.err conftest.
$ac_objext \
11913 conftest
$ac_exeext conftest.
$ac_ext
11914 LIBS
=$ac_check_lib_save_LIBS
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11917 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11918 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11920 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11925 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11927 ac_save_CPPFLAGS
="$CPPFLAGS"
11928 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11929 $as_unset ac_cv_header_png_h
11930 for ac_header
in png.h
11932 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11933 if test "x$ac_cv_header_png_h" = xyes
; then :
11934 cat >>confdefs.h
<<_ACEOF
11935 #define HAVE_PNG_H 1
11942 CPPFLAGS
="$ac_save_CPPFLAGS"
11943 if test "$ac_cv_header_png_h" = "yes"
11945 PNGINCL
="$X_CFLAGS"
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11948 $as_echo_n "checking for -lpng... " >&6; }
11949 if ${ac_cv_lib_soname_png+:} false
; then :
11950 $as_echo_n "(cached) " >&6
11952 ac_check_soname_save_LIBS
=$LIBS
11953 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11955 /* end confdefs.h. */
11957 /* Override any GCC internal prototype to avoid an error.
11958 Use char because int might match the return type of a GCC
11959 builtin and then its argument prototype would still apply. */
11963 char png_create_read_struct ();
11967 return png_create_read_struct ();
11972 if ac_fn_c_try_link
"$LINENO"; then :
11974 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11975 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'` ;;
11976 *) 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'`
11977 if test "x$ac_cv_lib_soname_png" = x
; then :
11978 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11982 rm -f core conftest.err conftest.
$ac_objext \
11983 conftest
$ac_exeext conftest.
$ac_ext
11984 LIBS
=$ac_check_soname_save_LIBS
11986 if test "x$ac_cv_lib_soname_png" = "x"; then :
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11988 $as_echo "not found" >&6; }
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11992 $as_echo "$ac_cv_lib_soname_png" >&6; }
11994 cat >>confdefs.h
<<_ACEOF
11995 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
12001 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
12002 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
12003 $as_echo_n "(cached) " >&6
12005 ac_check_lib_save_LIBS
=$LIBS
12006 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
12007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12010 /* Override any GCC internal prototype to avoid an error.
12011 Use char because int might match the return type of a GCC
12012 builtin and then its argument prototype would still apply. */
12016 char png_set_expand_gray_1_2_4_to_8 ();
12020 return png_set_expand_gray_1_2_4_to_8 ();
12025 if ac_fn_c_try_link
"$LINENO"; then :
12026 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
12028 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
12030 rm -f core conftest.err conftest.
$ac_objext \
12031 conftest
$ac_exeext conftest.
$ac_ext
12032 LIBS
=$ac_check_lib_save_LIBS
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
12035 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
12036 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
12037 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12043 if test "x$ac_cv_lib_soname_png" = "x"; then :
12044 case "x$with_png" in
12045 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12047 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12048 This is an error since --with-png was requested." "$LINENO" 5 ;;
12052 if test "$ac_cv_header_tiffio_h" = "yes"
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12055 $as_echo_n "checking for -ltiff... " >&6; }
12056 if ${ac_cv_lib_soname_tiff+:} false
; then :
12057 $as_echo_n "(cached) " >&6
12059 ac_check_soname_save_LIBS
=$LIBS
12060 LIBS
="-ltiff $LIBS"
12061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12062 /* end confdefs.h. */
12064 /* Override any GCC internal prototype to avoid an error.
12065 Use char because int might match the return type of a GCC
12066 builtin and then its argument prototype would still apply. */
12070 char TIFFClientOpen ();
12074 return TIFFClientOpen ();
12079 if ac_fn_c_try_link
"$LINENO"; then :
12081 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12082 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'` ;;
12083 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12084 if test "x$ac_cv_lib_soname_tiff" = x
; then :
12085 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12089 rm -f core conftest.err conftest.
$ac_objext \
12090 conftest
$ac_exeext conftest.
$ac_ext
12091 LIBS
=$ac_check_soname_save_LIBS
12093 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12095 $as_echo "not found" >&6; }
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12099 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12101 cat >>confdefs.h
<<_ACEOF
12102 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12108 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12109 case "x$with_tiff" in
12110 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12112 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
12113 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12117 if test "$ac_cv_header_mpg123_h" = "yes"
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12120 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12121 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
12122 $as_echo_n "(cached) " >&6
12124 ac_check_lib_save_LIBS
=$LIBS
12125 LIBS
="-lmpg123 $LIBS"
12126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12127 /* end confdefs.h. */
12129 /* Override any GCC internal prototype to avoid an error.
12130 Use char because int might match the return type of a GCC
12131 builtin and then its argument prototype would still apply. */
12135 char mpg123_feed ();
12139 return mpg123_feed ();
12144 if ac_fn_c_try_link
"$LINENO"; then :
12145 ac_cv_lib_mpg123_mpg123_feed
=yes
12147 ac_cv_lib_mpg123_mpg123_feed
=no
12149 rm -f core conftest.err conftest.
$ac_objext \
12150 conftest
$ac_exeext conftest.
$ac_ext
12151 LIBS
=$ac_check_lib_save_LIBS
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12154 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12155 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
12156 LIBMPG123
="-lmpg123"
12161 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
12162 case "x$with_mpg123" in
12163 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12165 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12166 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12169 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}
12171 if test "$ac_cv_header_AL_al_h" = "yes"
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12174 $as_echo_n "checking for -lopenal... " >&6; }
12175 if ${ac_cv_lib_soname_openal+:} false
; then :
12176 $as_echo_n "(cached) " >&6
12178 ac_check_soname_save_LIBS
=$LIBS
12179 LIBS
="-lopenal $LIBS"
12180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12181 /* end confdefs.h. */
12183 /* Override any GCC internal prototype to avoid an error.
12184 Use char because int might match the return type of a GCC
12185 builtin and then its argument prototype would still apply. */
12189 char alGetSource3i ();
12193 return alGetSource3i ();
12198 if ac_fn_c_try_link
"$LINENO"; then :
12200 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12201 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'` ;;
12202 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12203 if test "x$ac_cv_lib_soname_openal" = x
; then :
12204 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12208 rm -f core conftest.err conftest.
$ac_objext \
12209 conftest
$ac_exeext conftest.
$ac_ext
12210 LIBS
=$ac_check_soname_save_LIBS
12212 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12214 $as_echo "not found" >&6; }
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12218 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12220 cat >>confdefs.h
<<_ACEOF
12221 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12224 LIBOPENAL
="-lopenal"
12226 ac_cv_lib_openal
=yes
12228 cat >>confdefs.h
<<_ACEOF
12229 #define HAVE_OPENAL 1
12234 if test "x$ac_cv_lib_openal" != xyes
; then :
12235 case "x$with_openal" in
12236 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12238 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12239 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12242 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
12244 if test "$ac_cv_header_kstat_h" = "yes"
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12247 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12248 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
12249 $as_echo_n "(cached) " >&6
12251 ac_check_lib_save_LIBS
=$LIBS
12252 LIBS
="-lkstat $LIBS"
12253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12254 /* end confdefs.h. */
12256 /* Override any GCC internal prototype to avoid an error.
12257 Use char because int might match the return type of a GCC
12258 builtin and then its argument prototype would still apply. */
12262 char kstat_open ();
12266 return kstat_open ();
12271 if ac_fn_c_try_link
"$LINENO"; then :
12272 ac_cv_lib_kstat_kstat_open
=yes
12274 ac_cv_lib_kstat_kstat_open
=no
12276 rm -f core conftest.err conftest.
$ac_objext \
12277 conftest
$ac_exeext conftest.
$ac_ext
12278 LIBS
=$ac_check_lib_save_LIBS
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12281 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12282 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
12284 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12293 $as_echo_n "checking for -lodbc... " >&6; }
12294 if ${ac_cv_lib_soname_odbc+:} false
; then :
12295 $as_echo_n "(cached) " >&6
12297 ac_check_soname_save_LIBS
=$LIBS
12298 LIBS
="-lodbc $LIBS"
12299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h. */
12302 /* Override any GCC internal prototype to avoid an error.
12303 Use char because int might match the return type of a GCC
12304 builtin and then its argument prototype would still apply. */
12308 char SQLConnect ();
12312 return SQLConnect ();
12317 if ac_fn_c_try_link
"$LINENO"; then :
12319 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12320 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'` ;;
12321 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12322 if test "x$ac_cv_lib_soname_odbc" = x
; then :
12323 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12327 rm -f core conftest.err conftest.
$ac_objext \
12328 conftest
$ac_exeext conftest.
$ac_ext
12329 LIBS
=$ac_check_soname_save_LIBS
12331 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12333 $as_echo "not found" >&6; }
12334 cat >>confdefs.h
<<_ACEOF
12335 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12340 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12342 cat >>confdefs.h
<<_ACEOF
12343 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12349 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12350 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
12351 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
12352 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
12354 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12355 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
12356 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12358 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
12364 if test "x${GCC}" = "xyes"
12366 EXTRACFLAGS
="-Wall -pipe"
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12369 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12370 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
12371 $as_echo_n "(cached) " >&6
12373 if test "$cross_compiling" = yes; then :
12374 ac_cv_c_gcc_strength_bug
="yes"
12376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h. */
12378 int L[4] = {0,1,2,3};
12382 static int Array[3];
12383 unsigned int B = 3;
12385 for(i=0; i<B; i++) Array[i] = i - 3;
12386 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12388 return (Array[1] != -2 || L[2] != 3)
12393 if ac_fn_c_try_run
"$LINENO"; then :
12394 ac_cv_c_gcc_strength_bug
="no"
12396 ac_cv_c_gcc_strength_bug
="yes"
12398 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12399 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12404 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12405 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12407 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12411 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12412 if ${ac_cv_cflags__fno_builtin+:} false
; then :
12413 $as_echo_n "(cached) " >&6
12415 ac_wine_try_cflags_saved
=$CFLAGS
12416 CFLAGS
="$CFLAGS -fno-builtin"
12417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12418 /* end confdefs.h. */
12419 int main(int argc, char **argv) { return 0; }
12421 if ac_fn_c_try_link
"$LINENO"; then :
12422 ac_cv_cflags__fno_builtin
=yes
12424 ac_cv_cflags__fno_builtin
=no
12426 rm -f core conftest.err conftest.
$ac_objext \
12427 conftest
$ac_exeext conftest.
$ac_ext
12428 CFLAGS
=$ac_wine_try_cflags_saved
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12431 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12432 if test $ac_cv_cflags__fno_builtin = yes; then :
12433 BUILTINFLAG
="-fno-builtin"
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12437 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12438 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
12439 $as_echo_n "(cached) " >&6
12441 ac_wine_try_cflags_saved
=$CFLAGS
12442 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12444 /* end confdefs.h. */
12445 int main(int argc, char **argv) { return 0; }
12447 if ac_fn_c_try_link
"$LINENO"; then :
12448 ac_cv_cflags__fno_strict_aliasing
=yes
12450 ac_cv_cflags__fno_strict_aliasing
=no
12452 rm -f core conftest.err conftest.
$ac_objext \
12453 conftest
$ac_exeext conftest.
$ac_ext
12454 CFLAGS
=$ac_wine_try_cflags_saved
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12457 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12458 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12459 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12462 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12463 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
12464 $as_echo_n "(cached) " >&6
12466 ac_wine_try_cflags_saved
=$CFLAGS
12467 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12469 /* end confdefs.h. */
12470 int main(int argc, char **argv) { return 0; }
12472 if ac_fn_c_try_link
"$LINENO"; then :
12473 ac_cv_cflags__Wdeclaration_after_statement
=yes
12475 ac_cv_cflags__Wdeclaration_after_statement
=no
12477 rm -f core conftest.err conftest.
$ac_objext \
12478 conftest
$ac_exeext conftest.
$ac_ext
12479 CFLAGS
=$ac_wine_try_cflags_saved
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12482 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12483 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12484 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12487 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12488 if ${ac_cv_cflags__Wempty_body+:} false
; then :
12489 $as_echo_n "(cached) " >&6
12491 ac_wine_try_cflags_saved
=$CFLAGS
12492 CFLAGS
="$CFLAGS -Wempty-body"
12493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h. */
12495 int main(int argc, char **argv) { return 0; }
12497 if ac_fn_c_try_link
"$LINENO"; then :
12498 ac_cv_cflags__Wempty_body
=yes
12500 ac_cv_cflags__Wempty_body
=no
12502 rm -f core conftest.err conftest.
$ac_objext \
12503 conftest
$ac_exeext conftest.
$ac_ext
12504 CFLAGS
=$ac_wine_try_cflags_saved
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12507 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12508 if test $ac_cv_cflags__Wempty_body = yes; then :
12509 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12512 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12513 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
12514 $as_echo_n "(cached) " >&6
12516 ac_wine_try_cflags_saved
=$CFLAGS
12517 CFLAGS
="$CFLAGS -Wignored-qualifiers"
12518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12519 /* end confdefs.h. */
12520 int main(int argc, char **argv) { return 0; }
12522 if ac_fn_c_try_link
"$LINENO"; then :
12523 ac_cv_cflags__Wignored_qualifiers
=yes
12525 ac_cv_cflags__Wignored_qualifiers
=no
12527 rm -f core conftest.err conftest.
$ac_objext \
12528 conftest
$ac_exeext conftest.
$ac_ext
12529 CFLAGS
=$ac_wine_try_cflags_saved
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12532 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12533 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12534 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12537 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12538 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
12539 $as_echo_n "(cached) " >&6
12541 ac_wine_try_cflags_saved
=$CFLAGS
12542 CFLAGS
="$CFLAGS -Wstrict-prototypes"
12543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12544 /* end confdefs.h. */
12545 int main(int argc, char **argv) { return 0; }
12547 if ac_fn_c_try_link
"$LINENO"; then :
12548 ac_cv_cflags__Wstrict_prototypes
=yes
12550 ac_cv_cflags__Wstrict_prototypes
=no
12552 rm -f core conftest.err conftest.
$ac_objext \
12553 conftest
$ac_exeext conftest.
$ac_ext
12554 CFLAGS
=$ac_wine_try_cflags_saved
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12557 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12558 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12559 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12562 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12563 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
12564 $as_echo_n "(cached) " >&6
12566 ac_wine_try_cflags_saved
=$CFLAGS
12567 CFLAGS
="$CFLAGS -Wtype-limits"
12568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12569 /* end confdefs.h. */
12570 int main(int argc, char **argv) { return 0; }
12572 if ac_fn_c_try_link
"$LINENO"; then :
12573 ac_cv_cflags__Wtype_limits
=yes
12575 ac_cv_cflags__Wtype_limits
=no
12577 rm -f core conftest.err conftest.
$ac_objext \
12578 conftest
$ac_exeext conftest.
$ac_ext
12579 CFLAGS
=$ac_wine_try_cflags_saved
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12582 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12583 if test $ac_cv_cflags__Wtype_limits = yes; then :
12584 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12587 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12588 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
12589 $as_echo_n "(cached) " >&6
12591 ac_wine_try_cflags_saved
=$CFLAGS
12592 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
12593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12594 /* end confdefs.h. */
12595 int main(int argc, char **argv) { return 0; }
12597 if ac_fn_c_try_link
"$LINENO"; then :
12598 ac_cv_cflags__Wunused_but_set_parameter
=yes
12600 ac_cv_cflags__Wunused_but_set_parameter
=no
12602 rm -f core conftest.err conftest.
$ac_objext \
12603 conftest
$ac_exeext conftest.
$ac_ext
12604 CFLAGS
=$ac_wine_try_cflags_saved
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12607 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12608 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12609 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12612 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12613 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
12614 $as_echo_n "(cached) " >&6
12616 ac_wine_try_cflags_saved
=$CFLAGS
12617 CFLAGS
="$CFLAGS -Wwrite-strings"
12618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12619 /* end confdefs.h. */
12620 int main(int argc, char **argv) { return 0; }
12622 if ac_fn_c_try_link
"$LINENO"; then :
12623 ac_cv_cflags__Wwrite_strings
=yes
12625 ac_cv_cflags__Wwrite_strings
=no
12627 rm -f core conftest.err conftest.
$ac_objext \
12628 conftest
$ac_exeext conftest.
$ac_ext
12629 CFLAGS
=$ac_wine_try_cflags_saved
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12632 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12633 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12634 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12637 for ac_flag
in $CFLAGS; do
12639 -g) case $host_os in
12640 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12641 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12642 if ${ac_cv_cflags__gstabsp+:} false
; then :
12643 $as_echo_n "(cached) " >&6
12645 ac_wine_try_cflags_saved
=$CFLAGS
12646 CFLAGS
="$CFLAGS -gstabs+"
12647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12648 /* end confdefs.h. */
12649 int main(int argc, char **argv) { return 0; }
12651 if ac_fn_c_try_link
"$LINENO"; then :
12652 ac_cv_cflags__gstabsp
=yes
12654 ac_cv_cflags__gstabsp
=no
12656 rm -f core conftest.err conftest.
$ac_objext \
12657 conftest
$ac_exeext conftest.
$ac_ext
12658 CFLAGS
=$ac_wine_try_cflags_saved
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12661 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12662 if test $ac_cv_cflags__gstabsp = yes; then :
12663 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12665 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12666 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12667 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
12668 $as_echo_n "(cached) " >&6
12670 ac_wine_try_cflags_saved
=$CFLAGS
12671 CFLAGS
="$CFLAGS -gdwarf-2"
12672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12674 int main(int argc, char **argv) { return 0; }
12676 if ac_fn_c_try_link
"$LINENO"; then :
12677 ac_cv_cflags__gdwarf_2
=yes
12679 ac_cv_cflags__gdwarf_2
=no
12681 rm -f core conftest.err conftest.
$ac_objext \
12682 conftest
$ac_exeext conftest.
$ac_ext
12683 CFLAGS
=$ac_wine_try_cflags_saved
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12686 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12687 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12688 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12691 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12692 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
12693 $as_echo_n "(cached) " >&6
12695 ac_wine_try_cflags_saved
=$CFLAGS
12696 CFLAGS
="$CFLAGS -gstrict-dwarf"
12697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12698 /* end confdefs.h. */
12699 int main(int argc, char **argv) { return 0; }
12701 if ac_fn_c_try_link
"$LINENO"; then :
12702 ac_cv_cflags__gstrict_dwarf
=yes
12704 ac_cv_cflags__gstrict_dwarf
=no
12706 rm -f core conftest.err conftest.
$ac_objext \
12707 conftest
$ac_exeext conftest.
$ac_ext
12708 CFLAGS
=$ac_wine_try_cflags_saved
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12711 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12712 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12713 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
12720 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12721 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12722 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
12723 $as_echo_n "(cached) " >&6
12725 ac_wine_try_cflags_saved
=$CFLAGS
12726 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
12727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12728 /* end confdefs.h. */
12729 int main(int argc, char **argv) { return 0; }
12731 if ac_fn_c_try_link
"$LINENO"; then :
12732 ac_cv_cflags__fno_omit_frame_pointer
=yes
12734 ac_cv_cflags__fno_omit_frame_pointer
=no
12736 rm -f core conftest.err conftest.
$ac_objext \
12737 conftest
$ac_exeext conftest.
$ac_ext
12738 CFLAGS
=$ac_wine_try_cflags_saved
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12741 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12742 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12743 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
12748 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12749 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12750 if ${ac_cv_cflags__Wno_format+:} false
; then :
12751 $as_echo_n "(cached) " >&6
12753 ac_wine_try_cflags_saved
=$CFLAGS
12754 CFLAGS
="$CFLAGS -Wno-format"
12755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12756 /* end confdefs.h. */
12757 int main(int argc, char **argv) { return 0; }
12759 if ac_fn_c_try_link
"$LINENO"; then :
12760 ac_cv_cflags__Wno_format
=yes
12762 ac_cv_cflags__Wno_format
=no
12764 rm -f core conftest.err conftest.
$ac_objext \
12765 conftest
$ac_exeext conftest.
$ac_ext
12766 CFLAGS
=$ac_wine_try_cflags_saved
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12769 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12770 if test $ac_cv_cflags__Wno_format = yes; then :
12771 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
12775 saved_CFLAGS
="$CFLAGS"
12776 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12778 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12779 if ${ac_cv_c_string_h_warnings+:} false
; then :
12780 $as_echo_n "(cached) " >&6
12782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12783 /* end confdefs.h. */
12784 #include <string.h>
12793 if ac_fn_c_try_compile
"$LINENO"; then :
12794 ac_cv_c_string_h_warnings
=no
12796 ac_cv_c_string_h_warnings
=yes
12798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12801 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12802 CFLAGS
="$saved_CFLAGS"
12803 if test "$ac_cv_c_string_h_warnings" = "no"
12805 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12808 saved_CFLAGS
="$CFLAGS"
12809 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12811 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12812 if ${ac_cv_c_logicalop_noisy+:} false
; then :
12813 $as_echo_n "(cached) " >&6
12815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12816 /* end confdefs.h. */
12817 #include <string.h>
12821 char*f(const char *h,char n) {return strchr(h,n);}
12826 if ac_fn_c_try_compile
"$LINENO"; then :
12827 ac_cv_c_logicalop_noisy
=no
12829 ac_cv_c_logicalop_noisy
=yes
12831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12834 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12835 CFLAGS
="$saved_CFLAGS"
12836 if test "$ac_cv_c_logicalop_noisy" = "no"
12838 EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12841 if test "x$enable_maintainer_mode" = "xyes"
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12844 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12845 if ${ac_cv_cflags__Werror+:} false
; then :
12846 $as_echo_n "(cached) " >&6
12848 ac_wine_try_cflags_saved
=$CFLAGS
12849 CFLAGS
="$CFLAGS -Werror"
12850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12851 /* end confdefs.h. */
12852 int main(int argc, char **argv) { return 0; }
12854 if ac_fn_c_try_link
"$LINENO"; then :
12855 ac_cv_cflags__Werror
=yes
12857 ac_cv_cflags__Werror
=no
12859 rm -f core conftest.err conftest.
$ac_objext \
12860 conftest
$ac_exeext conftest.
$ac_ext
12861 CFLAGS
=$ac_wine_try_cflags_saved
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12864 $as_echo "$ac_cv_cflags__Werror" >&6; }
12865 if test $ac_cv_cflags__Werror = yes; then :
12866 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12870 saved_CFLAGS
="$CFLAGS"
12871 CFLAGS
="$CFLAGS -Werror"
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12873 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12874 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
12875 $as_echo_n "(cached) " >&6
12877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12878 /* end confdefs.h. */
12879 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12888 if ac_fn_c_try_compile
"$LINENO"; then :
12889 ac_cv_have_ms_hook_prologue
="yes"
12891 ac_cv_have_ms_hook_prologue
="no"
12893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12896 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12897 CFLAGS
="$saved_CFLAGS"
12898 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12901 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12904 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12911 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12912 if ${ac_cv_c_fortify_enabled+:} false
; then :
12913 $as_echo_n "(cached) " >&6
12915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12916 /* end confdefs.h. */
12917 #include <string.h>
12921 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12922 #error Fortify enabled
12928 if ac_fn_c_try_compile
"$LINENO"; then :
12929 ac_cv_c_fortify_enabled
=no
12931 ac_cv_c_fortify_enabled
=yes
12933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12936 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12937 if test "$ac_cv_c_fortify_enabled" = yes
12939 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12944 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12945 if ${ac_cv_c_extern_prefix+:} false
; then :
12946 $as_echo_n "(cached) " >&6
12948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12949 /* end confdefs.h. */
12950 extern int ac_test;
12954 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12959 if ac_fn_c_try_link
"$LINENO"; then :
12960 ac_cv_c_extern_prefix
="yes"
12962 ac_cv_c_extern_prefix
="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_extern_prefix" >&5
12968 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12973 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12974 if ${ac_cv_c_stdcall_suffix+:} false
; then :
12975 $as_echo_n "(cached) " >&6
12977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12978 /* end confdefs.h. */
12980 #define __stdcall __attribute__((__stdcall__))
12982 int __stdcall ac_test(int i) { return i; }
12986 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12991 if ac_fn_c_try_link
"$LINENO"; then :
12992 ac_cv_c_stdcall_suffix
="yes"
12994 ac_cv_c_stdcall_suffix
="no"
12996 rm -f core conftest.err conftest.
$ac_objext \
12997 conftest
$ac_exeext conftest.
$ac_ext
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13000 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13001 *) ac_cv_c_stdcall_suffix
="no" ;;
13005 if test "$ac_cv_c_extern_prefix" = "yes"
13007 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13009 asm_name_prefix
="_"
13011 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13017 if test "$ac_cv_c_stdcall_suffix" = "yes"
13019 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13022 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13028 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13029 if ${ac_cv_asm_func_def+:} false
; then :
13030 $as_echo_n "(cached) " >&6
13032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13033 /* end confdefs.h. */
13038 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13043 if ac_fn_c_try_link
"$LINENO"; then :
13044 ac_cv_asm_func_def
=".def"
13046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13047 /* end confdefs.h. */
13052 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13057 if ac_fn_c_try_link
"$LINENO"; then :
13058 ac_cv_asm_func_def
=".type @function"
13060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13061 /* end confdefs.h. */
13066 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13071 if ac_fn_c_try_link
"$LINENO"; then :
13072 ac_cv_asm_func_def
=".type 2"
13074 ac_cv_asm_func_def
="unknown"
13076 rm -f core conftest.err conftest.
$ac_objext \
13077 conftest
$ac_exeext conftest.
$ac_ext
13079 rm -f core conftest.err conftest.
$ac_objext \
13080 conftest
$ac_exeext conftest.
$ac_ext
13082 rm -f core conftest.err conftest.
$ac_objext \
13083 conftest
$ac_exeext conftest.
$ac_ext
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13086 $as_echo "$ac_cv_asm_func_def" >&6; }
13089 case "$ac_cv_asm_func_def" in
13091 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13093 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13095 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13097 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
13099 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13101 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
13103 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13105 asm_func_header
="" ;;
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13109 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13110 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
13111 $as_echo_n "(cached) " >&6
13113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13114 /* end confdefs.h. */
13115 asm(".text\n\t.long 0");
13124 if ac_fn_c_try_compile
"$LINENO"; then :
13125 ac_cv_c_asm_outside_funcs
="yes"
13127 ac_cv_c_asm_outside_funcs
="no"
13129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13132 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13135 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13136 if ${ac_cv_c_dot_previous+:} false
; then :
13137 $as_echo_n "(cached) " >&6
13139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13140 /* end confdefs.h. */
13145 asm(".text\nac_test:\t.long 0\n\t.previous");
13150 if ac_fn_c_try_link
"$LINENO"; then :
13151 ac_cv_c_dot_previous
="yes"
13153 ac_cv_c_dot_previous
="no"
13155 rm -f core conftest.err conftest.
$ac_objext \
13156 conftest
$ac_exeext conftest.
$ac_ext
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13159 $as_echo "$ac_cv_c_dot_previous" >&6; }
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13162 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13163 if ${ac_cv_c_cfi_support+:} false
; then :
13164 $as_echo_n "(cached) " >&6
13166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13167 /* end confdefs.h. */
13168 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13177 if ac_fn_c_try_compile
"$LINENO"; then :
13178 ac_cv_c_cfi_support
="yes"
13180 ac_cv_c_cfi_support
="no"
13182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13185 $as_echo "$ac_cv_c_cfi_support" >&6; }
13187 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13188 asm_func_trailer
=""
13189 if test "$ac_cv_c_dot_previous" = "yes"
13191 asm_func_trailer
="\\n\\t.previous"
13193 if test "$ac_cv_c_cfi_support" = "yes"
13195 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
13196 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
13198 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13200 UNWINDFLAGS
=-fasynchronous-unwind-tables
13203 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13207 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
13210 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13212 cat >>confdefs.h
<<_ACEOF
13213 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13217 cat >>confdefs.h
<<_ACEOF
13218 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13223 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13226 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13236 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13241 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13247 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
13252 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
13254 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
13261 ac_save_CFLAGS
="$CFLAGS"
13262 CFLAGS
="$CFLAGS $BUILTINFLAG"
13336 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13337 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13338 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13339 cat >>confdefs.h
<<_ACEOF
13340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13346 CFLAGS
="$ac_save_CFLAGS"
13348 if test "$ac_cv_func_dlopen" = no
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13351 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13352 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13353 $as_echo_n "(cached) " >&6
13355 ac_check_lib_save_LIBS
=$LIBS
13357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13358 /* end confdefs.h. */
13360 /* Override any GCC internal prototype to avoid an error.
13361 Use char because int might match the return type of a GCC
13362 builtin and then its argument prototype would still apply. */
13375 if ac_fn_c_try_link
"$LINENO"; then :
13376 ac_cv_lib_dl_dlopen
=yes
13378 ac_cv_lib_dl_dlopen
=no
13380 rm -f core conftest.err conftest.
$ac_objext \
13381 conftest
$ac_exeext conftest.
$ac_ext
13382 LIBS
=$ac_check_lib_save_LIBS
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13385 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13386 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13387 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13393 ac_wine_check_funcs_save_LIBS
="$LIBS"
13394 LIBS
="$LIBS $LIBDL"
13395 for ac_func
in dladdr
13397 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
13398 if test "x$ac_cv_func_dladdr" = xyes
; then :
13399 cat >>confdefs.h
<<_ACEOF
13400 #define HAVE_DLADDR 1
13406 LIBS
="$ac_wine_check_funcs_save_LIBS"
13408 if test "$ac_cv_func_poll" = no
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13411 $as_echo_n "checking for poll in -lpoll... " >&6; }
13412 if ${ac_cv_lib_poll_poll+:} false
; then :
13413 $as_echo_n "(cached) " >&6
13415 ac_check_lib_save_LIBS
=$LIBS
13416 LIBS
="-lpoll $LIBS"
13417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13418 /* end confdefs.h. */
13420 /* Override any GCC internal prototype to avoid an error.
13421 Use char because int might match the return type of a GCC
13422 builtin and then its argument prototype would still apply. */
13435 if ac_fn_c_try_link
"$LINENO"; then :
13436 ac_cv_lib_poll_poll
=yes
13438 ac_cv_lib_poll_poll
=no
13440 rm -f core conftest.err conftest.
$ac_objext \
13441 conftest
$ac_exeext conftest.
$ac_ext
13442 LIBS
=$ac_check_lib_save_LIBS
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13445 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13446 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
13447 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13455 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13456 if ${ac_cv_search_gethostbyname+:} false
; then :
13457 $as_echo_n "(cached) " >&6
13459 ac_func_search_save_LIBS
=$LIBS
13460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13461 /* end confdefs.h. */
13463 /* Override any GCC internal prototype to avoid an error.
13464 Use char because int might match the return type of a GCC
13465 builtin and then its argument prototype would still apply. */
13469 char gethostbyname ();
13473 return gethostbyname ();
13478 for ac_lib
in '' nsl
; do
13479 if test -z "$ac_lib"; then
13480 ac_res
="none required"
13483 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13485 if ac_fn_c_try_link
"$LINENO"; then :
13486 ac_cv_search_gethostbyname
=$ac_res
13488 rm -f core conftest.err conftest.
$ac_objext \
13490 if ${ac_cv_search_gethostbyname+:} false
; then :
13494 if ${ac_cv_search_gethostbyname+:} false
; then :
13497 ac_cv_search_gethostbyname
=no
13499 rm conftest.
$ac_ext
13500 LIBS
=$ac_func_search_save_LIBS
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13503 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13504 ac_res
=$ac_cv_search_gethostbyname
13505 if test "$ac_res" != no
; then :
13506 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13512 $as_echo_n "checking for library containing connect... " >&6; }
13513 if ${ac_cv_search_connect+:} false
; then :
13514 $as_echo_n "(cached) " >&6
13516 ac_func_search_save_LIBS
=$LIBS
13517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13518 /* end confdefs.h. */
13520 /* Override any GCC internal prototype to avoid an error.
13521 Use char because int might match the return type of a GCC
13522 builtin and then its argument prototype would still apply. */
13535 for ac_lib
in '' socket
; do
13536 if test -z "$ac_lib"; then
13537 ac_res
="none required"
13540 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13542 if ac_fn_c_try_link
"$LINENO"; then :
13543 ac_cv_search_connect
=$ac_res
13545 rm -f core conftest.err conftest.
$ac_objext \
13547 if ${ac_cv_search_connect+:} false
; then :
13551 if ${ac_cv_search_connect+:} false
; then :
13554 ac_cv_search_connect
=no
13556 rm conftest.
$ac_ext
13557 LIBS
=$ac_func_search_save_LIBS
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13560 $as_echo "$ac_cv_search_connect" >&6; }
13561 ac_res
=$ac_cv_search_connect
13562 if test "$ac_res" != no
; then :
13563 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13569 $as_echo_n "checking for library containing inet_aton... " >&6; }
13570 if ${ac_cv_search_inet_aton+:} false
; then :
13571 $as_echo_n "(cached) " >&6
13573 ac_func_search_save_LIBS
=$LIBS
13574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13575 /* end confdefs.h. */
13577 /* Override any GCC internal prototype to avoid an error.
13578 Use char because int might match the return type of a GCC
13579 builtin and then its argument prototype would still apply. */
13587 return inet_aton ();
13592 for ac_lib
in '' resolv
; do
13593 if test -z "$ac_lib"; then
13594 ac_res
="none required"
13597 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13599 if ac_fn_c_try_link
"$LINENO"; then :
13600 ac_cv_search_inet_aton
=$ac_res
13602 rm -f core conftest.err conftest.
$ac_objext \
13604 if ${ac_cv_search_inet_aton+:} false
; then :
13608 if ${ac_cv_search_inet_aton+:} false
; then :
13611 ac_cv_search_inet_aton
=no
13613 rm conftest.
$ac_ext
13614 LIBS
=$ac_func_search_save_LIBS
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13617 $as_echo "$ac_cv_search_inet_aton" >&6; }
13618 ac_res
=$ac_cv_search_inet_aton
13619 if test "$ac_res" != no
; then :
13620 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13639 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13640 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13641 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13642 cat >>confdefs.h
<<_ACEOF
13643 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
13652 $as_echo_n "checking for library containing clock_gettime... " >&6; }
13653 if ${ac_cv_search_clock_gettime+:} false
; then :
13654 $as_echo_n "(cached) " >&6
13656 ac_func_search_save_LIBS
=$LIBS
13657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13658 /* end confdefs.h. */
13660 /* Override any GCC internal prototype to avoid an error.
13661 Use char because int might match the return type of a GCC
13662 builtin and then its argument prototype would still apply. */
13666 char clock_gettime ();
13670 return clock_gettime ();
13675 for ac_lib
in '' rt
; do
13676 if test -z "$ac_lib"; then
13677 ac_res
="none required"
13680 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13682 if ac_fn_c_try_link
"$LINENO"; then :
13683 ac_cv_search_clock_gettime
=$ac_res
13685 rm -f core conftest.err conftest.
$ac_objext \
13687 if ${ac_cv_search_clock_gettime+:} false
; then :
13691 if ${ac_cv_search_clock_gettime+:} false
; then :
13694 ac_cv_search_clock_gettime
=no
13696 rm conftest.
$ac_ext
13697 LIBS
=$ac_func_search_save_LIBS
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
13700 $as_echo "$ac_cv_search_clock_gettime" >&6; }
13701 ac_res
=$ac_cv_search_clock_gettime
13702 if test "$ac_res" != no
; then :
13703 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13705 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13707 test "$ac_res" = "none required" || LIBRT
="$ac_res"
13715 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13717 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13719 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13721 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13722 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
13723 $as_echo_n "(cached) " >&6
13725 ac_check_lib_save_LIBS
=$LIBS
13726 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13728 /* end confdefs.h. */
13730 /* Override any GCC internal prototype to avoid an error.
13731 Use char because int might match the return type of a GCC
13732 builtin and then its argument prototype would still apply. */
13736 char ldap_initialize ();
13740 return ldap_initialize ();
13745 if ac_fn_c_try_link
"$LINENO"; then :
13746 ac_cv_lib_ldap_r_ldap_initialize
=yes
13748 ac_cv_lib_ldap_r_ldap_initialize
=no
13750 rm -f core conftest.err conftest.
$ac_objext \
13751 conftest
$ac_exeext conftest.
$ac_ext
13752 LIBS
=$ac_check_lib_save_LIBS
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13755 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13756 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13758 $as_echo_n "checking for ber_init in -llber... " >&6; }
13759 if ${ac_cv_lib_lber_ber_init+:} false
; then :
13760 $as_echo_n "(cached) " >&6
13762 ac_check_lib_save_LIBS
=$LIBS
13763 LIBS
="-llber $LIBPTHREAD $LIBS"
13764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13765 /* end confdefs.h. */
13767 /* Override any GCC internal prototype to avoid an error.
13768 Use char because int might match the return type of a GCC
13769 builtin and then its argument prototype would still apply. */
13777 return ber_init ();
13782 if ac_fn_c_try_link
"$LINENO"; then :
13783 ac_cv_lib_lber_ber_init
=yes
13785 ac_cv_lib_lber_ber_init
=no
13787 rm -f core conftest.err conftest.
$ac_objext \
13788 conftest
$ac_exeext conftest.
$ac_ext
13789 LIBS
=$ac_check_lib_save_LIBS
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13792 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13793 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
13795 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13797 LDAPLIBS
="-lldap_r -llber"
13804 ac_wine_check_funcs_save_LIBS
="$LIBS"
13805 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13807 ldap_count_references \
13808 ldap_first_reference \
13809 ldap_next_reference \
13810 ldap_parse_reference \
13811 ldap_parse_sort_control \
13812 ldap_parse_sortresponse_control \
13813 ldap_parse_vlv_control \
13814 ldap_parse_vlvresponse_control
13816 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13817 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13818 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13819 cat >>confdefs.h
<<_ACEOF
13820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13826 LIBS
="$ac_wine_check_funcs_save_LIBS"
13828 if test "x$LDAPLIBS" = "x"; then :
13829 case "x$with_ldap" in
13830 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13832 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13833 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13838 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13839 if ${wine_cv_one_arg_mkdir+:} false
; then :
13840 $as_echo_n "(cached) " >&6
13842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13844 #include <sys/stat.h>
13853 if ac_fn_c_try_compile
"$LINENO"; then :
13854 wine_cv_one_arg_mkdir
=yes
13856 wine_cv_one_arg_mkdir
=no
13858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13861 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13862 if test "$wine_cv_one_arg_mkdir" = "yes"
13865 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13870 $as_echo_n "checking for sched_setaffinity... " >&6; }
13871 if ${wine_cv_have_sched_setaffinity+:} false
; then :
13872 $as_echo_n "(cached) " >&6
13874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13876 #define _GNU_SOURCE
13881 sched_setaffinity(0, 0, 0);
13886 if ac_fn_c_try_link
"$LINENO"; then :
13887 wine_cv_have_sched_setaffinity
=yes
13889 wine_cv_have_sched_setaffinity
=no
13891 rm -f core conftest.err conftest.
$ac_objext \
13892 conftest
$ac_exeext conftest.
$ac_ext
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13895 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13896 if test "$wine_cv_have_sched_setaffinity" = "yes"
13899 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
13904 $as_echo_n "checking for fallocate... " >&6; }
13905 if ${wine_cv_have_fallocate+:} false
; then :
13906 $as_echo_n "(cached) " >&6
13908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13909 /* end confdefs.h. */
13910 #define _GNU_SOURCE
13915 fallocate(-1, 0, 0, 0);
13920 if ac_fn_c_try_link
"$LINENO"; then :
13921 wine_cv_have_fallocate
=yes
13923 wine_cv_have_fallocate
=no
13925 rm -f core conftest.err conftest.
$ac_objext \
13926 conftest
$ac_exeext conftest.
$ac_ext
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
13929 $as_echo "$wine_cv_have_fallocate" >&6; }
13930 if test "$wine_cv_have_fallocate" = "yes"
13933 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13939 $as_echo_n "checking for inline... " >&6; }
13940 if ${ac_cv_c_inline+:} false
; then :
13941 $as_echo_n "(cached) " >&6
13944 for ac_kw
in inline __inline__ __inline
; do
13945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13947 #ifndef __cplusplus
13949 static $ac_kw foo_t static_foo () {return 0; }
13950 $ac_kw foo_t foo () {return 0; }
13954 if ac_fn_c_try_compile
"$LINENO"; then :
13955 ac_cv_c_inline
=$ac_kw
13957 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13958 test "$ac_cv_c_inline" != no
&& break
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13963 $as_echo "$ac_cv_c_inline" >&6; }
13965 case $ac_cv_c_inline in
13968 case $ac_cv_c_inline in
13970 *) ac_val
=$ac_cv_c_inline;;
13972 cat >>confdefs.h
<<_ACEOF
13973 #ifndef __cplusplus
13974 #define inline $ac_val
13980 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13981 if test "x$ac_cv_type_mode_t" = xyes
; then :
13983 cat >>confdefs.h
<<_ACEOF
13984 #define HAVE_MODE_T 1
13989 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13990 if test "x$ac_cv_type_off_t" = xyes
; then :
13992 cat >>confdefs.h
<<_ACEOF
13993 #define HAVE_OFF_T 1
13998 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13999 if test "x$ac_cv_type_pid_t" = xyes
; then :
14001 cat >>confdefs.h
<<_ACEOF
14002 #define HAVE_PID_T 1
14007 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14008 if test "x$ac_cv_type_size_t" = xyes
; then :
14010 cat >>confdefs.h
<<_ACEOF
14011 #define HAVE_SIZE_T 1
14016 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14017 if test "x$ac_cv_type_ssize_t" = xyes
; then :
14019 cat >>confdefs.h
<<_ACEOF
14020 #define HAVE_SSIZE_T 1
14025 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14026 if test "x$ac_cv_type_long_long" = xyes
; then :
14028 cat >>confdefs.h
<<_ACEOF
14029 #define HAVE_LONG_LONG 1
14034 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14035 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
14037 cat >>confdefs.h
<<_ACEOF
14038 #define HAVE_FSBLKCNT_T 1
14043 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14044 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
14046 cat >>confdefs.h
<<_ACEOF
14047 #define HAVE_FSFILCNT_T 1
14053 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14054 #include <signal.h>
14056 if test "x$ac_cv_type_sigset_t" = xyes
; then :
14058 cat >>confdefs.h
<<_ACEOF
14059 #define HAVE_SIGSET_T 1
14065 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14067 if test "x$ac_cv_type_request_sense" = xyes
; then :
14069 cat >>confdefs.h
<<_ACEOF
14070 #define HAVE_REQUEST_SENSE 1
14077 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14078 #ifdef HAVE_SYS_SOCKET_H
14079 #include <sys/socket.h>
14081 #ifdef HAVE_SYS_SOCKETVAR_H
14082 #include <sys/socketvar.h>
14084 #ifdef HAVE_NET_ROUTE_H
14085 #include <net/route.h>
14087 #ifdef HAVE_NETINET_IN_H
14088 #include <netinet/in.h>
14090 #ifdef HAVE_NETINET_IN_SYSTM_H
14091 #include <netinet/in_systm.h>
14093 #ifdef HAVE_NETINET_IP_H
14094 #include <netinet/ip.h>
14096 #ifdef HAVE_NETINET_IN_PCB_H
14097 #include <netinet/in_pcb.h>
14100 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
14102 cat >>confdefs.h
<<_ACEOF
14103 #define HAVE_STRUCT_XINPGEN 1
14110 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14111 #include <linux/input.h>
14114 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
14116 cat >>confdefs.h
<<_ACEOF
14117 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14125 $as_echo_n "checking for sigaddset... " >&6; }
14126 if ${wine_cv_have_sigaddset+:} false
; then :
14127 $as_echo_n "(cached) " >&6
14129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14130 /* end confdefs.h. */
14131 #include <signal.h>
14135 sigset_t set; sigaddset(&set,SIGTERM);
14140 if ac_fn_c_try_link
"$LINENO"; then :
14141 wine_cv_have_sigaddset
=yes
14143 wine_cv_have_sigaddset
=no
14145 rm -f core conftest.err conftest.
$ac_objext \
14146 conftest
$ac_exeext conftest.
$ac_ext
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14149 $as_echo "$wine_cv_have_sigaddset" >&6; }
14150 if test "$wine_cv_have_sigaddset" = "yes"
14153 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14159 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14160 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
14161 $as_echo_n "(cached) " >&6
14163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14164 /* end confdefs.h. */
14172 struct hostent *result;
14179 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14180 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14186 if ac_fn_c_try_link
"$LINENO"; then :
14187 wine_cv_linux_gethostbyname_r_6
=yes
14189 wine_cv_linux_gethostbyname_r_6
=no
14192 rm -f core conftest.err conftest.
$ac_objext \
14193 conftest
$ac_exeext conftest.
$ac_ext
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14197 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14198 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14201 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14205 if test "$ac_cv_header_linux_joystick_h" = "yes"
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14208 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14209 if ${wine_cv_linux_joystick_22_api+:} false
; then :
14210 $as_echo_n "(cached) " >&6
14212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h. */
14215 #include <sys/ioctl.h>
14216 #include <sys/types.h>
14217 #include <linux/joystick.h>
14219 struct js_event blub;
14220 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14221 #error "no 2.2 header"
14232 if ac_fn_c_try_compile
"$LINENO"; then :
14233 wine_cv_linux_joystick_22_api
=yes
14235 wine_cv_linux_joystick_22_api
=no
14237 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14241 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14242 if test "$wine_cv_linux_joystick_22_api" = "yes"
14245 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14251 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14252 #ifdef HAVE_SYS_PARAM_H
14253 # include <sys/param.h>
14255 #ifdef HAVE_SYS_MOUNT_H
14256 # include <sys/mount.h>
14258 #ifdef HAVE_SYS_VFS_H
14259 # include <sys/vfs.h>
14261 #ifdef HAVE_SYS_STATFS_H
14262 # include <sys/statfs.h>
14265 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
14267 cat >>confdefs.h
<<_ACEOF
14268 #define HAVE_STRUCT_STATFS_F_BFREE 1
14273 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
14274 #ifdef HAVE_SYS_PARAM_H
14275 # include <sys/param.h>
14277 #ifdef HAVE_SYS_MOUNT_H
14278 # include <sys/mount.h>
14280 #ifdef HAVE_SYS_VFS_H
14281 # include <sys/vfs.h>
14283 #ifdef HAVE_SYS_STATFS_H
14284 # include <sys/statfs.h>
14287 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
14289 cat >>confdefs.h
<<_ACEOF
14290 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
14295 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
14296 #ifdef HAVE_SYS_PARAM_H
14297 # include <sys/param.h>
14299 #ifdef HAVE_SYS_MOUNT_H
14300 # include <sys/mount.h>
14302 #ifdef HAVE_SYS_VFS_H
14303 # include <sys/vfs.h>
14305 #ifdef HAVE_SYS_STATFS_H
14306 # include <sys/statfs.h>
14309 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
14311 cat >>confdefs.h
<<_ACEOF
14312 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
14317 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
14318 #ifdef HAVE_SYS_PARAM_H
14319 # include <sys/param.h>
14321 #ifdef HAVE_SYS_MOUNT_H
14322 # include <sys/mount.h>
14324 #ifdef HAVE_SYS_VFS_H
14325 # include <sys/vfs.h>
14327 #ifdef HAVE_SYS_STATFS_H
14328 # include <sys/statfs.h>
14331 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
14333 cat >>confdefs.h
<<_ACEOF
14334 #define HAVE_STRUCT_STATFS_F_FFREE 1
14339 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
14340 #ifdef HAVE_SYS_PARAM_H
14341 # include <sys/param.h>
14343 #ifdef HAVE_SYS_MOUNT_H
14344 # include <sys/mount.h>
14346 #ifdef HAVE_SYS_VFS_H
14347 # include <sys/vfs.h>
14349 #ifdef HAVE_SYS_STATFS_H
14350 # include <sys/statfs.h>
14353 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
14355 cat >>confdefs.h
<<_ACEOF
14356 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
14361 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
14362 #ifdef HAVE_SYS_PARAM_H
14363 # include <sys/param.h>
14365 #ifdef HAVE_SYS_MOUNT_H
14366 # include <sys/mount.h>
14368 #ifdef HAVE_SYS_VFS_H
14369 # include <sys/vfs.h>
14371 #ifdef HAVE_SYS_STATFS_H
14372 # include <sys/statfs.h>
14375 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
14377 cat >>confdefs.h
<<_ACEOF
14378 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14385 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14386 #include <sys/statvfs.h>
14389 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
14391 cat >>confdefs.h
<<_ACEOF
14392 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14399 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14400 #include <dirent.h>
14403 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
14405 cat >>confdefs.h
<<_ACEOF
14406 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14413 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#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_msghdr_msg_accrights" = xyes
; then :
14423 cat >>confdefs.h
<<_ACEOF
14424 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14429 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14430 #ifdef HAVE_SYS_SOCKET_H
14431 # include <sys/socket.h>
14433 #ifdef HAVE_SYS_UN_H
14434 # include <sys/un.h>
14437 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
14439 cat >>confdefs.h
<<_ACEOF
14440 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14445 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14446 #ifdef HAVE_SYS_SOCKET_H
14447 # include <sys/socket.h>
14449 #ifdef HAVE_SYS_UN_H
14450 # include <sys/un.h>
14453 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
14455 cat >>confdefs.h
<<_ACEOF
14456 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14463 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14464 #ifdef HAVE_SCSI_SG_H
14465 #include <scsi/sg.h>
14468 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
14470 cat >>confdefs.h
<<_ACEOF
14471 #define HAVE_SCSIREQ_T_CMD 1
14476 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>
14477 #ifdef HAVE_SCSI_SG_H
14478 #include <scsi/sg.h>
14481 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
14483 cat >>confdefs.h
<<_ACEOF
14484 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14491 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14493 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
14495 cat >>confdefs.h
<<_ACEOF
14496 #define HAVE_SIGINFO_T_SI_FD 1
14503 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14504 #ifdef HAVE_SYS_MTIO_H
14505 #include <sys/mtio.h>
14508 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
14510 cat >>confdefs.h
<<_ACEOF
14511 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14516 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14517 #ifdef HAVE_SYS_MTIO_H
14518 #include <sys/mtio.h>
14521 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
14523 cat >>confdefs.h
<<_ACEOF
14524 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14529 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14530 #ifdef HAVE_SYS_MTIO_H
14531 #include <sys/mtio.h>
14534 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
14536 cat >>confdefs.h
<<_ACEOF
14537 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14544 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14545 #include <getopt.h>
14548 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
14550 cat >>confdefs.h
<<_ACEOF
14551 #define HAVE_STRUCT_OPTION_NAME 1
14558 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14559 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
14561 cat >>confdefs.h
<<_ACEOF
14562 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14567 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14568 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
14570 cat >>confdefs.h
<<_ACEOF
14571 #define HAVE_STRUCT_STAT_ST_MTIM 1
14576 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14577 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
14579 cat >>confdefs.h
<<_ACEOF
14580 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14585 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14586 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
14588 cat >>confdefs.h
<<_ACEOF
14589 #define HAVE_STRUCT_STAT_ST_CTIM 1
14594 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14595 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
14597 cat >>confdefs.h
<<_ACEOF
14598 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14603 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14604 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
14606 cat >>confdefs.h
<<_ACEOF
14607 #define HAVE_STRUCT_STAT_ST_ATIM 1
14612 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14613 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
14615 cat >>confdefs.h
<<_ACEOF
14616 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14621 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14622 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
14624 cat >>confdefs.h
<<_ACEOF
14625 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14630 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14631 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
14633 cat >>confdefs.h
<<_ACEOF
14634 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14639 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14640 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
14642 cat >>confdefs.h
<<_ACEOF
14643 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14648 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14649 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
14651 cat >>confdefs.h
<<_ACEOF
14652 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14657 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14658 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
14660 cat >>confdefs.h
<<_ACEOF
14661 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14668 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
14669 #include <sys/types.h>
14671 #ifdef HAVE_NETINET_IN_H
14672 #include <netinet/in.h>
14675 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
14677 cat >>confdefs.h
<<_ACEOF
14678 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14685 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14686 #include <sys/types.h>
14688 #ifdef HAVE_NETINET_IN_H
14689 # include <netinet/in.h>
14691 #ifdef HAVE_ARPA_NAMESER_H
14692 # include <arpa/nameser.h>
14695 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
14697 cat >>confdefs.h
<<_ACEOF
14698 #define HAVE_NS_MSG__MSG_PTR 1
14705 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14706 #include <sys/types.h>
14708 #ifdef HAVE_NETINET_IP_H
14709 #include <netinet/ip.h>
14711 #ifdef HAVE_NETINET_IP_ICMP_H
14712 #include <netinet/ip_icmp.h>
14714 #ifdef HAVE_NETINET_ICMP_VAR_H
14715 #include <netinet/icmp_var.h>
14718 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
14720 cat >>confdefs.h
<<_ACEOF
14721 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14728 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14729 #include <sys/types.h>
14731 #ifdef HAVE_ALIAS_H
14734 #ifdef HAVE_SYS_SOCKET_H
14735 #include <sys/socket.h>
14737 #ifdef HAVE_SYS_SOCKETVAR_H
14738 #include <sys/socketvar.h>
14740 #ifdef HAVE_SYS_TIMEOUT_H
14741 #include <sys/timeout.h>
14743 #ifdef HAVE_NETINET_IN_H
14744 #include <netinet/in.h>
14746 #ifdef HAVE_NETINET_IN_SYSTM_H
14747 #include <netinet/in_systm.h>
14749 #ifdef HAVE_NETINET_IP_H
14750 #include <netinet/ip.h>
14752 #ifdef HAVE_NETINET_IP_VAR_H
14753 #include <netinet/ip_var.h>
14755 #ifdef HAVE_NETINET_IP_ICMP_H
14756 #include <netinet/ip_icmp.h>
14758 #ifdef HAVE_NETINET_ICMP_VAR_H
14759 #include <netinet/icmp_var.h>
14762 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
14764 cat >>confdefs.h
<<_ACEOF
14765 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14772 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14773 #include <sys/types.h>
14775 #ifdef HAVE_SYS_SOCKETVAR_H
14776 #include <sys/socketvar.h>
14778 #ifdef HAVE_NETINET_IN_H
14779 #include <netinet/in.h>
14781 #ifdef HAVE_NETINET_IP_VAR_H
14782 #include <netinet/ip_var.h>
14785 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
14787 cat >>confdefs.h
<<_ACEOF
14788 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14795 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
14796 #include <netinet/ip_var.h>
14799 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
14801 cat >>confdefs.h
<<_ACEOF
14802 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14809 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14810 #include <sys/types.h>
14812 #ifdef HAVE_SYS_SOCKETVAR_H
14813 #include <sys/socketvar.h>
14815 #ifdef HAVE_NETINET_IN_H
14816 #include <netinet/in.h>
14818 #ifdef HAVE_NETINET_TCP_H
14819 #include <netinet/tcp.h>
14821 #ifdef HAVE_NETINET_TCP_VAR_H
14822 #include <netinet/tcp_var.h>
14825 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
14827 cat >>confdefs.h
<<_ACEOF
14828 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14835 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
14836 #include <netinet/tcp_var.h>
14839 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
14841 cat >>confdefs.h
<<_ACEOF
14842 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14849 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
14850 #include <sys/types.h>
14852 #ifdef HAVE_NETINET_IN_H
14853 #include <netinet/in.h>
14855 #ifdef HAVE_NETINET_IP_VAR_H
14856 #include <netinet/ip_var.h>
14858 #ifdef HAVE_NETINET_UDP_H
14859 #include <netinet/udp.h>
14861 #ifdef HAVE_NETINET_UDP_VAR_H
14862 #include <netinet/udp_var.h>
14865 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
14867 cat >>confdefs.h
<<_ACEOF
14868 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14875 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14876 #include <sys/types.h>
14878 #ifdef HAVE_NET_IF_H
14879 # include <net/if.h>
14882 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
14884 cat >>confdefs.h
<<_ACEOF
14885 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14893 $as_echo_n "checking for timezone variable... " >&6; }
14894 if ${ac_cv_have_timezone+:} 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_timezone
="yes"
14911 ac_cv_have_timezone
="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_timezone" >&5
14917 $as_echo "$ac_cv_have_timezone" >&6; }
14918 if test "$ac_cv_have_timezone" = "yes"
14921 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14925 $as_echo_n "checking for daylight variable... " >&6; }
14926 if ${ac_cv_have_daylight+:} false
; then :
14927 $as_echo_n "(cached) " >&6
14929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14930 /* end confdefs.h. */
14940 if ac_fn_c_try_link
"$LINENO"; then :
14941 ac_cv_have_daylight
="yes"
14943 ac_cv_have_daylight
="no"
14945 rm -f core conftest.err conftest.
$ac_objext \
14946 conftest
$ac_exeext conftest.
$ac_ext
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14949 $as_echo "$ac_cv_have_daylight" >&6; }
14950 if test "$ac_cv_have_daylight" = "yes"
14953 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14957 ac_save_LIBS
="$LIBS"
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14960 $as_echo_n "checking for isinf... " >&6; }
14961 if ${ac_cv_have_isinf+:} false
; then :
14962 $as_echo_n "(cached) " >&6
14964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14965 /* end confdefs.h. */
14970 float f = 0.0; return isinf(f)
14975 if ac_fn_c_try_link
"$LINENO"; then :
14976 ac_cv_have_isinf
="yes"
14978 ac_cv_have_isinf
="no"
14980 rm -f core conftest.err conftest.
$ac_objext \
14981 conftest
$ac_exeext conftest.
$ac_ext
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14984 $as_echo "$ac_cv_have_isinf" >&6; }
14985 if test "$ac_cv_have_isinf" = "yes"
14988 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14993 $as_echo_n "checking for isnan... " >&6; }
14994 if ${ac_cv_have_isnan+:} false
; then :
14995 $as_echo_n "(cached) " >&6
14997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14998 /* end confdefs.h. */
15003 float f = 0.0; return isnan(f)
15008 if ac_fn_c_try_link
"$LINENO"; then :
15009 ac_cv_have_isnan
="yes"
15011 ac_cv_have_isnan
="no"
15013 rm -f core conftest.err conftest.
$ac_objext \
15014 conftest
$ac_exeext conftest.
$ac_ext
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15017 $as_echo "$ac_cv_have_isnan" >&6; }
15018 if test "$ac_cv_have_isnan" = "yes"
15021 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15024 LIBS
="$ac_save_LIBS"
15028 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15029 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15030 if ${ac_cv_cpp_def___i386__+:} false
; then :
15031 $as_echo_n "(cached) " >&6
15033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15034 /* end confdefs.h. */
15039 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15040 $EGREP "yes" >/dev
/null
2>&1; then :
15041 ac_cv_cpp_def___i386__
=yes
15043 ac_cv_cpp_def___i386__
=no
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15049 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15050 if test $ac_cv_cpp_def___i386__ = yes; then :
15051 CFLAGS
="$CFLAGS -D__i386__"
15052 LINTFLAGS
="$LINTFLAGS -D__i386__"
15054 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15055 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15056 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
15057 $as_echo_n "(cached) " >&6
15059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15060 /* end confdefs.h. */
15065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15066 $EGREP "yes" >/dev
/null
2>&1; then :
15067 ac_cv_cpp_def___x86_64__
=yes
15069 ac_cv_cpp_def___x86_64__
=no
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15075 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15076 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15077 CFLAGS
="$CFLAGS -D__x86_64__"
15078 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
15080 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15081 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15082 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
15083 $as_echo_n "(cached) " >&6
15085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15086 /* end confdefs.h. */
15087 #ifndef __sparc64__
15091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15092 $EGREP "yes" >/dev
/null
2>&1; then :
15093 ac_cv_cpp_def___sparc64__
=yes
15095 ac_cv_cpp_def___sparc64__
=no
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15101 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15102 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15103 CFLAGS
="$CFLAGS -D__sparc64__"
15104 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
15106 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15107 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15108 if ${ac_cv_cpp_def___sparc__+:} false
; then :
15109 $as_echo_n "(cached) " >&6
15111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15112 /* end confdefs.h. */
15117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15118 $EGREP "yes" >/dev
/null
2>&1; then :
15119 ac_cv_cpp_def___sparc__
=yes
15121 ac_cv_cpp_def___sparc__
=no
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15127 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15128 if test $ac_cv_cpp_def___sparc__ = yes; then :
15129 CFLAGS
="$CFLAGS -D__sparc__"
15130 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15132 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15133 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15134 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
15135 $as_echo_n "(cached) " >&6
15137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15138 /* end confdefs.h. */
15139 #ifndef __powerpc64__
15143 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15144 $EGREP "yes" >/dev
/null
2>&1; then :
15145 ac_cv_cpp_def___powerpc64__
=yes
15147 ac_cv_cpp_def___powerpc64__
=no
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15153 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15154 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15155 CFLAGS
="$CFLAGS -D__powerpc64__"
15156 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
15158 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15159 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15160 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
15161 $as_echo_n "(cached) " >&6
15163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15165 #ifndef __powerpc__
15169 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15170 $EGREP "yes" >/dev
/null
2>&1; then :
15171 ac_cv_cpp_def___powerpc__
=yes
15173 ac_cv_cpp_def___powerpc__
=no
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15179 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15180 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15181 CFLAGS
="$CFLAGS -D__powerpc__"
15182 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
15184 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15185 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15186 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
15187 $as_echo_n "(cached) " >&6
15189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15190 /* end confdefs.h. */
15191 #ifndef __aarch64__
15195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15196 $EGREP "yes" >/dev
/null
2>&1; then :
15197 ac_cv_cpp_def___aarch64__
=yes
15199 ac_cv_cpp_def___aarch64__
=no
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15205 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15206 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15207 CFLAGS
="$CFLAGS -D__aarch64__"
15208 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
15210 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15211 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15212 if ${ac_cv_cpp_def___arm__+:} false
; then :
15213 $as_echo_n "(cached) " >&6
15215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15216 /* end confdefs.h. */
15221 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15222 $EGREP "yes" >/dev
/null
2>&1; then :
15223 ac_cv_cpp_def___arm__
=yes
15225 ac_cv_cpp_def___arm__
=no
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15231 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15232 if test $ac_cv_cpp_def___arm__ = yes; then :
15233 CFLAGS
="$CFLAGS -D__arm__"
15234 LINTFLAGS
="$LINTFLAGS -D__arm__"
15238 case $host_vendor in
15239 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
15240 $as_echo_n "checking whether we need to define __sun__... " >&6; }
15241 if ${ac_cv_cpp_def___sun__+:} false
; then :
15242 $as_echo_n "(cached) " >&6
15244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15245 /* end confdefs.h. */
15250 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15251 $EGREP "yes" >/dev
/null
2>&1; then :
15252 ac_cv_cpp_def___sun__
=yes
15254 ac_cv_cpp_def___sun__
=no
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
15260 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
15261 if test $ac_cv_cpp_def___sun__ = yes; then :
15262 CFLAGS
="$CFLAGS -D__sun__"
15263 LINTFLAGS
="$LINTFLAGS -D__sun__"
15271 ac_config_commands
="$ac_config_commands include/stamp-h"
15274 ALL_MAKEFILE_DEPENDS
="
15275 # Rules automatically generated by configure
15280 Makefile: Makefile.in Make.vars.in Make.rules config.status
15281 @./config.status Make.tmp Makefile"
15284 ALL_TEST_RESOURCES
=""
15287 wine_fn_append_file
()
15289 as_fn_append
$1 " \\$as_nl $2"
15292 wine_fn_append_rule
()
15294 as_fn_append
$1 "$as_nl$2"
15297 wine_fn_has_flag
()
15299 expr ",$2," : ".*,$1,.*" >/dev
/null
15302 wine_fn_all_dir_rules
()
15306 ac_makedep
="\$(MAKEDEP)"
15307 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
15308 if test $ac_dir != tools
15310 ac_alldeps
="$2 $ac_makedep"
15312 ac_alldeps
="$2 include/config.h"
15315 *.
in) ac_input
=$ac_input:$2 ;;
15316 *) ac_makedep
="$2 $ac_makedep" ;;
15319 wine_fn_append_file ALL_DIRS
$ac_dir
15320 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15321 "__clean__: $ac_dir/__clean__
15322 .PHONY: $ac_dir/__clean__
15323 $ac_dir/__clean__: $ac_dir/Makefile
15324 @cd $ac_dir && \$(MAKE) clean
15325 \$(RM) $ac_dir/Makefile
15326 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
15327 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
15328 depend: $ac_dir/__depend__
15329 .PHONY: $ac_dir/__depend__
15330 $ac_dir/__depend__: $ac_makedep dummy
15331 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
15334 wine_fn_pot_rules
()
15339 test "x$with_gettextpo" = xyes ||
return
15341 if wine_fn_has_flag mc
$ac_flags
15343 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
15344 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15345 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
15346 @cd $ac_dir && \$(MAKE) msg.pot
15347 $ac_dir/msg.pot: tools/wmc include"
15349 if wine_fn_has_flag po
$ac_flags
15351 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
15352 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15353 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
15354 @cd $ac_dir && \$(MAKE) rsrc.pot
15355 $ac_dir/rsrc.pot: tools/wrc include"
15359 wine_fn_config_makefile
()
15365 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15369 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
15370 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15373 $ac_dir: $ac_dir/Makefile dummy
15374 @cd $ac_dir && \$(MAKE)"
15376 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
15378 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15379 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15380 $ac_dir/__install__:: $ac_dir
15381 @cd $ac_dir && \$(MAKE) install
15382 $ac_dir/__uninstall__:: $ac_dir/Makefile
15383 @cd $ac_dir && \$(MAKE) uninstall
15384 install:: $ac_dir/__install__
15385 __uninstall__: $ac_dir/__uninstall__"
15387 if wine_fn_has_flag install-lib
$ac_flags
15389 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15390 ".PHONY: $ac_dir/__install-lib__
15391 $ac_dir/__install-lib__:: $ac_dir
15392 @cd $ac_dir && \$(MAKE) install-lib
15393 install-lib:: $ac_dir/__install-lib__"
15396 if wine_fn_has_flag install-dev
$ac_flags
15398 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15399 ".PHONY: $ac_dir/__install-dev
15400 $ac_dir/__install-dev__:: $ac_dir
15401 @cd $ac_dir && \$(MAKE) install-dev
15402 install-dev:: $ac_dir/__install-dev__"
15406 wine_fn_config_lib
()
15410 ac_dir
=dlls
/$ac_name
15411 wine_fn_config_makefile
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
15413 if wine_fn_has_flag install-dev
$ac_flags
15416 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15417 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15418 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15419 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15420 $ac_dir/__uninstall__::
15421 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15422 install install-dev:: $ac_dir/__install__
15423 __uninstall__: $ac_dir/__uninstall__"
15426 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: $ac_dir"
15427 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: tools/widl tools/winebuild tools/winegcc include"
15430 wine_fn_config_dll
()
15433 ac_dir
=dlls
/$ac_name
15436 ac_implib
=${4:-$ac_name}
15437 ac_file
=$ac_dir/lib
$ac_implib
15439 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
15443 *16) ac_implibflags
=" -m16" ;;
15445 *) ac_dll
=$ac_dll.dll
;;
15448 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
15450 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15451 test "$ac_enable" != enable_win16 ||
return 0
15452 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
15454 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15455 "$ac_dir: __builddeps__
15456 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15457 @cd $ac_dir && \$(MAKE) \$@"
15459 if wine_fn_has_flag install-lib
$ac_flags
15462 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15463 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15464 install install-lib:: $ac_dir/__install-lib__
15465 __uninstall__: $ac_dir/__uninstall__"
15466 if test -n "$DLLEXT"
15468 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15469 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15470 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
15471 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15472 $ac_dir/__uninstall__::
15473 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15475 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15476 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15477 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15478 $ac_dir/__uninstall__::
15479 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15483 wine_fn_pot_rules
$ac_dir $ac_flags
15486 if wine_fn_has_flag staticimplib
$ac_flags
15488 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15489 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15490 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15491 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15492 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15493 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15494 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15495 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15496 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15497 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15498 $ac_dir/__uninstall__::
15499 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15500 install install-dev:: $ac_dir/__install-dev__
15501 __uninstall__: $ac_dir/__uninstall__"
15503 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15505 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15506 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15507 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15508 $ac_dir/__uninstall__::
15509 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15512 if test "x$CROSSTEST_DISABLE" = x
15514 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15515 "__builddeps__: $ac_file.cross.a
15516 $ac_file.cross.a: $ac_dir/Makefile dummy
15517 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15520 elif wine_fn_has_flag implib
$ac_flags
15522 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15523 "__builddeps__: $ac_file.$IMPLIBEXT
15524 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15525 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15526 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15527 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15528 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15529 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15530 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15531 $ac_dir/__uninstall__::
15532 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15533 install install-dev:: $ac_dir/__install-dev__
15534 __uninstall__: $ac_dir/__uninstall__"
15535 if test "x$CROSSTEST_DISABLE" = x
15537 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15538 "__builddeps__: $ac_file.cross.a
15539 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15540 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15543 if test "$ac_name" != "$ac_implib"
15545 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15546 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15547 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15548 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15550 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15551 if test "x$CROSSTEST_DISABLE" = x
15553 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15554 "__builddeps__: dlls/lib$ac_implib.cross.a
15555 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15556 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15562 wine_fn_config_program
()
15565 ac_dir
=programs
/$ac_name
15568 ac_program
=$ac_name
15572 *) ac_program
=$ac_program.exe
;;
15575 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
15577 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15580 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15581 "$ac_dir: __builddeps__"
15583 wine_fn_pot_rules
$ac_dir $ac_flags
15585 wine_fn_has_flag
install $ac_flags ||
return
15586 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15587 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15588 install install-lib:: $ac_dir/__install__
15589 __uninstall__: $ac_dir/__uninstall__"
15591 if test -n "$DLLEXT"
15593 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15594 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15595 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15596 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15597 $ac_dir/__uninstall__::
15598 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15600 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
15602 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15603 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15604 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15605 $ac_dir/__uninstall__::
15606 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15609 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15610 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15611 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15612 $ac_dir/__uninstall__::
15613 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15616 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
15618 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15619 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15620 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15621 $ac_dir/__uninstall__::
15622 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15627 wine_fn_config_test
()
15632 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
15633 wine_fn_all_dir_rules
$ac_dir Maketest.rules
15635 if test "x$enable_tests" = xno
; then :
15638 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15641 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15642 @cd $ac_dir && \$(MAKE)
15643 programs/winetest: $ac_dir
15644 check test: $ac_dir/__test__
15645 .PHONY: $ac_dir/__test__
15646 $ac_dir/__test__: dummy
15647 @cd $ac_dir && \$(MAKE) test
15649 \$(RM) $ac_dir/*.ok"
15651 if test "x$CROSSTEST_DISABLE" = x
15653 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15654 "crosstest: $ac_dir/__crosstest__
15655 .PHONY: $ac_dir/__crosstest__
15656 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15657 @cd $ac_dir && \$(MAKE) crosstest"
15662 wine_fn_config_tool
()
15666 if test "x$enable_tools" = xno
; then :
15670 wine_fn_config_makefile
$ac_dir enable_tools
$ac_flags
15672 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__tooldeps__: $ac_dir"
15673 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: libs/port"
15675 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
15679 wine_fn_config_makerules
()
15683 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15684 "$ac_rules: $ac_rules.in $ac_deps config.status
15685 @./config.status $ac_rules
15690 wine_fn_config_symlink
()
15693 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15695 @./config.status $ac_link
15700 if test "x$CROSSTEST_DISABLE" != x
15702 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15704 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15706 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15707 wine_fn_config_symlink dlls
/shell32
/AUTHORS
15708 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15709 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
15710 if test "x$enable_fonts" != xno
; then
15711 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15712 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
15714 if test "x$enable_fonts" != xno
; then
15715 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15716 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
15718 if test "x$enable_fonts" != xno
; then
15719 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15720 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
15722 if test "x$enable_fonts" != xno
; then
15723 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15724 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
15726 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
15727 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
15728 if test "x$enable_tools" != xno
; then
15729 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15730 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
15732 ac_config_links
="$ac_config_links wine:tools/winewrapper"
15733 wine_fn_config_symlink wine
15734 if test "x$enable_win64" != xno
; then
15735 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
15736 wine_fn_config_symlink wine64
15739 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
15741 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
15743 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
15745 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
15747 ac_config_commands
="$ac_config_commands dlls/user32/resources"
15749 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
15751 ac_config_commands
="$ac_config_commands include/wine"
15754 wine_fn_config_makerules Make.rules
15755 MAKE_RULES
=Make.rules
15756 ac_config_files
="$ac_config_files Make.rules"
15758 wine_fn_config_makerules Maketest.rules Make.rules
15759 MAKE_TEST_RULES
=Maketest.rules
15760 ac_config_files
="$ac_config_files Maketest.rules"
15762 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
15763 MAKE_DLL_RULES
=dlls
/Makedll.rules
15764 ac_config_files
="$ac_config_files dlls/Makedll.rules"
15766 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
15767 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
15768 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
15770 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
15771 MAKE_PROG_RULES
=programs
/Makeprog.rules
15772 ac_config_files
="$ac_config_files programs/Makeprog.rules"
15775 wine_fn_config_dll acledit enable_acledit
15776 wine_fn_config_dll aclui enable_aclui implib
15777 wine_fn_config_dll activeds enable_activeds implib
15778 wine_fn_config_dll actxprxy enable_actxprxy
15779 wine_fn_config_lib adsiid
15780 wine_fn_config_dll advapi32 enable_advapi32 implib
15781 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
15782 wine_fn_config_dll advpack enable_advpack implib
15783 wine_fn_config_test dlls
/advpack
/tests advpack_test
15784 wine_fn_config_dll amstream enable_amstream
15785 wine_fn_config_test dlls
/amstream
/tests amstream_test
15786 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15787 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15788 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15789 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15790 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15791 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15792 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15793 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15794 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15795 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15796 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15797 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15798 wine_fn_config_dll apphelp enable_apphelp
15799 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
15800 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15801 wine_fn_config_dll atl enable_atl implib
15802 wine_fn_config_test dlls
/atl
/tests atl_test
15803 wine_fn_config_dll atl100 enable_atl100 implib
15804 wine_fn_config_test dlls
/atl100
/tests atl100_test
15805 wine_fn_config_dll atl80 enable_atl80 implib
15806 wine_fn_config_test dlls
/atl80
/tests atl80_test
15807 wine_fn_config_dll authz enable_authz
15808 wine_fn_config_dll avicap32 enable_avicap32 implib
15809 wine_fn_config_dll avifil32 enable_avifil32 implib
,po
15810 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
15811 wine_fn_config_dll avifile.dll16 enable_win16
15812 wine_fn_config_dll avrt enable_avrt implib
15813 wine_fn_config_dll bcrypt enable_bcrypt
15814 wine_fn_config_dll browseui enable_browseui po
15815 wine_fn_config_test dlls
/browseui
/tests browseui_test
15816 wine_fn_config_dll cabinet enable_cabinet implib
15817 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
15818 wine_fn_config_dll capi2032 enable_capi2032 implib
15819 wine_fn_config_dll cards enable_cards implib
15820 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15821 wine_fn_config_dll clusapi enable_clusapi implib
15822 wine_fn_config_dll comcat enable_comcat
15823 wine_fn_config_test dlls
/comcat
/tests comcat_test
15824 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
15825 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
15826 wine_fn_config_dll comdlg32 enable_comdlg32 implib
,po
15827 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
15828 wine_fn_config_dll
comm.drv16 enable_win16
15829 wine_fn_config_dll commdlg.dll16 enable_win16
15830 wine_fn_config_dll compobj.dll16 enable_win16
15831 wine_fn_config_dll compstui enable_compstui implib
15832 wine_fn_config_dll credui enable_credui implib
,po
15833 wine_fn_config_test dlls
/credui
/tests credui_test
15834 wine_fn_config_dll crtdll enable_crtdll implib
15835 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
15836 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
15837 wine_fn_config_dll cryptdlg enable_cryptdlg po
15838 wine_fn_config_dll cryptdll enable_cryptdll implib
15839 wine_fn_config_dll cryptnet enable_cryptnet implib
15840 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
15841 wine_fn_config_dll cryptui enable_cryptui implib
,po
15842 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
15843 wine_fn_config_dll ctapi32 enable_ctapi32
15844 wine_fn_config_dll ctl3d.dll16 enable_win16
15845 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15846 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15847 wine_fn_config_dll d3d10 enable_d3d10 implib
15848 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
15849 wine_fn_config_dll d3d10core enable_d3d10core implib
15850 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
15851 wine_fn_config_dll d3d11 enable_d3d11
15852 wine_fn_config_dll d3d8 enable_d3d8 implib
15853 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
15854 wine_fn_config_dll d3d9 enable_d3d9 implib
15855 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
15856 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15857 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15858 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15859 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15860 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15861 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15862 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15863 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15864 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15865 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15866 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15867 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
15868 wine_fn_config_dll d3dim enable_d3dim implib
15869 wine_fn_config_dll d3drm enable_d3drm implib
15870 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
15871 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15872 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15873 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15874 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15875 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15876 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15877 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15878 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15879 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15880 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15881 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15882 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15883 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15884 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15885 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15886 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15887 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15888 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15889 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15890 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15891 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15892 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15893 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15894 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15895 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
15896 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15897 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15898 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15899 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15900 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15901 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15902 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15903 wine_fn_config_dll d3dxof enable_d3dxof implib
15904 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
15905 wine_fn_config_dll dbgeng enable_dbgeng implib
15906 wine_fn_config_dll dbghelp enable_dbghelp implib
15907 wine_fn_config_dll dciman32 enable_dciman32 implib
15908 wine_fn_config_dll ddeml.dll16 enable_win16
15909 wine_fn_config_dll ddraw enable_ddraw implib
15910 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
15911 wine_fn_config_dll ddrawex enable_ddrawex
15912 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
15913 wine_fn_config_dll devenum enable_devenum po
15914 wine_fn_config_test dlls
/devenum
/tests devenum_test
15915 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15916 wine_fn_config_dll dinput enable_dinput implib
,po
,staticimplib
15917 wine_fn_config_test dlls
/dinput
/tests dinput_test
15918 wine_fn_config_dll dinput8 enable_dinput8 implib
15919 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
15920 wine_fn_config_dll dispdib.dll16 enable_win16
15921 wine_fn_config_dll dispex enable_dispex
15922 wine_fn_config_test dlls
/dispex
/tests dispex_test
15923 wine_fn_config_dll display.drv16 enable_win16
15924 wine_fn_config_dll dmband enable_dmband
15925 wine_fn_config_test dlls
/dmband
/tests dmband_test
15926 wine_fn_config_dll dmcompos enable_dmcompos
15927 wine_fn_config_dll dmime enable_dmime
15928 wine_fn_config_test dlls
/dmime
/tests dmime_test
15929 wine_fn_config_dll dmloader enable_dmloader
15930 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
15931 wine_fn_config_dll dmscript enable_dmscript
15932 wine_fn_config_dll dmstyle enable_dmstyle
15933 wine_fn_config_dll dmsynth enable_dmsynth
15934 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
15935 wine_fn_config_dll dmusic enable_dmusic
15936 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
15937 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15938 wine_fn_config_dll dnsapi enable_dnsapi implib
15939 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
15940 wine_fn_config_dll dplay enable_dplay implib
15941 wine_fn_config_dll dplayx enable_dplayx implib
15942 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
15943 wine_fn_config_dll dpnaddr enable_dpnaddr
15944 wine_fn_config_dll dpnet enable_dpnet implib
15945 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
15946 wine_fn_config_dll dpnhpast enable_dpnhpast
15947 wine_fn_config_dll dpnlobby enable_dpnlobby
15948 wine_fn_config_dll dpwsockx enable_dpwsockx
15949 wine_fn_config_dll drmclien enable_drmclien
15950 wine_fn_config_dll dsound enable_dsound implib
15951 wine_fn_config_test dlls
/dsound
/tests dsound_test
15952 wine_fn_config_dll dssenh enable_dssenh
15953 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
15954 wine_fn_config_dll dswave enable_dswave
15955 wine_fn_config_dll dwmapi enable_dwmapi implib
15956 wine_fn_config_dll dwrite enable_dwrite implib
15957 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
15958 wine_fn_config_dll dxdiagn enable_dxdiagn po
15959 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
15960 wine_fn_config_lib dxerr8
15961 wine_fn_config_lib dxerr9
15962 wine_fn_config_dll dxgi enable_dxgi implib
15963 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
15964 wine_fn_config_lib dxguid
15965 wine_fn_config_dll explorerframe enable_explorerframe
15966 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
15967 wine_fn_config_dll faultrep enable_faultrep implib
15968 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
15969 wine_fn_config_dll fltlib enable_fltlib
15970 wine_fn_config_dll fusion enable_fusion
15971 wine_fn_config_test dlls
/fusion
/tests fusion_test
15972 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15973 wine_fn_config_dll gameux enable_gameux
15974 wine_fn_config_test dlls
/gameux
/tests gameux_test
15975 wine_fn_config_dll gdi.exe16 enable_win16
15976 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
15977 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
15978 wine_fn_config_dll gdiplus enable_gdiplus implib
15979 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
15980 wine_fn_config_dll glu32 enable_glu32 implib
15981 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15982 wine_fn_config_dll gpkcsp enable_gpkcsp
15983 wine_fn_config_dll hal enable_hal
15984 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib
,po htmlhelp
15985 wine_fn_config_dll hid enable_hid implib
15986 wine_fn_config_dll hlink enable_hlink implib
15987 wine_fn_config_test dlls
/hlink
/tests hlink_test
15988 wine_fn_config_dll hnetcfg enable_hnetcfg
15989 wine_fn_config_dll httpapi enable_httpapi
15990 wine_fn_config_dll iccvid enable_iccvid po
15991 wine_fn_config_dll icmp enable_icmp
15992 wine_fn_config_dll ieframe enable_ieframe implib
,po
15993 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
15994 wine_fn_config_dll ifsmgr.vxd enable_win16
15995 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15996 wine_fn_config_dll imagehlp enable_imagehlp implib
15997 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
15998 wine_fn_config_dll imm.dll16 enable_win16
15999 wine_fn_config_dll imm32 enable_imm32 implib
16000 wine_fn_config_test dlls
/imm32
/tests imm32_test
16001 wine_fn_config_dll inetcomm enable_inetcomm implib
16002 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16003 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16004 wine_fn_config_dll inetmib1 enable_inetmib1
16005 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16006 wine_fn_config_dll infosoft enable_infosoft
16007 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16008 wine_fn_config_dll initpki enable_initpki
16009 wine_fn_config_dll inkobj enable_inkobj
16010 wine_fn_config_dll inseng enable_inseng
16011 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16012 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16013 wine_fn_config_dll itircl enable_itircl
16014 wine_fn_config_dll itss enable_itss
16015 wine_fn_config_test dlls
/itss
/tests itss_test
16016 wine_fn_config_dll joy.cpl enable_joy_cpl po
16017 wine_fn_config_dll jscript enable_jscript po
16018 wine_fn_config_test dlls
/jscript
/tests jscript_test
16019 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
16020 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16021 wine_fn_config_dll keyboard.drv16 enable_win16
16022 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16023 wine_fn_config_dll ktmw32 enable_ktmw32
16024 wine_fn_config_dll loadperf enable_loadperf implib
16025 wine_fn_config_dll localspl enable_localspl po
16026 wine_fn_config_test dlls
/localspl
/tests localspl_test
16027 wine_fn_config_dll localui enable_localui po
16028 wine_fn_config_test dlls
/localui
/tests localui_test
16029 wine_fn_config_dll lz32 enable_lz32 implib
16030 wine_fn_config_test dlls
/lz32
/tests lz32_test
16031 wine_fn_config_dll lzexpand.dll16 enable_win16
16032 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16033 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16034 wine_fn_config_dll mapistub enable_mapistub
16035 wine_fn_config_dll mciavi32 enable_mciavi32
16036 wine_fn_config_dll mcicda enable_mcicda
16037 wine_fn_config_dll mciqtz32 enable_mciqtz32
16038 wine_fn_config_dll mciseq enable_mciseq
16039 wine_fn_config_dll mciwave enable_mciwave
16040 wine_fn_config_dll mgmtapi enable_mgmtapi
16041 wine_fn_config_dll midimap enable_midimap
16042 wine_fn_config_dll mlang enable_mlang implib
16043 wine_fn_config_test dlls
/mlang
/tests mlang_test
16044 wine_fn_config_dll mmcndmgr enable_mmcndmgr
16045 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16046 wine_fn_config_dll mmdevapi enable_mmdevapi
16047 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16048 wine_fn_config_dll mmdevldr.vxd enable_win16
16049 wine_fn_config_dll mmsystem.dll16 enable_win16
16050 wine_fn_config_dll monodebg.vxd enable_win16
16051 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16052 wine_fn_config_dll mouse.drv16 enable_win16
16053 wine_fn_config_dll mpr enable_mpr implib
,po
16054 wine_fn_config_test dlls
/mpr
/tests mpr_test
16055 wine_fn_config_dll mprapi enable_mprapi implib
16056 wine_fn_config_dll msacm.dll16 enable_win16
16057 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16058 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16059 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16060 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16061 wine_fn_config_dll mscat32 enable_mscat32
16062 wine_fn_config_dll mscms enable_mscms implib
16063 wine_fn_config_test dlls
/mscms
/tests mscms_test
16064 wine_fn_config_dll mscoree enable_mscoree
16065 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16066 wine_fn_config_dll msctf enable_msctf
16067 wine_fn_config_test dlls
/msctf
/tests msctf_test
16068 wine_fn_config_dll msdaps enable_msdaps
16069 wine_fn_config_dll msdmo enable_msdmo implib
16070 wine_fn_config_dll msftedit enable_msftedit
16071 wine_fn_config_dll msg711.acm enable_msg711_acm
16072 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16073 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
16074 wine_fn_config_dll mshtml enable_mshtml implib
,po
16075 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
16076 wine_fn_config_dll msi enable_msi implib
,po
16077 wine_fn_config_test dlls
/msi
/tests msi_test
16078 wine_fn_config_dll msident enable_msident
16079 wine_fn_config_dll msimg32 enable_msimg32 implib
16080 wine_fn_config_dll msimsg enable_msimsg
16081 wine_fn_config_dll msimtf enable_msimtf
16082 wine_fn_config_dll msisip enable_msisip
16083 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16084 wine_fn_config_dll msls31 enable_msls31
16085 wine_fn_config_dll msnet32 enable_msnet32
16086 wine_fn_config_dll mspatcha enable_mspatcha
16087 wine_fn_config_dll msrle32 enable_msrle32 po
16088 wine_fn_config_dll mssign32 enable_mssign32
16089 wine_fn_config_dll mssip32 enable_mssip32
16090 wine_fn_config_dll mstask enable_mstask
16091 wine_fn_config_test dlls
/mstask
/tests mstask_test
16092 wine_fn_config_dll msvcirt enable_msvcirt
16093 wine_fn_config_dll msvcm80 enable_msvcm80
16094 wine_fn_config_dll msvcm90 enable_msvcm90
16095 wine_fn_config_dll msvcp100 enable_msvcp100
16096 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16097 wine_fn_config_dll msvcp110 enable_msvcp110
16098 wine_fn_config_dll msvcp60 enable_msvcp60
16099 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16100 wine_fn_config_dll msvcp70 enable_msvcp70
16101 wine_fn_config_dll msvcp71 enable_msvcp71
16102 wine_fn_config_dll msvcp80 enable_msvcp80
16103 wine_fn_config_dll msvcp90 enable_msvcp90
16104 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16105 wine_fn_config_dll msvcr100 enable_msvcr100
16106 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16107 wine_fn_config_dll msvcr110 enable_msvcr110
16108 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16109 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16110 wine_fn_config_dll msvcr80 enable_msvcr80
16111 wine_fn_config_dll msvcr90 enable_msvcr90
16112 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16113 wine_fn_config_dll msvcrt enable_msvcrt implib
16114 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16115 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16116 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16117 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16118 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
16119 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
16120 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
16121 wine_fn_config_dll msvidc32 enable_msvidc32 po
16122 wine_fn_config_dll msvideo.dll16 enable_win16
16123 wine_fn_config_dll mswsock enable_mswsock implib
16124 wine_fn_config_dll msxml enable_msxml
16125 wine_fn_config_dll msxml2 enable_msxml2
16126 wine_fn_config_dll msxml3 enable_msxml3
16127 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
16128 wine_fn_config_dll msxml4 enable_msxml4
16129 wine_fn_config_dll msxml6 enable_msxml6
16130 wine_fn_config_dll nddeapi enable_nddeapi implib
16131 wine_fn_config_dll netapi32 enable_netapi32 implib
16132 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
16133 wine_fn_config_dll newdev enable_newdev implib
16134 wine_fn_config_dll normaliz enable_normaliz implib
16135 wine_fn_config_dll npmshtml enable_npmshtml
16136 wine_fn_config_dll ntdll enable_ntdll implib
16137 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
16138 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16139 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
16140 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16141 wine_fn_config_dll ntprint enable_ntprint
16142 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
16143 wine_fn_config_dll objsel enable_objsel
16144 wine_fn_config_dll odbc32 enable_odbc32 implib
16145 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16146 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
16147 wine_fn_config_dll odbccu32 enable_odbccu32
16148 wine_fn_config_dll ole2.dll16 enable_win16
16149 wine_fn_config_dll ole2conv.dll16 enable_win16
16150 wine_fn_config_dll ole2disp.dll16 enable_win16
16151 wine_fn_config_dll ole2nls.dll16 enable_win16
16152 wine_fn_config_dll ole2prox.dll16 enable_win16
16153 wine_fn_config_dll ole2thk.dll16 enable_win16
16154 wine_fn_config_dll ole32 enable_ole32 implib
16155 wine_fn_config_test dlls
/ole32
/tests ole32_test
16156 wine_fn_config_dll oleacc enable_oleacc implib
,po
16157 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
16158 wine_fn_config_dll oleaut32 enable_oleaut32 implib
,po
16159 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
16160 wine_fn_config_dll olecli.dll16 enable_win16
16161 wine_fn_config_dll olecli32 enable_olecli32 implib
16162 wine_fn_config_dll oledb32 enable_oledb32
16163 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
16164 wine_fn_config_dll oledlg enable_oledlg implib
,po
16165 wine_fn_config_dll olepro32 enable_olepro32 implib
16166 wine_fn_config_dll olesvr.dll16 enable_win16
16167 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16168 wine_fn_config_dll olethk32 enable_olethk32
16169 wine_fn_config_dll openal32 enable_openal32
16170 wine_fn_config_dll opencl enable_opencl
16171 wine_fn_config_dll opengl32 enable_opengl32 implib
16172 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
16173 wine_fn_config_dll pdh enable_pdh implib
16174 wine_fn_config_test dlls
/pdh
/tests pdh_test
16175 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16176 wine_fn_config_dll pidgen enable_pidgen
16177 wine_fn_config_dll powrprof enable_powrprof implib
16178 wine_fn_config_dll printui enable_printui
16179 wine_fn_config_dll propsys enable_propsys implib
16180 wine_fn_config_test dlls
/propsys
/tests propsys_test
16181 wine_fn_config_dll psapi enable_psapi implib
16182 wine_fn_config_test dlls
/psapi
/tests psapi_test
16183 wine_fn_config_dll pstorec enable_pstorec
16184 wine_fn_config_dll qcap enable_qcap
16185 wine_fn_config_dll qedit enable_qedit
16186 wine_fn_config_test dlls
/qedit
/tests qedit_test
16187 wine_fn_config_dll qmgr enable_qmgr
16188 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
16189 wine_fn_config_dll qmgrprxy enable_qmgrprxy
16190 wine_fn_config_dll quartz enable_quartz implib
16191 wine_fn_config_test dlls
/quartz
/tests quartz_test
16192 wine_fn_config_dll query enable_query
16193 wine_fn_config_dll rasapi16.dll16 enable_win16
16194 wine_fn_config_dll rasapi32 enable_rasapi32 implib
16195 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
16196 wine_fn_config_dll rasdlg enable_rasdlg implib
16197 wine_fn_config_dll regapi enable_regapi
16198 wine_fn_config_dll resutils enable_resutils implib
16199 wine_fn_config_dll riched20 enable_riched20 implib
16200 wine_fn_config_test dlls
/riched20
/tests riched20_test
16201 wine_fn_config_dll riched32 enable_riched32
16202 wine_fn_config_test dlls
/riched32
/tests riched32_test
16203 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
16204 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
16205 wine_fn_config_dll rsabase enable_rsabase
16206 wine_fn_config_dll rsaenh enable_rsaenh implib
16207 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
16208 wine_fn_config_dll rstrtmgr enable_rstrtmgr
16209 wine_fn_config_dll rtutils enable_rtutils implib
16210 wine_fn_config_dll samlib enable_samlib
16211 wine_fn_config_dll sane.ds enable_sane_ds po
16212 wine_fn_config_dll scarddlg enable_scarddlg
16213 wine_fn_config_dll sccbase enable_sccbase
16214 wine_fn_config_dll schannel enable_schannel
16215 wine_fn_config_test dlls
/schannel
/tests schannel_test
16216 wine_fn_config_dll scrrun enable_scrrun
16217 wine_fn_config_test dlls
/scrrun
/tests scrrun_test
16218 wine_fn_config_dll scsiport.sys enable_scsiport_sys
16219 wine_fn_config_dll secur32 enable_secur32 implib
16220 wine_fn_config_test dlls
/secur32
/tests secur32_test
16221 wine_fn_config_dll security enable_security
16222 wine_fn_config_dll sensapi enable_sensapi implib
16223 wine_fn_config_dll serialui enable_serialui implib
,po
16224 wine_fn_config_test dlls
/serialui
/tests serialui_test
16225 wine_fn_config_dll setupapi enable_setupapi implib
,po
16226 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
16227 wine_fn_config_dll setupx.dll16 enable_win16
16228 wine_fn_config_dll sfc enable_sfc implib
16229 wine_fn_config_dll sfc_os enable_sfc_os implib
16230 wine_fn_config_dll shdoclc enable_shdoclc po
16231 wine_fn_config_dll shdocvw enable_shdocvw implib
16232 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
16233 wine_fn_config_dll shell.dll16 enable_win16
16234 wine_fn_config_dll shell32 enable_shell32 implib
,po
16235 wine_fn_config_test dlls
/shell32
/tests shell32_test
16236 wine_fn_config_dll shfolder enable_shfolder implib
16237 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
16238 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
16239 wine_fn_config_dll slbcsp enable_slbcsp
16240 wine_fn_config_dll slc enable_slc implib
16241 wine_fn_config_dll snmpapi enable_snmpapi implib
16242 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
16243 wine_fn_config_dll softpub enable_softpub
16244 wine_fn_config_dll sound.drv16 enable_win16
16245 wine_fn_config_dll spoolss enable_spoolss implib
16246 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
16247 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
16248 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
16249 wine_fn_config_dll sti enable_sti implib
16250 wine_fn_config_test dlls
/sti
/tests sti_test
16251 wine_fn_config_dll storage.dll16 enable_win16
16252 wine_fn_config_dll stress.dll16 enable_win16
16253 wine_fn_config_lib strmbase
16254 wine_fn_config_lib strmiids
16255 wine_fn_config_dll svrapi enable_svrapi
16256 wine_fn_config_dll sxs enable_sxs implib
16257 wine_fn_config_test dlls
/sxs
/tests sxs_test
16258 wine_fn_config_dll system.drv16 enable_win16
16259 wine_fn_config_dll t2embed enable_t2embed
16260 wine_fn_config_dll tapi32 enable_tapi32 implib
16261 wine_fn_config_dll toolhelp.dll16 enable_win16
16262 wine_fn_config_dll traffic enable_traffic
16263 wine_fn_config_dll twain.dll16 enable_win16
16264 wine_fn_config_dll twain_32 enable_twain_32
16265 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
16266 wine_fn_config_dll typelib.dll16 enable_win16
16267 wine_fn_config_dll unicows enable_unicows implib
16268 wine_fn_config_dll updspapi enable_updspapi
16269 wine_fn_config_dll url enable_url implib
16270 wine_fn_config_dll urlmon enable_urlmon implib
,po
16271 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
16272 wine_fn_config_dll usbd.sys enable_usbd_sys implib
16273 wine_fn_config_dll user.exe16 enable_win16
16274 wine_fn_config_dll user32 enable_user32 implib
,po
16275 wine_fn_config_test dlls
/user32
/tests user32_test
16276 wine_fn_config_dll userenv enable_userenv implib
16277 wine_fn_config_test dlls
/userenv
/tests userenv_test
16278 wine_fn_config_dll usp10 enable_usp10 implib
16279 wine_fn_config_test dlls
/usp10
/tests usp10_test
16280 wine_fn_config_lib uuid
16281 wine_fn_config_dll uxtheme enable_uxtheme implib
16282 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
16283 wine_fn_config_dll vbscript enable_vbscript
16284 wine_fn_config_test dlls
/vbscript
/tests vbscript_test
16285 wine_fn_config_dll vcomp enable_vcomp
16286 wine_fn_config_dll vcomp100 enable_vcomp100
16287 wine_fn_config_dll vcomp90 enable_vcomp90
16288 wine_fn_config_dll vdhcp.vxd enable_win16
16289 wine_fn_config_dll vdmdbg enable_vdmdbg implib
16290 wine_fn_config_dll ver.dll16 enable_win16
16291 wine_fn_config_dll version enable_version implib
16292 wine_fn_config_test dlls
/version
/tests version_test
16293 wine_fn_config_dll vmm.vxd enable_win16
16294 wine_fn_config_dll vnbt.vxd enable_win16
16295 wine_fn_config_dll vnetbios.vxd enable_win16
16296 wine_fn_config_dll vtdapi.vxd enable_win16
16297 wine_fn_config_dll vwin32.vxd enable_win16
16298 wine_fn_config_dll w32skrnl enable_win16
16299 wine_fn_config_dll w32sys.dll16 enable_win16
16300 wine_fn_config_dll wbemprox enable_wbemprox
16301 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
16302 wine_fn_config_dll webservices enable_webservices implib
16303 wine_fn_config_dll wer enable_wer implib
16304 wine_fn_config_test dlls
/wer
/tests wer_test
16305 wine_fn_config_dll wevtapi enable_wevtapi
16306 wine_fn_config_dll wiaservc enable_wiaservc
16307 wine_fn_config_dll win32s16.dll16 enable_win16
16308 wine_fn_config_dll win87em.dll16 enable_win16
16309 wine_fn_config_dll winaspi.dll16 enable_win16
16310 wine_fn_config_dll windebug.dll16 enable_win16
16311 wine_fn_config_dll windowscodecs enable_windowscodecs implib
16312 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
16313 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
16314 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
16315 wine_fn_config_dll winealsa.drv enable_winealsa_drv
16316 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
16317 wine_fn_config_lib winecrt0
16318 wine_fn_config_dll wined3d enable_wined3d implib
16319 wine_fn_config_dll winegstreamer enable_winegstreamer
16320 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
16321 wine_fn_config_dll winemac.drv enable_winemac_drv
16322 wine_fn_config_dll winemapi enable_winemapi
16323 wine_fn_config_dll winemp3.acm enable_winemp3_acm
16324 wine_fn_config_dll wineoss.drv enable_wineoss_drv
16325 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
16326 wine_fn_config_dll wineps16.drv16 enable_win16
16327 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
16328 wine_fn_config_dll winex11.drv enable_winex11_drv
16329 wine_fn_config_dll wing.dll16 enable_win16
16330 wine_fn_config_dll wing32 enable_wing32
16331 wine_fn_config_dll winhttp enable_winhttp implib
16332 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
16333 wine_fn_config_dll wininet enable_wininet implib
,po
16334 wine_fn_config_test dlls
/wininet
/tests wininet_test
16335 wine_fn_config_dll winmm enable_winmm implib
,po
16336 wine_fn_config_test dlls
/winmm
/tests winmm_test
16337 wine_fn_config_dll winnls.dll16 enable_win16
16338 wine_fn_config_dll winnls32 enable_winnls32 implib
16339 wine_fn_config_dll winscard enable_winscard implib
16340 wine_fn_config_dll winsock.dll16 enable_win16
16341 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
16342 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
16343 wine_fn_config_dll winsta enable_winsta
16344 wine_fn_config_dll wintab.dll16 enable_win16
16345 wine_fn_config_dll wintab32 enable_wintab32 implib
16346 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
16347 wine_fn_config_dll wintrust enable_wintrust implib
16348 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
16349 wine_fn_config_dll wlanapi enable_wlanapi
16350 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
16351 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
16352 wine_fn_config_dll wmi enable_wmi
16353 wine_fn_config_dll wmiutils enable_wmiutils
16354 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
16355 wine_fn_config_dll wmvcore enable_wmvcore
16356 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
16357 wine_fn_config_dll wow32 enable_win16 implib
16358 wine_fn_config_dll ws2_32 enable_ws2_32 implib
16359 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
16360 wine_fn_config_dll wshom.ocx enable_wshom_ocx
16361 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test
16362 wine_fn_config_dll wsnmp32 enable_wsnmp32
16363 wine_fn_config_dll wsock32 enable_wsock32 implib
16364 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
16365 wine_fn_config_dll wuapi enable_wuapi
16366 wine_fn_config_dll wuaueng enable_wuaueng
16367 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
16368 wine_fn_config_dll xinput1_1 enable_xinput1_1
16369 wine_fn_config_dll xinput1_2 enable_xinput1_2
16370 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
16371 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
16372 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
16373 wine_fn_config_dll xmllite enable_xmllite
16374 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
16375 wine_fn_config_dll xolehlp enable_xolehlp
16376 wine_fn_config_dll xpsprint enable_xpsprint
16377 wine_fn_config_dll xpssvcs enable_xpssvcs
16378 wine_fn_config_makefile documentation enable_documentation
16379 wine_fn_config_makefile fonts enable_fonts install-lib
16380 wine_fn_config_makefile include enable_include install-dev
16381 wine_fn_config_makefile libs
/port enable_libs_port
16382 wine_fn_config_makefile libs
/wine enable_libs_wine
16383 wine_fn_config_makefile libs
/wpp enable_libs_wpp
16384 wine_fn_config_makefile loader enable_loader install-lib
,manpage
16385 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
16386 wine_fn_config_program attrib enable_attrib
install,po
16387 wine_fn_config_program cabarc enable_cabarc
install
16388 wine_fn_config_program cacls enable_cacls
install
16389 wine_fn_config_program
clock enable_clock
install,po
16390 wine_fn_config_program cmd enable_cmd
install,po
16391 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
16392 wine_fn_config_program conhost enable_conhost
install
16393 wine_fn_config_program control enable_control
install
16394 wine_fn_config_program cscript enable_cscript
install
16395 wine_fn_config_program dxdiag enable_dxdiag
install,po
16396 wine_fn_config_program eject enable_eject
install
16397 wine_fn_config_program
expand enable_expand
install
16398 wine_fn_config_program explorer enable_explorer
install,po
16399 wine_fn_config_program extrac32 enable_extrac32
install
16400 wine_fn_config_program findstr enable_findstr
install
16401 wine_fn_config_program hh enable_hh
install
16402 wine_fn_config_program hostname enable_hostname
install,po
16403 wine_fn_config_program icinfo enable_icinfo
install
16404 wine_fn_config_program iexplore enable_iexplore
install
16405 wine_fn_config_program ipconfig enable_ipconfig
install,po
16406 wine_fn_config_program lodctr enable_lodctr
install
16407 wine_fn_config_program mofcomp enable_mofcomp
install
16408 wine_fn_config_program mshta enable_mshta
install
16409 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
16410 wine_fn_config_program net enable_net
install,po
16411 wine_fn_config_program netsh enable_netsh
install
16412 wine_fn_config_program netstat enable_netstat
install,po
16413 wine_fn_config_program ngen enable_ngen
install
16414 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
16415 wine_fn_config_program oleview enable_oleview
install,po
16416 wine_fn_config_program
ping enable_ping
install
16417 wine_fn_config_program plugplay enable_plugplay
install
16418 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
16419 wine_fn_config_program progman enable_progman
install,po
16420 wine_fn_config_program reg enable_reg
install,po
16421 wine_fn_config_program regasm enable_regasm
install
16422 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
16423 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
16424 wine_fn_config_program regsvcs enable_regsvcs
install
16425 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
16426 wine_fn_config_program rpcss enable_rpcss
install
16427 wine_fn_config_program rundll.exe16 enable_win16
install
16428 wine_fn_config_program rundll32 enable_rundll32
install
16429 wine_fn_config_program sc enable_sc
install
16430 wine_fn_config_program schtasks enable_schtasks
install
16431 wine_fn_config_program secedit enable_secedit
install
16432 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
16433 wine_fn_config_program services enable_services
install
16434 wine_fn_config_test programs
/services
/tests services.exe_test
16435 wine_fn_config_program spoolsv enable_spoolsv
install
16436 wine_fn_config_program start enable_start
install,po
16437 wine_fn_config_program svchost enable_svchost
install
16438 wine_fn_config_program taskkill enable_taskkill
install,po
16439 wine_fn_config_program taskmgr enable_taskmgr
install,po
16440 wine_fn_config_program termsv enable_termsv
install
16441 wine_fn_config_program uninstaller enable_uninstaller
install,po
16442 wine_fn_config_program unlodctr enable_unlodctr
install
16443 wine_fn_config_program view enable_view
install,po
16444 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
16445 wine_fn_config_program winebrowser enable_winebrowser
install
16446 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
16447 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
16448 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
16449 wine_fn_config_program winedevice enable_winedevice
install
16450 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
16451 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
16452 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
16453 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
16454 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
16455 wine_fn_config_program winetest enable_winetest
16456 wine_fn_config_program winevdm enable_win16
install
16457 wine_fn_config_program winhelp.exe16 enable_win16
install
16458 wine_fn_config_program winhlp32 enable_winhlp32
install,po
16459 wine_fn_config_program winoldap.mod16 enable_win16
install
16460 wine_fn_config_program winver enable_winver
install
16461 wine_fn_config_program wmic enable_wmic
install,po
16462 wine_fn_config_program wordpad enable_wordpad
install,po
16463 wine_fn_config_program
write enable_write
install,po
16464 wine_fn_config_program wscript enable_wscript
install
16465 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
16466 wine_fn_config_program wusa enable_wusa
install
16467 wine_fn_config_program xcopy enable_xcopy
install,po
16468 wine_fn_config_makefile server enable_server install-lib
,manpage
16469 wine_fn_config_tool tools install-dev
,install-lib
,manpage
16470 wine_fn_config_tool tools
/widl install-dev
,manpage
16471 wine_fn_config_tool tools
/winebuild install-dev
,manpage
16472 wine_fn_config_tool tools
/winedump install-dev
,manpage
16473 wine_fn_config_tool tools
/winegcc install-dev
,manpage
16474 wine_fn_config_tool tools
/wmc install-dev
,manpage
16475 wine_fn_config_tool tools
/wrc install-dev
,manpage
16525 ac_config_commands
="$ac_config_commands Makefile"
16528 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16532 if test "x$enable_maintainer_mode" = xyes
16534 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(srcdir)/configure: configure.ac aclocal.m4
16535 cd \$(srcdir) && autoconf --warnings=all
16536 \$(srcdir)/include/config.h.in: include/stamp-h.in
16537 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16538 cd \$(srcdir) && autoheader --warnings=all
16539 @echo timestamp > \$@"
16542 if test "x$with_gettextpo" = xyes
16544 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16545 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"ALL_POT_FILES =$ALL_POT_FILES
16546 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16547 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16548 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16549 msgcat -o \$@ \$(ALL_POT_FILES)"
16552 if test "$MSGFMT" != false
16554 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
16556 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: \$(ALL_MO_FILES)"
16561 if test "x$enable_tools" != xno
16563 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(MAKEDEP): tools/Makefile
16565 \$(RM) tools/makedep\$(EXEEXT)"
16568 if test -n "$with_wine64"
16570 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16571 fonts server tools:
16572 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16573 $with_wine64/loader/wine:
16574 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16575 $with_wine64/loader/wine-preloader:
16576 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16578 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16581 cat >confcache
<<\_ACEOF
16582 # This file is a shell script that caches the results of configure
16583 # tests run on this system so they can be shared between configure
16584 # scripts and configure runs, see configure's option --config-cache.
16585 # It is not useful on other systems. If it contains results you don't
16586 # want to keep, you may remove or edit it.
16588 # config.status only pays attention to the cache file if you give it
16589 # the --recheck option to rerun configure.
16591 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16592 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16593 # following values.
16597 # The following way of writing the cache mishandles newlines in values,
16598 # but we know of no workaround that is simple, portable, and efficient.
16599 # So, we kill variables containing newlines.
16600 # Ultrix sh set writes to stderr and can't be redirected directly,
16601 # and sets the high bit in the cache file unless we assign to the vars.
16603 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16604 eval ac_val
=\$
$ac_var
16608 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16609 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16612 _ | IFS | as_nl
) ;; #(
16613 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16614 *) { eval $ac_var=; unset $ac_var;} ;;
16620 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16621 *${as_nl}ac_space
=\
*)
16622 # `set' does not quote correctly, so add quotes: double-quote
16623 # substitution turns \\\\ into \\, and sed turns \\ into \.
16626 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16629 # `set' quotes correctly as required by POSIX, so do not add quotes.
16630 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16639 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16641 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16643 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16644 if test -w "$cache_file"; then
16645 if test "x$cache_file" != "x/dev/null"; then
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16647 $as_echo "$as_me: updating cache $cache_file" >&6;}
16648 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16649 cat confcache
>"$cache_file"
16651 case $cache_file in #(
16653 mv -f confcache
"$cache_file"$$
&&
16654 mv -f "$cache_file"$$
"$cache_file" ;; #(
16656 mv -f confcache
"$cache_file" ;;
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16662 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16667 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16668 # Let make expand exec_prefix.
16669 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16671 DEFS
=-DHAVE_CONFIG_H
16676 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16677 # 1. Remove the extension, and $U if already installed.
16678 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16679 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16680 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16681 # will be set to the directory where LIBOBJS objects are built.
16682 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16683 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16685 LIBOBJS
=$ac_libobjs
16687 LTLIBOBJS
=$ac_ltlibobjs
16691 : "${CONFIG_STATUS=./config.status}"
16693 ac_clean_files_save
=$ac_clean_files
16694 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16696 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16698 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16700 # Generated by $as_me.
16701 # Run this file to recreate the current configuration.
16702 # Compiler output produced by configure, useful for debugging
16703 # configure, is in config.log if it exists.
16706 ac_cs_recheck=false
16709 SHELL=\${CONFIG_SHELL-$SHELL}
16712 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16713 ## -------------------- ##
16714 ## M4sh Initialization. ##
16715 ## -------------------- ##
16717 # Be more Bourne compatible
16718 DUALCASE
=1; export DUALCASE
# for MKS sh
16719 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16722 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16723 # is contrary to our usage. Disable this feature.
16724 alias -g '${1+"$@"}'='"$@"'
16725 setopt NO_GLOB_SUBST
16727 case `(set -o) 2>/dev/null` in #(
16739 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16740 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16741 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16742 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16743 # Prefer a ksh shell builtin over an external printf program on Solaris,
16744 # but without wasting forks for bash or zsh.
16745 if test -z "$BASH_VERSION$ZSH_VERSION" \
16746 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16747 as_echo='print
-r --'
16748 as_echo_n='print
-rn --'
16749 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16750 as_echo='printf %s
\n'
16751 as_echo_n='printf %s
'
16753 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16754 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16755 as_echo_n='/usr
/ucb
/echo -n'
16757 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16758 as_echo_n_body='eval
16762 expr "X$arg" : "X\\(.*\\)$as_nl";
16763 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16765 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16767 export as_echo_n_body
16768 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16770 export as_echo_body
16771 as_echo='sh
-c $as_echo_body as_echo
'
16774 # The user is always right.
16775 if test "${PATH_SEPARATOR+set}" != set; then
16777 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16778 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16785 # We need space, tab and new line, in precisely that order. Quoting is
16786 # there to prevent editors from complaining about space-tab.
16787 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16788 # splitting by setting IFS to empty value.)
16791 # Find who we are. Look in the path if we contain no directory separator.
16794 *[\\/]* ) as_myself=$0 ;;
16795 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16796 for as_dir in $PATH
16799 test -z "$as_dir" && as_dir=.
16800 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16806 # We did not find ourselves, most probably we were run as `sh COMMAND'
16807 # in which case we are not to be found in the path.
16808 if test "x$as_myself" = x
; then
16811 if test ! -f "$as_myself"; then
16812 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16816 # Unset variables that we do not need and which cause bugs (e.g. in
16817 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16818 # suppresses any "Segmentation fault" message there. '((' could
16819 # trigger a bug in pdksh 5.2.14.
16820 for as_var
in BASH_ENV ENV MAIL MAILPATH
16821 do eval test x\
${$as_var+set} = xset \
16822 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16835 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16838 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16839 # ----------------------------------------
16840 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16841 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16842 # script with STATUS, using 1 if that was 0.
16845 as_status
=$1; test $as_status -eq 0 && as_status
=1
16847 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16848 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16850 $as_echo "$as_me: error: $2" >&2
16851 as_fn_exit
$as_status
16855 # as_fn_set_status STATUS
16856 # -----------------------
16857 # Set $? to STATUS, without forking.
16858 as_fn_set_status
()
16861 } # as_fn_set_status
16863 # as_fn_exit STATUS
16864 # -----------------
16865 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16869 as_fn_set_status
$1
16875 # Portably unset VAR.
16878 { eval $1=; unset $1;}
16880 as_unset
=as_fn_unset
16881 # as_fn_append VAR VALUE
16882 # ----------------------
16883 # Append the text in VALUE to the end of the definition contained in VAR. Take
16884 # advantage of any shell optimizations that allow amortized linear growth over
16885 # repeated appends, instead of the typical quadratic growth present in naive
16887 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16888 eval 'as_fn_append ()
16899 # as_fn_arith ARG...
16900 # ------------------
16901 # Perform arithmetic evaluation on the ARGs, and store the result in the
16902 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16903 # must be portable across $(()) and expr.
16904 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16905 eval 'as_fn_arith ()
16912 as_val
=`expr "$@" || test $? -eq 1`
16917 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16918 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16924 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16925 as_basename
=basename
16930 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16936 as_me
=`$as_basename -- "$0" ||
16937 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16938 X"$0" : 'X\(//\)$' \| \
16939 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16941 sed '/^.*\/\([^/][^/]*\)\/*$/{
16955 # Avoid depending upon Character Ranges.
16956 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16957 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16958 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16959 as_cr_digits
='0123456789'
16960 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16962 ECHO_C
= ECHO_N
= ECHO_T
=
16963 case `echo -n x` in #(((((
16965 case `echo 'xy\c'` in
16966 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16968 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16975 rm -f conf$$ conf$$.exe conf$$.
file
16976 if test -d conf$$.dir
; then
16977 rm -f conf$$.dir
/conf$$.
file
16980 mkdir conf$$.dir
2>/dev
/null
16982 if (echo >conf$$.
file) 2>/dev
/null
; then
16983 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16985 # ... but there are two gotchas:
16986 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16987 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16988 # In both cases, we have to default to `cp -pR'.
16989 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16991 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16999 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17000 rmdir conf$$.dir
2>/dev
/null
17005 # Create "$as_dir" as a directory, including parents if necessary.
17010 -*) as_dir
=.
/$as_dir;;
17012 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17016 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17017 *) as_qdir
=$as_dir;;
17019 as_dirs
="'$as_qdir' $as_dirs"
17020 as_dir
=`$as_dirname -- "$as_dir" ||
17021 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17022 X"$as_dir" : 'X\(//\)[^/]' \| \
17023 X"$as_dir" : 'X\(//\)$' \| \
17024 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17025 $as_echo X"$as_dir" |
17026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17030 /^X\(\/\/\)[^/].*/{
17043 test -d "$as_dir" && break
17045 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17046 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17050 if mkdir
-p .
2>/dev
/null
; then
17051 as_mkdir_p
='mkdir -p "$as_dir"'
17053 test -d .
/-p && rmdir .
/-p
17058 # as_fn_executable_p FILE
17059 # -----------------------
17060 # Test if FILE is an executable regular file.
17061 as_fn_executable_p
()
17063 test -f "$1" && test -x "$1"
17064 } # as_fn_executable_p
17065 as_test_x
='test -x'
17066 as_executable_p
=as_fn_executable_p
17068 # Sed expression to map a string onto a valid CPP name.
17069 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17071 # Sed expression to map a string onto a valid variable name.
17072 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17076 ## ----------------------------------- ##
17077 ## Main body of $CONFIG_STATUS script. ##
17078 ## ----------------------------------- ##
17080 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17083 # Save the log message, to keep $0 and so on meaningful, and to
17084 # report actual input values of CONFIG_FILES etc. instead of their
17085 # values after options handling.
17087 This file was extended by Wine $as_me 1.5.29, which was
17088 generated by GNU Autoconf 2.69. Invocation command line was
17090 CONFIG_FILES = $CONFIG_FILES
17091 CONFIG_HEADERS = $CONFIG_HEADERS
17092 CONFIG_LINKS = $CONFIG_LINKS
17093 CONFIG_COMMANDS = $CONFIG_COMMANDS
17096 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17101 case $ac_config_files in *"
17102 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17105 case $ac_config_headers in *"
17106 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17111 # Files that config.status was made for.
17112 config_files="$ac_config_files"
17113 config_headers="$ac_config_headers"
17114 config_links="$ac_config_links"
17115 config_commands="$ac_config_commands"
17119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17121 \`$as_me' instantiates files and other configuration actions
17122 from templates according to the current configuration. Unless the files
17123 and actions are specified as TAGs, all are instantiated by default.
17125 Usage: $0 [OPTION]... [TAG]...
17127 -h, --help print this help, then exit
17128 -V, --version print version number and configuration settings, then exit
17129 --config print configuration, then exit
17130 -q, --quiet, --silent
17131 do not print progress messages
17132 -d, --debug don't remove temporary files
17133 --recheck update $as_me by reconfiguring in the same conditions
17134 --file=FILE[:TEMPLATE]
17135 instantiate the configuration file FILE
17136 --header=FILE[:TEMPLATE]
17137 instantiate the configuration header FILE
17139 Configuration files:
17142 Configuration headers:
17145 Configuration links:
17148 Configuration commands:
17151 Report bugs to <wine-devel@winehq.org>.
17152 Wine home page: <http://www.winehq.org>."
17155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17156 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17158 Wine config.status 1.5.29
17159 configured by $0, generated by GNU Autoconf 2.69,
17160 with options \\"\$ac_cs_config\\"
17162 Copyright (C) 2012 Free Software Foundation, Inc.
17163 This config.status script is free software; the Free Software Foundation
17164 gives unlimited permission to copy, distribute and modify it."
17169 test -n "\$AWK" || AWK=awk
17172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17173 # The default lists apply if the user does not specify any file.
17179 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17180 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17184 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17196 # Handling of the options.
17197 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17199 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17200 $as_echo "$ac_cs_version"; exit ;;
17201 --config |
--confi |
--conf |
--con |
--co |
--c )
17202 $as_echo "$ac_cs_config"; exit ;;
17203 --debug |
--debu |
--deb |
--de |
--d |
-d )
17205 --file |
--fil |
--fi |
--f )
17208 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17209 '') as_fn_error $?
"missing file argument" ;;
17211 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17212 ac_need_defaults
=false
;;
17213 --header |
--heade |
--head |
--hea )
17216 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17218 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17219 ac_need_defaults
=false
;;
17221 # Conflict between --help and --header
17222 as_fn_error $?
"ambiguous option: \`$1'
17223 Try \`$0 --help' for more information.";;
17224 --help |
--hel |
-h )
17225 $as_echo "$ac_cs_usage"; exit ;;
17226 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17227 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17230 # This is an error.
17231 -*) as_fn_error $?
"unrecognized option: \`$1'
17232 Try \`$0 --help' for more information." ;;
17234 *) as_fn_append ac_config_targets
" $1"
17235 ac_need_defaults
=false
;;
17241 ac_configure_extra_args
=
17243 if $ac_cs_silent; then
17245 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17250 if \$ac_cs_recheck; then
17251 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17253 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17254 CONFIG_SHELL='$SHELL'
17255 export CONFIG_SHELL
17260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17264 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17265 ## Running $as_me. ##
17271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17275 wine_fn_output_makefile ()
17277 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
17278 $ALL_MAKEFILE_DEPENDS
17280 as_fn_error $? "could not create Makefile" "$LINENO" 5
17285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17287 # Handling of arguments.
17288 for ac_config_target
in $ac_config_targets
17290 case $ac_config_target in
17291 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
17292 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
17293 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
17294 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
17295 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17296 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17297 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17298 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
17299 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
17300 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
17301 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
17302 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
17303 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
17304 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17305 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
17306 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
17307 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
17308 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17309 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
17310 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
17311 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
17312 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
17313 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
17314 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
17315 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
17316 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
17318 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17323 # If the user did not use the arguments to specify the items to instantiate,
17324 # then the envvar interface is used. Set only those that are not.
17325 # We use the long form for the default assignment because of an extremely
17326 # bizarre bug on SunOS 4.1.3.
17327 if $ac_need_defaults; then
17328 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17329 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17330 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
17331 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17334 # Have a temporary directory for convenience. Make it in the build tree
17335 # simply because there is no reason against having it here, and in addition,
17336 # creating and moving files from /tmp can sometimes cause problems.
17337 # Hook for its removal unless debugging.
17338 # Note that there is a small window in which the directory will not be cleaned:
17339 # after its creation but before its name has been assigned to `$tmp'.
17343 trap 'exit_status=$?
17344 : "${ac_tmp:=$tmp}"
17345 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17347 trap 'as_fn_exit 1' 1 2 13 15
17349 # Create a (secure) tmp directory for tmp files.
17352 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17356 tmp
=.
/conf$$
-$RANDOM
17357 (umask 077 && mkdir
"$tmp")
17358 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17361 # Set up the scripts for CONFIG_FILES section.
17362 # No need to generate them if there are no CONFIG_FILES.
17363 # This happens for instance with `./config.status config.h'.
17364 if test -n "$CONFIG_FILES"; then
17366 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
17367 ac_cs_awk_getline
=:
17368 ac_cs_awk_pipe_init
=
17369 ac_cs_awk_read_file
='
17370 while ((getline aline < (F[key])) > 0)
17373 ac_cs_awk_pipe_fini
=
17375 ac_cs_awk_getline
=false
17376 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
17377 ac_cs_awk_read_file
='
17379 print "cat " F[key] " &&"
17380 '$ac_cs_awk_pipe_init
17381 # The final `:' finishes the AND list.
17382 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
17384 ac_cr
=`echo X | tr X '\015'`
17385 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17386 # But we know of no other shell where ac_cr would be empty at this
17387 # point, so we can use a bashism as a fallback.
17388 if test "x$ac_cr" = x
; then
17389 eval ac_cr
=\$
\'\\r
\'
17391 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17392 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17395 ac_cs_awk_cr
=$ac_cr
17398 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17401 # Create commands to substitute file output variables.
17403 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17404 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17405 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
17408 } >conf$
$files.sh
&&
17409 . .
/conf$
$files.sh ||
17410 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
17411 rm -f conf$
$files.sh
17414 echo "cat >conf$$subs.awk <<_ACEOF" &&
17415 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17417 } >conf$$subs.sh ||
17418 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17419 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17421 for ac_last_try in false false false false false :; do
17422 . ./conf$$subs.sh ||
17423 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17425 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17426 if test $ac_delim_n = $ac_delim_num; then
17428 elif $ac_last_try; then
17429 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17431 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17434 rm -f conf$$subs.sh
17436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17437 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17441 s/^/S["/; s
/!.
*/"]=/
17451 s/\(.\{148\}\)..*/\1/
17453 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17458 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17465 s/\(.\{148\}\)..*/\1/
17467 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17471 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17476 ' <conf$$subs.awk | sed '
17481 ' >>$CONFIG_STATUS || ac_write_fail=1
17482 rm -f conf$$subs.awk
17483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17485 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17486 for (key in S) S_is_set[key] = 1
17488 \$ac_cs_awk_pipe_init
17492 nfields = split(line, field, "@
")
17494 len = length(field[1])
17495 for (i = 2; i < nfields; i++) {
17497 keylen = length(key)
17498 if (S_is_set[key]) {
17500 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17501 len += length(value) + length(field[++i])
17506 if (nfields == 3 && !substed) {
17508 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17509 \$ac_cs_awk_read_file
17515 \$ac_cs_awk_pipe_fini
17518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17519 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17520 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17523 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17524 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17527 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17528 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17529 # trailing colons and then remove the whole line if VPATH becomes empty
17530 # (actually we leave an empty line to preserve line numbers).
17531 if test "x
$srcdir" = x.; then
17532 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17551 fi # test -n "$CONFIG_FILES"
17553 # Set up the scripts for CONFIG_HEADERS section.
17554 # No need to generate them if there are no CONFIG_HEADERS.
17555 # This happens for instance with `./config.status Makefile'.
17556 if test -n "$CONFIG_HEADERS"; then
17557 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17561 # Transform confdefs.h into an awk script `defines.awk', embedded as
17562 # here-document in config.status, that substitutes the proper values into
17563 # config.h.in to produce config.h.
17565 # Create a delimiter string that does not exist in confdefs.h, to ease
17566 # handling of long lines.
17568 for ac_last_try in false false :; do
17569 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17570 if test -z "$ac_tt"; then
17572 elif $ac_last_try; then
17573 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17575 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17579 # For the awk script, D is an array of macro values keyed by name,
17580 # likewise P contains macro parameters if any. Preserve backslash
17581 # newline sequences.
17583 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17585 s/.\{148\}/&'"$ac_delim"'/g
17588 s/^[ ]*#[ ]*define[ ][ ]*/ /
17595 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17597 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17601 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17602 D["\
1"]=" \
3\\\\\\n
"\\/p
17604 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17609 s/.\{148\}/&'"$ac_delim"'/g
17614 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17617 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17619 ' <confdefs.h | sed '
17620 s/'"$ac_delim"'/"\\\
17621 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17624 for (key in D) D_is_set[key] = 1
17627 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17629 split(line, arg, " ")
17630 if (arg[1] == "#") {
17634 defundef
= substr
(arg
[1], 2)
17637 split(mac1
, mac2
, "(") #)
17639 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17640 if (D_is_set
[macro
]) {
17641 # Preserve the white space surrounding the "#".
17642 print prefix
"define", macro P
[macro
] D
[macro
]
17645 # Replace #undef with comments. This is necessary, for example,
17646 # in the case of _POSIX_SOURCE, which is predefined and required
17647 # on some systems where configure will not decide to define it.
17648 if (defundef
== "undef") {
17649 print
"/*", prefix defundef
, macro
, "*/"
17657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17658 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17659 fi # test -n "$CONFIG_HEADERS"
17662 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17667 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17669 case $ac_mode$ac_tag in
17671 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17672 :[FH
]-) ac_tag
=-:-;;
17673 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17690 -) ac_f
="$ac_tmp/stdin";;
17691 *) # Look for the file first in the build tree, then in the source tree
17692 # (if the path is not absolute). The absolute path cannot be DOS-style,
17693 # because $ac_f cannot contain `:'.
17697 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17699 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17701 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17702 as_fn_append ac_file_inputs
" '$ac_f'"
17705 # Let's still pretend it is `configure' which instantiates (i.e., don't
17706 # use $as_me), people would be surprised to read:
17707 # /* config.h. Generated by config.status. */
17708 configure_input
='Generated from '`
17709 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17711 if test x
"$ac_file" != x-
; then
17712 configure_input
="$ac_file. $configure_input"
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17714 $as_echo "$as_me: creating $ac_file" >&6;}
17716 # Neutralize special characters interpreted by sed in replacement strings.
17717 case $configure_input in #(
17718 *\
&* |
*\|
* |
*\\* )
17719 ac_sed_conf_input
=`$as_echo "$configure_input" |
17720 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17721 *) ac_sed_conf_input
=$configure_input;;
17725 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17726 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17731 ac_dir
=`$as_dirname -- "$ac_file" ||
17732 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17733 X"$ac_file" : 'X\(//\)[^/]' \| \
17734 X"$ac_file" : 'X\(//\)$' \| \
17735 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17736 $as_echo X"$ac_file" |
17737 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17741 /^X\(\/\/\)[^/].*/{
17754 as_dir
="$ac_dir"; as_fn_mkdir_p
17758 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17760 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17761 # A ".." for each directory in $ac_dir_suffix.
17762 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17763 case $ac_top_builddir_sub in
17764 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17765 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17768 ac_abs_top_builddir
=$ac_pwd
17769 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17770 # for backward compatibility:
17771 ac_top_builddir
=$ac_top_build_prefix
17774 .
) # We are building in place.
17776 ac_top_srcdir
=$ac_top_builddir_sub
17777 ac_abs_top_srcdir
=$ac_pwd ;;
17778 [\\/]* | ?
:[\\/]* ) # Absolute name.
17779 ac_srcdir
=$srcdir$ac_dir_suffix;
17780 ac_top_srcdir
=$srcdir
17781 ac_abs_top_srcdir
=$srcdir ;;
17782 *) # Relative name.
17783 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17784 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17785 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17787 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17797 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17798 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17803 # If the template does not know about datarootdir, expand it.
17804 # FIXME: This hack should be removed a few years after 2.60.
17805 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17816 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17817 *datarootdir
*) ac_datarootdir_seen
=yes;;
17818 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17820 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17823 ac_datarootdir_hack='
17824 s&@datadir@&$datadir&g
17825 s&@docdir@&$docdir&g
17826 s&@infodir@&$infodir&g
17827 s&@localedir@&$localedir&g
17828 s&@mandir@&$mandir&g
17829 s&\\\${datarootdir}&$datarootdir&g' ;;
17833 # Neutralize VPATH when `$srcdir' = `.'.
17834 # Shell code in configure.ac might set extrasub.
17835 # FIXME: do we really want to maintain this feature?
17836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17837 ac_sed_extra="$ac_vpsub
17840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17842 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17843 s|@configure_input@|
$ac_sed_conf_input|
;t t
17844 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17845 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17846 s
&@srcdir@
&$ac_srcdir&;t t
17847 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17848 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17849 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17850 s
&@builddir@
&$ac_builddir&;t t
17851 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17852 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17853 s
&@INSTALL@
&$ac_INSTALL&;t t
17854 $ac_datarootdir_hack
17856 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17857 if $ac_cs_awk_getline; then
17858 $AWK -f "$ac_tmp/subs.
awk"
17860 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
17862 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17864 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17865 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17866 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17867 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17869 which seems to be undefined. Please make sure it is defined" >&5
17870 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17871 which seems to be undefined. Please make sure it is defined" >&2;}
17873 rm -f "$ac_tmp/stdin"
17875 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17876 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17878 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17884 if test x"$ac_file" != x-; then
17886 $as_echo "/* $configure_input */" \
17887 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17888 } >"$ac_tmp/config.h" \
17889 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17890 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17892 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17895 mv "$ac_tmp/config.h" "$ac_file" \
17896 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17899 $as_echo "/* $configure_input */" \
17900 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17901 || as_fn_error $? "could not create -" "$LINENO" 5
17909 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
17912 # Prefer the file from the source tree if names are identical.
17913 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17914 ac_source=$srcdir/$ac_source
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17918 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17920 if test ! -r "$ac_source"; then
17921 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17925 # Try a relative symlink, then a hard link, then a copy.
17927 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17928 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17930 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17931 ln "$ac_source" "$ac_file" 2>/dev/null ||
17932 cp -p "$ac_source" "$ac_file" ||
17933 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17936 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17937 $as_echo "$as_me: executing $ac_file commands" >&6;}
17942 case $ac_file$ac_mode in
17943 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17944 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17945 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17946 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17947 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17948 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17949 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17950 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17951 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17952 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17953 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17954 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17955 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17956 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17957 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17958 "Makefile":C) wine_fn_output_makefile Makefile ;;
17966 ac_clean_files=$ac_clean_files_save
17968 test $ac_write_fail = 0 ||
17969 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17972 # configure is writing to config.log, and then calls config.status.
17973 # config.status does its own redirection, appending to config.log.
17974 # Unfortunately, on DOS this fails, as config.log is still kept open
17975 # by configure, so config.status won't be able to
write to it
; its
17976 # output is simply discarded. So we exec the FD to /dev/null,
17977 # effectively closing config.log, so it can be properly (re)opened and
17978 # appended to by config.status. When coming back to configure, we
17979 # need to make the FD available again.
17980 if test "$no_create" != yes; then
17982 ac_config_status_args
=
17983 test "$silent" = yes &&
17984 ac_config_status_args
="$ac_config_status_args --quiet"
17986 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17988 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17989 # would make configure fail if this is the last instruction.
17990 $ac_cs_success || as_fn_exit
1
17992 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17994 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17998 if test "$no_create" = "yes"
18004 if test "x$wine_notices != "x
; then
18007 for msg
in $wine_notices; do
18009 if test -n "$msg"; then
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18011 $as_echo "$as_me: $msg" >&6;}
18016 for msg
in $wine_warnings; do
18018 if test -n "$msg"; then
18020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18021 $as_echo "$as_me: WARNING: $msg" >&2;}
18027 $as_me: Finished. Do '${ac_make}' to compile Wine.