2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.5.21.
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.21'
584 PACKAGE_STRING
='Wine 1.5.21'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
690 APPLICATIONSERVICESLIB
779 program_transform_name
790 ac_subst_files
='MAKE_RULES
796 enable_option_checking
800 enable_maintainer_mode
850 ac_precious_vars
='build_alias
865 # Initialize some variables set by options.
867 ac_init_version
=false
868 ac_unrecognized_opts
=
870 # The variables have the same names as the options, with
871 # dashes changed to underlines.
879 program_transform_name
=s
,x
,x
,
887 # Installation directory options.
888 # These are left unexpanded so users can "make install exec_prefix=/foo"
889 # and all the variables that are supposed to be based on exec_prefix
890 # by default will actually change.
891 # Use braces instead of parens because sh, perl, etc. also accept them.
892 # (The list follows the same order as the GNU Coding Standards.)
893 bindir
='${exec_prefix}/bin'
894 sbindir
='${exec_prefix}/sbin'
895 libexecdir
='${exec_prefix}/libexec'
896 datarootdir
='${prefix}/share'
897 datadir
='${datarootdir}'
898 sysconfdir
='${prefix}/etc'
899 sharedstatedir
='${prefix}/com'
900 localstatedir
='${prefix}/var'
901 includedir
='${prefix}/include'
902 oldincludedir
='/usr/include'
903 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
904 infodir
='${datarootdir}/info'
909 libdir
='${exec_prefix}/lib'
910 localedir
='${datarootdir}/locale'
911 mandir
='${datarootdir}/man'
917 # If the previous option needs an argument, assign it.
918 if test -n "$ac_prev"; then
919 eval $ac_prev=\
$ac_option
925 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
930 # Accept the important Cygnus configure options, so we can diagnose typos.
932 case $ac_dashdash$ac_option in
936 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
938 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
941 -build |
--build |
--buil |
--bui |
--bu)
942 ac_prev
=build_alias
;;
943 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
944 build_alias
=$ac_optarg ;;
946 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
947 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
948 ac_prev
=cache_file
;;
949 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
950 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
951 cache_file
=$ac_optarg ;;
954 cache_file
=config.cache
;;
956 -datadir |
--datadir |
--datadi |
--datad)
958 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
959 datadir
=$ac_optarg ;;
961 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
962 |
--dataroo |
--dataro |
--datar)
963 ac_prev
=datarootdir
;;
964 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
965 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
966 datarootdir
=$ac_optarg ;;
968 -disable-* |
--disable-*)
969 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
972 as_fn_error $?
"invalid feature name: $ac_useropt"
973 ac_useropt_orig
=$ac_useropt
974 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
975 case $ac_user_opts in
979 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
980 ac_unrecognized_sep
=', ';;
982 eval enable_
$ac_useropt=no
;;
984 -docdir |
--docdir |
--docdi |
--doc |
--do)
986 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
989 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
991 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
994 -enable-* |
--enable-*)
995 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
998 as_fn_error $?
"invalid feature name: $ac_useropt"
999 ac_useropt_orig
=$ac_useropt
1000 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1001 case $ac_user_opts in
1003 "enable_
$ac_useropt"
1005 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1006 ac_unrecognized_sep
=', ';;
1008 eval enable_
$ac_useropt=\
$ac_optarg ;;
1010 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1011 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1012 |
--exec |
--exe |
--ex)
1013 ac_prev
=exec_prefix
;;
1014 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1015 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1016 |
--exec=* |
--exe=* |
--ex=*)
1017 exec_prefix
=$ac_optarg ;;
1019 -gas |
--gas |
--ga |
--g)
1020 # Obsolete; use --with-gas.
1023 -help |
--help |
--hel |
--he |
-h)
1024 ac_init_help
=long
;;
1025 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1026 ac_init_help
=recursive
;;
1027 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1028 ac_init_help
=short
;;
1030 -host |
--host |
--hos |
--ho)
1031 ac_prev
=host_alias
;;
1032 -host=* |
--host=* |
--hos=* |
--ho=*)
1033 host_alias
=$ac_optarg ;;
1035 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1037 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1039 htmldir
=$ac_optarg ;;
1041 -includedir |
--includedir |
--includedi |
--included |
--include \
1042 |
--includ |
--inclu |
--incl |
--inc)
1043 ac_prev
=includedir
;;
1044 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1045 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1046 includedir
=$ac_optarg ;;
1048 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1050 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1051 infodir
=$ac_optarg ;;
1053 -libdir |
--libdir |
--libdi |
--libd)
1055 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1056 libdir
=$ac_optarg ;;
1058 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1059 |
--libexe |
--libex |
--libe)
1060 ac_prev
=libexecdir
;;
1061 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1062 |
--libexe=* |
--libex=* |
--libe=*)
1063 libexecdir
=$ac_optarg ;;
1065 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1066 ac_prev
=localedir
;;
1067 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1068 localedir
=$ac_optarg ;;
1070 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1071 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1072 ac_prev
=localstatedir
;;
1073 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1074 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1075 localstatedir
=$ac_optarg ;;
1077 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1079 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1080 mandir
=$ac_optarg ;;
1082 -nfp |
--nfp |
--nf)
1083 # Obsolete; use --without-fp.
1086 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1087 |
--no-cr |
--no-c |
-n)
1090 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1091 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1094 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1095 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1096 |
--oldin |
--oldi |
--old |
--ol |
--o)
1097 ac_prev
=oldincludedir
;;
1098 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1099 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1100 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1101 oldincludedir
=$ac_optarg ;;
1103 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1105 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1106 prefix
=$ac_optarg ;;
1108 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1109 |
--program-pre |
--program-pr |
--program-p)
1110 ac_prev
=program_prefix
;;
1111 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1112 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1113 program_prefix
=$ac_optarg ;;
1115 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1116 |
--program-suf |
--program-su |
--program-s)
1117 ac_prev
=program_suffix
;;
1118 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1119 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1120 program_suffix
=$ac_optarg ;;
1122 -program-transform-name |
--program-transform-name \
1123 |
--program-transform-nam |
--program-transform-na \
1124 |
--program-transform-n |
--program-transform- \
1125 |
--program-transform |
--program-transfor \
1126 |
--program-transfo |
--program-transf \
1127 |
--program-trans |
--program-tran \
1128 |
--progr-tra |
--program-tr |
--program-t)
1129 ac_prev
=program_transform_name
;;
1130 -program-transform-name=* |
--program-transform-name=* \
1131 |
--program-transform-nam=* |
--program-transform-na=* \
1132 |
--program-transform-n=* |
--program-transform-=* \
1133 |
--program-transform=* |
--program-transfor=* \
1134 |
--program-transfo=* |
--program-transf=* \
1135 |
--program-trans=* |
--program-tran=* \
1136 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1137 program_transform_name
=$ac_optarg ;;
1139 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1141 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1142 pdfdir
=$ac_optarg ;;
1144 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1146 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1149 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1150 |
-silent |
--silent |
--silen |
--sile |
--sil)
1153 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1155 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1157 sbindir
=$ac_optarg ;;
1159 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1160 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1161 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1163 ac_prev
=sharedstatedir
;;
1164 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1165 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1166 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1168 sharedstatedir
=$ac_optarg ;;
1170 -site |
--site |
--sit)
1172 -site=* |
--site=* |
--sit=*)
1175 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1177 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1178 srcdir
=$ac_optarg ;;
1180 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1181 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1182 ac_prev
=sysconfdir
;;
1183 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1184 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1185 sysconfdir
=$ac_optarg ;;
1187 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1188 ac_prev
=target_alias
;;
1189 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1190 target_alias
=$ac_optarg ;;
1192 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1195 -version |
--version |
--versio |
--versi |
--vers |
-V)
1196 ac_init_version
=: ;;
1199 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1200 # Reject names that are not valid shell variable names.
1201 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1202 as_fn_error $?
"invalid package name: $ac_useropt"
1203 ac_useropt_orig
=$ac_useropt
1204 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1205 case $ac_user_opts in
1209 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1210 ac_unrecognized_sep
=', ';;
1212 eval with_
$ac_useropt=\
$ac_optarg ;;
1214 -without-* |
--without-*)
1215 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1216 # Reject names that are not valid shell variable names.
1217 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1218 as_fn_error $?
"invalid package name: $ac_useropt"
1219 ac_useropt_orig
=$ac_useropt
1220 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1221 case $ac_user_opts in
1225 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1226 ac_unrecognized_sep
=', ';;
1228 eval with_
$ac_useropt=no
;;
1231 # Obsolete; use --with-x.
1234 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1235 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1236 ac_prev
=x_includes
;;
1237 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1238 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1239 x_includes
=$ac_optarg ;;
1241 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1242 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1243 ac_prev
=x_libraries
;;
1244 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1245 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1246 x_libraries
=$ac_optarg ;;
1248 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1249 Try \`$0 --help' for more information"
1253 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1254 # Reject names that are not valid shell variable names.
1255 case $ac_envvar in #(
1256 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1257 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1259 eval $ac_envvar=\
$ac_optarg
1260 export $ac_envvar ;;
1263 # FIXME: should be removed in autoconf 3.0.
1264 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1265 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1266 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1267 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1273 if test -n "$ac_prev"; then
1274 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1275 as_fn_error $?
"missing argument to $ac_option"
1278 if test -n "$ac_unrecognized_opts"; then
1279 case $enable_option_checking in
1281 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1282 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1286 # Check all directory arguments for consistency.
1287 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1288 datadir sysconfdir sharedstatedir localstatedir includedir \
1289 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1290 libdir localedir mandir
1292 eval ac_val
=\$
$ac_var
1293 # Remove trailing slashes.
1296 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1297 eval $ac_var=\
$ac_val;;
1299 # Be sure to have absolute directory names.
1301 [\\/$
]* | ?
:[\\/]* ) continue;;
1302 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1304 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1307 # There might be people who depend on the old broken behavior: `$host'
1308 # used to hold the argument of --host etc.
1309 # FIXME: To remove some day.
1312 target
=$target_alias
1314 # FIXME: To remove some day.
1315 if test "x$host_alias" != x
; then
1316 if test "x$build_alias" = x
; then
1317 cross_compiling
=maybe
1318 elif test "x$build_alias" != "x$host_alias"; then
1324 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1326 test "$silent" = yes && exec 6>/dev
/null
1329 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1330 ac_ls_di
=`ls -di .` &&
1331 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1332 as_fn_error $?
"working directory cannot be determined"
1333 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1334 as_fn_error $?
"pwd does not report name of working directory"
1337 # Find the source files, if location was not specified.
1338 if test -z "$srcdir"; then
1339 ac_srcdir_defaulted
=yes
1340 # Try the directory containing this script, then the parent directory.
1341 ac_confdir
=`$as_dirname -- "$as_myself" ||
1342 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1343 X"$as_myself" : 'X\(//\)[^/]' \| \
1344 X"$as_myself" : 'X\(//\)$' \| \
1345 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1346 $as_echo X"$as_myself" |
1347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1369 ac_srcdir_defaulted
=no
1371 if test ! -r "$srcdir/$ac_unique_file"; then
1372 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1373 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1375 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1377 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1379 # When building in place, set srcdir=.
1380 if test "$ac_abs_confdir" = "$ac_pwd"; then
1383 # Remove unnecessary trailing slashes from srcdir.
1384 # Double slashes in file names in object file debugging info
1385 # mess up M-x gdb in Emacs.
1387 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1389 for ac_var
in $ac_precious_vars; do
1390 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1391 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1392 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1393 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1397 # Report the --help message.
1399 if test "$ac_init_help" = "long"; then
1400 # Omit some internal or obsolete options to make the list less imposing.
1401 # This message is too long to be a string in the A/UX 3.1 sh.
1403 \`configure' configures Wine 1.5.21 to adapt to many kinds of systems.
1405 Usage: $0 [OPTION]... [VAR=VALUE]...
1407 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1408 VAR=VALUE. See below for descriptions of some of the useful variables.
1410 Defaults for the options are specified in brackets.
1413 -h, --help display this help and exit
1414 --help=short display options specific to this package
1415 --help=recursive display the short help of all the included packages
1416 -V, --version display version information and exit
1417 -q, --quiet, --silent do not print \`checking ...' messages
1418 --cache-file=FILE cache test results in FILE [disabled]
1419 -C, --config-cache alias for \`--cache-file=config.cache'
1420 -n, --no-create do not create output files
1421 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1423 Installation directories:
1424 --prefix=PREFIX install architecture-independent files in PREFIX
1425 [$ac_default_prefix]
1426 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1429 By default, \`make install' will install all the files in
1430 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1431 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1432 for instance \`--prefix=\$HOME'.
1434 For better control, use the options below.
1436 Fine tuning of the installation directories:
1437 --bindir=DIR user executables [EPREFIX/bin]
1438 --sbindir=DIR system admin executables [EPREFIX/sbin]
1439 --libexecdir=DIR program executables [EPREFIX/libexec]
1440 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1441 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1442 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1443 --libdir=DIR object code libraries [EPREFIX/lib]
1444 --includedir=DIR C header files [PREFIX/include]
1445 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1446 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1447 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1448 --infodir=DIR info documentation [DATAROOTDIR/info]
1449 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1450 --mandir=DIR man documentation [DATAROOTDIR/man]
1451 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1452 --htmldir=DIR html documentation [DOCDIR]
1453 --dvidir=DIR dvi documentation [DOCDIR]
1454 --pdfdir=DIR pdf documentation [DOCDIR]
1455 --psdir=DIR ps documentation [DOCDIR]
1461 --x-includes=DIR X include files are
in DIR
1462 --x-libraries=DIR X library files are
in DIR
1465 --build=BUILD configure
for building on BUILD
[guessed
]
1466 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1470 if test -n "$ac_init_help"; then
1471 case $ac_init_help in
1472 short | recursive
) echo "Configuration of Wine 1.5.21:";;
1477 --disable-option-checking ignore unrecognized
--enable/--with options
1478 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1479 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1480 --disable-win16 do not include Win16 support
1481 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1483 --disable-tests do not build the regression tests
1484 --enable-maintainer-mode
1485 enable maintainer-specific build rules
1486 --disable-largefile omit support for large files
1489 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1490 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1491 --without-alsa do not use the Alsa sound support
1492 --without-capi do not use CAPI (ISDN support)
1493 --without-cms do not use CMS (color management support)
1494 --without-coreaudio do not use the CoreAudio sound support
1495 --without-cups do not use CUPS
1496 --without-curses do not use (n)curses
1497 --without-dbus do not use DBus (dynamic device support)
1498 --without-fontconfig do not use fontconfig
1499 --without-freetype do not use the FreeType library
1500 --without-gettext do not use gettext
1501 --with-gettextpo use the GetTextPO library to rebuild po files
1502 --without-gphoto do not use gphoto (Digital Camera support)
1503 --without-glu do not use the GLU library
1504 --without-gnutls do not use GnuTLS (schannel support)
1505 --without-gsm do not use libgsm (GSM 06.10 codec support)
1506 --without-gstreamer do not use GStreamer (codecs support)
1507 --without-hal do not use HAL (dynamic device support)
1508 --without-jpeg do not use JPEG
1509 --without-ldap do not use LDAP
1510 --without-mpg123 do not use the mpg123 library
1511 --without-openal do not use OpenAL
1512 --without-opencl do not use OpenCL
1513 --without-opengl do not use OpenGL
1514 --without-openssl do not use OpenSSL
1515 --without-osmesa do not use the OSMesa library
1516 --without-oss do not use the OSS sound support
1517 --without-png do not use PNG
1518 --without-pthread do not use the pthread library
1519 --without-sane do not use SANE (scanner support)
1520 --without-tiff do not use TIFF
1521 --without-v4l do not use v4l1 (v4l support)
1522 --without-xcomposite do not use the Xcomposite extension
1523 --without-xcursor do not use the Xcursor extension
1524 --without-xinerama do not use Xinerama (multi-monitor support)
1525 --without-xinput do not use the Xinput extension
1526 --without-xinput2 do not use the Xinput 2 extension
1527 --without-xml do not use XML
1528 --without-xrandr do not use Xrandr (resolution changes)
1529 --without-xrender do not use the Xrender extension
1530 --without-xshape do not use the Xshape extension
1531 --without-xshm do not use XShm (shared memory extension)
1532 --without-xslt do not use XSLT
1533 --without-xxf86vm do not use XFree video mode extension
1534 --without-zlib do not use Zlib (data compression)
1535 --with-wine-tools=DIR use Wine tools from directory DIR
1536 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1537 --with-x use the X Window System
1539 Some influential environment variables:
1540 CC C compiler command
1541 CFLAGS C compiler flags
1542 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1543 nonstandard directory <lib dir>
1544 LIBS libraries to pass to the linker, e.g. -l<library>
1545 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1546 you have headers in a nonstandard directory <include dir>
1547 CXX C++ compiler command
1548 CXXFLAGS C++ compiler flags
1550 XMKMF Path to xmkmf, Makefile generator for X Window System
1552 Use these variables to override the choices made by `configure' or to
help
1553 it to
find libraries and programs with nonstandard names
/locations.
1555 Report bugs to
<wine-devel@winehq.org
>.
1556 Wine home page
: <http
://www.winehq.org
>.
1561 if test "$ac_init_help" = "recursive"; then
1562 # If there are subdirs, report their specific --help.
1563 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1564 test -d "$ac_dir" ||
1565 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1570 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1572 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1573 # A ".." for each directory in $ac_dir_suffix.
1574 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1575 case $ac_top_builddir_sub in
1576 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1577 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1580 ac_abs_top_builddir
=$ac_pwd
1581 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1582 # for backward compatibility:
1583 ac_top_builddir
=$ac_top_build_prefix
1586 .
) # We are building in place.
1588 ac_top_srcdir
=$ac_top_builddir_sub
1589 ac_abs_top_srcdir
=$ac_pwd ;;
1590 [\\/]* | ?
:[\\/]* ) # Absolute name.
1591 ac_srcdir
=$srcdir$ac_dir_suffix;
1592 ac_top_srcdir
=$srcdir
1593 ac_abs_top_srcdir
=$srcdir ;;
1595 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1596 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1597 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1599 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1601 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1602 # Check for guested configure.
1603 if test -f "$ac_srcdir/configure.gnu"; then
1605 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1606 elif test -f "$ac_srcdir/configure"; then
1608 $SHELL "$ac_srcdir/configure" --help=recursive
1610 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1612 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1616 test -n "$ac_init_help" && exit $ac_status
1617 if $ac_init_version; then
1619 Wine configure
1.5.21
1620 generated by GNU Autoconf
2.69
1622 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1623 This configure
script is free software
; the Free Software Foundation
1624 gives unlimited permission to copy
, distribute and modify it.
1629 ## ------------------------ ##
1630 ## Autoconf initialization. ##
1631 ## ------------------------ ##
1633 # ac_fn_c_try_compile LINENO
1634 # --------------------------
1635 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1636 ac_fn_c_try_compile
()
1638 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1639 rm -f conftest.
$ac_objext
1640 if { { ac_try
="$ac_compile"
1642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1643 *) ac_try_echo=$ac_try;;
1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646 $as_echo "$ac_try_echo"; } >&5
1647 (eval "$ac_compile") 2>conftest.err
1649 if test -s conftest.err; then
1650 grep -v '^ *+' conftest.err >conftest.er1
1651 cat conftest.er1 >&5
1652 mv -f conftest.er1 conftest.err
1654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1655 test $ac_status = 0; } && {
1656 test -z "$ac_c_werror_flag" ||
1657 test ! -s conftest.err
1658 } && test -s conftest.$ac_objext; then :
1661 $as_echo "$as_me: failed program was:" >&5
1662 sed 's/^/| /' conftest.$ac_ext >&5
1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667 as_fn_set_status $ac_retval
1669 } # ac_fn_c_try_compile
1671 # ac_fn_cxx_try_compile LINENO
1672 # ----------------------------
1673 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1674 ac_fn_cxx_try_compile ()
1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677 rm -f conftest.$ac_objext
1678 if { { ac_try="$ac_compile"
1680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1681 *) ac_try_echo
=$ac_try;;
1683 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685 (eval "$ac_compile") 2>conftest.err
1687 if test -s conftest.err
; then
1688 grep -v '^ *+' conftest.err
>conftest.er1
1689 cat conftest.er1
>&5
1690 mv -f conftest.er1 conftest.err
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; } && {
1694 test -z "$ac_cxx_werror_flag" ||
1695 test ! -s conftest.err
1696 } && test -s conftest.
$ac_objext; then :
1699 $as_echo "$as_me: failed program was:" >&5
1700 sed 's/^/| /' conftest.
$ac_ext >&5
1704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1705 as_fn_set_status
$ac_retval
1707 } # ac_fn_cxx_try_compile
1709 # ac_fn_c_try_link LINENO
1710 # -----------------------
1711 # Try to link conftest.$ac_ext, and return whether this succeeded.
1714 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1715 rm -f conftest.
$ac_objext conftest
$ac_exeext
1716 if { { ac_try
="$ac_link"
1718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1719 *) ac_try_echo=$ac_try;;
1721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722 $as_echo "$ac_try_echo"; } >&5
1723 (eval "$ac_link") 2>conftest.err
1725 if test -s conftest.err; then
1726 grep -v '^ *+' conftest.err >conftest.er1
1727 cat conftest.er1 >&5
1728 mv -f conftest.er1 conftest.err
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; } && {
1732 test -z "$ac_c_werror_flag" ||
1733 test ! -s conftest.err
1734 } && test -s conftest$ac_exeext && {
1735 test "$cross_compiling" = yes ||
1736 test -x conftest$ac_exeext
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1745 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1746 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1747 # interfere with the next link command; also delete a directory that is
1748 # left behind by Apple's compiler. We do this before executing the actions.
1749 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751 as_fn_set_status $ac_retval
1753 } # ac_fn_c_try_link
1755 # ac_fn_c_try_cpp LINENO
1756 # ----------------------
1757 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 if { { ac_try="$ac_cpp conftest.$ac_ext"
1763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1764 *) ac_try_echo
=$ac_try;;
1766 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1770 if test -s conftest.err
; then
1771 grep -v '^ *+' conftest.err
>conftest.er1
1772 cat conftest.er1
>&5
1773 mv -f conftest.er1 conftest.err
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; } > conftest.i
&& {
1777 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1778 test ! -s conftest.err
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.
$ac_ext >&5
1787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1788 as_fn_set_status
$ac_retval
1792 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1793 # -------------------------------------------------------
1794 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1795 # the include files in INCLUDES and setting the cache variable VAR
1797 ac_fn_c_check_header_mongrel
()
1799 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1800 if eval \
${$3+:} false
; then :
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1802 $as_echo_n "checking for $2... " >&6; }
1803 if eval \
${$3+:} false
; then :
1804 $as_echo_n "(cached) " >&6
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1808 $as_echo "$ac_res" >&6; }
1810 # Is the header compilable?
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1812 $as_echo_n "checking $2 usability... " >&6; }
1813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h. */
1818 if ac_fn_c_try_compile
"$LINENO"; then :
1819 ac_header_compiler
=yes
1821 ac_header_compiler
=no
1823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1825 $as_echo "$ac_header_compiler" >&6; }
1827 # Is the header present?
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1829 $as_echo_n "checking $2 presence... " >&6; }
1830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1831 /* end confdefs.h. */
1834 if ac_fn_c_try_cpp
"$LINENO"; then :
1835 ac_header_preproc
=yes
1837 ac_header_preproc
=no
1839 rm -f conftest.err conftest.i conftest.
$ac_ext
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1841 $as_echo "$ac_header_preproc" >&6; }
1843 # So? What about this header?
1844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1847 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1849 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1853 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1855 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1857 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1859 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1861 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1862 ( $as_echo "## ------------------------------------ ##
1863 ## Report this to wine-devel@winehq.org ##
1864 ## ------------------------------------ ##"
1865 ) |
sed "s/^/$as_me: WARNING: /" >&2
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1869 $as_echo_n "checking for $2... " >&6; }
1870 if eval \
${$3+:} false
; then :
1871 $as_echo_n "(cached) " >&6
1873 eval "$3=\$ac_header_compiler"
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1877 $as_echo "$ac_res" >&6; }
1879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881 } # ac_fn_c_check_header_mongrel
1883 # ac_fn_c_try_run LINENO
1884 # ----------------------
1885 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1886 # that executables *can* be run.
1889 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1890 if { { ac_try
="$ac_link"
1892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1893 *) ac_try_echo=$ac_try;;
1895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1896 $as_echo "$ac_try_echo"; } >&5
1897 (eval "$ac_link") 2>&5
1899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1900 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1901 { { case "(($ac_try" in
1902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1903 *) ac_try_echo
=$ac_try;;
1905 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1906 $as_echo "$ac_try_echo"; } >&5
1907 (eval "$ac_try") 2>&5
1909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1910 test $ac_status = 0; }; }; then :
1913 $as_echo "$as_me: program exited with status $ac_status" >&5
1914 $as_echo "$as_me: failed program was:" >&5
1915 sed 's/^/| /' conftest.
$ac_ext >&5
1917 ac_retval
=$ac_status
1919 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1920 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1921 as_fn_set_status
$ac_retval
1925 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1926 # -------------------------------------------------------
1927 # Tests whether HEADER exists and can be compiled using the include files in
1928 # INCLUDES, setting the cache variable VAR accordingly.
1929 ac_fn_c_check_header_compile
()
1931 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1933 $as_echo_n "checking for $2... " >&6; }
1934 if eval \
${$3+:} false
; then :
1935 $as_echo_n "(cached) " >&6
1937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h. */
1942 if ac_fn_c_try_compile
"$LINENO"; then :
1947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1951 $as_echo "$ac_res" >&6; }
1952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1954 } # ac_fn_c_check_header_compile
1956 # ac_fn_c_check_func LINENO FUNC VAR
1957 # ----------------------------------
1958 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1959 ac_fn_c_check_func
()
1961 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1963 $as_echo_n "checking for $2... " >&6; }
1964 if eval \
${$3+:} false
; then :
1965 $as_echo_n "(cached) " >&6
1967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1968 /* end confdefs.h. */
1969 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1971 #define $2 innocuous_$2
1973 /* System header to define __stub macros and hopefully few prototypes,
1974 which can conflict with char $2 (); below.
1975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1976 <limits.h> exists even on freestanding compilers. */
1979 # include <limits.h>
1981 # include <assert.h>
1986 /* Override any GCC internal prototype to avoid an error.
1987 Use char because int might match the return type of a GCC
1988 builtin and then its argument prototype would still apply. */
1993 /* The GNU C library defines this for functions which it implements
1994 to always fail with ENOSYS. Some functions are actually named
1995 something starting with __ and the normal name is an alias. */
1996 #if defined __stub_$2 || defined __stub___$2
2008 if ac_fn_c_try_link
"$LINENO"; then :
2013 rm -f core conftest.err conftest.
$ac_objext \
2014 conftest
$ac_exeext conftest.
$ac_ext
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2018 $as_echo "$ac_res" >&6; }
2019 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2021 } # ac_fn_c_check_func
2023 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2024 # ----------------------------------------------------
2025 # Tries to find if the field MEMBER exists in type AGGR, after including
2026 # INCLUDES, setting cache variable VAR accordingly.
2027 ac_fn_c_check_member
()
2029 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2031 $as_echo_n "checking for $2.$3... " >&6; }
2032 if eval \
${$4+:} false
; then :
2033 $as_echo_n "(cached) " >&6
2035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h. */
2048 if ac_fn_c_try_compile
"$LINENO"; then :
2051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2052 /* end confdefs.h. */
2058 if (sizeof ac_aggr.$3)
2064 if ac_fn_c_try_compile
"$LINENO"; then :
2069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2075 $as_echo "$ac_res" >&6; }
2076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2078 } # ac_fn_c_check_member
2080 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2081 # -------------------------------------------
2082 # Tests whether TYPE exists after having included INCLUDES, setting cache
2083 # variable VAR accordingly.
2084 ac_fn_c_check_type
()
2086 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2088 $as_echo_n "checking for $2... " >&6; }
2089 if eval \
${$3+:} false
; then :
2090 $as_echo_n "(cached) " >&6
2093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2094 /* end confdefs.h. */
2105 if ac_fn_c_try_compile
"$LINENO"; then :
2106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2107 /* end confdefs.h. */
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_type
2133 cat >config.log
<<_ACEOF
2134 This file contains any messages produced by compilers while
2135 running configure, to aid debugging if configure makes a mistake.
2137 It was created by Wine $as_me 1.5.21, which was
2138 generated by GNU Autoconf 2.69. Invocation command line was
2150 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2151 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2152 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2153 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2154 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2156 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2157 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2159 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2160 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2161 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2162 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2163 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2164 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2165 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2173 test -z "$as_dir" && as_dir
=.
2174 $as_echo "PATH: $as_dir"
2190 # Keep a trace of the command line.
2191 # Strip out --no-create and --no-recursion so they do not pile up.
2192 # Strip out --silent because we don't want to record it for future runs.
2193 # Also quote any args containing shell meta-characters.
2194 # Make two passes to allow for proper duplicate-argument suppression.
2198 ac_must_keep_next
=false
2204 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2205 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2206 |
-silent |
--silent |
--silen |
--sile |
--sil)
2209 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2212 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2214 as_fn_append ac_configure_args1
" '$ac_arg'"
2215 if test $ac_must_keep_next = true
; then
2216 ac_must_keep_next
=false
# Got value, back to normal.
2219 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2220 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2221 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2222 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2223 case "$ac_configure_args0 " in
2224 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2227 -* ) ac_must_keep_next
=true
;;
2230 as_fn_append ac_configure_args
" '$ac_arg'"
2235 { ac_configure_args0
=; unset ac_configure_args0
;}
2236 { ac_configure_args1
=; unset ac_configure_args1
;}
2238 # When interrupted or exit'd, cleanup temporary files, and complete
2239 # config.log. We remove comments because anyway the quotes in there
2240 # would cause problems or look ugly.
2241 # WARNING: Use '\'' to represent an apostrophe within the trap.
2242 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2243 trap 'exit_status=$?
2244 # Save into config.log some information that might help in debugging.
2248 $as_echo "## ---------------- ##
2249 ## Cache variables. ##
2250 ## ---------------- ##"
2252 # The following way of writing the cache mishandles newlines in values,
2254 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2255 eval ac_val=\$$ac_var
2259 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2260 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2263 _ | IFS | as_nl) ;; #(
2264 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2265 *) { eval $ac_var=; unset $ac_var;} ;;
2270 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2271 *${as_nl}ac_space=\ *)
2273 "s/'\''/'\''\\\\'\'''\''/g;
2274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2277 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2284 $as_echo "## ----------------- ##
2285 ## Output variables. ##
2286 ## ----------------- ##"
2288 for ac_var in $ac_subst_vars
2290 eval ac_val=\$$ac_var
2292 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2294 $as_echo "$ac_var='\''$ac_val'\''"
2298 if test -n "$ac_subst_files"; then
2299 $as_echo "## ------------------- ##
2300 ## File substitutions. ##
2301 ## ------------------- ##"
2303 for ac_var
in $ac_subst_files
2305 eval ac_val
=\$
$ac_var
2307 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2309 $as_echo "$ac_var='\''$ac_val'\''"
2314 if test -s confdefs.h; then
2315 $as_echo "## ----------- ##
2322 test "$ac_signal" != 0 &&
2323 $as_echo "$as_me: caught signal $ac_signal"
2324 $as_echo "$as_me: exit $exit_status"
2326 rm -f core *.core core.conftest.* &&
2327 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2330 for ac_signal
in 1 2 13 15; do
2331 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2336 rm -f -r conftest
* confdefs.h
2338 $as_echo "/* confdefs.h */" > confdefs.h
2340 # Predefined preprocessor variables.
2342 cat >>confdefs.h
<<_ACEOF
2343 #define PACKAGE_NAME "$PACKAGE_NAME"
2346 cat >>confdefs.h
<<_ACEOF
2347 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2350 cat >>confdefs.h
<<_ACEOF
2351 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2354 cat >>confdefs.h
<<_ACEOF
2355 #define PACKAGE_STRING "$PACKAGE_STRING"
2358 cat >>confdefs.h
<<_ACEOF
2359 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2362 cat >>confdefs.h
<<_ACEOF
2363 #define PACKAGE_URL "$PACKAGE_URL"
2367 # Let the site file select an alternate cache file if it wants to.
2368 # Prefer an explicitly selected file to automatically selected ones.
2371 if test -n "$CONFIG_SITE"; then
2372 # We do not want a PATH search for config.site.
2373 case $CONFIG_SITE in #((
2374 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2375 */*) ac_site_file1
=$CONFIG_SITE;;
2376 *) ac_site_file1
=.
/$CONFIG_SITE;;
2378 elif test "x$prefix" != xNONE
; then
2379 ac_site_file1
=$prefix/share
/config.site
2380 ac_site_file2
=$prefix/etc
/config.site
2382 ac_site_file1
=$ac_default_prefix/share
/config.site
2383 ac_site_file2
=$ac_default_prefix/etc
/config.site
2385 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2387 test "x$ac_site_file" = xNONE
&& continue
2388 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2390 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2391 sed 's/^/| /' "$ac_site_file" >&5
2393 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2395 as_fn_error $?
"failed to load site script $ac_site_file
2396 See \`config.log' for more details" "$LINENO" 5; }
2400 if test -r "$cache_file"; then
2401 # Some versions of bash will fail to source /dev/null (special files
2402 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2403 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2405 $as_echo "$as_me: loading cache $cache_file" >&6;}
2407 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2408 *) .
"./$cache_file";;
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2413 $as_echo "$as_me: creating cache $cache_file" >&6;}
2417 # Check that the precious variables saved in the cache have kept the same
2419 ac_cache_corrupted
=false
2420 for ac_var
in $ac_precious_vars; do
2421 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2422 eval ac_new_set
=\
$ac_env_${ac_var}_set
2423 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2424 eval ac_new_val
=\
$ac_env_${ac_var}_value
2425 case $ac_old_set,$ac_new_set in
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2428 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2429 ac_cache_corrupted
=: ;;
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2432 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2433 ac_cache_corrupted
=: ;;
2436 if test "x$ac_old_val" != "x$ac_new_val"; then
2437 # differences in whitespace do not lead to failure.
2438 ac_old_val_w
=`echo x $ac_old_val`
2439 ac_new_val_w
=`echo x $ac_new_val`
2440 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2442 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2443 ac_cache_corrupted
=:
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2446 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2447 eval $ac_var=\
$ac_old_val
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2450 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2452 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2455 # Pass precious variables to config.status.
2456 if test "$ac_new_set" = set; then
2458 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2459 *) ac_arg
=$ac_var=$ac_new_val ;;
2461 case " $ac_configure_args " in
2462 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2463 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2467 if $ac_cache_corrupted; then
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2471 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2472 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2474 ## -------------------- ##
2475 ## Main body of script. ##
2476 ## -------------------- ##
2479 ac_cpp
='$CPP $CPPFLAGS'
2480 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2481 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2482 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2486 ac_config_headers
="$ac_config_headers include/config.h"
2489 for ac_dir
in tools
"$srcdir"/tools
; do
2490 if test -f "$ac_dir/install-sh"; then
2492 ac_install_sh
="$ac_aux_dir/install-sh -c"
2494 elif test -f "$ac_dir/install.sh"; then
2496 ac_install_sh
="$ac_aux_dir/install.sh -c"
2498 elif test -f "$ac_dir/shtool"; then
2500 ac_install_sh
="$ac_aux_dir/shtool install -c"
2504 if test -z "$ac_aux_dir"; then
2505 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2508 # These three variables are undocumented and unsupported,
2509 # and are intended to be withdrawn in a future Autoconf release.
2510 # They can cause serious problems if a builder's source tree is in a directory
2511 # whose full name contains unusual characters.
2512 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2513 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2514 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2520 # Check whether --enable-win16 was given.
2521 if test "${enable_win16+set}" = set; then :
2522 enableval
=$enable_win16;
2525 # Check whether --enable-win64 was given.
2526 if test "${enable_win64+set}" = set; then :
2527 enableval
=$enable_win64;
2530 # Check whether --enable-tests was given.
2531 if test "${enable_tests+set}" = set; then :
2532 enableval
=$enable_tests;
2535 # Check whether --enable-maintainer-mode was given.
2536 if test "${enable_maintainer_mode+set}" = set; then :
2537 enableval
=$enable_maintainer_mode;
2542 # Check whether --with-alsa was given.
2543 if test "${with_alsa+set}" = set; then :
2544 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2548 # Check whether --with-capi was given.
2549 if test "${with_capi+set}" = set; then :
2550 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2554 # Check whether --with-cms was given.
2555 if test "${with_cms+set}" = set; then :
2556 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
2560 # Check whether --with-coreaudio was given.
2561 if test "${with_coreaudio+set}" = set; then :
2562 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2566 # Check whether --with-cups was given.
2567 if test "${with_cups+set}" = set; then :
2572 # Check whether --with-curses was given.
2573 if test "${with_curses+set}" = set; then :
2574 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2578 # Check whether --with-dbus was given.
2579 if test "${with_dbus+set}" = set; then :
2584 # Check whether --with-fontconfig was given.
2585 if test "${with_fontconfig+set}" = set; then :
2586 withval
=$with_fontconfig;
2590 # Check whether --with-freetype was given.
2591 if test "${with_freetype+set}" = set; then :
2592 withval
=$with_freetype;
2596 # Check whether --with-gettext was given.
2597 if test "${with_gettext+set}" = set; then :
2598 withval
=$with_gettext;
2602 # Check whether --with-gettextpo was given.
2603 if test "${with_gettextpo+set}" = set; then :
2604 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
2608 # Check whether --with-gphoto was given.
2609 if test "${with_gphoto+set}" = set; then :
2610 withval
=$with_gphoto;
2614 # Check whether --with-glu was given.
2615 if test "${with_glu+set}" = set; then :
2620 # Check whether --with-gnutls was given.
2621 if test "${with_gnutls+set}" = set; then :
2622 withval
=$with_gnutls;
2626 # Check whether --with-gsm was given.
2627 if test "${with_gsm+set}" = set; then :
2628 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2632 # Check whether --with-gstreamer was given.
2633 if test "${with_gstreamer+set}" = set; then :
2634 withval
=$with_gstreamer;
2638 # Check whether --with-hal was given.
2639 if test "${with_hal+set}" = set; then :
2644 # Check whether --with-jpeg was given.
2645 if test "${with_jpeg+set}" = set; then :
2646 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2650 # Check whether --with-ldap was given.
2651 if test "${with_ldap+set}" = set; then :
2652 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2656 # Check whether --with-mpg123 was given.
2657 if test "${with_mpg123+set}" = set; then :
2658 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2662 # Check whether --with-openal was given.
2663 if test "${with_openal+set}" = set; then :
2664 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2668 # Check whether --with-opencl was given.
2669 if test "${with_opencl+set}" = set; then :
2670 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
2674 # Check whether --with-opengl was given.
2675 if test "${with_opengl+set}" = set; then :
2676 withval
=$with_opengl;
2680 # Check whether --with-openssl was given.
2681 if test "${with_openssl+set}" = set; then :
2682 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2686 # Check whether --with-osmesa was given.
2687 if test "${with_osmesa+set}" = set; then :
2688 withval
=$with_osmesa;
2692 # Check whether --with-oss was given.
2693 if test "${with_oss+set}" = set; then :
2698 # Check whether --with-png was given.
2699 if test "${with_png+set}" = set; then :
2700 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2704 # Check whether --with-pthread was given.
2705 if test "${with_pthread+set}" = set; then :
2706 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2710 # Check whether --with-sane was given.
2711 if test "${with_sane+set}" = set; then :
2716 # Check whether --with-tiff was given.
2717 if test "${with_tiff+set}" = set; then :
2718 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2722 # Check whether --with-v4l was given.
2723 if test "${with_v4l+set}" = set; then :
2728 # Check whether --with-xcomposite was given.
2729 if test "${with_xcomposite+set}" = set; then :
2730 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2734 # Check whether --with-xcursor was given.
2735 if test "${with_xcursor+set}" = set; then :
2736 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2740 # Check whether --with-xinerama was given.
2741 if test "${with_xinerama+set}" = set; then :
2742 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2746 # Check whether --with-xinput was given.
2747 if test "${with_xinput+set}" = set; then :
2748 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2752 # Check whether --with-xinput2 was given.
2753 if test "${with_xinput2+set}" = set; then :
2754 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
2758 # Check whether --with-xml was given.
2759 if test "${with_xml+set}" = set; then :
2764 # Check whether --with-xrandr was given.
2765 if test "${with_xrandr+set}" = set; then :
2766 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2770 # Check whether --with-xrender was given.
2771 if test "${with_xrender+set}" = set; then :
2772 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2776 # Check whether --with-xshape was given.
2777 if test "${with_xshape+set}" = set; then :
2778 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2782 # Check whether --with-xshm was given.
2783 if test "${with_xshm+set}" = set; then :
2784 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2788 # Check whether --with-xslt was given.
2789 if test "${with_xslt+set}" = set; then :
2794 # Check whether --with-xxf86vm was given.
2795 if test "${with_xxf86vm+set}" = set; then :
2796 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
2800 # Check whether --with-zlib was given.
2801 if test "${with_zlib+set}" = set; then :
2802 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
2807 # Check whether --with-wine-tools was given.
2808 if test "${with_wine_tools+set}" = set; then :
2809 withval
=$with_wine_tools;
2813 # Check whether --with-wine64 was given.
2814 if test "${with_wine64+set}" = set; then :
2815 withval
=$with_wine64;
2819 # Make sure we can run config.sub.
2820 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2821 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2824 $as_echo_n "checking build system type... " >&6; }
2825 if ${ac_cv_build+:} false
; then :
2826 $as_echo_n "(cached) " >&6
2828 ac_build_alias
=$build_alias
2829 test "x$ac_build_alias" = x
&&
2830 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2831 test "x$ac_build_alias" = x
&&
2832 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2833 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2834 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2838 $as_echo "$ac_cv_build" >&6; }
2839 case $ac_cv_build in
2841 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2844 ac_save_IFS
=$IFS; IFS
='-'
2850 # Remember, the first character of IFS is used to create $*,
2851 # except with old shells:
2854 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2858 $as_echo_n "checking host system type... " >&6; }
2859 if ${ac_cv_host+:} false
; then :
2860 $as_echo_n "(cached) " >&6
2862 if test "x$host_alias" = x
; then
2863 ac_cv_host
=$ac_cv_build
2865 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2866 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2871 $as_echo "$ac_cv_host" >&6; }
2874 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2877 ac_save_IFS
=$IFS; IFS
='-'
2883 # Remember, the first character of IFS is used to create $*,
2884 # except with old shells:
2887 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2893 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2894 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2895 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2901 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2903 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2904 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2905 $as_echo_n "(cached) " >&6
2907 cat >conftest.
make <<\_ACEOF
2910 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2912 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2913 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2915 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2917 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2921 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2923 $as_echo "yes" >&6; }
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2927 $as_echo "no" >&6; }
2928 SET_MAKE
="MAKE=${MAKE-make}"
2932 ac_cpp
='$CPP $CPPFLAGS'
2933 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2934 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2935 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2936 if test -n "$ac_tool_prefix"; then
2937 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2938 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2940 $as_echo_n "checking for $ac_word... " >&6; }
2941 if ${ac_cv_prog_CC+:} false
; then :
2942 $as_echo_n "(cached) " >&6
2944 if test -n "$CC"; then
2945 ac_cv_prog_CC
="$CC" # Let the user override the test.
2947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2951 test -z "$as_dir" && as_dir
=.
2952 for ac_exec_ext
in '' $ac_executable_extensions; do
2953 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2954 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2965 if test -n "$CC"; then
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2967 $as_echo "$CC" >&6; }
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 $as_echo "no" >&6; }
2975 if test -z "$ac_cv_prog_CC"; then
2977 # Extract the first word of "gcc", so it can be a program name with args.
2978 set dummy gcc
; ac_word
=$2
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2980 $as_echo_n "checking for $ac_word... " >&6; }
2981 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2982 $as_echo_n "(cached) " >&6
2984 if test -n "$ac_ct_CC"; then
2985 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2991 test -z "$as_dir" && as_dir
=.
2992 for ac_exec_ext
in '' $ac_executable_extensions; do
2993 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2994 ac_cv_prog_ac_ct_CC
="gcc"
2995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3004 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3005 if test -n "$ac_ct_CC"; then
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3007 $as_echo "$ac_ct_CC" >&6; }
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3010 $as_echo "no" >&6; }
3013 if test "x$ac_ct_CC" = x
; then
3016 case $cross_compiling:$ac_tool_warned in
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3020 ac_tool_warned
=yes ;;
3028 if test -z "$CC"; then
3029 if test -n "$ac_tool_prefix"; then
3030 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3031 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3033 $as_echo_n "checking for $ac_word... " >&6; }
3034 if ${ac_cv_prog_CC+:} false
; then :
3035 $as_echo_n "(cached) " >&6
3037 if test -n "$CC"; then
3038 ac_cv_prog_CC
="$CC" # Let the user override the test.
3040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3044 test -z "$as_dir" && as_dir
=.
3045 for ac_exec_ext
in '' $ac_executable_extensions; do
3046 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3047 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3058 if test -n "$CC"; then
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3060 $as_echo "$CC" >&6; }
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3063 $as_echo "no" >&6; }
3069 if test -z "$CC"; then
3070 # Extract the first word of "cc", so it can be a program name with args.
3071 set dummy cc
; ac_word
=$2
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3073 $as_echo_n "checking for $ac_word... " >&6; }
3074 if ${ac_cv_prog_CC+:} false
; then :
3075 $as_echo_n "(cached) " >&6
3077 if test -n "$CC"; then
3078 ac_cv_prog_CC
="$CC" # Let the user override the test.
3081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3085 test -z "$as_dir" && as_dir
=.
3086 for ac_exec_ext
in '' $ac_executable_extensions; do
3087 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3088 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3089 ac_prog_rejected
=yes
3093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3100 if test $ac_prog_rejected = yes; then
3101 # We found a bogon in the path, so make sure we never use it.
3102 set dummy
$ac_cv_prog_CC
3104 if test $# != 0; then
3105 # We chose a different compiler from the bogus one.
3106 # However, it has the same basename, so the bogon will be chosen
3107 # first if we set CC to just the basename; use the full file name.
3109 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3115 if test -n "$CC"; then
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3117 $as_echo "$CC" >&6; }
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3120 $as_echo "no" >&6; }
3125 if test -z "$CC"; then
3126 if test -n "$ac_tool_prefix"; then
3127 for ac_prog
in cl.exe
3129 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3130 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3132 $as_echo_n "checking for $ac_word... " >&6; }
3133 if ${ac_cv_prog_CC+:} false
; then :
3134 $as_echo_n "(cached) " >&6
3136 if test -n "$CC"; then
3137 ac_cv_prog_CC
="$CC" # Let the user override the test.
3139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3143 test -z "$as_dir" && as_dir
=.
3144 for ac_exec_ext
in '' $ac_executable_extensions; do
3145 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3146 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3157 if test -n "$CC"; then
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3159 $as_echo "$CC" >&6; }
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162 $as_echo "no" >&6; }
3166 test -n "$CC" && break
3169 if test -z "$CC"; then
3171 for ac_prog
in cl.exe
3173 # Extract the first word of "$ac_prog", so it can be a program name with args.
3174 set dummy
$ac_prog; ac_word
=$2
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3176 $as_echo_n "checking for $ac_word... " >&6; }
3177 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3178 $as_echo_n "(cached) " >&6
3180 if test -n "$ac_ct_CC"; then
3181 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3187 test -z "$as_dir" && as_dir
=.
3188 for ac_exec_ext
in '' $ac_executable_extensions; do
3189 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3190 ac_cv_prog_ac_ct_CC
="$ac_prog"
3191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3200 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3201 if test -n "$ac_ct_CC"; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3203 $as_echo "$ac_ct_CC" >&6; }
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3210 test -n "$ac_ct_CC" && break
3213 if test "x$ac_ct_CC" = x
; then
3216 case $cross_compiling:$ac_tool_warned in
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3220 ac_tool_warned
=yes ;;
3229 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3231 as_fn_error $?
"no acceptable C compiler found in \$PATH
3232 See \`config.log' for more details" "$LINENO" 5; }
3234 # Provide some information about the compiler.
3235 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3238 for ac_option
in --version -v -V -qversion; do
3239 { { ac_try
="$ac_compiler $ac_option >&5"
3241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3242 *) ac_try_echo=$ac_try;;
3244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3245 $as_echo "$ac_try_echo"; } >&5
3246 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3248 if test -s conftest.err; then
3250 ... rest of stderr output deleted ...
3251 10q' conftest.err >conftest.er1
3252 cat conftest.er1 >&5
3254 rm -f conftest.er1 conftest.err
3255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3256 test $ac_status = 0; }
3259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260 /* end confdefs.h. */
3270 ac_clean_files_save=$ac_clean_files
3271 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3272 # Try to create an executable without -o first, disregard a.out.
3273 # It will help us diagnose broken compilers, and finding out an intuition
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3276 $as_echo_n "checking whether the C compiler works... " >&6; }
3277 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3279 # The possible output files:
3280 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3283 for ac_file in $ac_files
3286 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3287 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3292 if { { ac_try="$ac_link_default"
3294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3295 *) ac_try_echo
=$ac_try;;
3297 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3298 $as_echo "$ac_try_echo"; } >&5
3299 (eval "$ac_link_default") 2>&5
3301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3302 test $ac_status = 0; }; then :
3303 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3304 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3305 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3306 # so that the user can short-circuit this test for compilers unknown to
3308 for ac_file
in $ac_files ''
3310 test -f "$ac_file" ||
continue
3312 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3315 # We found the default executable, but exeext='' is most
3319 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3321 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3323 # We set ac_cv_exeext here because the later test for it is not
3324 # safe: cross compilers may not add the suffix if given an `-o'
3325 # argument, so we may need to know it at that point already.
3326 # Even if this section looks crufty: it has the advantage of
3333 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3338 if test -z "$ac_file"; then :
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3340 $as_echo "no" >&6; }
3341 $as_echo "$as_me: failed program was:" >&5
3342 sed 's/^/| /' conftest.
$ac_ext >&5
3344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3346 as_fn_error
77 "C compiler cannot create executables
3347 See \`config.log' for more details" "$LINENO" 5; }
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3350 $as_echo "yes" >&6; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3353 $as_echo_n "checking for C compiler default output file name... " >&6; }
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3355 $as_echo "$ac_file" >&6; }
3356 ac_exeext
=$ac_cv_exeext
3358 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3359 ac_clean_files
=$ac_clean_files_save
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3361 $as_echo_n "checking for suffix of executables... " >&6; }
3362 if { { ac_try
="$ac_link"
3364 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3365 *) ac_try_echo=$ac_try;;
3367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3368 $as_echo "$ac_try_echo"; } >&5
3369 (eval "$ac_link") 2>&5
3371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3372 test $ac_status = 0; }; then :
3373 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3374 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3375 # work properly (i.e., refer to `conftest.exe'), while it won't with
3377 for ac_file
in conftest.exe conftest conftest.
*; do
3378 test -f "$ac_file" ||
continue
3380 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3381 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3387 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3389 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3390 See \`config.log' for more details" "$LINENO" 5; }
3392 rm -f conftest conftest
$ac_cv_exeext
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3394 $as_echo "$ac_cv_exeext" >&6; }
3396 rm -f conftest.
$ac_ext
3397 EXEEXT
=$ac_cv_exeext
3399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h. */
3405 FILE *f = fopen ("conftest.out", "w");
3406 return ferror (f) || fclose (f) != 0;
3412 ac_clean_files
="$ac_clean_files conftest.out"
3413 # Check that the compiler produces executables we can run. If not, either
3414 # the compiler is broken, or we cross compile.
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3416 $as_echo_n "checking whether we are cross compiling... " >&6; }
3417 if test "$cross_compiling" != yes; then
3418 { { ac_try
="$ac_link"
3420 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3421 *) ac_try_echo=$ac_try;;
3423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3424 $as_echo "$ac_try_echo"; } >&5
3425 (eval "$ac_link") 2>&5
3427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3428 test $ac_status = 0; }
3429 if { ac_try='./conftest$ac_cv_exeext'
3430 { { case "(($ac_try" in
3431 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3432 *) ac_try_echo
=$ac_try;;
3434 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3435 $as_echo "$ac_try_echo"; } >&5
3436 (eval "$ac_try") 2>&5
3438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3439 test $ac_status = 0; }; }; then
3442 if test "$cross_compiling" = maybe
; then
3445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3447 as_fn_error $?
"cannot run C compiled programs.
3448 If you meant to cross compile, use \`--host'.
3449 See \`config.log' for more details" "$LINENO" 5; }
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3454 $as_echo "$cross_compiling" >&6; }
3456 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3457 ac_clean_files
=$ac_clean_files_save
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3459 $as_echo_n "checking for suffix of object files... " >&6; }
3460 if ${ac_cv_objext+:} false
; then :
3461 $as_echo_n "(cached) " >&6
3463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3464 /* end confdefs.h. */
3474 rm -f conftest.o conftest.obj
3475 if { { ac_try
="$ac_compile"
3477 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3478 *) ac_try_echo=$ac_try;;
3480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3481 $as_echo "$ac_try_echo"; } >&5
3482 (eval "$ac_compile") 2>&5
3484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3485 test $ac_status = 0; }; then :
3486 for ac_file in conftest.o conftest.obj conftest.*; do
3487 test -f "$ac_file" || continue;
3489 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3490 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3495 $as_echo "$as_me: failed program was:" >&5
3496 sed 's/^/| /' conftest.$ac_ext >&5
3498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3500 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3501 See \
`config.log' for more details" "$LINENO" 5; }
3503 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3506 $as_echo "$ac_cv_objext" >&6; }
3507 OBJEXT=$ac_cv_objext
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3510 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3511 if ${ac_cv_c_compiler_gnu+:} false; then :
3512 $as_echo_n "(cached) " >&6
3514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515 /* end confdefs.h. */
3528 if ac_fn_c_try_compile "$LINENO"; then :
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3534 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3538 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3539 if test $ac_compiler_gnu = yes; then
3544 ac_test_CFLAGS=${CFLAGS+set}
3545 ac_save_CFLAGS=$CFLAGS
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3547 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3548 if ${ac_cv_prog_cc_g+:} false; then :
3549 $as_echo_n "(cached) " >&6
3551 ac_save_c_werror_flag=$ac_c_werror_flag
3552 ac_c_werror_flag=yes
3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3556 /* end confdefs.h. */
3566 if ac_fn_c_try_compile "$LINENO"; then :
3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h. */
3581 if ac_fn_c_try_compile "$LINENO"; then :
3584 ac_c_werror_flag=$ac_save_c_werror_flag
3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3587 /* end confdefs.h. */
3597 if ac_fn_c_try_compile "$LINENO"; then :
3600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3605 ac_c_werror_flag=$ac_save_c_werror_flag
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3608 $as_echo "$ac_cv_prog_cc_g" >&6; }
3609 if test "$ac_test_CFLAGS" = set; then
3610 CFLAGS=$ac_save_CFLAGS
3611 elif test $ac_cv_prog_cc_g = yes; then
3612 if test "$GCC" = yes; then
3618 if test "$GCC" = yes; then
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3625 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3626 if ${ac_cv_prog_cc_c89+:} false; then :
3627 $as_echo_n "(cached) " >&6
3629 ac_cv_prog_cc_c89=no
3631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3636 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3637 struct buf { int x; };
3638 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3639 static char *e (p, i)
3645 static char *f (char * (*g) (char **, int), char **p, ...)
3650 s = g (p, va_arg (v,int));
3655 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3656 function prototypes and stuff, but not '\xHH' hex character constants.
3657 These don't provoke an error unfortunately, instead are silently treated
3658 as 'x'. The following induces an error, until -std is added to get
3659 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3660 array size at least. It's necessary to write '\x00'==0 to get something
3661 that's true only with -std. */
3662 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3664 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3665 inside strings and character constants. */
3667 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3669 int test (int i, double x);
3670 struct s1 {int (*f) (int a);};
3671 struct s2 {int (*f) (double a);};
3672 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3678 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3683 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3684 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3686 CC="$ac_save_CC $ac_arg"
3687 if ac_fn_c_try_compile "$LINENO"; then :
3688 ac_cv_prog_cc_c89=$ac_arg
3690 rm -f core conftest.err conftest.$ac_objext
3691 test "x$ac_cv_prog_cc_c89" != "xno" && break
3693 rm -f conftest.$ac_ext
3698 case "x$ac_cv_prog_cc_c89" in
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3701 $as_echo "none needed" >&6; } ;;
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3704 $as_echo "unsupported" >&6; } ;;
3706 CC="$CC $ac_cv_prog_cc_c89"
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3708 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3710 if test "x$ac_cv_prog_cc_c89" != xno; then :
3715 ac_cpp='$CPP $CPPFLAGS'
3716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3721 ac_cpp='$CXXCPP $CPPFLAGS'
3722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3725 if test -z "$CXX"; then
3726 if test -n "$CCC"; then
3729 if test -n "$ac_tool_prefix"; then
3730 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3735 $as_echo_n "checking for $ac_word... " >&6; }
3736 if ${ac_cv_prog_CXX+:} false; then :
3737 $as_echo_n "(cached) " >&6
3739 if test -n "$CXX"; then
3740 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 test -z "$as_dir" && as_dir=.
3747 for ac_exec_ext in '' $ac_executable_extensions; do
3748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3749 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3760 if test -n "$CXX"; then
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3762 $as_echo "$CXX" >&6; }
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3765 $as_echo "no" >&6; }
3769 test -n "$CXX" && break
3772 if test -z "$CXX"; then
3774 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3776 # Extract the first word of "$ac_prog", so it can be a program name with args.
3777 set dummy $ac_prog; ac_word=$2
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3779 $as_echo_n "checking for $ac_word... " >&6; }
3780 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3781 $as_echo_n "(cached) " >&6
3783 if test -n "$ac_ct_CXX"; then
3784 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 test -z "$as_dir" && as_dir=.
3791 for ac_exec_ext in '' $ac_executable_extensions; do
3792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3793 ac_cv_prog_ac_ct_CXX="$ac_prog"
3794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3804 if test -n "$ac_ct_CXX"; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3806 $as_echo "$ac_ct_CXX" >&6; }
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809 $as_echo "no" >&6; }
3813 test -n "$ac_ct_CXX" && break
3816 if test "x$ac_ct_CXX" = x; then
3819 case $cross_compiling:$ac_tool_warned in
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3823 ac_tool_warned=yes ;;
3831 # Provide some information about the compiler.
3832 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3835 for ac_option in --version -v -V -qversion; do
3836 { { ac_try="$ac_compiler $ac_option >&5"
3838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3839 *) ac_try_echo
=$ac_try;;
3841 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3842 $as_echo "$ac_try_echo"; } >&5
3843 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3845 if test -s conftest.err
; then
3847 ... rest of stderr output deleted ...
3848 10q' conftest.err
>conftest.er1
3849 cat conftest.er1
>&5
3851 rm -f conftest.er1 conftest.err
3852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3853 test $ac_status = 0; }
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3857 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3858 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3859 $as_echo_n "(cached) " >&6
3861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3862 /* end confdefs.h. */
3875 if ac_fn_cxx_try_compile
"$LINENO"; then :
3880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3881 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3885 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3886 if test $ac_compiler_gnu = yes; then
3891 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3892 ac_save_CXXFLAGS
=$CXXFLAGS
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3894 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3895 if ${ac_cv_prog_cxx_g+:} false
; then :
3896 $as_echo_n "(cached) " >&6
3898 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3899 ac_cxx_werror_flag
=yes
3902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3903 /* end confdefs.h. */
3913 if ac_fn_cxx_try_compile
"$LINENO"; then :
3914 ac_cv_prog_cxx_g
=yes
3917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3928 if ac_fn_cxx_try_compile
"$LINENO"; then :
3931 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3934 /* end confdefs.h. */
3944 if ac_fn_cxx_try_compile
"$LINENO"; then :
3945 ac_cv_prog_cxx_g
=yes
3947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3949 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3952 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3955 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3956 if test "$ac_test_CXXFLAGS" = set; then
3957 CXXFLAGS
=$ac_save_CXXFLAGS
3958 elif test $ac_cv_prog_cxx_g = yes; then
3959 if test "$GXX" = yes; then
3965 if test "$GXX" = yes; then
3972 ac_cpp
='$CPP $CPPFLAGS'
3973 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3974 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3975 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3977 if test -n "$ac_tool_prefix"; then
3978 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3979 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3981 $as_echo_n "checking for $ac_word... " >&6; }
3982 if ${ac_cv_prog_CPPBIN+:} false
; then :
3983 $as_echo_n "(cached) " >&6
3985 if test -n "$CPPBIN"; then
3986 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
3988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3992 test -z "$as_dir" && as_dir
=.
3993 for ac_exec_ext
in '' $ac_executable_extensions; do
3994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3995 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
3996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4005 CPPBIN
=$ac_cv_prog_CPPBIN
4006 if test -n "$CPPBIN"; then
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4008 $as_echo "$CPPBIN" >&6; }
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4011 $as_echo "no" >&6; }
4016 if test -z "$ac_cv_prog_CPPBIN"; then
4017 ac_ct_CPPBIN
=$CPPBIN
4018 # Extract the first word of "cpp", so it can be a program name with args.
4019 set dummy cpp
; ac_word
=$2
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4021 $as_echo_n "checking for $ac_word... " >&6; }
4022 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4023 $as_echo_n "(cached) " >&6
4025 if test -n "$ac_ct_CPPBIN"; then
4026 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4032 test -z "$as_dir" && as_dir
=.
4033 for ac_exec_ext
in '' $ac_executable_extensions; do
4034 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4035 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4045 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4046 if test -n "$ac_ct_CPPBIN"; then
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4048 $as_echo "$ac_ct_CPPBIN" >&6; }
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4051 $as_echo "no" >&6; }
4054 if test "x$ac_ct_CPPBIN" = x
; then
4057 case $cross_compiling:$ac_tool_warned in
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4061 ac_tool_warned
=yes ;;
4063 CPPBIN
=$ac_ct_CPPBIN
4066 CPPBIN
="$ac_cv_prog_CPPBIN"
4070 cat >>confdefs.h
<<_ACEOF
4071 #define EXEEXT "$ac_exeext"
4077 if test "x$enable_win64" = "xyes"
4082 notice_platform
="64-bit "
4089 notice_platform
="32-bit "
4092 enable_win16
=${enable_win16:-yes}
4094 with_fontconfig
=${with_fontconfig:-no}
4097 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4102 $as_echo_n "checking whether $CC works... " >&6; }
4104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4105 /* end confdefs.h. */
4115 if ac_fn_c_try_link
"$LINENO"; then :
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4117 $as_echo "yes" >&6; }
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4120 $as_echo "no" >&6; }
4121 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4123 rm -f core conftest.err conftest.
$ac_objext \
4124 conftest
$ac_exeext conftest.
$ac_ext
4126 notice_platform
="32-bit "
4129 enable_win16
=${enable_win16:-yes}
4131 if test "x${GCC}" = "xyes"
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4134 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h. */
4141 void func(__builtin_ms_va_list *args);
4146 if ac_fn_c_try_compile
"$LINENO"; then :
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4148 $as_echo "yes" >&6; }
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4151 $as_echo "no" >&6; }
4152 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4162 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4165 int ac_test(int i) { return i; }
4169 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4174 if ac_fn_c_try_link
"$LINENO"; then :
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4176 $as_echo "yes" >&6; }
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4179 $as_echo "no" >&6; }
4180 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4182 rm -f core conftest.err conftest.
$ac_objext \
4183 conftest
$ac_exeext conftest.
$ac_ext
4184 CFLAGS
="$CFLAGS -marm"
4186 *-mingw32*|
*-cygwin*)
4187 enable_win16
=${enable_win16:-no}
4188 CFLAGS
="$CFLAGS -D_WIN32"
4191 enable_win16
=${enable_win16:-yes}
4195 enable_win16
=${enable_win16:-no}
4196 enable_win64
=${enable_win64:-no}
4198 enable_winetest
=${enable_winetest:-$enable_tests}
4200 if test -n "$with_wine64"
4202 if test "x$enable_win64" = "xyes"
4204 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4205 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4209 enable_fonts
=${enable_fonts:-no}
4210 enable_server
=${enable_server:-no}
4211 enable_tools
=${enable_tools:-no}
4212 elif test "x$enable_win64" = "xyes"
4214 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4218 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4219 if ${wine_cv_toolsdir+:} false
; then :
4220 $as_echo_n "(cached) " >&6
4222 wine_cv_toolsdir
="$with_wine_tools"
4223 if test -z "$with_wine_tools"; then
4224 if test "$cross_compiling" = "yes"; then
4225 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4226 elif test -n "$with_wine64"; then
4227 wine_cv_toolsdir
="$with_wine64"
4230 if test -z "$wine_cv_toolsdir"; then
4231 wine_cv_toolsdir
="\$(top_builddir)"
4232 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4233 case "$wine_cv_toolsdir" in
4235 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4238 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4242 $as_echo "$wine_cv_toolsdir" >&6; }
4243 TOOLSDIR
=$wine_cv_toolsdir
4245 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4247 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4253 # Extract the first word of "$ac_prog", so it can be a program name with args.
4254 set dummy
$ac_prog; ac_word
=$2
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4256 $as_echo_n "checking for $ac_word... " >&6; }
4257 if ${ac_cv_prog_FLEX+:} false
; then :
4258 $as_echo_n "(cached) " >&6
4260 if test -n "$FLEX"; then
4261 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4267 test -z "$as_dir" && as_dir
=.
4268 for ac_exec_ext
in '' $ac_executable_extensions; do
4269 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4270 ac_cv_prog_FLEX
="$ac_prog"
4271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4280 FLEX
=$ac_cv_prog_FLEX
4281 if test -n "$FLEX"; then
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4283 $as_echo "$FLEX" >&6; }
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4286 $as_echo "no" >&6; }
4290 test -n "$FLEX" && break
4292 test -n "$FLEX" || FLEX
="none"
4294 if test "$FLEX" = "none"
4296 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4299 $as_echo_n "checking whether flex is recent enough... " >&6; }
4300 cat >conftest.l
<<EOF
4302 #include "prediluvian.h"
4306 if $FLEX -t conftest.l
>/dev
/null
2>&5
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4309 $as_echo "yes" >&6; }
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4312 $as_echo "no" >&6; }
4313 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4316 for ac_prog
in bison
4318 # Extract the first word of "$ac_prog", so it can be a program name with args.
4319 set dummy
$ac_prog; ac_word
=$2
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4321 $as_echo_n "checking for $ac_word... " >&6; }
4322 if ${ac_cv_prog_BISON+:} false
; then :
4323 $as_echo_n "(cached) " >&6
4325 if test -n "$BISON"; then
4326 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4332 test -z "$as_dir" && as_dir
=.
4333 for ac_exec_ext
in '' $ac_executable_extensions; do
4334 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4335 ac_cv_prog_BISON
="$ac_prog"
4336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4345 BISON
=$ac_cv_prog_BISON
4346 if test -n "$BISON"; then
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4348 $as_echo "$BISON" >&6; }
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4351 $as_echo "no" >&6; }
4355 test -n "$BISON" && break
4357 test -n "$BISON" || BISON
="none"
4359 if test "$BISON" = "none"
4361 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4364 if test -n "$ac_tool_prefix"; then
4365 for ac_prog
in ar gar
4367 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4368 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4370 $as_echo_n "checking for $ac_word... " >&6; }
4371 if ${ac_cv_prog_AR+:} false
; then :
4372 $as_echo_n "(cached) " >&6
4374 if test -n "$AR"; then
4375 ac_cv_prog_AR
="$AR" # Let the user override the test.
4377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4381 test -z "$as_dir" && as_dir
=.
4382 for ac_exec_ext
in '' $ac_executable_extensions; do
4383 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4384 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4395 if test -n "$AR"; then
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4397 $as_echo "$AR" >&6; }
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4400 $as_echo "no" >&6; }
4404 test -n "$AR" && break
4407 if test -z "$AR"; then
4409 for ac_prog
in ar gar
4411 # Extract the first word of "$ac_prog", so it can be a program name with args.
4412 set dummy
$ac_prog; ac_word
=$2
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4414 $as_echo_n "checking for $ac_word... " >&6; }
4415 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4416 $as_echo_n "(cached) " >&6
4418 if test -n "$ac_ct_AR"; then
4419 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4425 test -z "$as_dir" && as_dir
=.
4426 for ac_exec_ext
in '' $ac_executable_extensions; do
4427 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4428 ac_cv_prog_ac_ct_AR
="$ac_prog"
4429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4438 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4439 if test -n "$ac_ct_AR"; then
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4441 $as_echo "$ac_ct_AR" >&6; }
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4444 $as_echo "no" >&6; }
4448 test -n "$ac_ct_AR" && break
4451 if test "x$ac_ct_AR" = x
; then
4454 case $cross_compiling:$ac_tool_warned in
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4458 ac_tool_warned
=yes ;;
4466 if test -n "$ac_tool_prefix"; then
4467 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4468 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4470 $as_echo_n "checking for $ac_word... " >&6; }
4471 if ${ac_cv_prog_RANLIB+:} false
; then :
4472 $as_echo_n "(cached) " >&6
4474 if test -n "$RANLIB"; then
4475 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4481 test -z "$as_dir" && as_dir
=.
4482 for ac_exec_ext
in '' $ac_executable_extensions; do
4483 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4484 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4494 RANLIB
=$ac_cv_prog_RANLIB
4495 if test -n "$RANLIB"; then
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4497 $as_echo "$RANLIB" >&6; }
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4500 $as_echo "no" >&6; }
4505 if test -z "$ac_cv_prog_RANLIB"; then
4506 ac_ct_RANLIB
=$RANLIB
4507 # Extract the first word of "ranlib", so it can be a program name with args.
4508 set dummy ranlib
; ac_word
=$2
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4510 $as_echo_n "checking for $ac_word... " >&6; }
4511 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4512 $as_echo_n "(cached) " >&6
4514 if test -n "$ac_ct_RANLIB"; then
4515 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4521 test -z "$as_dir" && as_dir
=.
4522 for ac_exec_ext
in '' $ac_executable_extensions; do
4523 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4524 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4534 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4535 if test -n "$ac_ct_RANLIB"; then
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4537 $as_echo "$ac_ct_RANLIB" >&6; }
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4540 $as_echo "no" >&6; }
4543 if test "x$ac_ct_RANLIB" = x
; then
4546 case $cross_compiling:$ac_tool_warned in
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4549 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4550 ac_tool_warned
=yes ;;
4552 RANLIB
=$ac_ct_RANLIB
4555 RANLIB
="$ac_cv_prog_RANLIB"
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4559 $as_echo_n "checking whether ln -s works... " >&6; }
4561 if test "$LN_S" = "ln -s"; then
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4563 $as_echo "yes" >&6; }
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4566 $as_echo "no, using $LN_S" >&6; }
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4570 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4571 if ${ac_cv_path_GREP+:} false
; then :
4572 $as_echo_n "(cached) " >&6
4574 if test -z "$GREP"; then
4575 ac_path_GREP_found
=false
4576 # Loop through the user's path and test for each of PROGNAME-LIST
4577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4578 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4581 test -z "$as_dir" && as_dir
=.
4582 for ac_prog
in grep ggrep
; do
4583 for ac_exec_ext
in '' $ac_executable_extensions; do
4584 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4585 as_fn_executable_p
"$ac_path_GREP" ||
continue
4586 # Check for GNU ac_path_GREP and select it if it is found.
4587 # Check for GNU $ac_path_GREP
4588 case `"$ac_path_GREP" --version 2>&1` in
4590 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4593 $as_echo_n 0123456789 >"conftest.in"
4596 cat "conftest.in" "conftest.in" >"conftest.tmp"
4597 mv "conftest.tmp" "conftest.in"
4598 cp "conftest.in" "conftest.nl"
4599 $as_echo 'GREP' >> "conftest.nl"
4600 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4601 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4602 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4603 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4604 # Best one so far, save it but keep looking for a better one
4605 ac_cv_path_GREP
="$ac_path_GREP"
4606 ac_path_GREP_max
=$ac_count
4608 # 10*(2^10) chars as input seems more than enough
4609 test $ac_count -gt 10 && break
4611 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4614 $ac_path_GREP_found && break 3
4619 if test -z "$ac_cv_path_GREP"; then
4620 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4623 ac_cv_path_GREP
=$GREP
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4628 $as_echo "$ac_cv_path_GREP" >&6; }
4629 GREP
="$ac_cv_path_GREP"
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4633 $as_echo_n "checking for egrep... " >&6; }
4634 if ${ac_cv_path_EGREP+:} false
; then :
4635 $as_echo_n "(cached) " >&6
4637 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4638 then ac_cv_path_EGREP
="$GREP -E"
4640 if test -z "$EGREP"; then
4641 ac_path_EGREP_found
=false
4642 # Loop through the user's path and test for each of PROGNAME-LIST
4643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4644 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4647 test -z "$as_dir" && as_dir
=.
4648 for ac_prog
in egrep; do
4649 for ac_exec_ext
in '' $ac_executable_extensions; do
4650 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4651 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4652 # Check for GNU ac_path_EGREP and select it if it is found.
4653 # Check for GNU $ac_path_EGREP
4654 case `"$ac_path_EGREP" --version 2>&1` in
4656 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4659 $as_echo_n 0123456789 >"conftest.in"
4662 cat "conftest.in" "conftest.in" >"conftest.tmp"
4663 mv "conftest.tmp" "conftest.in"
4664 cp "conftest.in" "conftest.nl"
4665 $as_echo 'EGREP' >> "conftest.nl"
4666 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4667 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4668 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4669 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4670 # Best one so far, save it but keep looking for a better one
4671 ac_cv_path_EGREP
="$ac_path_EGREP"
4672 ac_path_EGREP_max
=$ac_count
4674 # 10*(2^10) chars as input seems more than enough
4675 test $ac_count -gt 10 && break
4677 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4680 $ac_path_EGREP_found && break 3
4685 if test -z "$ac_cv_path_EGREP"; then
4686 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4689 ac_cv_path_EGREP
=$EGREP
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4695 $as_echo "$ac_cv_path_EGREP" >&6; }
4696 EGREP
="$ac_cv_path_EGREP"
4699 # Extract the first word of "ldconfig", so it can be a program name with args.
4700 set dummy ldconfig
; ac_word
=$2
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4702 $as_echo_n "checking for $ac_word... " >&6; }
4703 if ${ac_cv_path_LDCONFIG+:} false
; then :
4704 $as_echo_n "(cached) " >&6
4708 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4712 for as_dir
in /sbin
/usr
/sbin
$PATH
4715 test -z "$as_dir" && as_dir
=.
4716 for ac_exec_ext
in '' $ac_executable_extensions; do
4717 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4718 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4726 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4730 LDCONFIG
=$ac_cv_path_LDCONFIG
4731 if test -n "$LDCONFIG"; then
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4733 $as_echo "$LDCONFIG" >&6; }
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4736 $as_echo "no" >&6; }
4740 # Find a good install program. We prefer a C program (faster),
4741 # so one script is as good as another. But avoid the broken or
4742 # incompatible versions:
4743 # SysV /etc/install, /usr/sbin/install
4744 # SunOS /usr/etc/install
4745 # IRIX /sbin/install
4747 # AmigaOS /C/install, which installs bootblocks on floppy discs
4748 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4749 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4750 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4751 # OS/2's system install, which has a completely different semantic
4752 # ./install, which can be erroneously created by make from ./install.sh.
4753 # Reject install programs that cannot install multiple files.
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4755 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4756 if test -z "$INSTALL"; then
4757 if ${ac_cv_path_install+:} false
; then :
4758 $as_echo_n "(cached) " >&6
4760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4764 test -z "$as_dir" && as_dir
=.
4765 # Account for people who put trailing slashes in PATH elements.
4766 case $as_dir/ in #((
4767 .
/ | .
// |
/[cC
]/* | \
4768 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4769 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4772 # OSF1 and SCO ODT 3.0 have their own names for install.
4773 # Don't use installbsd from OSF since it installs stuff as root
4775 for ac_prog
in ginstall scoinst
install; do
4776 for ac_exec_ext
in '' $ac_executable_extensions; do
4777 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4778 if test $ac_prog = install &&
4779 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4780 # AIX install. It has an incompatible calling convention.
4782 elif test $ac_prog = install &&
4783 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4784 # program-specific install script used by HP pwplus--don't use.
4787 rm -rf conftest.one conftest.two conftest.dir
4788 echo one
> conftest.one
4789 echo two
> conftest.two
4791 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4792 test -s conftest.one
&& test -s conftest.two
&&
4793 test -s conftest.dir
/conftest.one
&&
4794 test -s conftest.dir
/conftest.two
4796 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4809 rm -rf conftest.one conftest.two conftest.dir
4812 if test "${ac_cv_path_install+set}" = set; then
4813 INSTALL
=$ac_cv_path_install
4815 # As a last resort, use the slow shell script. Don't cache a
4816 # value for INSTALL within a source directory, because that will
4817 # break other packages using the cache if that directory is
4818 # removed, or if the value is a relative name.
4819 INSTALL
=$ac_install_sh
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4823 $as_echo "$INSTALL" >&6; }
4825 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4826 # It thinks the first close brace ends the variable substitution.
4827 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4829 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4831 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4834 [\\/$
]* | ?
:[\\/]* ) ;;
4835 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4838 for ac_prog
in lclint lint
4840 # Extract the first word of "$ac_prog", so it can be a program name with args.
4841 set dummy
$ac_prog; ac_word
=$2
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4843 $as_echo_n "checking for $ac_word... " >&6; }
4844 if ${ac_cv_prog_LINT+:} false
; then :
4845 $as_echo_n "(cached) " >&6
4847 if test -n "$LINT"; then
4848 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4854 test -z "$as_dir" && as_dir
=.
4855 for ac_exec_ext
in '' $ac_executable_extensions; do
4856 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4857 ac_cv_prog_LINT
="$ac_prog"
4858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4867 LINT
=$ac_cv_prog_LINT
4868 if test -n "$LINT"; then
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4870 $as_echo "$LINT" >&6; }
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4873 $as_echo "no" >&6; }
4877 test -n "$LINT" && break
4880 if test "$LINT" = "lint"
4882 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4886 for ac_prog
in fontforge
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_FONTFORGE+:} false
; then :
4893 $as_echo_n "(cached) " >&6
4895 if test -n "$FONTFORGE"; then
4896 ac_cv_prog_FONTFORGE
="$FONTFORGE" # 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_FONTFORGE
="$ac_prog"
4906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 FONTFORGE
=$ac_cv_prog_FONTFORGE
4916 if test -n "$FONTFORGE"; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4918 $as_echo "$FONTFORGE" >&6; }
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921 $as_echo "no" >&6; }
4925 test -n "$FONTFORGE" && break
4927 test -n "$FONTFORGE" || FONTFORGE
="false"
4929 for ac_prog
in pkg-config
4931 # Extract the first word of "$ac_prog", so it can be a program name with args.
4932 set dummy
$ac_prog; ac_word
=$2
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4934 $as_echo_n "checking for $ac_word... " >&6; }
4935 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
4936 $as_echo_n "(cached) " >&6
4938 if test -n "$PKG_CONFIG"; then
4939 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
4941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4945 test -z "$as_dir" && as_dir
=.
4946 for ac_exec_ext
in '' $ac_executable_extensions; do
4947 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4948 ac_cv_prog_PKG_CONFIG
="$ac_prog"
4949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4958 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
4959 if test -n "$PKG_CONFIG"; then
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4961 $as_echo "$PKG_CONFIG" >&6; }
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 $as_echo "no" >&6; }
4968 test -n "$PKG_CONFIG" && break
4970 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
4974 # Extract the first word of "$ac_prog", so it can be a program name with args.
4975 set dummy
$ac_prog; ac_word
=$2
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4977 $as_echo_n "checking for $ac_word... " >&6; }
4978 if ${ac_cv_prog_RSVG+:} false
; then :
4979 $as_echo_n "(cached) " >&6
4981 if test -n "$RSVG"; then
4982 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
4984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4988 test -z "$as_dir" && as_dir
=.
4989 for ac_exec_ext
in '' $ac_executable_extensions; do
4990 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4991 ac_cv_prog_RSVG
="$ac_prog"
4992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5001 RSVG
=$ac_cv_prog_RSVG
5002 if test -n "$RSVG"; then
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5004 $as_echo "$RSVG" >&6; }
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5007 $as_echo "no" >&6; }
5011 test -n "$RSVG" && break
5013 test -n "$RSVG" || RSVG
="false"
5015 for ac_prog
in convert
5017 # Extract the first word of "$ac_prog", so it can be a program name with args.
5018 set dummy
$ac_prog; ac_word
=$2
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5020 $as_echo_n "checking for $ac_word... " >&6; }
5021 if ${ac_cv_prog_CONVERT+:} false
; then :
5022 $as_echo_n "(cached) " >&6
5024 if test -n "$CONVERT"; then
5025 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5031 test -z "$as_dir" && as_dir
=.
5032 for ac_exec_ext
in '' $ac_executable_extensions; do
5033 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5034 ac_cv_prog_CONVERT
="$ac_prog"
5035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 CONVERT
=$ac_cv_prog_CONVERT
5045 if test -n "$CONVERT"; then
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5047 $as_echo "$CONVERT" >&6; }
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5050 $as_echo "no" >&6; }
5054 test -n "$CONVERT" && break
5056 test -n "$CONVERT" || CONVERT
="false"
5058 for ac_prog
in icotool
5060 # Extract the first word of "$ac_prog", so it can be a program name with args.
5061 set dummy
$ac_prog; ac_word
=$2
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5063 $as_echo_n "checking for $ac_word... " >&6; }
5064 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5065 $as_echo_n "(cached) " >&6
5067 if test -n "$ICOTOOL"; then
5068 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5074 test -z "$as_dir" && as_dir
=.
5075 for ac_exec_ext
in '' $ac_executable_extensions; do
5076 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5077 ac_cv_prog_ICOTOOL
="$ac_prog"
5078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 ICOTOOL
=$ac_cv_prog_ICOTOOL
5088 if test -n "$ICOTOOL"; then
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5090 $as_echo "$ICOTOOL" >&6; }
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5093 $as_echo "no" >&6; }
5097 test -n "$ICOTOOL" && break
5099 test -n "$ICOTOOL" || ICOTOOL
="false"
5101 for ac_prog
in msgfmt
5103 # Extract the first word of "$ac_prog", so it can be a program name with args.
5104 set dummy
$ac_prog; ac_word
=$2
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if ${ac_cv_prog_MSGFMT+:} false
; then :
5108 $as_echo_n "(cached) " >&6
5110 if test -n "$MSGFMT"; then
5111 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5117 test -z "$as_dir" && as_dir
=.
5118 for ac_exec_ext
in '' $ac_executable_extensions; do
5119 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5120 ac_cv_prog_MSGFMT
="$ac_prog"
5121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5130 MSGFMT
=$ac_cv_prog_MSGFMT
5131 if test -n "$MSGFMT"; then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5133 $as_echo "$MSGFMT" >&6; }
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5140 test -n "$MSGFMT" && break
5142 test -n "$MSGFMT" || MSGFMT
="false"
5145 if test "x$enable_maintainer_mode" != "xyes"
5150 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5151 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5153 if test "$CONVERT" = false
5155 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5158 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5159 convert_version
=`convert --version | head -n1`
5160 if test "x$convert_version" != "x"
5162 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5163 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5164 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5169 if test "$CONVERT" = false
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5172 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5173 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5176 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5180 if test "$ICOTOOL" = false
5182 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5185 $as_echo_n "checking for recent enough icotool... " >&6; }
5186 icotool_version
=`icotool --version | head -n1`
5187 if test "x$icotool_version" != "x"
5189 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5190 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5191 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5194 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5197 if test "$ICOTOOL" = false
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5200 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5201 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5204 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5210 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5213 test "x$with_gettext" != xno || MSGFMT
=false
5214 if test "$MSGFMT" != "false"
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5217 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5218 cat >conftest.po
<<EOF
5224 if $MSGFMT -o /dev
/null conftest.po
2>&5
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5227 $as_echo "yes" >&6; }
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5234 if test "$MSGFMT" = false
; then :
5235 case "x$with_gettext" in
5236 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5238 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5239 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5245 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5246 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5247 $as_echo_n "(cached) " >&6
5249 ac_check_lib_save_LIBS
=$LIBS
5251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5252 /* end confdefs.h. */
5254 /* Override any GCC internal prototype to avoid an error.
5255 Use char because int might match the return type of a GCC
5256 builtin and then its argument prototype would still apply. */
5260 char i386_set_ldt ();
5264 return i386_set_ldt ();
5269 if ac_fn_c_try_link
"$LINENO"; then :
5270 ac_cv_lib_i386_i386_set_ldt
=yes
5272 ac_cv_lib_i386_i386_set_ldt
=no
5274 rm -f core conftest.err conftest.
$ac_objext \
5275 conftest
$ac_exeext conftest.
$ac_ext
5276 LIBS
=$ac_check_lib_save_LIBS
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5279 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5280 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5281 cat >>confdefs.h
<<_ACEOF
5282 #define HAVE_LIBI386 1
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5290 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5291 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5292 $as_echo_n "(cached) " >&6
5294 ac_check_lib_save_LIBS
=$LIBS
5295 LIBS
="-lossaudio $LIBS"
5296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5297 /* end confdefs.h. */
5299 /* Override any GCC internal prototype to avoid an error.
5300 Use char because int might match the return type of a GCC
5301 builtin and then its argument prototype would still apply. */
5309 return _oss_ioctl ();
5314 if ac_fn_c_try_link
"$LINENO"; then :
5315 ac_cv_lib_ossaudio__oss_ioctl
=yes
5317 ac_cv_lib_ossaudio__oss_ioctl
=no
5319 rm -f core conftest.err conftest.
$ac_objext \
5320 conftest
$ac_exeext conftest.
$ac_ext
5321 LIBS
=$ac_check_lib_save_LIBS
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5324 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5325 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5326 cat >>confdefs.h
<<_ACEOF
5327 #define HAVE_LIBOSSAUDIO 1
5330 LIBS
="-lossaudio $LIBS"
5341 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
5343 # Check whether --enable-largefile was given.
5344 if test "${enable_largefile+set}" = set; then :
5345 enableval
=$enable_largefile;
5348 if test "$enable_largefile" != no
; then
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5351 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5352 if ${ac_cv_sys_largefile_CC+:} false
; then :
5353 $as_echo_n "(cached) " >&6
5355 ac_cv_sys_largefile_CC
=no
5356 if test "$GCC" != yes; then
5359 # IRIX 6.2 and later do not support large files by default,
5360 # so use the C compiler's -n32 option if that helps.
5361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5362 /* end confdefs.h. */
5363 #include <sys/types.h>
5364 /* Check that off_t can represent 2**63 - 1 correctly.
5365 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5366 since some C++ compilers masquerading as C compilers
5367 incorrectly reject 9223372036854775807. */
5368 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5369 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5370 && LARGE_OFF_T % 2147483647 == 1)
5380 if ac_fn_c_try_compile
"$LINENO"; then :
5383 rm -f core conftest.err conftest.
$ac_objext
5385 if ac_fn_c_try_compile
"$LINENO"; then :
5386 ac_cv_sys_largefile_CC
=' -n32'; break
5388 rm -f core conftest.err conftest.
$ac_objext
5392 rm -f conftest.
$ac_ext
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5396 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5397 if test "$ac_cv_sys_largefile_CC" != no
; then
5398 CC
=$CC$ac_cv_sys_largefile_CC
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5402 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5403 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5404 $as_echo_n "(cached) " >&6
5407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5408 /* end confdefs.h. */
5409 #include <sys/types.h>
5410 /* Check that off_t can represent 2**63 - 1 correctly.
5411 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5412 since some C++ compilers masquerading as C compilers
5413 incorrectly reject 9223372036854775807. */
5414 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5415 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5416 && LARGE_OFF_T % 2147483647 == 1)
5426 if ac_fn_c_try_compile
"$LINENO"; then :
5427 ac_cv_sys_file_offset_bits
=no
; break
5429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5431 /* end confdefs.h. */
5432 #define _FILE_OFFSET_BITS 64
5433 #include <sys/types.h>
5434 /* Check that off_t can represent 2**63 - 1 correctly.
5435 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5436 since some C++ compilers masquerading as C compilers
5437 incorrectly reject 9223372036854775807. */
5438 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5439 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5440 && LARGE_OFF_T % 2147483647 == 1)
5450 if ac_fn_c_try_compile
"$LINENO"; then :
5451 ac_cv_sys_file_offset_bits
=64; break
5453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5454 ac_cv_sys_file_offset_bits
=unknown
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5459 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5460 case $ac_cv_sys_file_offset_bits in #(
5463 cat >>confdefs.h
<<_ACEOF
5464 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5469 if test $ac_cv_sys_file_offset_bits = unknown
; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5471 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5472 if ${ac_cv_sys_large_files+:} false
; then :
5473 $as_echo_n "(cached) " >&6
5476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5477 /* end confdefs.h. */
5478 #include <sys/types.h>
5479 /* Check that off_t can represent 2**63 - 1 correctly.
5480 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5481 since some C++ compilers masquerading as C compilers
5482 incorrectly reject 9223372036854775807. */
5483 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5484 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5485 && LARGE_OFF_T % 2147483647 == 1)
5495 if ac_fn_c_try_compile
"$LINENO"; then :
5496 ac_cv_sys_large_files
=no
; break
5498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5500 /* end confdefs.h. */
5501 #define _LARGE_FILES 1
5502 #include <sys/types.h>
5503 /* Check that off_t can represent 2**63 - 1 correctly.
5504 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5505 since some C++ compilers masquerading as C compilers
5506 incorrectly reject 9223372036854775807. */
5507 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5508 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5509 && LARGE_OFF_T % 2147483647 == 1)
5519 if ac_fn_c_try_compile
"$LINENO"; then :
5520 ac_cv_sys_large_files
=1; break
5522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5523 ac_cv_sys_large_files
=unknown
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5528 $as_echo "$ac_cv_sys_large_files" >&6; }
5529 case $ac_cv_sys_large_files in #(
5532 cat >>confdefs.h
<<_ACEOF
5533 #define _LARGE_FILES $ac_cv_sys_large_files
5545 ac_cpp
='$CPP $CPPFLAGS'
5546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5550 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5551 # On Suns, sometimes $CPP names a directory.
5552 if test -n "$CPP" && test -d "$CPP"; then
5555 if test -z "$CPP"; then
5556 if ${ac_cv_prog_CPP+:} false
; then :
5557 $as_echo_n "(cached) " >&6
5559 # Double quotes because CPP needs to be expanded
5560 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5563 for ac_c_preproc_warn_flag
in '' yes
5565 # Use a header file that comes with gcc, so configuring glibc
5566 # with a fresh cross-compiler works.
5567 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5568 # <limits.h> exists even on freestanding compilers.
5569 # On the NeXT, cc -E runs the code through the compiler's parser,
5570 # not just through cpp. "Syntax error" is here to catch this case.
5571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5572 /* end confdefs.h. */
5574 # include <limits.h>
5576 # include <assert.h>
5580 if ac_fn_c_try_cpp
"$LINENO"; then :
5583 # Broken: fails on valid input.
5586 rm -f conftest.err conftest.i conftest.
$ac_ext
5588 # OK, works on sane cases. Now check whether nonexistent headers
5589 # can be detected and how.
5590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5591 /* end confdefs.h. */
5592 #include <ac_nonexistent.h>
5594 if ac_fn_c_try_cpp
"$LINENO"; then :
5595 # Broken: success on invalid input.
5598 # Passes both tests.
5602 rm -f conftest.err conftest.i conftest.
$ac_ext
5605 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5606 rm -f conftest.i conftest.err conftest.
$ac_ext
5607 if $ac_preproc_ok; then :
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5620 $as_echo "$CPP" >&6; }
5622 for ac_c_preproc_warn_flag
in '' yes
5624 # Use a header file that comes with gcc, so configuring glibc
5625 # with a fresh cross-compiler works.
5626 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5627 # <limits.h> exists even on freestanding compilers.
5628 # On the NeXT, cc -E runs the code through the compiler's parser,
5629 # not just through cpp. "Syntax error" is here to catch this case.
5630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5631 /* end confdefs.h. */
5633 # include <limits.h>
5635 # include <assert.h>
5639 if ac_fn_c_try_cpp
"$LINENO"; then :
5642 # Broken: fails on valid input.
5645 rm -f conftest.err conftest.i conftest.
$ac_ext
5647 # OK, works on sane cases. Now check whether nonexistent headers
5648 # can be detected and how.
5649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5650 /* end confdefs.h. */
5651 #include <ac_nonexistent.h>
5653 if ac_fn_c_try_cpp
"$LINENO"; then :
5654 # Broken: success on invalid input.
5657 # Passes both tests.
5661 rm -f conftest.err conftest.i conftest.
$ac_ext
5664 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5665 rm -f conftest.i conftest.err conftest.
$ac_ext
5666 if $ac_preproc_ok; then :
5669 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5671 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5672 See \`config.log' for more details" "$LINENO" 5; }
5676 ac_cpp
='$CPP $CPPFLAGS'
5677 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5678 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5679 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5683 $as_echo_n "checking for ANSI C header files... " >&6; }
5684 if ${ac_cv_header_stdc+:} false
; then :
5685 $as_echo_n "(cached) " >&6
5687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5688 /* end confdefs.h. */
5702 if ac_fn_c_try_compile
"$LINENO"; then :
5703 ac_cv_header_stdc
=yes
5705 ac_cv_header_stdc
=no
5707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5709 if test $ac_cv_header_stdc = yes; then
5710 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5712 /* end confdefs.h. */
5716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5717 $EGREP "memchr" >/dev
/null
2>&1; then :
5720 ac_cv_header_stdc
=no
5726 if test $ac_cv_header_stdc = yes; then
5727 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5729 /* end confdefs.h. */
5733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5734 $EGREP "free" >/dev
/null
2>&1; then :
5737 ac_cv_header_stdc
=no
5743 if test $ac_cv_header_stdc = yes; then
5744 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5745 if test "$cross_compiling" = yes; then :
5748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5749 /* end confdefs.h. */
5752 #if ((' ' & 0x0FF) == 0x020)
5753 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5754 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5756 # define ISLOWER(c) \
5757 (('a' <= (c) && (c) <= 'i') \
5758 || ('j' <= (c) && (c) <= 'r') \
5759 || ('s' <= (c) && (c) <= 'z'))
5760 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5763 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5768 for (i = 0; i < 256; i++)
5769 if (XOR (islower (i), ISLOWER (i))
5770 || toupper (i) != TOUPPER (i))
5775 if ac_fn_c_try_run
"$LINENO"; then :
5778 ac_cv_header_stdc
=no
5780 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5781 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5787 $as_echo "$ac_cv_header_stdc" >&6; }
5788 if test $ac_cv_header_stdc = yes; then
5790 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5794 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5795 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5796 inttypes.h stdint.h unistd.h
5798 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5799 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5801 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5802 cat >>confdefs.h
<<_ACEOF
5803 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5813 ApplicationServices
/ApplicationServices.h \
5814 AudioToolbox
/AudioConverter.h \
5815 AudioUnit
/AudioUnit.h \
5816 AudioUnit
/AudioComponent.h \
5819 CoreAudio
/CoreAudio.h \
5820 CoreServices
/CoreServices.h \
5821 DiskArbitration
/DiskArbitration.h \
5823 IOKit
/hid
/IOHIDLib.h \
5826 QuickTime
/ImageCompression.h \
5827 Security
/Security.h \
5841 fontconfig
/fontconfig.h \
5882 netinet
/in_systm.h \
5945 valgrind
/memcheck.h \
5946 valgrind
/valgrind.h \
5950 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5951 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5952 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5953 cat >>confdefs.h
<<_ACEOF
5954 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5962 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5963 if ${ac_cv_header_stat_broken+:} false
; then :
5964 $as_echo_n "(cached) " >&6
5966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5967 /* end confdefs.h. */
5968 #include <sys/types.h>
5969 #include <sys/stat.h>
5971 #if defined S_ISBLK && defined S_IFDIR
5972 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5975 #if defined S_ISBLK && defined S_IFCHR
5976 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5979 #if defined S_ISLNK && defined S_IFREG
5980 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5983 #if defined S_ISSOCK && defined S_IFREG
5984 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5988 if ac_fn_c_try_compile
"$LINENO"; then :
5989 ac_cv_header_stat_broken
=no
5991 ac_cv_header_stat_broken
=yes
5993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5996 $as_echo "$ac_cv_header_stat_broken" >&6; }
5997 if test $ac_cv_header_stat_broken = yes; then
5999 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6005 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6007 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6008 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6009 #ifdef HAVE_SYS_PARAM_H
6010 # include <sys/param.h>
6013 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6014 cat >>confdefs.h
<<_ACEOF
6015 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6030 netinet
/if_ether.h \
6031 netinet
/if_inarp.h \
6040 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6041 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6042 #ifdef HAVE_SYS_SOCKET_H
6043 # include <sys/socket.h>
6045 #ifdef HAVE_SYS_SOCKETVAR_H
6046 # include <sys/socketvar.h>
6048 #ifdef HAVE_NET_ROUTE_H
6049 # include <net/route.h>
6051 #ifdef HAVE_NETINET_IN_H
6052 # include <netinet/in.h>
6054 #ifdef HAVE_NETINET_IN_SYSTM_H
6055 # include <netinet/in_systm.h>
6057 #ifdef HAVE_NET_IF_H
6058 # include <net/if.h>
6060 #ifdef HAVE_NETINET_IP_H
6061 # include <netinet/ip.h>
6064 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6065 cat >>confdefs.h
<<_ACEOF
6066 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6074 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6076 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6077 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6081 #ifdef HAVE_SYS_SOCKET_H
6082 # include <sys/socket.h>
6084 #ifdef HAVE_SYS_SOCKETVAR_H
6085 # include <sys/socketvar.h>
6087 #ifdef HAVE_SYS_TIMEOUT_H
6088 # include <sys/timeout.h>
6090 #ifdef HAVE_NETINET_IN_H
6091 # include <netinet/in.h>
6093 #ifdef HAVE_NETINET_IN_SYSTM_H
6094 # include <netinet/in_systm.h>
6096 #ifdef HAVE_NETINET_IP_H
6097 # include <netinet/ip.h>
6099 #ifdef HAVE_NETINET_IP_VAR_H
6100 # include <netinet/ip_var.h>
6102 #ifdef HAVE_NETINET_IP_ICMP_H
6103 # include <netinet/ip_icmp.h>
6105 #ifdef HAVE_NETINET_UDP_H
6106 # include <netinet/udp.h>
6108 #ifdef HAVE_NETINET_TCP_H
6109 # include <netinet/tcp.h>
6111 #ifdef HAVE_NETINET_TCP_TIMER_H
6112 #include <netinet/tcp_timer.h>
6115 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6116 cat >>confdefs.h
<<_ACEOF
6117 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6125 for ac_header
in linux
/ipx.h linux
/irda.h
6127 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6128 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6129 #ifdef HAVE_ASM_TYPES_H
6130 # include <asm/types.h>
6132 #ifdef HAVE_SYS_SOCKET_H
6133 # include <sys/socket.h>
6135 #ifdef HAVE_LINUX_TYPES_H
6136 # include <linux/types.h>
6139 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6140 cat >>confdefs.h
<<_ACEOF
6141 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6149 for ac_header
in mach-o
/dyld_images.h
6151 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6152 # include <stdbool.h>
6154 #ifdef HAVE_STDINT_H
6155 # include <stdint.h>
6158 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6159 cat >>confdefs.h
<<_ACEOF
6160 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6168 for ac_header
in resolv.h
6170 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6171 #ifdef HAVE_SYS_SOCKET_H
6172 # include <sys/socket.h>
6174 #ifdef HAVE_NETINET_IN_H
6175 # include <netinet/in.h>
6177 #ifdef HAVE_ARPA_NAMESER_H
6178 # include <arpa/nameser.h>
6181 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6182 cat >>confdefs.h
<<_ACEOF
6183 #define HAVE_RESOLV_H 1
6191 for ac_header
in ifaddrs.h
6193 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6195 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6196 cat >>confdefs.h
<<_ACEOF
6197 #define HAVE_IFADDRS_H 1
6205 for ac_header
in ucontext.h
6207 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6209 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6210 cat >>confdefs.h
<<_ACEOF
6211 #define HAVE_UCONTEXT_H 1
6219 for ac_header
in sys
/thr.h
6221 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6222 #ifdef HAVE_UCONTEXT_H
6223 #include <ucontext.h>
6226 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6227 cat >>confdefs.h
<<_ACEOF
6228 #define HAVE_SYS_THR_H 1
6236 for ac_header
in pthread_np.h
6238 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6239 #include <pthread.h>
6242 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6243 cat >>confdefs.h
<<_ACEOF
6244 #define HAVE_PTHREAD_NP_H 1
6252 for ac_header
in linux
/videodev.h linux
/videodev2.h
6254 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6255 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6256 #include <sys/time.h>
6258 #include <sys/types.h>
6259 #ifdef HAVE_ASM_TYPES_H
6260 #include <asm/types.h>
6263 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6264 cat >>confdefs.h
<<_ACEOF
6265 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6273 for ac_header
in linux
/capi.h
6275 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6277 if test "x$ac_cv_header_linux_capi_h" = xyes
; then :
6278 cat >>confdefs.h
<<_ACEOF
6279 #define HAVE_LINUX_CAPI_H 1
6290 DLLFLAGS
="-D_REENTRANT"
6304 STATIC_IMPLIBEXT
="def.a"
6305 # Extract the first word of "ldd", so it can be a program name with args.
6306 set dummy ldd
; ac_word
=$2
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6308 $as_echo_n "checking for $ac_word... " >&6; }
6309 if ${ac_cv_path_LDD+:} false
; then :
6310 $as_echo_n "(cached) " >&6
6314 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6318 as_dummy
="/sbin:/usr/sbin:$PATH"
6319 for as_dir
in $as_dummy
6322 test -z "$as_dir" && as_dir
=.
6323 for ac_exec_ext
in '' $ac_executable_extensions; do
6324 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6325 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6333 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6338 if test -n "$LDD"; then
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6340 $as_echo "$LDD" >&6; }
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6343 $as_echo "no" >&6; }
6350 if test -n "$ac_tool_prefix"; then
6351 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6352 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6354 $as_echo_n "checking for $ac_word... " >&6; }
6355 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6356 $as_echo_n "(cached) " >&6
6358 if test -n "$DLLTOOL"; then
6359 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6365 test -z "$as_dir" && as_dir
=.
6366 for ac_exec_ext
in '' $ac_executable_extensions; do
6367 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6368 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6378 DLLTOOL
=$ac_cv_prog_DLLTOOL
6379 if test -n "$DLLTOOL"; then
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6381 $as_echo "$DLLTOOL" >&6; }
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6384 $as_echo "no" >&6; }
6389 if test -z "$ac_cv_prog_DLLTOOL"; then
6390 ac_ct_DLLTOOL
=$DLLTOOL
6391 # Extract the first word of "dlltool", so it can be a program name with args.
6392 set dummy dlltool
; ac_word
=$2
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6394 $as_echo_n "checking for $ac_word... " >&6; }
6395 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6396 $as_echo_n "(cached) " >&6
6398 if test -n "$ac_ct_DLLTOOL"; then
6399 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6405 test -z "$as_dir" && as_dir
=.
6406 for ac_exec_ext
in '' $ac_executable_extensions; do
6407 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6408 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6418 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6419 if test -n "$ac_ct_DLLTOOL"; then
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6421 $as_echo "$ac_ct_DLLTOOL" >&6; }
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6424 $as_echo "no" >&6; }
6427 if test "x$ac_ct_DLLTOOL" = x
; then
6430 case $cross_compiling:$ac_tool_warned in
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6434 ac_tool_warned
=yes ;;
6436 DLLTOOL
=$ac_ct_DLLTOOL
6439 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6442 if test -n "$ac_tool_prefix"; then
6443 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6444 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6446 $as_echo_n "checking for $ac_word... " >&6; }
6447 if ${ac_cv_prog_DLLWRAP+:} false
; then :
6448 $as_echo_n "(cached) " >&6
6450 if test -n "$DLLWRAP"; then
6451 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
6453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6457 test -z "$as_dir" && as_dir
=.
6458 for ac_exec_ext
in '' $ac_executable_extensions; do
6459 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6460 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
6461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6470 DLLWRAP
=$ac_cv_prog_DLLWRAP
6471 if test -n "$DLLWRAP"; then
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6473 $as_echo "$DLLWRAP" >&6; }
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6476 $as_echo "no" >&6; }
6481 if test -z "$ac_cv_prog_DLLWRAP"; then
6482 ac_ct_DLLWRAP
=$DLLWRAP
6483 # Extract the first word of "dllwrap", so it can be a program name with args.
6484 set dummy dllwrap
; ac_word
=$2
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6486 $as_echo_n "checking for $ac_word... " >&6; }
6487 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false
; then :
6488 $as_echo_n "(cached) " >&6
6490 if test -n "$ac_ct_DLLWRAP"; then
6491 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
6493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6497 test -z "$as_dir" && as_dir
=.
6498 for ac_exec_ext
in '' $ac_executable_extensions; do
6499 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6500 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
6501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6510 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
6511 if test -n "$ac_ct_DLLWRAP"; then
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6513 $as_echo "$ac_ct_DLLWRAP" >&6; }
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6516 $as_echo "no" >&6; }
6519 if test "x$ac_ct_DLLWRAP" = x
; then
6522 case $cross_compiling:$ac_tool_warned in
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6526 ac_tool_warned
=yes ;;
6528 DLLWRAP
=$ac_ct_DLLWRAP
6531 DLLWRAP
="$ac_cv_prog_DLLWRAP"
6534 if test "$DLLWRAP" = "false"; then
6540 STATIC_IMPLIBEXT
="a"
6541 enable_iphlpapi
=${enable_iphlpapi:-no}
6542 enable_kernel32
=${enable_kernel32:-no}
6543 enable_msvcrt
=${enable_msvcrt:-no}
6544 enable_ntdll
=${enable_ntdll:-no}
6545 enable_ws2_32
=${enable_ws2_32:-no}
6546 enable_loader
=${enable_loader:-no}
6547 enable_server
=${enable_server:-no}
6548 with_x
=${with_x:-no}
6549 with_pthread
=${with_pthread:-no}
6554 DLLFLAGS
="$DLLFLAGS -fPIC"
6555 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6556 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6557 LDSHARED
="\$(CC) -dynamiclib"
6558 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6559 COREFOUNDATIONLIB
="-framework CoreFoundation"
6561 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6563 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
6565 CORESERVICESLIB
="-framework CoreServices"
6569 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"
6572 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6575 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6577 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6580 if test "$ac_cv_header_Security_Security_h" = "yes"
6582 SECURITYLIB
="-framework Security -framework CoreFoundation"
6584 ac_save_LIBS
="$LIBS"
6585 LIBS
="$LIBS $SECURITYLIB"
6586 for ac_func
in SSLCopyPeerCertificates
6588 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6589 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
6590 cat >>confdefs.h
<<_ACEOF
6591 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6597 LIBS
="$ac_save_LIBS"
6598 with_gnutls
=${with_gnutls:-no}
6600 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6602 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6604 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6607 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6610 ac_save_LIBS
="$LIBS"
6611 LIBS
="$LIBS $COREAUDIO"
6612 for ac_func
in AUGraphAddNode
6614 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6615 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
6616 cat >>confdefs.h
<<_ACEOF
6617 #define HAVE_AUGRAPHADDNODE 1
6623 LIBS
="$ac_save_LIBS"
6625 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6627 FRAMEWORK_OPENAL
="-framework OpenAL"
6630 cat >>confdefs.h
<<_ACEOF
6631 #define HAVE_OPENAL 1
6634 ac_cv_lib_openal
=yes
6636 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6638 LIBOPENCL
="-framework OpenCL"
6640 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6642 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6644 ac_save_LIBS
="$LIBS"
6645 LIBS
="$LIBS $IOKITLIB"
6646 for ac_func
in IOHIDManagerCreate
6648 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6649 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
6650 cat >>confdefs.h
<<_ACEOF
6651 #define HAVE_IOHIDMANAGERCREATE 1
6657 LIBS
="$ac_save_LIBS"
6661 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6663 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6665 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6667 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6669 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6671 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6673 CARBONLIB
="-framework Carbon"
6677 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6679 ac_save_LIBS
="$LIBS"
6680 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
6681 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6682 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
6683 enable_winemac_drv
=${enable_winemac_drv:-yes}
6686 LIBS
="$ac_save_LIBS"
6689 if test "x$enable_win16" = "xyes"
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6692 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6693 if test "$cross_compiling" = yes; then :
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6695 $as_echo "cross-compiling, assuming yes" >&6; }
6697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6698 /* end confdefs.h. */
6701 "good:\tnop;nop\n\t"
6702 ".globl _testfunc\n"
6703 "_testfunc:\tcallw good");
6704 extern void testfunc();
6708 unsigned short *p = (unsigned short *)testfunc;
6709 return p[0] != 0xe866 || p[1] != 0xfffa
6714 if ac_fn_c_try_run
"$LINENO"; then :
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6716 $as_echo "yes" >&6; }
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 $as_echo "no" >&6; }
6720 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
6722 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6723 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6729 DLLFLAGS
="$DLLFLAGS -fPIC"
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6732 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6733 if ${ac_cv_c_dll_gnuelf+:} false
; then :
6734 $as_echo_n "(cached) " >&6
6736 ac_wine_try_cflags_saved
=$CFLAGS
6737 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6739 /* end confdefs.h. */
6742 if ac_fn_c_try_link
"$LINENO"; then :
6743 ac_cv_c_dll_gnuelf
="yes"
6745 ac_cv_c_dll_gnuelf
="no"
6747 rm -f core conftest.err conftest.
$ac_objext \
6748 conftest
$ac_exeext conftest.
$ac_ext
6749 CFLAGS
=$ac_wine_try_cflags_saved
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6752 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6753 if test "$ac_cv_c_dll_gnuelf" = "yes"
6755 LDSHARED
="\$(CC) -shared"
6756 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6758 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6759 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
6760 $as_echo_n "(cached) " >&6
6762 ac_wine_try_cflags_saved
=$CFLAGS
6763 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6765 /* end confdefs.h. */
6766 int main(int argc, char **argv) { return 0; }
6768 if ac_fn_c_try_link
"$LINENO"; then :
6769 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
6771 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
6773 rm -f core conftest.err conftest.
$ac_objext \
6774 conftest
$ac_exeext conftest.
$ac_ext
6775 CFLAGS
=$ac_wine_try_cflags_saved
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6778 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6779 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6780 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6783 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6784 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
6785 $as_echo_n "(cached) " >&6
6787 ac_wine_try_cflags_saved
=$CFLAGS
6788 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6790 /* end confdefs.h. */
6791 int main(int argc, char **argv) { return 0; }
6793 if ac_fn_c_try_link
"$LINENO"; then :
6794 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
6796 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
6798 rm -f core conftest.err conftest.
$ac_objext \
6799 conftest
$ac_exeext conftest.
$ac_ext
6800 CFLAGS
=$ac_wine_try_cflags_saved
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6803 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6804 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6805 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6810 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6811 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
6812 $as_echo_n "(cached) " >&6
6814 ac_wine_try_cflags_saved
=$CFLAGS
6815 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6817 /* end confdefs.h. */
6818 int main(int argc, char **argv) { return 0; }
6820 if ac_fn_c_try_link
"$LINENO"; then :
6821 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6823 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6825 rm -f core conftest.err conftest.
$ac_objext \
6826 conftest
$ac_exeext conftest.
$ac_ext
6827 CFLAGS
=$ac_wine_try_cflags_saved
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6830 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6831 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6832 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6835 { $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
6836 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6837 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
6838 $as_echo_n "(cached) " >&6
6840 ac_wine_try_cflags_saved
=$CFLAGS
6841 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6843 /* end confdefs.h. */
6844 int main(int argc, char **argv) { return 0; }
6846 if ac_fn_c_try_link
"$LINENO"; then :
6847 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6849 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6851 rm -f core conftest.err conftest.
$ac_objext \
6852 conftest
$ac_exeext conftest.
$ac_ext
6853 CFLAGS
=$ac_wine_try_cflags_saved
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6856 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6857 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6858 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6861 echo '{ global: *; };' >conftest.map
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6863 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6864 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
6865 $as_echo_n "(cached) " >&6
6867 ac_wine_try_cflags_saved
=$CFLAGS
6868 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6870 /* end confdefs.h. */
6871 int main(int argc, char **argv) { return 0; }
6873 if ac_fn_c_try_link
"$LINENO"; then :
6874 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
6876 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
6878 rm -f core conftest.err conftest.
$ac_objext \
6879 conftest
$ac_exeext conftest.
$ac_ext
6880 CFLAGS
=$ac_wine_try_cflags_saved
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
6883 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
6884 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
6885 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6890 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6891 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
6892 $as_echo_n "(cached) " >&6
6894 ac_wine_try_cflags_saved
=$CFLAGS
6895 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6897 /* end confdefs.h. */
6898 int main(int argc, char **argv) { return 0; }
6900 if ac_fn_c_try_link
"$LINENO"; then :
6901 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6903 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6905 rm -f core conftest.err conftest.
$ac_objext \
6906 conftest
$ac_exeext conftest.
$ac_ext
6907 CFLAGS
=$ac_wine_try_cflags_saved
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6910 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6911 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6912 LDEXECFLAGS
="-Wl,--export-dynamic"
6916 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6918 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6919 if eval \
${$as_ac_var+:} false
; then :
6920 $as_echo_n "(cached) " >&6
6922 ac_wine_try_cflags_saved
=$CFLAGS
6923 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6925 /* end confdefs.h. */
6926 int main(int argc, char **argv) { return 0; }
6928 if ac_fn_c_try_link
"$LINENO"; then :
6929 eval "$as_ac_var=yes"
6931 eval "$as_ac_var=no"
6933 rm -f core conftest.err conftest.
$ac_objext \
6934 conftest
$ac_exeext conftest.
$ac_ext
6935 CFLAGS
=$ac_wine_try_cflags_saved
6937 eval ac_res
=\$
$as_ac_var
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6939 $as_echo "$ac_res" >&6; }
6940 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6941 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6942 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6944 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6946 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6947 if eval \
${$as_ac_var+:} false
; then :
6948 $as_echo_n "(cached) " >&6
6950 ac_wine_try_cflags_saved
=$CFLAGS
6951 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6953 /* end confdefs.h. */
6954 int main(int argc, char **argv) { return 0; }
6956 if ac_fn_c_try_link
"$LINENO"; then :
6957 eval "$as_ac_var=yes"
6959 eval "$as_ac_var=no"
6961 rm -f core conftest.err conftest.
$ac_objext \
6962 conftest
$ac_exeext conftest.
$ac_ext
6963 CFLAGS
=$ac_wine_try_cflags_saved
6965 eval ac_res
=\$
$as_ac_var
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6967 $as_echo "$ac_res" >&6; }
6968 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6969 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6970 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6975 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6976 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
6977 $as_echo_n "(cached) " >&6
6979 ac_wine_try_cflags_saved
=$CFLAGS
6980 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
6981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6982 /* end confdefs.h. */
6983 int main(int argc, char **argv) { return 0; }
6985 if ac_fn_c_try_link
"$LINENO"; then :
6986 ac_cv_cflags__Wl___enable_new_dtags
=yes
6988 ac_cv_cflags__Wl___enable_new_dtags
=no
6990 rm -f core conftest.err conftest.
$ac_objext \
6991 conftest
$ac_exeext conftest.
$ac_ext
6992 CFLAGS
=$ac_wine_try_cflags_saved
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6995 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6996 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6997 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7001 *i
[3456789]86* | x86_64
)
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7003 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7004 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7005 $as_echo_n "(cached) " >&6
7007 ac_wine_try_cflags_saved
=$CFLAGS
7008 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7010 /* end confdefs.h. */
7011 int main(int argc, char **argv) { return 0; }
7013 if ac_fn_c_try_link
"$LINENO"; then :
7014 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7016 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7018 rm -f core conftest.err conftest.
$ac_objext \
7019 conftest
$ac_exeext conftest.
$ac_ext
7020 CFLAGS
=$ac_wine_try_cflags_saved
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7023 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7024 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7026 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7027 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7031 # Extract the first word of "prelink", so it can be a program name with args.
7032 set dummy prelink
; ac_word
=$2
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7034 $as_echo_n "checking for $ac_word... " >&6; }
7035 if ${ac_cv_path_PRELINK+:} false
; then :
7036 $as_echo_n "(cached) " >&6
7040 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7044 for as_dir
in /sbin
/usr
/sbin
$PATH
7047 test -z "$as_dir" && as_dir
=.
7048 for ac_exec_ext
in '' $ac_executable_extensions; do
7049 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7050 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7058 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7062 PRELINK
=$ac_cv_path_PRELINK
7063 if test -n "$PRELINK"; then
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7065 $as_echo "$PRELINK" >&6; }
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7068 $as_echo "no" >&6; }
7072 if test "x$PRELINK" = xfalse
7074 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7081 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7082 if ${ac_cv_c_dll_unixware+:} false
; then :
7083 $as_echo_n "(cached) " >&6
7085 ac_wine_try_cflags_saved
=$CFLAGS
7086 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7088 /* end confdefs.h. */
7091 if ac_fn_c_try_link
"$LINENO"; then :
7092 ac_cv_c_dll_unixware
="yes"
7094 ac_cv_c_dll_unixware
="no"
7096 rm -f core conftest.err conftest.
$ac_objext \
7097 conftest
$ac_exeext conftest.
$ac_ext
7098 CFLAGS
=$ac_wine_try_cflags_saved
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7101 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7102 if test "$ac_cv_c_dll_unixware" = "yes"
7104 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7105 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7109 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7110 if ${ac_cv_c_dll_hpux+:} false
; then :
7111 $as_echo_n "(cached) " >&6
7113 ac_wine_try_cflags_saved
=$CFLAGS
7114 CFLAGS
="$CFLAGS -shared"
7115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7116 /* end confdefs.h. */
7119 if ac_fn_c_try_link
"$LINENO"; then :
7120 ac_cv_c_dll_hpux
="yes"
7122 ac_cv_c_dll_hpux
="no"
7124 rm -f core conftest.err conftest.
$ac_objext \
7125 conftest
$ac_exeext conftest.
$ac_ext
7126 CFLAGS
=$ac_wine_try_cflags_saved
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7129 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7130 if test "$ac_cv_c_dll_hpux" = "yes"
7134 LDDLLFLAGS
="-shared -fPIC"
7135 LDSHARED
="\$(CC) -shared"
7142 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7143 enable_winemac_drv
=${enable_winemac_drv:-no}
7145 if test "$LIBEXT" = "a"; then
7146 as_fn_error $?
"could not find a way to build shared libraries.
7147 It is currently not possible to build Wine without shared library
7148 (.so) support to allow transparent switch between .so and .dll files.
7149 If you are using Linux, you will need a newer binutils.
7153 CROSSTEST_DISABLE
=\
#
7155 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7159 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
7162 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 " ;;
7164 ac_prefix_list
="" ;;
7166 for ac_prog
in $ac_prefix_list
7168 # Extract the first word of "$ac_prog", so it can be a program name with args.
7169 set dummy
$ac_prog; ac_word
=$2
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7171 $as_echo_n "checking for $ac_word... " >&6; }
7172 if ${ac_cv_prog_CROSSCC+:} false
; then :
7173 $as_echo_n "(cached) " >&6
7175 if test -n "$CROSSCC"; then
7176 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7182 test -z "$as_dir" && as_dir
=.
7183 for ac_exec_ext
in '' $ac_executable_extensions; do
7184 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7185 ac_cv_prog_CROSSCC
="$ac_prog"
7186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7195 CROSSCC
=$ac_cv_prog_CROSSCC
7196 if test -n "$CROSSCC"; then
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7198 $as_echo "$CROSSCC" >&6; }
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201 $as_echo "no" >&6; }
7205 test -n "$CROSSCC" && break
7207 test -n "$CROSSCC" || CROSSCC
="false"
7209 if test "$CROSSCC" != "false"
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7214 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7216 /* end confdefs.h. */
7226 if ac_fn_c_try_compile
"$LINENO"; then :
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7228 $as_echo "yes" >&6; }
7235 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7239 if test -n "$target"
7241 CROSSTEST_DISABLE
=""
7242 CROSSTARGET
="$target"
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7247 $as_echo "no" >&6; }
7249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7255 if test "$ac_cv_header_pthread_h" = "yes"
7257 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7258 if test "x$ac_cv_func_pthread_create" = xyes
; then :
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7262 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7263 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
7264 $as_echo_n "(cached) " >&6
7266 ac_check_lib_save_LIBS
=$LIBS
7267 LIBS
="-lpthread $LIBS"
7268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7269 /* end confdefs.h. */
7271 /* Override any GCC internal prototype to avoid an error.
7272 Use char because int might match the return type of a GCC
7273 builtin and then its argument prototype would still apply. */
7277 char pthread_create ();
7281 return pthread_create ();
7286 if ac_fn_c_try_link
"$LINENO"; then :
7287 ac_cv_lib_pthread_pthread_create
=yes
7289 ac_cv_lib_pthread_pthread_create
=no
7291 rm -f core conftest.err conftest.
$ac_objext \
7292 conftest
$ac_exeext conftest.
$ac_ext
7293 LIBS
=$ac_check_lib_save_LIBS
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7296 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7297 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
7298 LIBPTHREAD
="-lpthread"
7305 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
7306 case "x$with_pthread" in
7308 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7309 Wine cannot support threads without libpthread.
7310 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7316 $as_echo_n "checking for X... " >&6; }
7319 # Check whether --with-x was given.
7320 if test "${with_x+set}" = set; then :
7324 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7325 if test "x$with_x" = xno
; then
7326 # The user explicitly disabled X.
7329 case $x_includes,$x_libraries in #(
7330 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
7331 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
7332 $as_echo_n "(cached) " >&6
7334 # One or both of the vars are not set, and there is no cached value.
7335 ac_x_includes
=no ac_x_libraries
=no
7336 rm -f -r conftest.dir
7337 if mkdir conftest.dir
; then
7339 cat >Imakefile
<<'_ACEOF'
7341 @echo incroot='${INCROOT}'
7343 @echo usrlibdir='${USRLIBDIR}'
7345 @echo libdir='${LIBDIR}'
7347 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7348 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7349 for ac_var
in incroot usrlibdir libdir
; do
7350 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7352 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7353 for ac_extension
in a so sl dylib la dll
; do
7354 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7355 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7356 ac_im_usrlibdir
=$ac_im_libdir; break
7359 # Screen out bogus values from the imake configuration. They are
7360 # bogus both because they are the default anyway, and because
7361 # using them would break gcc on systems where it needs fixed includes.
7362 case $ac_im_incroot in
7363 /usr
/include
) ac_x_includes
= ;;
7364 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7366 case $ac_im_usrlibdir in
7367 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7368 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7372 rm -f -r conftest.dir
7375 # Standard set of common directories for X headers.
7376 # Check X11 before X11Rn because it is often a symlink to the current release.
7390 /usr/local/X11/include
7391 /usr/local/X11R7/include
7392 /usr/local/X11R6/include
7393 /usr/local/X11R5/include
7394 /usr/local/X11R4/include
7396 /usr/local/include/X11
7397 /usr/local/include/X11R7
7398 /usr/local/include/X11R6
7399 /usr/local/include/X11R5
7400 /usr/local/include/X11R4
7404 /usr/XFree86/include/X11
7408 /usr/unsupported/include
7410 /usr/local/x11r5/include
7411 /usr/lpp/Xamples/include
7413 /usr/openwin/include
7414 /usr/openwin/share/include'
7416 if test "$ac_x_includes" = no
; then
7417 # Guess where to find include files, by looking for Xlib.h.
7418 # First, try using that file with no special directory specified.
7419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7420 /* end confdefs.h. */
7421 #include <X11/Xlib.h>
7423 if ac_fn_c_try_cpp
"$LINENO"; then :
7424 # We can compile using X headers with no special include directory.
7427 for ac_dir
in $ac_x_header_dirs; do
7428 if test -r "$ac_dir/X11/Xlib.h"; then
7429 ac_x_includes
=$ac_dir
7434 rm -f conftest.err conftest.i conftest.
$ac_ext
7435 fi # $ac_x_includes = no
7437 if test "$ac_x_libraries" = no
; then
7438 # Check for the libraries.
7439 # See if we find them without any special options.
7440 # Don't add to $LIBS permanently.
7443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7444 /* end confdefs.h. */
7445 #include <X11/Xlib.h>
7454 if ac_fn_c_try_link
"$LINENO"; then :
7456 # We can link X programs with no special library path.
7460 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7462 # Don't even attempt the hair of trying to link an X program!
7463 for ac_extension
in a so sl dylib la dll
; do
7464 if test -r "$ac_dir/libX11.$ac_extension"; then
7465 ac_x_libraries
=$ac_dir
7471 rm -f core conftest.err conftest.
$ac_objext \
7472 conftest
$ac_exeext conftest.
$ac_ext
7473 fi # $ac_x_libraries = no
7475 case $ac_x_includes,$ac_x_libraries in #(
7477 # Didn't find X, or a directory has "'" in its name.
7478 ac_cv_have_x
="have_x=no";; #(
7480 # Record where we found X for the cache.
7481 ac_cv_have_x
="have_x=yes\
7482 ac_x_includes='$ac_x_includes'\
7483 ac_x_libraries='$ac_x_libraries'"
7489 eval "$ac_cv_have_x"
7492 if test "$have_x" != yes; then
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7494 $as_echo "$have_x" >&6; }
7497 # If each of the values was on the command line, it overrides each guess.
7498 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7499 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7500 # Update the cache value to reflect the command line values.
7501 ac_cv_have_x
="have_x=yes\
7502 ac_x_includes='$x_includes'\
7503 ac_x_libraries='$x_libraries'"
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7505 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7508 if test "$no_x" = yes; then
7509 # Not all programs may use this symbol, but it does not hurt to define it.
7511 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7513 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7515 if test -n "$x_includes"; then
7516 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7519 # It would also be nice to do this for all -L options, not just this one.
7520 if test -n "$x_libraries"; then
7521 X_LIBS
="$X_LIBS -L$x_libraries"
7522 # For Solaris; some versions of Sun CC require a space after -R and
7523 # others require no space. Words are not sufficient . . . .
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7525 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7526 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7527 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7528 ac_c_werror_flag
=yes
7529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7530 /* end confdefs.h. */
7540 if ac_fn_c_try_link
"$LINENO"; then :
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7542 $as_echo "no" >&6; }
7543 X_LIBS
="$X_LIBS -R$x_libraries"
7545 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7547 /* end confdefs.h. */
7557 if ac_fn_c_try_link
"$LINENO"; then :
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7559 $as_echo "yes" >&6; }
7560 X_LIBS
="$X_LIBS -R $x_libraries"
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7563 $as_echo "neither works" >&6; }
7565 rm -f core conftest.err conftest.
$ac_objext \
7566 conftest
$ac_exeext conftest.
$ac_ext
7568 rm -f core conftest.err conftest.
$ac_objext \
7569 conftest
$ac_exeext conftest.
$ac_ext
7570 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7574 # Check for system-dependent libraries X programs must link with.
7575 # Do this before checking for the system-independent R6 libraries
7576 # (-lICE), since we may need -lsocket or whatever for X linking.
7578 if test "$ISC" = yes; then
7579 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7581 # Martyn Johnson says this is needed for Ultrix, if the X
7582 # libraries were built with DECnet support. And Karl Berry says
7583 # the Alpha needs dnet_stub (dnet does not exist).
7584 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7586 /* end confdefs.h. */
7588 /* Override any GCC internal prototype to avoid an error.
7589 Use char because int might match the return type of a GCC
7590 builtin and then its argument prototype would still apply. */
7594 char XOpenDisplay ();
7598 return XOpenDisplay ();
7603 if ac_fn_c_try_link
"$LINENO"; then :
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7607 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7608 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
7609 $as_echo_n "(cached) " >&6
7611 ac_check_lib_save_LIBS
=$LIBS
7613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7614 /* end confdefs.h. */
7616 /* Override any GCC internal prototype to avoid an error.
7617 Use char because int might match the return type of a GCC
7618 builtin and then its argument prototype would still apply. */
7626 return dnet_ntoa ();
7631 if ac_fn_c_try_link
"$LINENO"; then :
7632 ac_cv_lib_dnet_dnet_ntoa
=yes
7634 ac_cv_lib_dnet_dnet_ntoa
=no
7636 rm -f core conftest.err conftest.
$ac_objext \
7637 conftest
$ac_exeext conftest.
$ac_ext
7638 LIBS
=$ac_check_lib_save_LIBS
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7641 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7642 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
7643 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7646 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7648 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7649 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
7650 $as_echo_n "(cached) " >&6
7652 ac_check_lib_save_LIBS
=$LIBS
7653 LIBS
="-ldnet_stub $LIBS"
7654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7655 /* end confdefs.h. */
7657 /* Override any GCC internal prototype to avoid an error.
7658 Use char because int might match the return type of a GCC
7659 builtin and then its argument prototype would still apply. */
7667 return dnet_ntoa ();
7672 if ac_fn_c_try_link
"$LINENO"; then :
7673 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7675 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7677 rm -f core conftest.err conftest.
$ac_objext \
7678 conftest
$ac_exeext conftest.
$ac_ext
7679 LIBS
=$ac_check_lib_save_LIBS
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7682 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7683 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
7684 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7689 rm -f core conftest.err conftest.
$ac_objext \
7690 conftest
$ac_exeext conftest.
$ac_ext
7691 LIBS
="$ac_xsave_LIBS"
7693 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7694 # to get the SysV transport functions.
7695 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7697 # The nsl library prevents programs from opening the X display
7698 # on Irix 5.2, according to T.E. Dickey.
7699 # The functions gethostbyname, getservbyname, and inet_addr are
7700 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7701 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7702 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
7706 if test $ac_cv_func_gethostbyname = no
; then
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7708 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7709 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
7710 $as_echo_n "(cached) " >&6
7712 ac_check_lib_save_LIBS
=$LIBS
7714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7715 /* end confdefs.h. */
7717 /* Override any GCC internal prototype to avoid an error.
7718 Use char because int might match the return type of a GCC
7719 builtin and then its argument prototype would still apply. */
7723 char gethostbyname ();
7727 return gethostbyname ();
7732 if ac_fn_c_try_link
"$LINENO"; then :
7733 ac_cv_lib_nsl_gethostbyname
=yes
7735 ac_cv_lib_nsl_gethostbyname
=no
7737 rm -f core conftest.err conftest.
$ac_objext \
7738 conftest
$ac_exeext conftest.
$ac_ext
7739 LIBS
=$ac_check_lib_save_LIBS
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7742 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7743 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
7744 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7747 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7749 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7750 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
7751 $as_echo_n "(cached) " >&6
7753 ac_check_lib_save_LIBS
=$LIBS
7755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7756 /* end confdefs.h. */
7758 /* Override any GCC internal prototype to avoid an error.
7759 Use char because int might match the return type of a GCC
7760 builtin and then its argument prototype would still apply. */
7764 char gethostbyname ();
7768 return gethostbyname ();
7773 if ac_fn_c_try_link
"$LINENO"; then :
7774 ac_cv_lib_bsd_gethostbyname
=yes
7776 ac_cv_lib_bsd_gethostbyname
=no
7778 rm -f core conftest.err conftest.
$ac_objext \
7779 conftest
$ac_exeext conftest.
$ac_ext
7780 LIBS
=$ac_check_lib_save_LIBS
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7783 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7784 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
7785 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7791 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7792 # socket/setsockopt and other routines are undefined under SCO ODT
7793 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7794 # on later versions), says Simon Leinen: it contains gethostby*
7795 # variants that don't use the name server (or something). -lsocket
7796 # must be given before -lnsl if both are needed. We assume that
7797 # if connect needs -lnsl, so does gethostbyname.
7798 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
7799 if test "x$ac_cv_func_connect" = xyes
; then :
7803 if test $ac_cv_func_connect = no
; then
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7805 $as_echo_n "checking for connect in -lsocket... " >&6; }
7806 if ${ac_cv_lib_socket_connect+:} false
; then :
7807 $as_echo_n "(cached) " >&6
7809 ac_check_lib_save_LIBS
=$LIBS
7810 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7812 /* end confdefs.h. */
7814 /* Override any GCC internal prototype to avoid an error.
7815 Use char because int might match the return type of a GCC
7816 builtin and then its argument prototype would still apply. */
7829 if ac_fn_c_try_link
"$LINENO"; then :
7830 ac_cv_lib_socket_connect
=yes
7832 ac_cv_lib_socket_connect
=no
7834 rm -f core conftest.err conftest.
$ac_objext \
7835 conftest
$ac_exeext conftest.
$ac_ext
7836 LIBS
=$ac_check_lib_save_LIBS
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7839 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7840 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
7841 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7846 # Guillermo Gomez says -lposix is necessary on A/UX.
7847 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
7848 if test "x$ac_cv_func_remove" = xyes
; then :
7852 if test $ac_cv_func_remove = no
; then
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7854 $as_echo_n "checking for remove in -lposix... " >&6; }
7855 if ${ac_cv_lib_posix_remove+:} false
; then :
7856 $as_echo_n "(cached) " >&6
7858 ac_check_lib_save_LIBS
=$LIBS
7859 LIBS
="-lposix $LIBS"
7860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7861 /* end confdefs.h. */
7863 /* Override any GCC internal prototype to avoid an error.
7864 Use char because int might match the return type of a GCC
7865 builtin and then its argument prototype would still apply. */
7878 if ac_fn_c_try_link
"$LINENO"; then :
7879 ac_cv_lib_posix_remove
=yes
7881 ac_cv_lib_posix_remove
=no
7883 rm -f core conftest.err conftest.
$ac_objext \
7884 conftest
$ac_exeext conftest.
$ac_ext
7885 LIBS
=$ac_check_lib_save_LIBS
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7888 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7889 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
7890 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7895 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7896 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
7897 if test "x$ac_cv_func_shmat" = xyes
; then :
7901 if test $ac_cv_func_shmat = no
; then
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7903 $as_echo_n "checking for shmat in -lipc... " >&6; }
7904 if ${ac_cv_lib_ipc_shmat+:} false
; then :
7905 $as_echo_n "(cached) " >&6
7907 ac_check_lib_save_LIBS
=$LIBS
7909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7910 /* end confdefs.h. */
7912 /* Override any GCC internal prototype to avoid an error.
7913 Use char because int might match the return type of a GCC
7914 builtin and then its argument prototype would still apply. */
7927 if ac_fn_c_try_link
"$LINENO"; then :
7928 ac_cv_lib_ipc_shmat
=yes
7930 ac_cv_lib_ipc_shmat
=no
7932 rm -f core conftest.err conftest.
$ac_objext \
7933 conftest
$ac_exeext conftest.
$ac_ext
7934 LIBS
=$ac_check_lib_save_LIBS
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7937 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7938 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
7939 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7945 # Check for libraries that X11R6 Xt/Xaw programs need.
7946 ac_save_LDFLAGS
=$LDFLAGS
7947 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7948 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7949 # check for ICE first), but we must link in the order -lSM -lICE or
7950 # we get undefined symbols. So assume we have SM if we have ICE.
7951 # These have to be linked with before -lX11, unlike the other
7952 # libraries we check for below, so use a different variable.
7953 # John Interrante, Karl Berry
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7955 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7956 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
7957 $as_echo_n "(cached) " >&6
7959 ac_check_lib_save_LIBS
=$LIBS
7960 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7962 /* end confdefs.h. */
7964 /* Override any GCC internal prototype to avoid an error.
7965 Use char because int might match the return type of a GCC
7966 builtin and then its argument prototype would still apply. */
7970 char IceConnectionNumber ();
7974 return IceConnectionNumber ();
7979 if ac_fn_c_try_link
"$LINENO"; then :
7980 ac_cv_lib_ICE_IceConnectionNumber
=yes
7982 ac_cv_lib_ICE_IceConnectionNumber
=no
7984 rm -f core conftest.err conftest.
$ac_objext \
7985 conftest
$ac_exeext conftest.
$ac_ext
7986 LIBS
=$ac_check_lib_save_LIBS
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7989 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7990 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
7991 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7994 LDFLAGS
=$ac_save_LDFLAGS
7999 if test "$have_x" = "yes"
8002 ac_save_CPPFLAGS
="$CPPFLAGS"
8003 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8006 $as_echo_n "checking for -lX11... " >&6; }
8007 if ${ac_cv_lib_soname_X11+:} false
; then :
8008 $as_echo_n "(cached) " >&6
8010 ac_check_soname_save_LIBS
=$LIBS
8011 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8013 /* end confdefs.h. */
8015 /* Override any GCC internal prototype to avoid an error.
8016 Use char because int might match the return type of a GCC
8017 builtin and then its argument prototype would still apply. */
8021 char XCreateWindow ();
8025 return XCreateWindow ();
8030 if ac_fn_c_try_link
"$LINENO"; then :
8032 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8033 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'` ;;
8034 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8037 rm -f core conftest.err conftest.
$ac_objext \
8038 conftest
$ac_exeext conftest.
$ac_ext
8039 LIBS
=$ac_check_soname_save_LIBS
8041 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8043 $as_echo "not found" >&6; }
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8047 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8049 cat >>confdefs.h
<<_ACEOF
8050 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8056 $as_echo_n "checking for -lXext... " >&6; }
8057 if ${ac_cv_lib_soname_Xext+:} false
; then :
8058 $as_echo_n "(cached) " >&6
8060 ac_check_soname_save_LIBS
=$LIBS
8061 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8063 /* end confdefs.h. */
8065 /* Override any GCC internal prototype to avoid an error.
8066 Use char because int might match the return type of a GCC
8067 builtin and then its argument prototype would still apply. */
8071 char XextCreateExtension ();
8075 return XextCreateExtension ();
8080 if ac_fn_c_try_link
"$LINENO"; then :
8082 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8083 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'` ;;
8084 *) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8087 rm -f core conftest.err conftest.
$ac_objext \
8088 conftest
$ac_exeext conftest.
$ac_ext
8089 LIBS
=$ac_check_soname_save_LIBS
8091 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8093 $as_echo "not found" >&6; }
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8097 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8099 cat >>confdefs.h
<<_ACEOF
8100 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8106 for ac_header
in X11
/Xlib.h \
8109 X11
/Xcursor
/Xcursor.h \
8110 X11
/extensions
/shape.h \
8111 X11
/extensions
/XInput.h \
8112 X11
/extensions
/XInput2.h \
8113 X11
/extensions
/XShm.h \
8114 X11
/extensions
/Xcomposite.h \
8115 X11
/extensions
/Xinerama.h \
8116 X11
/extensions
/Xrandr.h \
8117 X11
/extensions
/Xrender.h \
8118 X11
/extensions
/xf86vmode.h \
8119 X11
/extensions
/xf86vmproto.h
8121 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8122 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8123 # include <X11/Xlib.h>
8125 #ifdef HAVE_X11_XUTIL_H
8126 # include <X11/Xutil.h>
8129 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8130 cat >>confdefs.h
<<_ACEOF
8131 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8139 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8142 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8143 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
8144 $as_echo_n "(cached) " >&6
8146 ac_check_lib_save_LIBS
=$LIBS
8147 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8149 /* end confdefs.h. */
8151 /* Override any GCC internal prototype to avoid an error.
8152 Use char because int might match the return type of a GCC
8153 builtin and then its argument prototype would still apply. */
8157 char XkbQueryExtension ();
8161 return XkbQueryExtension ();
8166 if ac_fn_c_try_link
"$LINENO"; then :
8167 ac_cv_lib_X11_XkbQueryExtension
=yes
8169 ac_cv_lib_X11_XkbQueryExtension
=no
8171 rm -f core conftest.err conftest.
$ac_objext \
8172 conftest
$ac_exeext conftest.
$ac_ext
8173 LIBS
=$ac_check_lib_save_LIBS
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8176 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8177 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
8179 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8185 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8188 $as_echo_n "checking for -lXcursor... " >&6; }
8189 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
8190 $as_echo_n "(cached) " >&6
8192 ac_check_soname_save_LIBS
=$LIBS
8193 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8195 /* end confdefs.h. */
8197 /* Override any GCC internal prototype to avoid an error.
8198 Use char because int might match the return type of a GCC
8199 builtin and then its argument prototype would still apply. */
8203 char XcursorImageLoadCursor ();
8207 return XcursorImageLoadCursor ();
8212 if ac_fn_c_try_link
"$LINENO"; then :
8214 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8215 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'` ;;
8216 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8219 rm -f core conftest.err conftest.
$ac_objext \
8220 conftest
$ac_exeext conftest.
$ac_ext
8221 LIBS
=$ac_check_soname_save_LIBS
8223 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8225 $as_echo "not found" >&6; }
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8229 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8231 cat >>confdefs.h
<<_ACEOF
8232 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8238 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8239 case "x$with_xcursor" in
8240 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8242 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8243 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8247 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8250 $as_echo_n "checking for -lXi... " >&6; }
8251 if ${ac_cv_lib_soname_Xi+:} false
; then :
8252 $as_echo_n "(cached) " >&6
8254 ac_check_soname_save_LIBS
=$LIBS
8255 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8257 /* end confdefs.h. */
8259 /* Override any GCC internal prototype to avoid an error.
8260 Use char because int might match the return type of a GCC
8261 builtin and then its argument prototype would still apply. */
8265 char XOpenDevice ();
8269 return XOpenDevice ();
8274 if ac_fn_c_try_link
"$LINENO"; then :
8276 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8277 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'` ;;
8278 *) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8281 rm -f core conftest.err conftest.
$ac_objext \
8282 conftest
$ac_exeext conftest.
$ac_ext
8283 LIBS
=$ac_check_soname_save_LIBS
8285 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8287 $as_echo "not found" >&6; }
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8291 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8293 cat >>confdefs.h
<<_ACEOF
8294 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8300 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8301 case "x$with_xinput" in
8302 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8304 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8305 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8309 if test "x$ac_cv_lib_soname_Xi" != x
8311 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8312 case "x$with_xinput2" in
8313 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8315 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
8316 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8321 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8324 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8325 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
8326 $as_echo_n "(cached) " >&6
8328 ac_check_lib_save_LIBS
=$LIBS
8329 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8331 /* end confdefs.h. */
8333 /* Override any GCC internal prototype to avoid an error.
8334 Use char because int might match the return type of a GCC
8335 builtin and then its argument prototype would still apply. */
8339 char XShmQueryExtension ();
8343 return XShmQueryExtension ();
8348 if ac_fn_c_try_link
"$LINENO"; then :
8349 ac_cv_lib_Xext_XShmQueryExtension
=yes
8351 ac_cv_lib_Xext_XShmQueryExtension
=no
8353 rm -f core conftest.err conftest.
$ac_objext \
8354 conftest
$ac_exeext conftest.
$ac_ext
8355 LIBS
=$ac_check_lib_save_LIBS
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8358 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8359 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
8361 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8366 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8367 case "x$with_xshm" in
8368 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8370 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8371 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8375 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8378 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8379 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
8380 $as_echo_n "(cached) " >&6
8382 ac_check_lib_save_LIBS
=$LIBS
8383 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8385 /* end confdefs.h. */
8387 /* Override any GCC internal prototype to avoid an error.
8388 Use char because int might match the return type of a GCC
8389 builtin and then its argument prototype would still apply. */
8393 char XShapeQueryExtension ();
8397 return XShapeQueryExtension ();
8402 if ac_fn_c_try_link
"$LINENO"; then :
8403 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8405 ac_cv_lib_Xext_XShapeQueryExtension
=no
8407 rm -f core conftest.err conftest.
$ac_objext \
8408 conftest
$ac_exeext conftest.
$ac_ext
8409 LIBS
=$ac_check_lib_save_LIBS
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8412 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8413 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
8415 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8420 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8421 case "x$with_xshape" in
8422 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8424 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8425 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8429 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8432 $as_echo_n "checking for -lXxf86vm... " >&6; }
8433 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
8434 $as_echo_n "(cached) " >&6
8436 ac_check_soname_save_LIBS
=$LIBS
8437 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8439 /* end confdefs.h. */
8441 /* Override any GCC internal prototype to avoid an error.
8442 Use char because int might match the return type of a GCC
8443 builtin and then its argument prototype would still apply. */
8447 char XF86VidModeQueryExtension ();
8451 return XF86VidModeQueryExtension ();
8456 if ac_fn_c_try_link
"$LINENO"; then :
8458 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8459 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'` ;;
8460 *) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8463 rm -f core conftest.err conftest.
$ac_objext \
8464 conftest
$ac_exeext conftest.
$ac_ext
8465 LIBS
=$ac_check_soname_save_LIBS
8467 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8469 $as_echo "not found" >&6; }
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8473 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8475 cat >>confdefs.h
<<_ACEOF
8476 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8482 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8483 case "x$with_xxf86vm" in
8484 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8486 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8487 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8491 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"
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8494 $as_echo_n "checking for -lXrender... " >&6; }
8495 if ${ac_cv_lib_soname_Xrender+:} false
; then :
8496 $as_echo_n "(cached) " >&6
8498 ac_check_soname_save_LIBS
=$LIBS
8499 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8501 /* end confdefs.h. */
8503 /* Override any GCC internal prototype to avoid an error.
8504 Use char because int might match the return type of a GCC
8505 builtin and then its argument prototype would still apply. */
8509 char XRenderQueryExtension ();
8513 return XRenderQueryExtension ();
8518 if ac_fn_c_try_link
"$LINENO"; then :
8520 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8521 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'` ;;
8522 *) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8525 rm -f core conftest.err conftest.
$ac_objext \
8526 conftest
$ac_exeext conftest.
$ac_ext
8527 LIBS
=$ac_check_soname_save_LIBS
8529 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8531 $as_echo "not found" >&6; }
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8535 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8537 cat >>confdefs.h
<<_ACEOF
8538 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8542 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8543 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
8544 $as_echo_n "(cached) " >&6
8546 ac_check_lib_save_LIBS
=$LIBS
8547 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8549 /* end confdefs.h. */
8551 /* Override any GCC internal prototype to avoid an error.
8552 Use char because int might match the return type of a GCC
8553 builtin and then its argument prototype would still apply. */
8557 char XRenderSetPictureTransform ();
8561 return XRenderSetPictureTransform ();
8566 if ac_fn_c_try_link
"$LINENO"; then :
8567 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8569 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8571 rm -f core conftest.err conftest.
$ac_objext \
8572 conftest
$ac_exeext conftest.
$ac_ext
8573 LIBS
=$ac_check_lib_save_LIBS
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8576 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8577 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
8579 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8584 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8585 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
8586 $as_echo_n "(cached) " >&6
8588 ac_check_lib_save_LIBS
=$LIBS
8589 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8591 /* end confdefs.h. */
8593 /* Override any GCC internal prototype to avoid an error.
8594 Use char because int might match the return type of a GCC
8595 builtin and then its argument prototype would still apply. */
8599 char XRenderCreateLinearGradient ();
8603 return XRenderCreateLinearGradient ();
8608 if ac_fn_c_try_link
"$LINENO"; then :
8609 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
8611 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
8613 rm -f core conftest.err conftest.
$ac_objext \
8614 conftest
$ac_exeext conftest.
$ac_ext
8615 LIBS
=$ac_check_lib_save_LIBS
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8618 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8619 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
8621 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8628 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8629 case "x$with_xrender" in
8630 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8632 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8633 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8637 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8640 /* end confdefs.h. */
8641 #include <X11/Xlib.h>
8642 #include <X11/extensions/Xrandr.h>
8646 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8651 if ac_fn_c_try_compile
"$LINENO"; then :
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8653 $as_echo_n "checking for -lXrandr... " >&6; }
8654 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
8655 $as_echo_n "(cached) " >&6
8657 ac_check_soname_save_LIBS
=$LIBS
8658 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8660 /* end confdefs.h. */
8662 /* Override any GCC internal prototype to avoid an error.
8663 Use char because int might match the return type of a GCC
8664 builtin and then its argument prototype would still apply. */
8668 char XRRQueryExtension ();
8672 return XRRQueryExtension ();
8677 if ac_fn_c_try_link
"$LINENO"; then :
8679 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8680 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'` ;;
8681 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8684 rm -f core conftest.err conftest.
$ac_objext \
8685 conftest
$ac_exeext conftest.
$ac_ext
8686 LIBS
=$ac_check_soname_save_LIBS
8688 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8690 $as_echo "not found" >&6; }
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8694 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8696 cat >>confdefs.h
<<_ACEOF
8697 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8701 /* end confdefs.h. */
8702 #include <X11/extensions/Xrandr.h>
8706 static typeof(XRRGetScreenResources) *f; if (f) return 0;
8711 if ac_fn_c_try_compile
"$LINENO"; then :
8713 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
8716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8721 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8722 case "x$with_xrandr" in
8723 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8725 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8726 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8730 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8733 /* end confdefs.h. */
8734 #include <X11/Xlib.h>
8735 #include <X11/extensions/Xinerama.h>
8739 static typeof(XineramaQueryScreens) * func; if (func) return 0;
8744 if ac_fn_c_try_compile
"$LINENO"; then :
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8746 $as_echo_n "checking for -lXinerama... " >&6; }
8747 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
8748 $as_echo_n "(cached) " >&6
8750 ac_check_soname_save_LIBS
=$LIBS
8751 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8753 /* end confdefs.h. */
8755 /* Override any GCC internal prototype to avoid an error.
8756 Use char because int might match the return type of a GCC
8757 builtin and then its argument prototype would still apply. */
8761 char XineramaQueryScreens ();
8765 return XineramaQueryScreens ();
8770 if ac_fn_c_try_link
"$LINENO"; then :
8772 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8773 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'` ;;
8774 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8777 rm -f core conftest.err conftest.
$ac_objext \
8778 conftest
$ac_exeext conftest.
$ac_ext
8779 LIBS
=$ac_check_soname_save_LIBS
8781 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8783 $as_echo "not found" >&6; }
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8787 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8789 cat >>confdefs.h
<<_ACEOF
8790 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8798 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8799 case "x$with_xinerama" in
8800 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8802 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8803 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8807 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8810 $as_echo_n "checking for -lXcomposite... " >&6; }
8811 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
8812 $as_echo_n "(cached) " >&6
8814 ac_check_soname_save_LIBS
=$LIBS
8815 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8817 /* end confdefs.h. */
8819 /* Override any GCC internal prototype to avoid an error.
8820 Use char because int might match the return type of a GCC
8821 builtin and then its argument prototype would still apply. */
8825 char XCompositeRedirectWindow ();
8829 return XCompositeRedirectWindow ();
8834 if ac_fn_c_try_link
"$LINENO"; then :
8836 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8837 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'` ;;
8838 *) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8841 rm -f core conftest.err conftest.
$ac_objext \
8842 conftest
$ac_exeext conftest.
$ac_ext
8843 LIBS
=$ac_check_soname_save_LIBS
8845 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8847 $as_echo "not found" >&6; }
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8851 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8853 cat >>confdefs.h
<<_ACEOF
8854 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8860 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8861 case "x$with_xcomposite" in
8862 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8864 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8865 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8869 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8870 #include <X11/Xlib.h>
8873 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
8875 cat >>confdefs.h
<<_ACEOF
8876 #define HAVE_XICCALLBACK_CALLBACK 1
8881 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
8882 #include <X11/Xlib.h>
8885 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
8887 cat >>confdefs.h
<<_ACEOF
8888 #define HAVE_XEVENT_XCOOKIE 1
8897 if test "x$with_opengl" != "xno"
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8900 $as_echo_n "checking for -lGL... " >&6; }
8901 if ${ac_cv_lib_soname_GL+:} false
; then :
8902 $as_echo_n "(cached) " >&6
8904 ac_check_soname_save_LIBS
=$LIBS
8905 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8907 /* end confdefs.h. */
8909 /* Override any GCC internal prototype to avoid an error.
8910 Use char because int might match the return type of a GCC
8911 builtin and then its argument prototype would still apply. */
8915 char glXCreateContext ();
8919 return glXCreateContext ();
8924 if ac_fn_c_try_link
"$LINENO"; then :
8926 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8927 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'` ;;
8928 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8931 rm -f core conftest.err conftest.
$ac_objext \
8932 conftest
$ac_exeext conftest.
$ac_ext
8933 LIBS
=$ac_check_soname_save_LIBS
8935 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8937 $as_echo "not found" >&6; }
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8939 $as_echo_n "checking for -lGL... " >&6; }
8940 if ${ac_cv_lib_soname_GL+:} false
; then :
8941 $as_echo_n "(cached) " >&6
8943 ac_check_soname_save_LIBS
=$LIBS
8944 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"
8945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8946 /* end confdefs.h. */
8948 /* Override any GCC internal prototype to avoid an error.
8949 Use char because int might match the return type of a GCC
8950 builtin and then its argument prototype would still apply. */
8954 char glXCreateContext ();
8958 return glXCreateContext ();
8963 if ac_fn_c_try_link
"$LINENO"; then :
8965 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8966 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'` ;;
8967 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8970 rm -f core conftest.err conftest.
$ac_objext \
8971 conftest
$ac_exeext conftest.
$ac_ext
8972 LIBS
=$ac_check_soname_save_LIBS
8974 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8976 $as_echo "not found" >&6; }
8977 if test -f /usr
/X11R
6/lib
/libGL.a
8979 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
8980 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8982 opengl_msg
="No OpenGL library found on this system."
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8986 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8988 cat >>confdefs.h
<<_ACEOF
8989 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8992 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"
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8996 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8998 cat >>confdefs.h
<<_ACEOF
8999 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9004 if test "x$with_glu" != "xno"
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9007 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9008 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9009 $as_echo_n "(cached) " >&6
9011 ac_check_lib_save_LIBS
=$LIBS
9012 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9014 /* end confdefs.h. */
9016 /* Override any GCC internal prototype to avoid an error.
9017 Use char because int might match the return type of a GCC
9018 builtin and then its argument prototype would still apply. */
9026 return gluLookAt ();
9031 if ac_fn_c_try_link
"$LINENO"; then :
9032 ac_cv_lib_GLU_gluLookAt
=yes
9034 ac_cv_lib_GLU_gluLookAt
=no
9036 rm -f core conftest.err conftest.
$ac_objext \
9037 conftest
$ac_exeext conftest.
$ac_ext
9038 LIBS
=$ac_check_lib_save_LIBS
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9041 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9042 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
9046 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
9047 case "x$with_glu" in
9048 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9050 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9051 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9056 if test "x$with_osmesa" != "xno"
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9059 $as_echo_n "checking for -lOSMesa... " >&6; }
9060 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9061 $as_echo_n "(cached) " >&6
9063 ac_check_soname_save_LIBS
=$LIBS
9064 LIBS
="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9066 /* end confdefs.h. */
9068 /* Override any GCC internal prototype to avoid an error.
9069 Use char because int might match the return type of a GCC
9070 builtin and then its argument prototype would still apply. */
9083 if ac_fn_c_try_link
"$LINENO"; then :
9085 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9086 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'` ;;
9087 *) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9090 rm -f core conftest.err conftest.
$ac_objext \
9091 conftest
$ac_exeext conftest.
$ac_ext
9092 LIBS
=$ac_check_soname_save_LIBS
9094 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9096 $as_echo "not found" >&6; }
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9100 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9102 cat >>confdefs.h
<<_ACEOF
9103 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9108 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9109 case "x$with_osmesa" in
9110 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9112 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9113 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9118 if test -n "$opengl_msg"; then :
9119 case "x$with_opengl" in
9120 x
) as_fn_append wine_warnings
"|$opengl_msg
9121 OpenGL and Direct3D won't be supported." ;;
9123 *) as_fn_error $?
"$opengl_msg
9124 OpenGL and Direct3D won't be supported.
9125 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9129 CPPFLAGS
="$ac_save_CPPFLAGS"
9134 enable_winex11_drv
=${enable_winex11_drv:-no}
9136 if test "x$XLIB" = "x"; then :
9139 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
9140 without X support, which probably isn't what you want. You will need
9141 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9142 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9146 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
9148 if test "$ac_cv_header_CL_cl_h" = "yes"
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9151 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9152 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
9153 $as_echo_n "(cached) " >&6
9155 ac_check_lib_save_LIBS
=$LIBS
9156 LIBS
="-lOpenCL $LIBS"
9157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9158 /* end confdefs.h. */
9160 /* Override any GCC internal prototype to avoid an error.
9161 Use char because int might match the return type of a GCC
9162 builtin and then its argument prototype would still apply. */
9166 char clGetPlatformInfo ();
9170 return clGetPlatformInfo ();
9175 if ac_fn_c_try_link
"$LINENO"; then :
9176 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9178 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9180 rm -f core conftest.err conftest.
$ac_objext \
9181 conftest
$ac_exeext conftest.
$ac_ext
9182 LIBS
=$ac_check_lib_save_LIBS
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9185 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9186 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
9187 LIBOPENCL
="-lOpenCL"
9192 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9193 case "x$with_opencl" in
9194 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9196 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9197 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9200 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9209 if test "x$with_xml" != "xno"
9211 ac_save_CPPFLAGS
="$CPPFLAGS"
9212 if test "$PKG_CONFIG" != "false"
9214 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9215 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9217 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
9218 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
9220 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
9221 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
9223 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9224 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9225 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9226 cat >>confdefs.h
<<_ACEOF
9227 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9234 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"
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9237 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9238 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
9239 $as_echo_n "(cached) " >&6
9241 ac_check_lib_save_LIBS
=$LIBS
9242 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9244 /* end confdefs.h. */
9246 /* Override any GCC internal prototype to avoid an error.
9247 Use char because int might match the return type of a GCC
9248 builtin and then its argument prototype would still apply. */
9252 char xmlParseMemory ();
9256 return xmlParseMemory ();
9261 if ac_fn_c_try_link
"$LINENO"; then :
9262 ac_cv_lib_xml2_xmlParseMemory
=yes
9264 ac_cv_lib_xml2_xmlParseMemory
=no
9266 rm -f core conftest.err conftest.
$ac_objext \
9267 conftest
$ac_exeext conftest.
$ac_ext
9268 LIBS
=$ac_check_lib_save_LIBS
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9271 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9272 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
9274 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9276 XML2LIBS
="$ac_xml_libs"
9277 XML2INCL
="$ac_xml_cflags"
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9281 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9282 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
9283 $as_echo_n "(cached) " >&6
9285 ac_check_lib_save_LIBS
=$LIBS
9286 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9288 /* end confdefs.h. */
9290 /* Override any GCC internal prototype to avoid an error.
9291 Use char because int might match the return type of a GCC
9292 builtin and then its argument prototype would still apply. */
9296 char xmlReadMemory ();
9300 return xmlReadMemory ();
9305 if ac_fn_c_try_link
"$LINENO"; then :
9306 ac_cv_lib_xml2_xmlReadMemory
=yes
9308 ac_cv_lib_xml2_xmlReadMemory
=no
9310 rm -f core conftest.err conftest.
$ac_objext \
9311 conftest
$ac_exeext conftest.
$ac_ext
9312 LIBS
=$ac_check_lib_save_LIBS
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9315 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9316 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
9318 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9323 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9324 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
9325 $as_echo_n "(cached) " >&6
9327 ac_check_lib_save_LIBS
=$LIBS
9328 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9330 /* end confdefs.h. */
9332 /* Override any GCC internal prototype to avoid an error.
9333 Use char because int might match the return type of a GCC
9334 builtin and then its argument prototype would still apply. */
9338 char xmlNewDocPI ();
9342 return xmlNewDocPI ();
9347 if ac_fn_c_try_link
"$LINENO"; then :
9348 ac_cv_lib_xml2_xmlNewDocPI
=yes
9350 ac_cv_lib_xml2_xmlNewDocPI
=no
9352 rm -f core conftest.err conftest.
$ac_objext \
9353 conftest
$ac_exeext conftest.
$ac_ext
9354 LIBS
=$ac_check_lib_save_LIBS
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9357 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9358 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
9360 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9365 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9366 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
9367 $as_echo_n "(cached) " >&6
9369 ac_check_lib_save_LIBS
=$LIBS
9370 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9372 /* end confdefs.h. */
9374 /* Override any GCC internal prototype to avoid an error.
9375 Use char because int might match the return type of a GCC
9376 builtin and then its argument prototype would still apply. */
9380 char xmlSchemaSetParserStructuredErrors ();
9384 return xmlSchemaSetParserStructuredErrors ();
9389 if ac_fn_c_try_link
"$LINENO"; then :
9390 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9392 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9394 rm -f core conftest.err conftest.
$ac_objext \
9395 conftest
$ac_exeext conftest.
$ac_ext
9396 LIBS
=$ac_check_lib_save_LIBS
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9399 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9400 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
9402 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9407 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9408 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
9409 $as_echo_n "(cached) " >&6
9411 ac_check_lib_save_LIBS
=$LIBS
9412 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9414 /* end confdefs.h. */
9416 /* Override any GCC internal prototype to avoid an error.
9417 Use char because int might match the return type of a GCC
9418 builtin and then its argument prototype would still apply. */
9422 char xmlSchemaSetValidStructuredErrors ();
9426 return xmlSchemaSetValidStructuredErrors ();
9431 if ac_fn_c_try_link
"$LINENO"; then :
9432 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9434 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9436 rm -f core conftest.err conftest.
$ac_objext \
9437 conftest
$ac_exeext conftest.
$ac_ext
9438 LIBS
=$ac_check_lib_save_LIBS
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9441 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9442 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
9444 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9449 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9450 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
9451 $as_echo_n "(cached) " >&6
9453 ac_check_lib_save_LIBS
=$LIBS
9454 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h. */
9458 /* Override any GCC internal prototype to avoid an error.
9459 Use char because int might match the return type of a GCC
9460 builtin and then its argument prototype would still apply. */
9464 char xmlFirstElementChild ();
9468 return xmlFirstElementChild ();
9473 if ac_fn_c_try_link
"$LINENO"; then :
9474 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9476 ac_cv_lib_xml2_xmlFirstElementChild
=no
9478 rm -f core conftest.err conftest.
$ac_objext \
9479 conftest
$ac_exeext conftest.
$ac_ext
9480 LIBS
=$ac_check_lib_save_LIBS
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9483 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9484 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
9486 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9490 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9492 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
9494 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9499 CPPFLAGS
="$ac_save_CPPFLAGS"
9501 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9502 case "x$with_xml" in
9503 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9505 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9506 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9510 if test "x$with_xslt" != "xno"
9512 if test "$PKG_CONFIG" != "false"
9514 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9515 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9517 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
9518 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
9520 ac_save_CPPFLAGS
="$CPPFLAGS"
9521 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9522 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9524 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9525 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9526 # include <libxslt/pattern.h>
9529 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9530 cat >>confdefs.h
<<_ACEOF
9531 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9538 CPPFLAGS
="$ac_save_CPPFLAGS"
9539 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9542 $as_echo_n "checking for -lxslt... " >&6; }
9543 if ${ac_cv_lib_soname_xslt+:} false
; then :
9544 $as_echo_n "(cached) " >&6
9546 ac_check_soname_save_LIBS
=$LIBS
9547 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9551 /* Override any GCC internal prototype to avoid an error.
9552 Use char because int might match the return type of a GCC
9553 builtin and then its argument prototype would still apply. */
9557 char xsltCompilePattern ();
9561 return xsltCompilePattern ();
9566 if ac_fn_c_try_link
"$LINENO"; then :
9568 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9569 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'` ;;
9570 *) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9573 rm -f core conftest.err conftest.
$ac_objext \
9574 conftest
$ac_exeext conftest.
$ac_ext
9575 LIBS
=$ac_check_soname_save_LIBS
9577 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9579 $as_echo "not found" >&6; }
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9583 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9585 cat >>confdefs.h
<<_ACEOF
9586 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9589 XSLTINCL
="$ac_xslt_cflags"
9593 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9594 case "x$with_xslt" in
9595 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9597 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
9598 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9602 if test "x$with_dbus" != "xno"
9604 ac_save_CPPFLAGS
="$CPPFLAGS"
9605 if test "$PKG_CONFIG" != "false"
9607 ac_dbus_libs
="`$PKG_CONFIG --libs dbus-1 2>/dev/null`"
9608 ac_dbus_cflags
="`$PKG_CONFIG --cflags dbus-1 2>/dev/null`"
9609 CPPFLAGS
="$CPPFLAGS $ac_dbus_cflags"
9611 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
9612 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
9614 $as_echo_n "checking for -ldbus-1... " >&6; }
9615 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
9616 $as_echo_n "(cached) " >&6
9618 ac_check_soname_save_LIBS
=$LIBS
9619 LIBS
="-ldbus-1 $ac_dbus_libs $LIBS"
9620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9621 /* end confdefs.h. */
9623 /* Override any GCC internal prototype to avoid an error.
9624 Use char because int might match the return type of a GCC
9625 builtin and then its argument prototype would still apply. */
9629 char dbus_connection_close ();
9633 return dbus_connection_close ();
9638 if ac_fn_c_try_link
"$LINENO"; then :
9640 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9641 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'` ;;
9642 *) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9645 rm -f core conftest.err conftest.
$ac_objext \
9646 conftest
$ac_exeext conftest.
$ac_ext
9647 LIBS
=$ac_check_soname_save_LIBS
9649 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9651 $as_echo "not found" >&6; }
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
9655 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
9657 cat >>confdefs.h
<<_ACEOF
9658 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
9661 DBUSINCL
="$ac_dbus_cflags"
9667 CPPFLAGS
="$ac_save_CPPFLAGS"
9669 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
9670 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9671 case "x$with_dbus" in
9672 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9674 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
9675 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
9679 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
9681 ac_save_CPPFLAGS
="$CPPFLAGS"
9682 if test "$PKG_CONFIG" != "false"
9684 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
9685 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9686 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
9688 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
9689 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9691 $as_echo_n "checking for -lhal... " >&6; }
9692 if ${ac_cv_lib_soname_hal+:} false
; then :
9693 $as_echo_n "(cached) " >&6
9695 ac_check_soname_save_LIBS
=$LIBS
9696 LIBS
="-lhal $ac_hal_libs $LIBS"
9697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9698 /* end confdefs.h. */
9700 /* Override any GCC internal prototype to avoid an error.
9701 Use char because int might match the return type of a GCC
9702 builtin and then its argument prototype would still apply. */
9706 char libhal_ctx_new ();
9710 return libhal_ctx_new ();
9715 if ac_fn_c_try_link
"$LINENO"; then :
9717 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9718 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'` ;;
9719 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9722 rm -f core conftest.err conftest.
$ac_objext \
9723 conftest
$ac_exeext conftest.
$ac_ext
9724 LIBS
=$ac_check_soname_save_LIBS
9726 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9728 $as_echo "not found" >&6; }
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9732 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9734 cat >>confdefs.h
<<_ACEOF
9735 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9738 HALINCL
="$ac_hal_cflags"
9744 CPPFLAGS
="$ac_save_CPPFLAGS"
9745 if test "x$ac_cv_lib_soname_hal" = "x" -a \
9746 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9747 case "x$with_hal" in
9748 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
9750 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
9751 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9756 if test "x$with_gnutls" != "xno"
9758 ac_save_CPPFLAGS
="$CPPFLAGS"
9759 if test "$PKG_CONFIG" != "false"
9761 ac_gnutls_libs
="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9762 ac_gnutls_cflags
="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9763 CPPFLAGS
="$CPPFLAGS $ac_gnutls_cflags"
9765 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9766 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
9767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9768 /* end confdefs.h. */
9769 #include <gnutls/gnutls.h>
9773 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
9778 if ac_fn_c_try_compile
"$LINENO"; then :
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9780 $as_echo_n "checking for -lgnutls... " >&6; }
9781 if ${ac_cv_lib_soname_gnutls+:} false
; then :
9782 $as_echo_n "(cached) " >&6
9784 ac_check_soname_save_LIBS
=$LIBS
9785 LIBS
="-lgnutls $ac_gnutls_libs $LIBS"
9786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9787 /* end confdefs.h. */
9789 /* Override any GCC internal prototype to avoid an error.
9790 Use char because int might match the return type of a GCC
9791 builtin and then its argument prototype would still apply. */
9795 char gnutls_global_init ();
9799 return gnutls_global_init ();
9804 if ac_fn_c_try_link
"$LINENO"; then :
9806 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9807 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'` ;;
9808 *) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9811 rm -f core conftest.err conftest.
$ac_objext \
9812 conftest
$ac_exeext conftest.
$ac_ext
9813 LIBS
=$ac_check_soname_save_LIBS
9815 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9817 $as_echo "not found" >&6; }
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9821 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9823 cat >>confdefs.h
<<_ACEOF
9824 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9827 GNUTLSINCL
="$ac_gnutls_cflags"
9831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9835 CPPFLAGS
="$ac_save_CPPFLAGS"
9837 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9838 case "x$with_gnutls" in
9839 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9841 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
9842 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9847 if test "$ac_cv_header_ncurses_h" = "yes"
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9850 $as_echo_n "checking for -lncurses... " >&6; }
9851 if ${ac_cv_lib_soname_ncurses+:} false
; then :
9852 $as_echo_n "(cached) " >&6
9854 ac_check_soname_save_LIBS
=$LIBS
9855 LIBS
="-lncurses $LIBS"
9856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9857 /* end confdefs.h. */
9859 /* Override any GCC internal prototype to avoid an error.
9860 Use char because int might match the return type of a GCC
9861 builtin and then its argument prototype would still apply. */
9874 if ac_fn_c_try_link
"$LINENO"; then :
9876 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9877 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'` ;;
9878 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9881 rm -f core conftest.err conftest.
$ac_objext \
9882 conftest
$ac_exeext conftest.
$ac_ext
9883 LIBS
=$ac_check_soname_save_LIBS
9885 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9887 $as_echo "not found" >&6; }
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9891 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9893 cat >>confdefs.h
<<_ACEOF
9894 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9897 CURSESLIBS
="-lncurses"
9899 elif test "$ac_cv_header_curses_h" = "yes"
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9902 $as_echo_n "checking for -lcurses... " >&6; }
9903 if ${ac_cv_lib_soname_curses+:} false
; then :
9904 $as_echo_n "(cached) " >&6
9906 ac_check_soname_save_LIBS
=$LIBS
9907 LIBS
="-lcurses $LIBS"
9908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9909 /* end confdefs.h. */
9911 /* Override any GCC internal prototype to avoid an error.
9912 Use char because int might match the return type of a GCC
9913 builtin and then its argument prototype would still apply. */
9926 if ac_fn_c_try_link
"$LINENO"; then :
9928 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9929 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'` ;;
9930 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9933 rm -f core conftest.err conftest.
$ac_objext \
9934 conftest
$ac_exeext conftest.
$ac_ext
9935 LIBS
=$ac_check_soname_save_LIBS
9937 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9939 $as_echo "not found" >&6; }
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9943 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9945 cat >>confdefs.h
<<_ACEOF
9946 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9949 CURSESLIBS
="-lcurses"
9952 ac_save_LIBS
="$LIBS"
9953 LIBS
="$LIBS $CURSESLIBS"
9954 for ac_func
in mousemask
9956 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
9957 if test "x$ac_cv_func_mousemask" = xyes
; then :
9958 cat >>confdefs.h
<<_ACEOF
9959 #define HAVE_MOUSEMASK 1
9965 LIBS
="$ac_save_LIBS"
9966 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9967 case "x$with_curses" in
9968 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9970 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9971 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9975 if test "x$with_sane" != "xno"
9977 ac_save_CPPFLAGS
="$CPPFLAGS"
9978 # Extract the first word of "sane-config", so it can be a program name with args.
9979 set dummy sane-config
; ac_word
=$2
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9981 $as_echo_n "checking for $ac_word... " >&6; }
9982 if ${ac_cv_prog_sane_devel+:} false
; then :
9983 $as_echo_n "(cached) " >&6
9985 if test -n "$sane_devel"; then
9986 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9992 test -z "$as_dir" && as_dir
=.
9993 for ac_exec_ext
in '' $ac_executable_extensions; do
9994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9995 ac_cv_prog_sane_devel
="sane-config"
9996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10003 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
10006 sane_devel
=$ac_cv_prog_sane_devel
10007 if test -n "$sane_devel"; then
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
10009 $as_echo "$sane_devel" >&6; }
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10012 $as_echo "no" >&6; }
10016 if test "$sane_devel" != "no"
10018 ac_sane_incl
="`$sane_devel --cflags`"
10019 ac_sane_libs
="`$sane_devel --ldflags`"
10020 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
10022 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10023 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10025 $as_echo_n "checking for -lsane... " >&6; }
10026 if ${ac_cv_lib_soname_sane+:} false
; then :
10027 $as_echo_n "(cached) " >&6
10029 ac_check_soname_save_LIBS
=$LIBS
10030 LIBS
="-lsane $ac_sane_libs $LIBS"
10031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10032 /* end confdefs.h. */
10034 /* Override any GCC internal prototype to avoid an error.
10035 Use char because int might match the return type of a GCC
10036 builtin and then its argument prototype would still apply. */
10044 return sane_init ();
10049 if ac_fn_c_try_link
"$LINENO"; then :
10051 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10052 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'` ;;
10053 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10056 rm -f core conftest.err conftest.
$ac_objext \
10057 conftest
$ac_exeext conftest.
$ac_ext
10058 LIBS
=$ac_check_soname_save_LIBS
10060 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10062 $as_echo "not found" >&6; }
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10066 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10068 cat >>confdefs.h
<<_ACEOF
10069 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10072 SANEINCL
="$ac_sane_incl"
10078 CPPFLAGS
="$ac_save_CPPFLAGS"
10080 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10081 case "x$with_sane" in
10082 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10084 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
10085 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10089 if test "x$with_v4l" != "xno"
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10092 $as_echo_n "checking for -lv4l1... " >&6; }
10093 if ${ac_cv_lib_soname_v4l1+:} false
; then :
10094 $as_echo_n "(cached) " >&6
10096 ac_check_soname_save_LIBS
=$LIBS
10097 LIBS
="-lv4l1 $LIBS"
10098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10099 /* end confdefs.h. */
10101 /* Override any GCC internal prototype to avoid an error.
10102 Use char because int might match the return type of a GCC
10103 builtin and then its argument prototype would still apply. */
10111 return v4l1_open ();
10116 if ac_fn_c_try_link
"$LINENO"; then :
10118 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10119 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'` ;;
10120 *) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10123 rm -f core conftest.err conftest.
$ac_objext \
10124 conftest
$ac_exeext conftest.
$ac_ext
10125 LIBS
=$ac_check_soname_save_LIBS
10127 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10129 $as_echo "not found" >&6; }
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10133 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10135 cat >>confdefs.h
<<_ACEOF
10136 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10142 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10143 case "x$with_v4l" in
10144 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
10146 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
10147 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10151 if test "x$with_gphoto" != "xno"
10153 ac_save_CPPFLAGS
="$CPPFLAGS"
10154 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10155 set dummy gphoto2-config
; ac_word
=$2
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10157 $as_echo_n "checking for $ac_word... " >&6; }
10158 if ${ac_cv_prog_gphoto2_devel+:} false
; then :
10159 $as_echo_n "(cached) " >&6
10161 if test -n "$gphoto2_devel"; then
10162 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
10164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10165 for as_dir
in $PATH
10168 test -z "$as_dir" && as_dir
=.
10169 for ac_exec_ext
in '' $ac_executable_extensions; do
10170 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10171 ac_cv_prog_gphoto2_devel
="gphoto2-config"
10172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10179 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10182 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10183 if test -n "$gphoto2_devel"; then
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10185 $as_echo "$gphoto2_devel" >&6; }
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10188 $as_echo "no" >&6; }
10192 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10193 set dummy gphoto2-port-config
; ac_word
=$2
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10195 $as_echo_n "checking for $ac_word... " >&6; }
10196 if ${ac_cv_prog_gphoto2port_devel+:} false
; then :
10197 $as_echo_n "(cached) " >&6
10199 if test -n "$gphoto2port_devel"; then
10200 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
10202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10203 for as_dir
in $PATH
10206 test -z "$as_dir" && as_dir
=.
10207 for ac_exec_ext
in '' $ac_executable_extensions; do
10208 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10209 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
10210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10217 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
10220 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
10221 if test -n "$gphoto2port_devel"; then
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10223 $as_echo "$gphoto2port_devel" >&6; }
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10226 $as_echo "no" >&6; }
10230 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10232 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10234 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10237 -L/usr
/lib|
-L/usr
/lib64
) ;;
10238 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
10241 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
10243 ac_gphoto2_libs
=${ac_gphoto2_libs:-"-lgphoto2"}
10244 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10245 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10247 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10248 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
10249 $as_echo_n "(cached) " >&6
10251 ac_check_lib_save_LIBS
=$LIBS
10252 LIBS
="-lgphoto2 $ac_gphoto2_libs $LIBS"
10253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10254 /* end confdefs.h. */
10256 /* Override any GCC internal prototype to avoid an error.
10257 Use char because int might match the return type of a GCC
10258 builtin and then its argument prototype would still apply. */
10262 char gp_camera_new ();
10266 return gp_camera_new ();
10271 if ac_fn_c_try_link
"$LINENO"; then :
10272 ac_cv_lib_gphoto2_gp_camera_new
=yes
10274 ac_cv_lib_gphoto2_gp_camera_new
=no
10276 rm -f core conftest.err conftest.
$ac_objext \
10277 conftest
$ac_exeext conftest.
$ac_ext
10278 LIBS
=$ac_check_lib_save_LIBS
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10281 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10282 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
10284 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10286 GPHOTO2LIBS
="$ac_gphoto2_libs"
10288 GPHOTO2INCL
="$ac_gphoto2_incl"
10295 CPPFLAGS
="$ac_save_CPPFLAGS"
10297 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10298 case "x$with_gphoto" in
10299 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10301 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10302 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10307 if test "$ac_cv_header_resolv_h" = "yes"
10309 ac_save_LIBS
="$LIBS"
10310 for lib
in '' -lresolv
10312 LIBS
="$lib $ac_save_LIBS"
10313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h. */
10315 #ifdef HAVE_NETINET_IN_H
10316 #include <netinet/in.h>
10318 #include <resolv.h>
10322 res_query("foo",ns_c_in,0,0,0);
10327 if ac_fn_c_try_link
"$LINENO"; then :
10329 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10334 rm -f core conftest.err conftest.
$ac_objext \
10335 conftest
$ac_exeext conftest.
$ac_ext
10336 if test "${RESOLVLIBS+set}" = set; then
10340 LIBS
="$ac_save_LIBS"
10345 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10348 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10349 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false
; then :
10350 $as_echo_n "(cached) " >&6
10352 ac_check_lib_save_LIBS
=$LIBS
10353 LIBS
="-llcms $LIBS"
10354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10355 /* end confdefs.h. */
10357 /* Override any GCC internal prototype to avoid an error.
10358 Use char because int might match the return type of a GCC
10359 builtin and then its argument prototype would still apply. */
10363 char cmsOpenProfileFromFile ();
10367 return cmsOpenProfileFromFile ();
10372 if ac_fn_c_try_link
"$LINENO"; then :
10373 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10375 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10377 rm -f core conftest.err conftest.
$ac_objext \
10378 conftest
$ac_exeext conftest.
$ac_ext
10379 LIBS
=$ac_check_lib_save_LIBS
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10382 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10383 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes
; then :
10385 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10391 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10392 case "x$with_cms" in
10393 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10395 *) as_fn_error $?
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10396 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10400 if test "x$with_freetype" != "xno"
10402 if test "$PKG_CONFIG" != "false"
10404 ac_freetype_incl
="`$PKG_CONFIG --cflags freetype2 2>/dev/null`"
10405 ac_freetype_libs
="`$PKG_CONFIG --libs freetype2 2>/dev/null`"
10407 for ac_prog
in freetype-config freetype2-config
10409 # Extract the first word of "$ac_prog", so it can be a program name with args.
10410 set dummy
$ac_prog; ac_word
=$2
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10412 $as_echo_n "checking for $ac_word... " >&6; }
10413 if ${ac_cv_prog_ft_devel+:} false
; then :
10414 $as_echo_n "(cached) " >&6
10416 if test -n "$ft_devel"; then
10417 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10420 for as_dir
in $PATH
10423 test -z "$as_dir" && as_dir
=.
10424 for ac_exec_ext
in '' $ac_executable_extensions; do
10425 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10426 ac_cv_prog_ft_devel
="$ac_prog"
10427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10436 ft_devel
=$ac_cv_prog_ft_devel
10437 if test -n "$ft_devel"; then
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10439 $as_echo "$ft_devel" >&6; }
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10442 $as_echo "no" >&6; }
10446 test -n "$ft_devel" && break
10448 test -n "$ft_devel" || ft_devel
="no"
10450 if test "$ft_devel" != "no"
10452 ac_freetype_incl
=`$ft_devel --cflags`
10453 ac_freetype_libs
=`$ft_devel --libs`
10456 ac_freetype_libs
=${ac_freetype_libs:-"-lfreetype"}
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10458 $as_echo_n "checking for -lfreetype... " >&6; }
10459 if ${ac_cv_lib_soname_freetype+:} false
; then :
10460 $as_echo_n "(cached) " >&6
10462 ac_check_soname_save_LIBS
=$LIBS
10463 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
10464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10465 /* end confdefs.h. */
10467 /* Override any GCC internal prototype to avoid an error.
10468 Use char because int might match the return type of a GCC
10469 builtin and then its argument prototype would still apply. */
10473 char FT_Init_FreeType ();
10477 return FT_Init_FreeType ();
10482 if ac_fn_c_try_link
"$LINENO"; then :
10484 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10485 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'` ;;
10486 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10489 rm -f core conftest.err conftest.
$ac_objext \
10490 conftest
$ac_exeext conftest.
$ac_ext
10491 LIBS
=$ac_check_soname_save_LIBS
10493 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10495 $as_echo "not found" >&6; }
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10499 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10501 cat >>confdefs.h
<<_ACEOF
10502 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10507 if test "$ft_lib" = "yes"
10509 ac_save_CPPFLAGS
="$CPPFLAGS"
10510 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
10511 for ac_header
in ft2build.h \
10512 freetype
/freetype.h \
10513 freetype
/ftglyph.h \
10514 freetype
/fttypes.h \
10515 freetype
/tttables.h \
10516 freetype
/ftsnames.h \
10517 freetype
/ttnameid.h \
10518 freetype
/ftoutln.h \
10519 freetype
/ftwinfnt.h \
10520 freetype
/ftmodapi.h \
10521 freetype
/ftlcdfil.h
10523 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10524 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10525 # include <ft2build.h>
10528 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10529 cat >>confdefs.h
<<_ACEOF
10530 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10538 /* end confdefs.h. */
10539 #include <ft2build.h>
10540 #include <freetype/fttrigon.h>
10542 if ac_fn_c_try_cpp
"$LINENO"; then :
10544 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10546 wine_cv_fttrigon
=yes
10548 wine_cv_fttrigon
=no
10550 rm -f conftest.err conftest.i conftest.
$ac_ext
10551 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10553 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
10555 cat >>confdefs.h
<<_ACEOF
10556 #define HAVE_FT_TRUETYPEENGINETYPE 1
10562 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10565 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10567 FREETYPELIBS
="$ac_freetype_libs"
10569 FREETYPEINCL
="$ac_freetype_incl"
10574 if test "x$FREETYPELIBS" = "x"; then :
10575 case "x$with_freetype" in
10577 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10578 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10581 test "x$FREETYPELIBS" = "x" && enable_fonts
=${enable_fonts:-no}
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10584 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10585 if ${ac_cv_c_ppdev+:} false
; then :
10586 $as_echo_n "(cached) " >&6
10588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10589 /* end confdefs.h. */
10590 #ifdef HAVE_SYS_IOCTL_H
10591 # include <sys/ioctl.h>
10593 #include <linux/ppdev.h>
10597 ioctl (1,PPCLAIM,0)
10602 if ac_fn_c_try_compile
"$LINENO"; then :
10603 ac_cv_c_ppdev
="yes"
10607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10610 $as_echo "$ac_cv_c_ppdev" >&6; }
10611 if test "$ac_cv_c_ppdev" = "yes"
10614 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10618 ac_wine_check_funcs_save_LIBS
="$LIBS"
10619 LIBS
="$LIBS $LIBPTHREAD"
10621 pthread_attr_get_np \
10622 pthread_getattr_np \
10623 pthread_getthreadid_np \
10624 pthread_get_stackaddr_np \
10625 pthread_get_stacksize_np
10627 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10628 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10629 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10630 cat >>confdefs.h
<<_ACEOF
10631 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10637 LIBS
="$ac_wine_check_funcs_save_LIBS"
10639 if test "$ac_cv_header_zlib_h" = "yes"
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10642 $as_echo_n "checking for inflate in -lz... " >&6; }
10643 if ${ac_cv_lib_z_inflate+:} false
; then :
10644 $as_echo_n "(cached) " >&6
10646 ac_check_lib_save_LIBS
=$LIBS
10648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10649 /* end confdefs.h. */
10651 /* Override any GCC internal prototype to avoid an error.
10652 Use char because int might match the return type of a GCC
10653 builtin and then its argument prototype would still apply. */
10666 if ac_fn_c_try_link
"$LINENO"; then :
10667 ac_cv_lib_z_inflate
=yes
10669 ac_cv_lib_z_inflate
=no
10671 rm -f core conftest.err conftest.
$ac_objext \
10672 conftest
$ac_exeext conftest.
$ac_ext
10673 LIBS
=$ac_check_lib_save_LIBS
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10676 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10677 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
10679 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10686 if test "x$ZLIB" = "x"; then :
10687 case "x$with_zlib" in
10688 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10690 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
10691 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10695 if test "x$enable_tools" != xno
10697 if test "$ac_cv_header_gettext_po_h" = "yes"
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10700 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10701 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
10702 $as_echo_n "(cached) " >&6
10704 ac_check_lib_save_LIBS
=$LIBS
10705 LIBS
="-lgettextpo $LIBS"
10706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10707 /* end confdefs.h. */
10709 /* Override any GCC internal prototype to avoid an error.
10710 Use char because int might match the return type of a GCC
10711 builtin and then its argument prototype would still apply. */
10715 char po_message_msgctxt ();
10719 return po_message_msgctxt ();
10724 if ac_fn_c_try_link
"$LINENO"; then :
10725 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
10727 ac_cv_lib_gettextpo_po_message_msgctxt
=no
10729 rm -f core conftest.err conftest.
$ac_objext \
10730 conftest
$ac_exeext conftest.
$ac_ext
10731 LIBS
=$ac_check_lib_save_LIBS
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10734 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10735 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
10737 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10739 LIBGETTEXTPO
="-lgettextpo"
10744 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
10745 case "x$with_gettextpo" in
10746 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
10748 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
10749 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10754 if test "x$with_gstreamer" != "xno"
10756 ac_save_CPPFLAGS
="$CPPFLAGS"
10757 if test "$PKG_CONFIG" != "false"; then
10759 for i
in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10762 -I*) ac_gst_incl
="$ac_gst_incl $i";;
10765 ac_gst_libs
="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10766 CPPFLAGS
="$CPPFLAGS $ac_gst_incl"
10767 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10768 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
10769 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10770 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
10772 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
10773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10774 /* end confdefs.h. */
10775 #include <gst/app/gstappsink.h>
10779 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
10784 if ac_fn_c_try_compile
"$LINENO"; then :
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10786 $as_echo "yes" >&6; }
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10788 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10789 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
10790 $as_echo_n "(cached) " >&6
10792 ac_check_lib_save_LIBS
=$LIBS
10793 LIBS
="-lgstreamer-0.10 $LIBS"
10794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10795 /* end confdefs.h. */
10797 /* Override any GCC internal prototype to avoid an error.
10798 Use char because int might match the return type of a GCC
10799 builtin and then its argument prototype would still apply. */
10803 char gst_pad_get_caps_reffed ();
10807 return gst_pad_get_caps_reffed ();
10812 if ac_fn_c_try_link
"$LINENO"; then :
10813 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
10815 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
10817 rm -f core conftest.err conftest.
$ac_objext \
10818 conftest
$ac_exeext conftest.
$ac_ext
10819 LIBS
=$ac_check_lib_save_LIBS
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10822 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10823 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10825 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10826 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
10827 $as_echo_n "(cached) " >&6
10829 ac_check_lib_save_LIBS
=$LIBS
10830 LIBS
="-lgstapp-0.10 $ac_gst_libs $LIBS"
10831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10834 /* Override any GCC internal prototype to avoid an error.
10835 Use char because int might match the return type of a GCC
10836 builtin and then its argument prototype would still apply. */
10840 char gst_app_buffer_new ();
10844 return gst_app_buffer_new ();
10849 if ac_fn_c_try_link
"$LINENO"; then :
10850 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
10852 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
10854 rm -f core conftest.err conftest.
$ac_objext \
10855 conftest
$ac_exeext conftest.
$ac_ext
10856 LIBS
=$ac_check_lib_save_LIBS
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10859 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10860 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
10861 GSTREAMER_LIBS
="$ac_gst_libs"
10863 GSTREAMER_INCL
="$ac_gst_incl"
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10871 $as_echo "no" >&6; }
10873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10881 CPPFLAGS
="$ac_save_CPPFLAGS"
10883 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
10884 case "x$with_gstreamer" in
10885 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
10887 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
10888 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10891 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
10895 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
10898 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
10899 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
10900 $as_echo_n "(cached) " >&6
10902 ac_check_lib_save_LIBS
=$LIBS
10903 LIBS
="-lasound $LIBS"
10904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10905 /* end confdefs.h. */
10907 /* Override any GCC internal prototype to avoid an error.
10908 Use char because int might match the return type of a GCC
10909 builtin and then its argument prototype would still apply. */
10913 char snd_pcm_hw_params_get_access_mask ();
10917 return snd_pcm_hw_params_get_access_mask ();
10922 if ac_fn_c_try_link
"$LINENO"; then :
10923 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
10925 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
10927 rm -f core conftest.err conftest.
$ac_objext \
10928 conftest
$ac_exeext conftest.
$ac_ext
10929 LIBS
=$ac_check_lib_save_LIBS
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
10932 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
10933 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
10934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h. */
10936 #ifdef HAVE_ALSA_ASOUNDLIB_H
10937 #include <alsa/asoundlib.h>
10938 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10939 #include <sys/asoundlib.h>
10944 snd_pcm_hw_params_get_access_mask(NULL, NULL)
10949 if ac_fn_c_try_compile
"$LINENO"; then :
10950 ALSALIBS
="-lasound"
10952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10957 if test "x$with_oss" != xno
10959 ac_save_CPPFLAGS
="$CPPFLAGS"
10960 if test -f /etc
/oss.conf
10964 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
10965 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
10966 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10967 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
10968 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
10970 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
10972 cat >>confdefs.h
<<_ACEOF
10973 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
10976 OSS4INCL
="$ac_oss_incl"
10983 CPPFLAGS
="$ac_save_CPPFLAGS"
10984 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
10986 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
10991 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10994 $as_echo_n "checking for -lcapi20... " >&6; }
10995 if ${ac_cv_lib_soname_capi20+:} false
; then :
10996 $as_echo_n "(cached) " >&6
10998 ac_check_soname_save_LIBS
=$LIBS
10999 LIBS
="-lcapi20 $LIBS"
11000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11001 /* end confdefs.h. */
11003 /* Override any GCC internal prototype to avoid an error.
11004 Use char because int might match the return type of a GCC
11005 builtin and then its argument prototype would still apply. */
11009 char capi20_register ();
11013 return capi20_register ();
11018 if ac_fn_c_try_link
"$LINENO"; then :
11020 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11021 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'` ;;
11022 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11025 rm -f core conftest.err conftest.
$ac_objext \
11026 conftest
$ac_exeext conftest.
$ac_ext
11027 LIBS
=$ac_check_soname_save_LIBS
11029 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11031 $as_echo "not found" >&6; }
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11035 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11037 cat >>confdefs.h
<<_ACEOF
11038 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11044 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11045 case "x$with_capi" in
11046 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11048 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11049 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11055 if test "x$with_cups" != "xno"
11057 ac_save_CPPFLAGS
="$CPPFLAGS"
11058 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
11059 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
11060 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
11061 for ac_header
in cups
/cups.h
11063 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11064 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
11065 cat >>confdefs.h
<<_ACEOF
11066 #define HAVE_CUPS_CUPS_H 1
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11069 $as_echo_n "checking for -lcups... " >&6; }
11070 if ${ac_cv_lib_soname_cups+:} false
; then :
11071 $as_echo_n "(cached) " >&6
11073 ac_check_soname_save_LIBS
=$LIBS
11074 LIBS
="-lcups $ac_cups_libs $LIBS"
11075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11076 /* end confdefs.h. */
11078 /* Override any GCC internal prototype to avoid an error.
11079 Use char because int might match the return type of a GCC
11080 builtin and then its argument prototype would still apply. */
11084 char cupsGetDefault ();
11088 return cupsGetDefault ();
11093 if ac_fn_c_try_link
"$LINENO"; then :
11095 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11096 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'` ;;
11097 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11100 rm -f core conftest.err conftest.
$ac_objext \
11101 conftest
$ac_exeext conftest.
$ac_ext
11102 LIBS
=$ac_check_soname_save_LIBS
11104 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11106 $as_echo "not found" >&6; }
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11110 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11112 cat >>confdefs.h
<<_ACEOF
11113 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11116 CUPSINCL
="$ac_cups_cflags"
11122 CPPFLAGS
="$ac_save_CPPFLAGS"
11124 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11125 case "x$with_cups" in
11126 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11128 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
11129 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11133 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11136 $as_echo_n "checking for -lfontconfig... " >&6; }
11137 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11138 $as_echo_n "(cached) " >&6
11140 ac_check_soname_save_LIBS
=$LIBS
11141 LIBS
="-lfontconfig $LIBS"
11142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11143 /* end confdefs.h. */
11145 /* Override any GCC internal prototype to avoid an error.
11146 Use char because int might match the return type of a GCC
11147 builtin and then its argument prototype would still apply. */
11160 if ac_fn_c_try_link
"$LINENO"; then :
11162 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11163 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'` ;;
11164 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11167 rm -f core conftest.err conftest.
$ac_objext \
11168 conftest
$ac_exeext conftest.
$ac_ext
11169 LIBS
=$ac_check_soname_save_LIBS
11171 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11173 $as_echo "not found" >&6; }
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11177 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11179 cat >>confdefs.h
<<_ACEOF
11180 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11185 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11187 ac_save_CPPFLAGS
="$CPPFLAGS"
11188 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11189 $as_unset ac_cv_header_fontconfig_fontconfig_h
11190 for ac_header
in fontconfig
/fontconfig.h
11192 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11193 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
11194 cat >>confdefs.h
<<_ACEOF
11195 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11202 CPPFLAGS
="$ac_save_CPPFLAGS"
11203 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11205 FONTCONFIGINCL
="$X_CFLAGS"
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11208 $as_echo_n "checking for -lfontconfig... " >&6; }
11209 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11210 $as_echo_n "(cached) " >&6
11212 ac_check_soname_save_LIBS
=$LIBS
11213 LIBS
="-lfontconfig $X_LIBS $LIBS"
11214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11215 /* end confdefs.h. */
11217 /* Override any GCC internal prototype to avoid an error.
11218 Use char because int might match the return type of a GCC
11219 builtin and then its argument prototype would still apply. */
11232 if ac_fn_c_try_link
"$LINENO"; then :
11234 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11235 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'` ;;
11236 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11239 rm -f core conftest.err conftest.
$ac_objext \
11240 conftest
$ac_exeext conftest.
$ac_ext
11241 LIBS
=$ac_check_soname_save_LIBS
11243 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11245 $as_echo "not found" >&6; }
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11249 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11251 cat >>confdefs.h
<<_ACEOF
11252 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11259 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11260 case "x$with_fontconfig" in
11261 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11263 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11264 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11268 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11271 $as_echo_n "checking for -lssl... " >&6; }
11272 if ${ac_cv_lib_soname_ssl+:} false
; then :
11273 $as_echo_n "(cached) " >&6
11275 ac_check_soname_save_LIBS
=$LIBS
11277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h. */
11280 /* Override any GCC internal prototype to avoid an error.
11281 Use char because int might match the return type of a GCC
11282 builtin and then its argument prototype would still apply. */
11286 char SSL_library_init ();
11290 return SSL_library_init ();
11295 if ac_fn_c_try_link
"$LINENO"; then :
11297 dll
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11298 dylib
) ac_cv_lib_soname_ssl
=`otool -L conftest$ac_exeext | grep "libssl\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libssl\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11299 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11302 rm -f core conftest.err conftest.
$ac_objext \
11303 conftest
$ac_exeext conftest.
$ac_ext
11304 LIBS
=$ac_check_soname_save_LIBS
11306 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11308 $as_echo "not found" >&6; }
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11312 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11314 cat >>confdefs.h
<<_ACEOF
11315 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11321 $as_echo_n "checking for -lcrypto... " >&6; }
11322 if ${ac_cv_lib_soname_crypto+:} false
; then :
11323 $as_echo_n "(cached) " >&6
11325 ac_check_soname_save_LIBS
=$LIBS
11326 LIBS
="-lcrypto $LIBS"
11327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11330 /* Override any GCC internal prototype to avoid an error.
11331 Use char because int might match the return type of a GCC
11332 builtin and then its argument prototype would still apply. */
11336 char BIO_new_socket ();
11340 return BIO_new_socket ();
11345 if ac_fn_c_try_link
"$LINENO"; then :
11347 dll
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11348 dylib
) ac_cv_lib_soname_crypto
=`otool -L conftest$ac_exeext | grep "libcrypto\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcrypto\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11349 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11352 rm -f core conftest.err conftest.
$ac_objext \
11353 conftest
$ac_exeext conftest.
$ac_ext
11354 LIBS
=$ac_check_soname_save_LIBS
11356 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11358 $as_echo "not found" >&6; }
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11362 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11364 cat >>confdefs.h
<<_ACEOF
11365 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11371 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11372 case "x$with_openssl" in
11373 x
) as_fn_append wine_warnings
"|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11375 *) as_fn_error $?
"OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11376 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11380 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11383 $as_echo_n "checking for -lgsm... " >&6; }
11384 if ${ac_cv_lib_soname_gsm+:} false
; then :
11385 $as_echo_n "(cached) " >&6
11387 ac_check_soname_save_LIBS
=$LIBS
11389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11392 /* Override any GCC internal prototype to avoid an error.
11393 Use char because int might match the return type of a GCC
11394 builtin and then its argument prototype would still apply. */
11398 char gsm_create ();
11402 return gsm_create ();
11407 if ac_fn_c_try_link
"$LINENO"; then :
11409 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11410 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'` ;;
11411 *) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11414 rm -f core conftest.err conftest.
$ac_objext \
11415 conftest
$ac_exeext conftest.
$ac_ext
11416 LIBS
=$ac_check_soname_save_LIBS
11418 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11420 $as_echo "not found" >&6; }
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11424 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11426 cat >>confdefs.h
<<_ACEOF
11427 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11433 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11434 case "x$with_gsm" in
11435 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11437 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11438 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11442 if test "$ac_cv_header_jpeglib_h" = "yes"
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11445 $as_echo_n "checking for -ljpeg... " >&6; }
11446 if ${ac_cv_lib_soname_jpeg+:} false
; then :
11447 $as_echo_n "(cached) " >&6
11449 ac_check_soname_save_LIBS
=$LIBS
11450 LIBS
="-ljpeg $LIBS"
11451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h. */
11454 /* Override any GCC internal prototype to avoid an error.
11455 Use char because int might match the return type of a GCC
11456 builtin and then its argument prototype would still apply. */
11460 char jpeg_start_decompress ();
11464 return jpeg_start_decompress ();
11469 if ac_fn_c_try_link
"$LINENO"; then :
11471 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11472 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'` ;;
11473 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11476 rm -f core conftest.err conftest.
$ac_objext \
11477 conftest
$ac_exeext conftest.
$ac_ext
11478 LIBS
=$ac_check_soname_save_LIBS
11480 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11482 $as_echo "not found" >&6; }
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11486 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11488 cat >>confdefs.h
<<_ACEOF
11489 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11495 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11496 case "x$with_jpeg" in
11497 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11499 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11500 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11504 if test "$ac_cv_header_png_h" = "yes"
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11507 $as_echo_n "checking for -lpng... " >&6; }
11508 if ${ac_cv_lib_soname_png+:} false
; then :
11509 $as_echo_n "(cached) " >&6
11511 ac_check_soname_save_LIBS
=$LIBS
11512 LIBS
="-lpng -lm -lz $LIBS"
11513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11514 /* end confdefs.h. */
11516 /* Override any GCC internal prototype to avoid an error.
11517 Use char because int might match the return type of a GCC
11518 builtin and then its argument prototype would still apply. */
11522 char png_create_read_struct ();
11526 return png_create_read_struct ();
11531 if ac_fn_c_try_link
"$LINENO"; then :
11533 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11534 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'` ;;
11535 *) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11538 rm -f core conftest.err conftest.
$ac_objext \
11539 conftest
$ac_exeext conftest.
$ac_ext
11540 LIBS
=$ac_check_soname_save_LIBS
11542 if test "x$ac_cv_lib_soname_png" = "x"; then :
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11544 $as_echo "not found" >&6; }
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11548 $as_echo "$ac_cv_lib_soname_png" >&6; }
11550 cat >>confdefs.h
<<_ACEOF
11551 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11557 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11558 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11559 $as_echo_n "(cached) " >&6
11561 ac_check_lib_save_LIBS
=$LIBS
11562 LIBS
="-lpng -lm -lz $LIBS"
11563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11564 /* end confdefs.h. */
11566 /* Override any GCC internal prototype to avoid an error.
11567 Use char because int might match the return type of a GCC
11568 builtin and then its argument prototype would still apply. */
11572 char png_set_expand_gray_1_2_4_to_8 ();
11576 return png_set_expand_gray_1_2_4_to_8 ();
11581 if ac_fn_c_try_link
"$LINENO"; then :
11582 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11584 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11586 rm -f core conftest.err conftest.
$ac_objext \
11587 conftest
$ac_exeext conftest.
$ac_ext
11588 LIBS
=$ac_check_lib_save_LIBS
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11591 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11592 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11594 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11599 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11601 ac_save_CPPFLAGS
="$CPPFLAGS"
11602 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11603 $as_unset ac_cv_header_png_h
11604 for ac_header
in png.h
11606 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11607 if test "x$ac_cv_header_png_h" = xyes
; then :
11608 cat >>confdefs.h
<<_ACEOF
11609 #define HAVE_PNG_H 1
11616 CPPFLAGS
="$ac_save_CPPFLAGS"
11617 if test "$ac_cv_header_png_h" = "yes"
11619 PNGINCL
="$X_CFLAGS"
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11622 $as_echo_n "checking for -lpng... " >&6; }
11623 if ${ac_cv_lib_soname_png+:} false
; then :
11624 $as_echo_n "(cached) " >&6
11626 ac_check_soname_save_LIBS
=$LIBS
11627 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11629 /* end confdefs.h. */
11631 /* Override any GCC internal prototype to avoid an error.
11632 Use char because int might match the return type of a GCC
11633 builtin and then its argument prototype would still apply. */
11637 char png_create_read_struct ();
11641 return png_create_read_struct ();
11646 if ac_fn_c_try_link
"$LINENO"; then :
11648 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11649 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'` ;;
11650 *) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11653 rm -f core conftest.err conftest.
$ac_objext \
11654 conftest
$ac_exeext conftest.
$ac_ext
11655 LIBS
=$ac_check_soname_save_LIBS
11657 if test "x$ac_cv_lib_soname_png" = "x"; then :
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11659 $as_echo "not found" >&6; }
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11663 $as_echo "$ac_cv_lib_soname_png" >&6; }
11665 cat >>confdefs.h
<<_ACEOF
11666 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11672 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11673 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11674 $as_echo_n "(cached) " >&6
11676 ac_check_lib_save_LIBS
=$LIBS
11677 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11681 /* Override any GCC internal prototype to avoid an error.
11682 Use char because int might match the return type of a GCC
11683 builtin and then its argument prototype would still apply. */
11687 char png_set_expand_gray_1_2_4_to_8 ();
11691 return png_set_expand_gray_1_2_4_to_8 ();
11696 if ac_fn_c_try_link
"$LINENO"; then :
11697 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11699 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11701 rm -f core conftest.err conftest.
$ac_objext \
11702 conftest
$ac_exeext conftest.
$ac_ext
11703 LIBS
=$ac_check_lib_save_LIBS
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11706 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11707 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11708 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11714 if test "x$ac_cv_lib_soname_png" = "x"; then :
11715 case "x$with_png" in
11716 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11718 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
11719 This is an error since --with-png was requested." "$LINENO" 5 ;;
11723 if test "$ac_cv_header_tiffio_h" = "yes"
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11726 $as_echo_n "checking for -ltiff... " >&6; }
11727 if ${ac_cv_lib_soname_tiff+:} false
; then :
11728 $as_echo_n "(cached) " >&6
11730 ac_check_soname_save_LIBS
=$LIBS
11731 LIBS
="-ltiff $LIBS"
11732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11733 /* end confdefs.h. */
11735 /* Override any GCC internal prototype to avoid an error.
11736 Use char because int might match the return type of a GCC
11737 builtin and then its argument prototype would still apply. */
11741 char TIFFClientOpen ();
11745 return TIFFClientOpen ();
11750 if ac_fn_c_try_link
"$LINENO"; then :
11752 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11753 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'` ;;
11754 *) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11757 rm -f core conftest.err conftest.
$ac_objext \
11758 conftest
$ac_exeext conftest.
$ac_ext
11759 LIBS
=$ac_check_soname_save_LIBS
11761 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11763 $as_echo "not found" >&6; }
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11767 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11769 cat >>confdefs.h
<<_ACEOF
11770 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11776 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11777 case "x$with_tiff" in
11778 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11780 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
11781 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11785 if test "$ac_cv_header_mpg123_h" = "yes"
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11788 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11789 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
11790 $as_echo_n "(cached) " >&6
11792 ac_check_lib_save_LIBS
=$LIBS
11793 LIBS
="-lmpg123 $LIBS"
11794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11795 /* end confdefs.h. */
11797 /* Override any GCC internal prototype to avoid an error.
11798 Use char because int might match the return type of a GCC
11799 builtin and then its argument prototype would still apply. */
11803 char mpg123_feed ();
11807 return mpg123_feed ();
11812 if ac_fn_c_try_link
"$LINENO"; then :
11813 ac_cv_lib_mpg123_mpg123_feed
=yes
11815 ac_cv_lib_mpg123_mpg123_feed
=no
11817 rm -f core conftest.err conftest.
$ac_objext \
11818 conftest
$ac_exeext conftest.
$ac_ext
11819 LIBS
=$ac_check_lib_save_LIBS
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11822 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11823 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
11824 LIBMPG123
="-lmpg123"
11829 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
11830 case "x$with_mpg123" in
11831 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11833 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11834 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11837 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}
11839 if test "$ac_cv_header_AL_al_h" = "yes"
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11842 $as_echo_n "checking for -lopenal... " >&6; }
11843 if ${ac_cv_lib_soname_openal+:} false
; then :
11844 $as_echo_n "(cached) " >&6
11846 ac_check_soname_save_LIBS
=$LIBS
11847 LIBS
="-lopenal $LIBS"
11848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11849 /* end confdefs.h. */
11851 /* Override any GCC internal prototype to avoid an error.
11852 Use char because int might match the return type of a GCC
11853 builtin and then its argument prototype would still apply. */
11857 char alGetSource3i ();
11861 return alGetSource3i ();
11866 if ac_fn_c_try_link
"$LINENO"; then :
11868 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11869 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'` ;;
11870 *) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11873 rm -f core conftest.err conftest.
$ac_objext \
11874 conftest
$ac_exeext conftest.
$ac_ext
11875 LIBS
=$ac_check_soname_save_LIBS
11877 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11879 $as_echo "not found" >&6; }
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11883 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11885 cat >>confdefs.h
<<_ACEOF
11886 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11889 LIBOPENAL
="-lopenal"
11891 ac_cv_lib_openal
=yes
11893 cat >>confdefs.h
<<_ACEOF
11894 #define HAVE_OPENAL 1
11899 if test "x$ac_cv_lib_openal" != xyes
; then :
11900 case "x$with_openal" in
11901 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11903 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11904 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11907 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
11909 if test "$ac_cv_header_kstat_h" = "yes"
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11912 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11913 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
11914 $as_echo_n "(cached) " >&6
11916 ac_check_lib_save_LIBS
=$LIBS
11917 LIBS
="-lkstat $LIBS"
11918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11921 /* Override any GCC internal prototype to avoid an error.
11922 Use char because int might match the return type of a GCC
11923 builtin and then its argument prototype would still apply. */
11927 char kstat_open ();
11931 return kstat_open ();
11936 if ac_fn_c_try_link
"$LINENO"; then :
11937 ac_cv_lib_kstat_kstat_open
=yes
11939 ac_cv_lib_kstat_kstat_open
=no
11941 rm -f core conftest.err conftest.
$ac_objext \
11942 conftest
$ac_exeext conftest.
$ac_ext
11943 LIBS
=$ac_check_lib_save_LIBS
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11946 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11947 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
11949 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11958 $as_echo_n "checking for -lodbc... " >&6; }
11959 if ${ac_cv_lib_soname_odbc+:} false
; then :
11960 $as_echo_n "(cached) " >&6
11962 ac_check_soname_save_LIBS
=$LIBS
11963 LIBS
="-lodbc $LIBS"
11964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11965 /* end confdefs.h. */
11967 /* Override any GCC internal prototype to avoid an error.
11968 Use char because int might match the return type of a GCC
11969 builtin and then its argument prototype would still apply. */
11973 char SQLConnect ();
11977 return SQLConnect ();
11982 if ac_fn_c_try_link
"$LINENO"; then :
11984 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11985 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'` ;;
11986 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11989 rm -f core conftest.err conftest.
$ac_objext \
11990 conftest
$ac_exeext conftest.
$ac_ext
11991 LIBS
=$ac_check_soname_save_LIBS
11993 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11995 $as_echo "not found" >&6; }
11996 cat >>confdefs.h
<<_ACEOF
11997 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12002 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12004 cat >>confdefs.h
<<_ACEOF
12005 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12011 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12012 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
12013 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
12014 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
12016 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12017 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
12018 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12020 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
12026 if test "x${GCC}" = "xyes"
12028 EXTRACFLAGS
="-Wall -pipe"
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12031 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12032 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
12033 $as_echo_n "(cached) " >&6
12035 if test "$cross_compiling" = yes; then :
12036 ac_cv_c_gcc_strength_bug
="yes"
12038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12039 /* end confdefs.h. */
12040 int L[4] = {0,1,2,3};
12044 static int Array[3];
12045 unsigned int B = 3;
12047 for(i=0; i<B; i++) Array[i] = i - 3;
12048 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12050 return (Array[1] != -2 || L[2] != 3)
12055 if ac_fn_c_try_run
"$LINENO"; then :
12056 ac_cv_c_gcc_strength_bug
="no"
12058 ac_cv_c_gcc_strength_bug
="yes"
12060 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12061 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12066 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12067 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12069 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12073 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12074 if ${ac_cv_cflags__fno_builtin+:} false
; then :
12075 $as_echo_n "(cached) " >&6
12077 ac_wine_try_cflags_saved
=$CFLAGS
12078 CFLAGS
="$CFLAGS -fno-builtin"
12079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12080 /* end confdefs.h. */
12081 int main(int argc, char **argv) { return 0; }
12083 if ac_fn_c_try_link
"$LINENO"; then :
12084 ac_cv_cflags__fno_builtin
=yes
12086 ac_cv_cflags__fno_builtin
=no
12088 rm -f core conftest.err conftest.
$ac_objext \
12089 conftest
$ac_exeext conftest.
$ac_ext
12090 CFLAGS
=$ac_wine_try_cflags_saved
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12093 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12094 if test $ac_cv_cflags__fno_builtin = yes; then :
12095 BUILTINFLAG
="-fno-builtin"
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12099 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12100 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
12101 $as_echo_n "(cached) " >&6
12103 ac_wine_try_cflags_saved
=$CFLAGS
12104 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12106 /* end confdefs.h. */
12107 int main(int argc, char **argv) { return 0; }
12109 if ac_fn_c_try_link
"$LINENO"; then :
12110 ac_cv_cflags__fno_strict_aliasing
=yes
12112 ac_cv_cflags__fno_strict_aliasing
=no
12114 rm -f core conftest.err conftest.
$ac_objext \
12115 conftest
$ac_exeext conftest.
$ac_ext
12116 CFLAGS
=$ac_wine_try_cflags_saved
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12119 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12120 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12121 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12124 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12125 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
12126 $as_echo_n "(cached) " >&6
12128 ac_wine_try_cflags_saved
=$CFLAGS
12129 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12131 /* end confdefs.h. */
12132 int main(int argc, char **argv) { return 0; }
12134 if ac_fn_c_try_link
"$LINENO"; then :
12135 ac_cv_cflags__Wdeclaration_after_statement
=yes
12137 ac_cv_cflags__Wdeclaration_after_statement
=no
12139 rm -f core conftest.err conftest.
$ac_objext \
12140 conftest
$ac_exeext conftest.
$ac_ext
12141 CFLAGS
=$ac_wine_try_cflags_saved
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12144 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12145 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12146 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12149 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12150 if ${ac_cv_cflags__Wempty_body+:} false
; then :
12151 $as_echo_n "(cached) " >&6
12153 ac_wine_try_cflags_saved
=$CFLAGS
12154 CFLAGS
="$CFLAGS -Wempty-body"
12155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12156 /* end confdefs.h. */
12157 int main(int argc, char **argv) { return 0; }
12159 if ac_fn_c_try_link
"$LINENO"; then :
12160 ac_cv_cflags__Wempty_body
=yes
12162 ac_cv_cflags__Wempty_body
=no
12164 rm -f core conftest.err conftest.
$ac_objext \
12165 conftest
$ac_exeext conftest.
$ac_ext
12166 CFLAGS
=$ac_wine_try_cflags_saved
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12169 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12170 if test $ac_cv_cflags__Wempty_body = yes; then :
12171 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12174 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12175 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
12176 $as_echo_n "(cached) " >&6
12178 ac_wine_try_cflags_saved
=$CFLAGS
12179 CFLAGS
="$CFLAGS -Wignored-qualifiers"
12180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12181 /* end confdefs.h. */
12182 int main(int argc, char **argv) { return 0; }
12184 if ac_fn_c_try_link
"$LINENO"; then :
12185 ac_cv_cflags__Wignored_qualifiers
=yes
12187 ac_cv_cflags__Wignored_qualifiers
=no
12189 rm -f core conftest.err conftest.
$ac_objext \
12190 conftest
$ac_exeext conftest.
$ac_ext
12191 CFLAGS
=$ac_wine_try_cflags_saved
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12194 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12195 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12196 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12199 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12200 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
12201 $as_echo_n "(cached) " >&6
12203 ac_wine_try_cflags_saved
=$CFLAGS
12204 CFLAGS
="$CFLAGS -Wstrict-prototypes"
12205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12206 /* end confdefs.h. */
12207 int main(int argc, char **argv) { return 0; }
12209 if ac_fn_c_try_link
"$LINENO"; then :
12210 ac_cv_cflags__Wstrict_prototypes
=yes
12212 ac_cv_cflags__Wstrict_prototypes
=no
12214 rm -f core conftest.err conftest.
$ac_objext \
12215 conftest
$ac_exeext conftest.
$ac_ext
12216 CFLAGS
=$ac_wine_try_cflags_saved
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12219 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12220 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12221 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12224 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12225 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
12226 $as_echo_n "(cached) " >&6
12228 ac_wine_try_cflags_saved
=$CFLAGS
12229 CFLAGS
="$CFLAGS -Wtype-limits"
12230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12231 /* end confdefs.h. */
12232 int main(int argc, char **argv) { return 0; }
12234 if ac_fn_c_try_link
"$LINENO"; then :
12235 ac_cv_cflags__Wtype_limits
=yes
12237 ac_cv_cflags__Wtype_limits
=no
12239 rm -f core conftest.err conftest.
$ac_objext \
12240 conftest
$ac_exeext conftest.
$ac_ext
12241 CFLAGS
=$ac_wine_try_cflags_saved
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12244 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12245 if test $ac_cv_cflags__Wtype_limits = yes; then :
12246 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12249 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12250 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
12251 $as_echo_n "(cached) " >&6
12253 ac_wine_try_cflags_saved
=$CFLAGS
12254 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
12255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12256 /* end confdefs.h. */
12257 int main(int argc, char **argv) { return 0; }
12259 if ac_fn_c_try_link
"$LINENO"; then :
12260 ac_cv_cflags__Wunused_but_set_parameter
=yes
12262 ac_cv_cflags__Wunused_but_set_parameter
=no
12264 rm -f core conftest.err conftest.
$ac_objext \
12265 conftest
$ac_exeext conftest.
$ac_ext
12266 CFLAGS
=$ac_wine_try_cflags_saved
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12269 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12270 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12271 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12274 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12275 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
12276 $as_echo_n "(cached) " >&6
12278 ac_wine_try_cflags_saved
=$CFLAGS
12279 CFLAGS
="$CFLAGS -Wwrite-strings"
12280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12281 /* end confdefs.h. */
12282 int main(int argc, char **argv) { return 0; }
12284 if ac_fn_c_try_link
"$LINENO"; then :
12285 ac_cv_cflags__Wwrite_strings
=yes
12287 ac_cv_cflags__Wwrite_strings
=no
12289 rm -f core conftest.err conftest.
$ac_objext \
12290 conftest
$ac_exeext conftest.
$ac_ext
12291 CFLAGS
=$ac_wine_try_cflags_saved
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12294 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12295 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12296 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12299 for ac_flag
in $CFLAGS; do
12301 -g) case $host_os in
12302 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12303 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12304 if ${ac_cv_cflags__gstabsp+:} false
; then :
12305 $as_echo_n "(cached) " >&6
12307 ac_wine_try_cflags_saved
=$CFLAGS
12308 CFLAGS
="$CFLAGS -gstabs+"
12309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12310 /* end confdefs.h. */
12311 int main(int argc, char **argv) { return 0; }
12313 if ac_fn_c_try_link
"$LINENO"; then :
12314 ac_cv_cflags__gstabsp
=yes
12316 ac_cv_cflags__gstabsp
=no
12318 rm -f core conftest.err conftest.
$ac_objext \
12319 conftest
$ac_exeext conftest.
$ac_ext
12320 CFLAGS
=$ac_wine_try_cflags_saved
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12323 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12324 if test $ac_cv_cflags__gstabsp = yes; then :
12325 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12327 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12328 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12329 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
12330 $as_echo_n "(cached) " >&6
12332 ac_wine_try_cflags_saved
=$CFLAGS
12333 CFLAGS
="$CFLAGS -gdwarf-2"
12334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12335 /* end confdefs.h. */
12336 int main(int argc, char **argv) { return 0; }
12338 if ac_fn_c_try_link
"$LINENO"; then :
12339 ac_cv_cflags__gdwarf_2
=yes
12341 ac_cv_cflags__gdwarf_2
=no
12343 rm -f core conftest.err conftest.
$ac_objext \
12344 conftest
$ac_exeext conftest.
$ac_ext
12345 CFLAGS
=$ac_wine_try_cflags_saved
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12348 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12349 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12350 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12353 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12354 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
12355 $as_echo_n "(cached) " >&6
12357 ac_wine_try_cflags_saved
=$CFLAGS
12358 CFLAGS
="$CFLAGS -gstrict-dwarf"
12359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h. */
12361 int main(int argc, char **argv) { return 0; }
12363 if ac_fn_c_try_link
"$LINENO"; then :
12364 ac_cv_cflags__gstrict_dwarf
=yes
12366 ac_cv_cflags__gstrict_dwarf
=no
12368 rm -f core conftest.err conftest.
$ac_objext \
12369 conftest
$ac_exeext conftest.
$ac_ext
12370 CFLAGS
=$ac_wine_try_cflags_saved
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12373 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12374 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12375 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
12382 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12383 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12384 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
12385 $as_echo_n "(cached) " >&6
12387 ac_wine_try_cflags_saved
=$CFLAGS
12388 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
12389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12390 /* end confdefs.h. */
12391 int main(int argc, char **argv) { return 0; }
12393 if ac_fn_c_try_link
"$LINENO"; then :
12394 ac_cv_cflags__fno_omit_frame_pointer
=yes
12396 ac_cv_cflags__fno_omit_frame_pointer
=no
12398 rm -f core conftest.err conftest.
$ac_objext \
12399 conftest
$ac_exeext conftest.
$ac_ext
12400 CFLAGS
=$ac_wine_try_cflags_saved
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12403 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12404 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12405 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
12410 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12411 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12412 if ${ac_cv_cflags__Wno_format+:} false
; then :
12413 $as_echo_n "(cached) " >&6
12415 ac_wine_try_cflags_saved
=$CFLAGS
12416 CFLAGS
="$CFLAGS -Wno-format"
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__Wno_format
=yes
12424 ac_cv_cflags__Wno_format
=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__Wno_format" >&5
12431 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12432 if test $ac_cv_cflags__Wno_format = yes; then :
12433 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
12437 saved_CFLAGS
="$CFLAGS"
12438 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12440 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12441 if ${ac_cv_c_string_h_warnings+:} false
; then :
12442 $as_echo_n "(cached) " >&6
12444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12446 #include <string.h>
12455 if ac_fn_c_try_compile
"$LINENO"; then :
12456 ac_cv_c_string_h_warnings
=no
12458 ac_cv_c_string_h_warnings
=yes
12460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12463 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12464 CFLAGS
="$saved_CFLAGS"
12465 if test "$ac_cv_c_string_h_warnings" = "no"
12467 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12470 saved_CFLAGS
="$CFLAGS"
12471 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12473 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12474 if ${ac_cv_c_logicalop_noisy+:} false
; then :
12475 $as_echo_n "(cached) " >&6
12477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h. */
12479 #include <string.h>
12483 char*f(const char *h,char n) {return strchr(h,n);}
12488 if ac_fn_c_try_compile
"$LINENO"; then :
12489 ac_cv_c_logicalop_noisy
=no
12491 ac_cv_c_logicalop_noisy
=yes
12493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12496 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12497 CFLAGS
="$saved_CFLAGS"
12498 if test "$ac_cv_c_logicalop_noisy" = "no"
12500 EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12503 if test "x$enable_maintainer_mode" = "xyes"
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12506 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12507 if ${ac_cv_cflags__Werror+:} false
; then :
12508 $as_echo_n "(cached) " >&6
12510 ac_wine_try_cflags_saved
=$CFLAGS
12511 CFLAGS
="$CFLAGS -Werror"
12512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12513 /* end confdefs.h. */
12514 int main(int argc, char **argv) { return 0; }
12516 if ac_fn_c_try_link
"$LINENO"; then :
12517 ac_cv_cflags__Werror
=yes
12519 ac_cv_cflags__Werror
=no
12521 rm -f core conftest.err conftest.
$ac_objext \
12522 conftest
$ac_exeext conftest.
$ac_ext
12523 CFLAGS
=$ac_wine_try_cflags_saved
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12526 $as_echo "$ac_cv_cflags__Werror" >&6; }
12527 if test $ac_cv_cflags__Werror = yes; then :
12528 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12532 saved_CFLAGS
="$CFLAGS"
12533 CFLAGS
="$CFLAGS -Werror"
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12535 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12536 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
12537 $as_echo_n "(cached) " >&6
12539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12541 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12550 if ac_fn_c_try_compile
"$LINENO"; then :
12551 ac_cv_have_ms_hook_prologue
="yes"
12553 ac_cv_have_ms_hook_prologue
="no"
12555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12558 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12559 CFLAGS
="$saved_CFLAGS"
12560 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12563 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12566 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12573 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12574 if ${ac_cv_c_fortify_enabled+:} false
; then :
12575 $as_echo_n "(cached) " >&6
12577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12578 /* end confdefs.h. */
12579 #include <string.h>
12583 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12584 #error Fortify enabled
12590 if ac_fn_c_try_compile
"$LINENO"; then :
12591 ac_cv_c_fortify_enabled
=no
12593 ac_cv_c_fortify_enabled
=yes
12595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12598 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12599 if test "$ac_cv_c_fortify_enabled" = yes
12601 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12606 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12607 if ${ac_cv_c_extern_prefix+:} false
; then :
12608 $as_echo_n "(cached) " >&6
12610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12612 extern int ac_test;
12616 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12621 if ac_fn_c_try_link
"$LINENO"; then :
12622 ac_cv_c_extern_prefix
="yes"
12624 ac_cv_c_extern_prefix
="no"
12626 rm -f core conftest.err conftest.
$ac_objext \
12627 conftest
$ac_exeext conftest.
$ac_ext
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12630 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12635 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12636 if ${ac_cv_c_stdcall_suffix+:} false
; then :
12637 $as_echo_n "(cached) " >&6
12639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12640 /* end confdefs.h. */
12642 #define __stdcall __attribute__((__stdcall__))
12644 int __stdcall ac_test(int i) { return i; }
12648 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12653 if ac_fn_c_try_link
"$LINENO"; then :
12654 ac_cv_c_stdcall_suffix
="yes"
12656 ac_cv_c_stdcall_suffix
="no"
12658 rm -f core conftest.err conftest.
$ac_objext \
12659 conftest
$ac_exeext conftest.
$ac_ext
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12662 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12663 *) ac_cv_c_stdcall_suffix
="no" ;;
12667 if test "$ac_cv_c_extern_prefix" = "yes"
12669 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12671 asm_name_prefix
="_"
12673 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12679 if test "$ac_cv_c_stdcall_suffix" = "yes"
12681 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12684 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12690 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12691 if ${ac_cv_asm_func_def+:} false
; then :
12692 $as_echo_n "(cached) " >&6
12694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12695 /* end confdefs.h. */
12700 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12705 if ac_fn_c_try_link
"$LINENO"; then :
12706 ac_cv_asm_func_def
=".def"
12708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12714 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12719 if ac_fn_c_try_link
"$LINENO"; then :
12720 ac_cv_asm_func_def
=".type @function"
12722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12723 /* end confdefs.h. */
12728 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12733 if ac_fn_c_try_link
"$LINENO"; then :
12734 ac_cv_asm_func_def
=".type 2"
12736 ac_cv_asm_func_def
="unknown"
12738 rm -f core conftest.err conftest.
$ac_objext \
12739 conftest
$ac_exeext conftest.
$ac_ext
12741 rm -f core conftest.err conftest.
$ac_objext \
12742 conftest
$ac_exeext conftest.
$ac_ext
12744 rm -f core conftest.err conftest.
$ac_objext \
12745 conftest
$ac_exeext conftest.
$ac_ext
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12748 $as_echo "$ac_cv_asm_func_def" >&6; }
12751 case "$ac_cv_asm_func_def" in
12753 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12755 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12757 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12759 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
12761 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12763 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
12765 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12767 asm_func_header
="" ;;
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12771 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12772 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
12773 $as_echo_n "(cached) " >&6
12775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12776 /* end confdefs.h. */
12777 asm(".text\n\t.long 0");
12786 if ac_fn_c_try_compile
"$LINENO"; then :
12787 ac_cv_c_asm_outside_funcs
="yes"
12789 ac_cv_c_asm_outside_funcs
="no"
12791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12794 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12797 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12798 if ${ac_cv_c_dot_previous+:} false
; then :
12799 $as_echo_n "(cached) " >&6
12801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12802 /* end confdefs.h. */
12807 asm(".text\nac_test:\t.long 0\n\t.previous");
12812 if ac_fn_c_try_link
"$LINENO"; then :
12813 ac_cv_c_dot_previous
="yes"
12815 ac_cv_c_dot_previous
="no"
12817 rm -f core conftest.err conftest.
$ac_objext \
12818 conftest
$ac_exeext conftest.
$ac_ext
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12821 $as_echo "$ac_cv_c_dot_previous" >&6; }
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12824 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12825 if ${ac_cv_c_cfi_support+:} false
; then :
12826 $as_echo_n "(cached) " >&6
12828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12829 /* end confdefs.h. */
12830 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12839 if ac_fn_c_try_compile
"$LINENO"; then :
12840 ac_cv_c_cfi_support
="yes"
12842 ac_cv_c_cfi_support
="no"
12844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12847 $as_echo "$ac_cv_c_cfi_support" >&6; }
12849 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12850 asm_func_trailer
=""
12851 if test "$ac_cv_c_dot_previous" = "yes"
12853 asm_func_trailer
="\\n\\t.previous"
12855 if test "$ac_cv_c_cfi_support" = "yes"
12857 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
12858 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
12860 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12862 UNWINDFLAGS
=-fasynchronous-unwind-tables
12865 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12869 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
12872 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12874 cat >>confdefs.h
<<_ACEOF
12875 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12879 cat >>confdefs.h
<<_ACEOF
12880 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12885 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12888 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12898 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12903 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12911 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12918 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
12923 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
12925 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
12932 ac_save_CFLAGS
="$CFLAGS"
12933 CFLAGS
="$CFLAGS $BUILTINFLAG"
13008 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13009 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13010 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13011 cat >>confdefs.h
<<_ACEOF
13012 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13018 CFLAGS
="$ac_save_CFLAGS"
13020 if test "$ac_cv_func_dlopen" = no
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13023 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13024 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13025 $as_echo_n "(cached) " >&6
13027 ac_check_lib_save_LIBS
=$LIBS
13029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13030 /* end confdefs.h. */
13032 /* Override any GCC internal prototype to avoid an error.
13033 Use char because int might match the return type of a GCC
13034 builtin and then its argument prototype would still apply. */
13047 if ac_fn_c_try_link
"$LINENO"; then :
13048 ac_cv_lib_dl_dlopen
=yes
13050 ac_cv_lib_dl_dlopen
=no
13052 rm -f core conftest.err conftest.
$ac_objext \
13053 conftest
$ac_exeext conftest.
$ac_ext
13054 LIBS
=$ac_check_lib_save_LIBS
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13057 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13058 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13059 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13065 ac_wine_check_funcs_save_LIBS
="$LIBS"
13066 LIBS
="$LIBS $LIBDL"
13067 for ac_func
in dladdr
13069 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
13070 if test "x$ac_cv_func_dladdr" = xyes
; then :
13071 cat >>confdefs.h
<<_ACEOF
13072 #define HAVE_DLADDR 1
13078 LIBS
="$ac_wine_check_funcs_save_LIBS"
13080 if test "$ac_cv_func_poll" = no
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13083 $as_echo_n "checking for poll in -lpoll... " >&6; }
13084 if ${ac_cv_lib_poll_poll+:} false
; then :
13085 $as_echo_n "(cached) " >&6
13087 ac_check_lib_save_LIBS
=$LIBS
13088 LIBS
="-lpoll $LIBS"
13089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13090 /* end confdefs.h. */
13092 /* Override any GCC internal prototype to avoid an error.
13093 Use char because int might match the return type of a GCC
13094 builtin and then its argument prototype would still apply. */
13107 if ac_fn_c_try_link
"$LINENO"; then :
13108 ac_cv_lib_poll_poll
=yes
13110 ac_cv_lib_poll_poll
=no
13112 rm -f core conftest.err conftest.
$ac_objext \
13113 conftest
$ac_exeext conftest.
$ac_ext
13114 LIBS
=$ac_check_lib_save_LIBS
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13117 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13118 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
13119 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13127 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13128 if ${ac_cv_search_gethostbyname+:} false
; then :
13129 $as_echo_n "(cached) " >&6
13131 ac_func_search_save_LIBS
=$LIBS
13132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13133 /* end confdefs.h. */
13135 /* Override any GCC internal prototype to avoid an error.
13136 Use char because int might match the return type of a GCC
13137 builtin and then its argument prototype would still apply. */
13141 char gethostbyname ();
13145 return gethostbyname ();
13150 for ac_lib
in '' nsl
; do
13151 if test -z "$ac_lib"; then
13152 ac_res
="none required"
13155 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13157 if ac_fn_c_try_link
"$LINENO"; then :
13158 ac_cv_search_gethostbyname
=$ac_res
13160 rm -f core conftest.err conftest.
$ac_objext \
13162 if ${ac_cv_search_gethostbyname+:} false
; then :
13166 if ${ac_cv_search_gethostbyname+:} false
; then :
13169 ac_cv_search_gethostbyname
=no
13171 rm conftest.
$ac_ext
13172 LIBS
=$ac_func_search_save_LIBS
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13175 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13176 ac_res
=$ac_cv_search_gethostbyname
13177 if test "$ac_res" != no
; then :
13178 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13184 $as_echo_n "checking for library containing connect... " >&6; }
13185 if ${ac_cv_search_connect+:} false
; then :
13186 $as_echo_n "(cached) " >&6
13188 ac_func_search_save_LIBS
=$LIBS
13189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13190 /* end confdefs.h. */
13192 /* Override any GCC internal prototype to avoid an error.
13193 Use char because int might match the return type of a GCC
13194 builtin and then its argument prototype would still apply. */
13207 for ac_lib
in '' socket
; do
13208 if test -z "$ac_lib"; then
13209 ac_res
="none required"
13212 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13214 if ac_fn_c_try_link
"$LINENO"; then :
13215 ac_cv_search_connect
=$ac_res
13217 rm -f core conftest.err conftest.
$ac_objext \
13219 if ${ac_cv_search_connect+:} false
; then :
13223 if ${ac_cv_search_connect+:} false
; then :
13226 ac_cv_search_connect
=no
13228 rm conftest.
$ac_ext
13229 LIBS
=$ac_func_search_save_LIBS
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13232 $as_echo "$ac_cv_search_connect" >&6; }
13233 ac_res
=$ac_cv_search_connect
13234 if test "$ac_res" != no
; then :
13235 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13241 $as_echo_n "checking for library containing inet_aton... " >&6; }
13242 if ${ac_cv_search_inet_aton+:} false
; then :
13243 $as_echo_n "(cached) " >&6
13245 ac_func_search_save_LIBS
=$LIBS
13246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13247 /* end confdefs.h. */
13249 /* Override any GCC internal prototype to avoid an error.
13250 Use char because int might match the return type of a GCC
13251 builtin and then its argument prototype would still apply. */
13259 return inet_aton ();
13264 for ac_lib
in '' resolv
; do
13265 if test -z "$ac_lib"; then
13266 ac_res
="none required"
13269 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13271 if ac_fn_c_try_link
"$LINENO"; then :
13272 ac_cv_search_inet_aton
=$ac_res
13274 rm -f core conftest.err conftest.
$ac_objext \
13276 if ${ac_cv_search_inet_aton+:} false
; then :
13280 if ${ac_cv_search_inet_aton+:} false
; then :
13283 ac_cv_search_inet_aton
=no
13285 rm conftest.
$ac_ext
13286 LIBS
=$ac_func_search_save_LIBS
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13289 $as_echo "$ac_cv_search_inet_aton" >&6; }
13290 ac_res
=$ac_cv_search_inet_aton
13291 if test "$ac_res" != no
; then :
13292 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13311 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13312 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13313 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13314 cat >>confdefs.h
<<_ACEOF
13315 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13324 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13326 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13328 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13330 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13331 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
13332 $as_echo_n "(cached) " >&6
13334 ac_check_lib_save_LIBS
=$LIBS
13335 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13337 /* end confdefs.h. */
13339 /* Override any GCC internal prototype to avoid an error.
13340 Use char because int might match the return type of a GCC
13341 builtin and then its argument prototype would still apply. */
13345 char ldap_initialize ();
13349 return ldap_initialize ();
13354 if ac_fn_c_try_link
"$LINENO"; then :
13355 ac_cv_lib_ldap_r_ldap_initialize
=yes
13357 ac_cv_lib_ldap_r_ldap_initialize
=no
13359 rm -f core conftest.err conftest.
$ac_objext \
13360 conftest
$ac_exeext conftest.
$ac_ext
13361 LIBS
=$ac_check_lib_save_LIBS
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13364 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13365 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13367 $as_echo_n "checking for ber_init in -llber... " >&6; }
13368 if ${ac_cv_lib_lber_ber_init+:} false
; then :
13369 $as_echo_n "(cached) " >&6
13371 ac_check_lib_save_LIBS
=$LIBS
13372 LIBS
="-llber $LIBPTHREAD $LIBS"
13373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13374 /* end confdefs.h. */
13376 /* Override any GCC internal prototype to avoid an error.
13377 Use char because int might match the return type of a GCC
13378 builtin and then its argument prototype would still apply. */
13386 return ber_init ();
13391 if ac_fn_c_try_link
"$LINENO"; then :
13392 ac_cv_lib_lber_ber_init
=yes
13394 ac_cv_lib_lber_ber_init
=no
13396 rm -f core conftest.err conftest.
$ac_objext \
13397 conftest
$ac_exeext conftest.
$ac_ext
13398 LIBS
=$ac_check_lib_save_LIBS
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13401 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13402 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
13404 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13406 LDAPLIBS
="-lldap_r -llber"
13413 ac_wine_check_funcs_save_LIBS
="$LIBS"
13414 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13416 ldap_count_references \
13417 ldap_first_reference \
13418 ldap_next_reference \
13419 ldap_parse_reference \
13420 ldap_parse_sort_control \
13421 ldap_parse_sortresponse_control \
13422 ldap_parse_vlv_control \
13423 ldap_parse_vlvresponse_control
13425 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13426 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13427 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13428 cat >>confdefs.h
<<_ACEOF
13429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13435 LIBS
="$ac_wine_check_funcs_save_LIBS"
13437 if test "x$LDAPLIBS" = "x"; then :
13438 case "x$with_ldap" in
13439 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13441 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13442 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13447 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13448 if ${wine_cv_one_arg_mkdir+:} false
; then :
13449 $as_echo_n "(cached) " >&6
13451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13452 /* end confdefs.h. */
13453 #include <sys/stat.h>
13462 if ac_fn_c_try_compile
"$LINENO"; then :
13463 wine_cv_one_arg_mkdir
=yes
13465 wine_cv_one_arg_mkdir
=no
13467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13470 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13471 if test "$wine_cv_one_arg_mkdir" = "yes"
13474 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13479 $as_echo_n "checking for sched_setaffinity... " >&6; }
13480 if ${wine_cv_have_sched_setaffinity+:} false
; then :
13481 $as_echo_n "(cached) " >&6
13483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13484 /* end confdefs.h. */
13485 #define _GNU_SOURCE
13490 sched_setaffinity(0, 0, 0);
13495 if ac_fn_c_try_link
"$LINENO"; then :
13496 wine_cv_have_sched_setaffinity
=yes
13498 wine_cv_have_sched_setaffinity
=no
13500 rm -f core conftest.err conftest.
$ac_objext \
13501 conftest
$ac_exeext conftest.
$ac_ext
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13504 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13505 if test "$wine_cv_have_sched_setaffinity" = "yes"
13508 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
13513 $as_echo_n "checking for fallocate... " >&6; }
13514 if ${wine_cv_have_fallocate+:} false
; then :
13515 $as_echo_n "(cached) " >&6
13517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13518 /* end confdefs.h. */
13519 #define _GNU_SOURCE
13524 fallocate(-1, 0, 0, 0);
13529 if ac_fn_c_try_link
"$LINENO"; then :
13530 wine_cv_have_fallocate
=yes
13532 wine_cv_have_fallocate
=no
13534 rm -f core conftest.err conftest.
$ac_objext \
13535 conftest
$ac_exeext conftest.
$ac_ext
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
13538 $as_echo "$wine_cv_have_fallocate" >&6; }
13539 if test "$wine_cv_have_fallocate" = "yes"
13542 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13548 $as_echo_n "checking for inline... " >&6; }
13549 if ${ac_cv_c_inline+:} false
; then :
13550 $as_echo_n "(cached) " >&6
13553 for ac_kw
in inline __inline__ __inline
; do
13554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h. */
13556 #ifndef __cplusplus
13558 static $ac_kw foo_t static_foo () {return 0; }
13559 $ac_kw foo_t foo () {return 0; }
13563 if ac_fn_c_try_compile
"$LINENO"; then :
13564 ac_cv_c_inline
=$ac_kw
13566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13567 test "$ac_cv_c_inline" != no
&& break
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13572 $as_echo "$ac_cv_c_inline" >&6; }
13574 case $ac_cv_c_inline in
13577 case $ac_cv_c_inline in
13579 *) ac_val
=$ac_cv_c_inline;;
13581 cat >>confdefs.h
<<_ACEOF
13582 #ifndef __cplusplus
13583 #define inline $ac_val
13589 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13590 if test "x$ac_cv_type_mode_t" = xyes
; then :
13592 cat >>confdefs.h
<<_ACEOF
13593 #define HAVE_MODE_T 1
13598 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13599 if test "x$ac_cv_type_off_t" = xyes
; then :
13601 cat >>confdefs.h
<<_ACEOF
13602 #define HAVE_OFF_T 1
13607 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13608 if test "x$ac_cv_type_pid_t" = xyes
; then :
13610 cat >>confdefs.h
<<_ACEOF
13611 #define HAVE_PID_T 1
13616 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13617 if test "x$ac_cv_type_size_t" = xyes
; then :
13619 cat >>confdefs.h
<<_ACEOF
13620 #define HAVE_SIZE_T 1
13625 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13626 if test "x$ac_cv_type_ssize_t" = xyes
; then :
13628 cat >>confdefs.h
<<_ACEOF
13629 #define HAVE_SSIZE_T 1
13634 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13635 if test "x$ac_cv_type_long_long" = xyes
; then :
13637 cat >>confdefs.h
<<_ACEOF
13638 #define HAVE_LONG_LONG 1
13643 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13644 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
13646 cat >>confdefs.h
<<_ACEOF
13647 #define HAVE_FSBLKCNT_T 1
13652 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13653 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
13655 cat >>confdefs.h
<<_ACEOF
13656 #define HAVE_FSFILCNT_T 1
13662 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13663 #include <signal.h>
13665 if test "x$ac_cv_type_sigset_t" = xyes
; then :
13667 cat >>confdefs.h
<<_ACEOF
13668 #define HAVE_SIGSET_T 1
13674 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13676 if test "x$ac_cv_type_request_sense" = xyes
; then :
13678 cat >>confdefs.h
<<_ACEOF
13679 #define HAVE_REQUEST_SENSE 1
13686 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13687 #ifdef HAVE_SYS_SOCKET_H
13688 #include <sys/socket.h>
13690 #ifdef HAVE_SYS_SOCKETVAR_H
13691 #include <sys/socketvar.h>
13693 #ifdef HAVE_NET_ROUTE_H
13694 #include <net/route.h>
13696 #ifdef HAVE_NETINET_IN_H
13697 #include <netinet/in.h>
13699 #ifdef HAVE_NETINET_IN_SYSTM_H
13700 #include <netinet/in_systm.h>
13702 #ifdef HAVE_NETINET_IP_H
13703 #include <netinet/ip.h>
13705 #ifdef HAVE_NETINET_IN_PCB_H
13706 #include <netinet/in_pcb.h>
13709 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
13711 cat >>confdefs.h
<<_ACEOF
13712 #define HAVE_STRUCT_XINPGEN 1
13719 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13720 #include <linux/input.h>
13723 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
13725 cat >>confdefs.h
<<_ACEOF
13726 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13734 $as_echo_n "checking for sigaddset... " >&6; }
13735 if ${wine_cv_have_sigaddset+:} false
; then :
13736 $as_echo_n "(cached) " >&6
13738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13739 /* end confdefs.h. */
13740 #include <signal.h>
13744 sigset_t set; sigaddset(&set,SIGTERM);
13749 if ac_fn_c_try_link
"$LINENO"; then :
13750 wine_cv_have_sigaddset
=yes
13752 wine_cv_have_sigaddset
=no
13754 rm -f core conftest.err conftest.
$ac_objext \
13755 conftest
$ac_exeext conftest.
$ac_ext
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13758 $as_echo "$wine_cv_have_sigaddset" >&6; }
13759 if test "$wine_cv_have_sigaddset" = "yes"
13762 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13768 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13769 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
13770 $as_echo_n "(cached) " >&6
13772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13773 /* end confdefs.h. */
13781 struct hostent *result;
13788 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13789 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13795 if ac_fn_c_try_link
"$LINENO"; then :
13796 wine_cv_linux_gethostbyname_r_6
=yes
13798 wine_cv_linux_gethostbyname_r_6
=no
13801 rm -f core conftest.err conftest.
$ac_objext \
13802 conftest
$ac_exeext conftest.
$ac_ext
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13806 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13807 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13810 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13814 if test "$ac_cv_header_linux_joystick_h" = "yes"
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13817 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13818 if ${wine_cv_linux_joystick_22_api+:} false
; then :
13819 $as_echo_n "(cached) " >&6
13821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13822 /* end confdefs.h. */
13824 #include <sys/ioctl.h>
13825 #include <sys/types.h>
13826 #include <linux/joystick.h>
13828 struct js_event blub;
13829 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13830 #error "no 2.2 header"
13841 if ac_fn_c_try_compile
"$LINENO"; then :
13842 wine_cv_linux_joystick_22_api
=yes
13844 wine_cv_linux_joystick_22_api
=no
13846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13850 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13851 if test "$wine_cv_linux_joystick_22_api" = "yes"
13854 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13860 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13861 #ifdef HAVE_SYS_PARAM_H
13862 # include <sys/param.h>
13864 #ifdef HAVE_SYS_MOUNT_H
13865 # include <sys/mount.h>
13867 #ifdef HAVE_SYS_VFS_H
13868 # include <sys/vfs.h>
13870 #ifdef HAVE_SYS_STATFS_H
13871 # include <sys/statfs.h>
13874 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
13876 cat >>confdefs.h
<<_ACEOF
13877 #define HAVE_STRUCT_STATFS_F_BFREE 1
13882 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13883 #ifdef HAVE_SYS_PARAM_H
13884 # include <sys/param.h>
13886 #ifdef HAVE_SYS_MOUNT_H
13887 # include <sys/mount.h>
13889 #ifdef HAVE_SYS_VFS_H
13890 # include <sys/vfs.h>
13892 #ifdef HAVE_SYS_STATFS_H
13893 # include <sys/statfs.h>
13896 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
13898 cat >>confdefs.h
<<_ACEOF
13899 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13904 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13905 #ifdef HAVE_SYS_PARAM_H
13906 # include <sys/param.h>
13908 #ifdef HAVE_SYS_MOUNT_H
13909 # include <sys/mount.h>
13911 #ifdef HAVE_SYS_VFS_H
13912 # include <sys/vfs.h>
13914 #ifdef HAVE_SYS_STATFS_H
13915 # include <sys/statfs.h>
13918 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
13920 cat >>confdefs.h
<<_ACEOF
13921 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13926 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13927 #ifdef HAVE_SYS_PARAM_H
13928 # include <sys/param.h>
13930 #ifdef HAVE_SYS_MOUNT_H
13931 # include <sys/mount.h>
13933 #ifdef HAVE_SYS_VFS_H
13934 # include <sys/vfs.h>
13936 #ifdef HAVE_SYS_STATFS_H
13937 # include <sys/statfs.h>
13940 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
13942 cat >>confdefs.h
<<_ACEOF
13943 #define HAVE_STRUCT_STATFS_F_FFREE 1
13948 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13949 #ifdef HAVE_SYS_PARAM_H
13950 # include <sys/param.h>
13952 #ifdef HAVE_SYS_MOUNT_H
13953 # include <sys/mount.h>
13955 #ifdef HAVE_SYS_VFS_H
13956 # include <sys/vfs.h>
13958 #ifdef HAVE_SYS_STATFS_H
13959 # include <sys/statfs.h>
13962 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
13964 cat >>confdefs.h
<<_ACEOF
13965 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13970 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13971 #ifdef HAVE_SYS_PARAM_H
13972 # include <sys/param.h>
13974 #ifdef HAVE_SYS_MOUNT_H
13975 # include <sys/mount.h>
13977 #ifdef HAVE_SYS_VFS_H
13978 # include <sys/vfs.h>
13980 #ifdef HAVE_SYS_STATFS_H
13981 # include <sys/statfs.h>
13984 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
13986 cat >>confdefs.h
<<_ACEOF
13987 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13994 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13995 #include <sys/statvfs.h>
13998 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
14000 cat >>confdefs.h
<<_ACEOF
14001 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14008 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14009 #include <dirent.h>
14012 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
14014 cat >>confdefs.h
<<_ACEOF
14015 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14022 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14023 #ifdef HAVE_SYS_SOCKET_H
14024 # include <sys/socket.h>
14026 #ifdef HAVE_SYS_UN_H
14027 # include <sys/un.h>
14030 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
14032 cat >>confdefs.h
<<_ACEOF
14033 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14038 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14039 #ifdef HAVE_SYS_SOCKET_H
14040 # include <sys/socket.h>
14042 #ifdef HAVE_SYS_UN_H
14043 # include <sys/un.h>
14046 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
14048 cat >>confdefs.h
<<_ACEOF
14049 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14054 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14055 #ifdef HAVE_SYS_SOCKET_H
14056 # include <sys/socket.h>
14058 #ifdef HAVE_SYS_UN_H
14059 # include <sys/un.h>
14062 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
14064 cat >>confdefs.h
<<_ACEOF
14065 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14072 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14073 #ifdef HAVE_SCSI_SG_H
14074 #include <scsi/sg.h>
14077 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
14079 cat >>confdefs.h
<<_ACEOF
14080 #define HAVE_SCSIREQ_T_CMD 1
14085 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>
14086 #ifdef HAVE_SCSI_SG_H
14087 #include <scsi/sg.h>
14090 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
14092 cat >>confdefs.h
<<_ACEOF
14093 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14100 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14102 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
14104 cat >>confdefs.h
<<_ACEOF
14105 #define HAVE_SIGINFO_T_SI_FD 1
14112 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14113 #ifdef HAVE_SYS_MTIO_H
14114 #include <sys/mtio.h>
14117 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
14119 cat >>confdefs.h
<<_ACEOF
14120 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14125 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14126 #ifdef HAVE_SYS_MTIO_H
14127 #include <sys/mtio.h>
14130 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
14132 cat >>confdefs.h
<<_ACEOF
14133 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14138 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14139 #ifdef HAVE_SYS_MTIO_H
14140 #include <sys/mtio.h>
14143 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
14145 cat >>confdefs.h
<<_ACEOF
14146 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14153 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14154 #include <getopt.h>
14157 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
14159 cat >>confdefs.h
<<_ACEOF
14160 #define HAVE_STRUCT_OPTION_NAME 1
14167 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14168 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
14170 cat >>confdefs.h
<<_ACEOF
14171 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14176 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14177 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
14179 cat >>confdefs.h
<<_ACEOF
14180 #define HAVE_STRUCT_STAT_ST_MTIM 1
14185 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14186 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
14188 cat >>confdefs.h
<<_ACEOF
14189 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14194 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14195 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
14197 cat >>confdefs.h
<<_ACEOF
14198 #define HAVE_STRUCT_STAT_ST_CTIM 1
14203 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14204 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
14206 cat >>confdefs.h
<<_ACEOF
14207 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14212 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14213 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
14215 cat >>confdefs.h
<<_ACEOF
14216 #define HAVE_STRUCT_STAT_ST_ATIM 1
14221 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14222 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
14224 cat >>confdefs.h
<<_ACEOF
14225 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14230 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14231 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
14233 cat >>confdefs.h
<<_ACEOF
14234 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14239 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14240 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
14242 cat >>confdefs.h
<<_ACEOF
14243 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14248 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14249 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
14251 cat >>confdefs.h
<<_ACEOF
14252 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14257 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14258 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
14260 cat >>confdefs.h
<<_ACEOF
14261 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14266 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14267 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
14269 cat >>confdefs.h
<<_ACEOF
14270 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14277 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
14278 #include <sys/types.h>
14280 #ifdef HAVE_NETINET_IN_H
14281 #include <netinet/in.h>
14284 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
14286 cat >>confdefs.h
<<_ACEOF
14287 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14294 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14295 #include <sys/types.h>
14297 #ifdef HAVE_NETINET_IN_H
14298 # include <netinet/in.h>
14300 #ifdef HAVE_ARPA_NAMESER_H
14301 # include <arpa/nameser.h>
14304 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
14306 cat >>confdefs.h
<<_ACEOF
14307 #define HAVE_NS_MSG__MSG_PTR 1
14314 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14315 #include <sys/types.h>
14317 #ifdef HAVE_NETINET_IP_H
14318 #include <netinet/ip.h>
14320 #ifdef HAVE_NETINET_IP_ICMP_H
14321 #include <netinet/ip_icmp.h>
14323 #ifdef HAVE_NETINET_ICMP_VAR_H
14324 #include <netinet/icmp_var.h>
14327 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
14329 cat >>confdefs.h
<<_ACEOF
14330 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14337 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14338 #include <sys/types.h>
14340 #ifdef HAVE_ALIAS_H
14343 #ifdef HAVE_SYS_SOCKET_H
14344 #include <sys/socket.h>
14346 #ifdef HAVE_SYS_SOCKETVAR_H
14347 #include <sys/socketvar.h>
14349 #ifdef HAVE_SYS_TIMEOUT_H
14350 #include <sys/timeout.h>
14352 #ifdef HAVE_NETINET_IN_H
14353 #include <netinet/in.h>
14355 #ifdef HAVE_NETINET_IN_SYSTM_H
14356 #include <netinet/in_systm.h>
14358 #ifdef HAVE_NETINET_IP_H
14359 #include <netinet/ip.h>
14361 #ifdef HAVE_NETINET_IP_VAR_H
14362 #include <netinet/ip_var.h>
14364 #ifdef HAVE_NETINET_IP_ICMP_H
14365 #include <netinet/ip_icmp.h>
14367 #ifdef HAVE_NETINET_ICMP_VAR_H
14368 #include <netinet/icmp_var.h>
14371 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
14373 cat >>confdefs.h
<<_ACEOF
14374 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14381 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14382 #include <sys/types.h>
14384 #ifdef HAVE_SYS_SOCKETVAR_H
14385 #include <sys/socketvar.h>
14387 #ifdef HAVE_NETINET_IN_H
14388 #include <netinet/in.h>
14390 #ifdef HAVE_NETINET_IP_VAR_H
14391 #include <netinet/ip_var.h>
14394 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
14396 cat >>confdefs.h
<<_ACEOF
14397 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14404 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
14405 #include <netinet/ip_var.h>
14408 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
14410 cat >>confdefs.h
<<_ACEOF
14411 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14418 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14419 #include <sys/types.h>
14421 #ifdef HAVE_SYS_SOCKETVAR_H
14422 #include <sys/socketvar.h>
14424 #ifdef HAVE_NETINET_IN_H
14425 #include <netinet/in.h>
14427 #ifdef HAVE_NETINET_TCP_H
14428 #include <netinet/tcp.h>
14430 #ifdef HAVE_NETINET_TCP_VAR_H
14431 #include <netinet/tcp_var.h>
14434 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
14436 cat >>confdefs.h
<<_ACEOF
14437 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14444 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
14445 #include <netinet/tcp_var.h>
14448 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
14450 cat >>confdefs.h
<<_ACEOF
14451 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14458 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
14459 #include <sys/types.h>
14461 #ifdef HAVE_NETINET_IN_H
14462 #include <netinet/in.h>
14464 #ifdef HAVE_NETINET_IP_VAR_H
14465 #include <netinet/ip_var.h>
14467 #ifdef HAVE_NETINET_UDP_H
14468 #include <netinet/udp.h>
14470 #ifdef HAVE_NETINET_UDP_VAR_H
14471 #include <netinet/udp_var.h>
14474 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
14476 cat >>confdefs.h
<<_ACEOF
14477 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14484 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14485 #include <sys/types.h>
14487 #ifdef HAVE_NET_IF_H
14488 # include <net/if.h>
14491 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
14493 cat >>confdefs.h
<<_ACEOF
14494 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14502 $as_echo_n "checking for timezone variable... " >&6; }
14503 if ${ac_cv_have_timezone+:} false
; then :
14504 $as_echo_n "(cached) " >&6
14506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14507 /* end confdefs.h. */
14517 if ac_fn_c_try_link
"$LINENO"; then :
14518 ac_cv_have_timezone
="yes"
14520 ac_cv_have_timezone
="no"
14522 rm -f core conftest.err conftest.
$ac_objext \
14523 conftest
$ac_exeext conftest.
$ac_ext
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14526 $as_echo "$ac_cv_have_timezone" >&6; }
14527 if test "$ac_cv_have_timezone" = "yes"
14530 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14534 $as_echo_n "checking for daylight variable... " >&6; }
14535 if ${ac_cv_have_daylight+:} false
; then :
14536 $as_echo_n "(cached) " >&6
14538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14539 /* end confdefs.h. */
14549 if ac_fn_c_try_link
"$LINENO"; then :
14550 ac_cv_have_daylight
="yes"
14552 ac_cv_have_daylight
="no"
14554 rm -f core conftest.err conftest.
$ac_objext \
14555 conftest
$ac_exeext conftest.
$ac_ext
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14558 $as_echo "$ac_cv_have_daylight" >&6; }
14559 if test "$ac_cv_have_daylight" = "yes"
14562 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14566 ac_save_LIBS
="$LIBS"
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14569 $as_echo_n "checking for isinf... " >&6; }
14570 if ${ac_cv_have_isinf+:} false
; then :
14571 $as_echo_n "(cached) " >&6
14573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14574 /* end confdefs.h. */
14579 float f = 0.0; return isinf(f)
14584 if ac_fn_c_try_link
"$LINENO"; then :
14585 ac_cv_have_isinf
="yes"
14587 ac_cv_have_isinf
="no"
14589 rm -f core conftest.err conftest.
$ac_objext \
14590 conftest
$ac_exeext conftest.
$ac_ext
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14593 $as_echo "$ac_cv_have_isinf" >&6; }
14594 if test "$ac_cv_have_isinf" = "yes"
14597 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14602 $as_echo_n "checking for isnan... " >&6; }
14603 if ${ac_cv_have_isnan+:} false
; then :
14604 $as_echo_n "(cached) " >&6
14606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14607 /* end confdefs.h. */
14612 float f = 0.0; return isnan(f)
14617 if ac_fn_c_try_link
"$LINENO"; then :
14618 ac_cv_have_isnan
="yes"
14620 ac_cv_have_isnan
="no"
14622 rm -f core conftest.err conftest.
$ac_objext \
14623 conftest
$ac_exeext conftest.
$ac_ext
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14626 $as_echo "$ac_cv_have_isnan" >&6; }
14627 if test "$ac_cv_have_isnan" = "yes"
14630 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14633 LIBS
="$ac_save_LIBS"
14637 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14638 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14639 if ${ac_cv_cpp_def___i386__+:} false
; then :
14640 $as_echo_n "(cached) " >&6
14642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14649 $EGREP "yes" >/dev
/null
2>&1; then :
14650 ac_cv_cpp_def___i386__
=yes
14652 ac_cv_cpp_def___i386__
=no
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14658 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14659 if test $ac_cv_cpp_def___i386__ = yes; then :
14660 CFLAGS
="$CFLAGS -D__i386__"
14661 LINTFLAGS
="$LINTFLAGS -D__i386__"
14663 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14664 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14665 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
14666 $as_echo_n "(cached) " >&6
14668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14669 /* end confdefs.h. */
14674 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14675 $EGREP "yes" >/dev
/null
2>&1; then :
14676 ac_cv_cpp_def___x86_64__
=yes
14678 ac_cv_cpp_def___x86_64__
=no
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14684 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14685 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14686 CFLAGS
="$CFLAGS -D__x86_64__"
14687 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
14689 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
14690 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
14691 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
14692 $as_echo_n "(cached) " >&6
14694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14695 /* end confdefs.h. */
14696 #ifndef __sparc64__
14700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14701 $EGREP "yes" >/dev
/null
2>&1; then :
14702 ac_cv_cpp_def___sparc64__
=yes
14704 ac_cv_cpp_def___sparc64__
=no
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
14710 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
14711 if test $ac_cv_cpp_def___sparc64__ = yes; then :
14712 CFLAGS
="$CFLAGS -D__sparc64__"
14713 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
14715 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14716 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14717 if ${ac_cv_cpp_def___sparc__+:} false
; then :
14718 $as_echo_n "(cached) " >&6
14720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14721 /* end confdefs.h. */
14726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14727 $EGREP "yes" >/dev
/null
2>&1; then :
14728 ac_cv_cpp_def___sparc__
=yes
14730 ac_cv_cpp_def___sparc__
=no
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14736 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14737 if test $ac_cv_cpp_def___sparc__ = yes; then :
14738 CFLAGS
="$CFLAGS -D__sparc__"
14739 LINTFLAGS
="$LINTFLAGS -D__sparc__"
14741 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
14742 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
14743 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
14744 $as_echo_n "(cached) " >&6
14746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14747 /* end confdefs.h. */
14748 #ifndef __powerpc64__
14752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14753 $EGREP "yes" >/dev
/null
2>&1; then :
14754 ac_cv_cpp_def___powerpc64__
=yes
14756 ac_cv_cpp_def___powerpc64__
=no
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
14762 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
14763 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
14764 CFLAGS
="$CFLAGS -D__powerpc64__"
14765 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
14767 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14768 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14769 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
14770 $as_echo_n "(cached) " >&6
14772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14773 /* end confdefs.h. */
14774 #ifndef __powerpc__
14778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14779 $EGREP "yes" >/dev
/null
2>&1; then :
14780 ac_cv_cpp_def___powerpc__
=yes
14782 ac_cv_cpp_def___powerpc__
=no
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14788 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14789 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14790 CFLAGS
="$CFLAGS -D__powerpc__"
14791 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
14793 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
14794 $as_echo_n "checking whether we need to define __arm__... " >&6; }
14795 if ${ac_cv_cpp_def___arm__+:} false
; then :
14796 $as_echo_n "(cached) " >&6
14798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14799 /* end confdefs.h. */
14804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14805 $EGREP "yes" >/dev
/null
2>&1; then :
14806 ac_cv_cpp_def___arm__
=yes
14808 ac_cv_cpp_def___arm__
=no
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
14814 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
14815 if test $ac_cv_cpp_def___arm__ = yes; then :
14816 CFLAGS
="$CFLAGS -D__arm__"
14817 LINTFLAGS
="$LINTFLAGS -D__arm__"
14821 case $host_vendor in
14822 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14823 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14824 if ${ac_cv_cpp_def___sun__+:} false
; then :
14825 $as_echo_n "(cached) " >&6
14827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14828 /* end confdefs.h. */
14833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14834 $EGREP "yes" >/dev
/null
2>&1; then :
14835 ac_cv_cpp_def___sun__
=yes
14837 ac_cv_cpp_def___sun__
=no
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14843 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14844 if test $ac_cv_cpp_def___sun__ = yes; then :
14845 CFLAGS
="$CFLAGS -D__sun__"
14846 LINTFLAGS
="$LINTFLAGS -D__sun__"
14854 ac_config_commands
="$ac_config_commands include/stamp-h"
14857 ALL_MAKEFILE_DEPENDS
="
14858 # Rules automatically generated by configure
14863 Makefile: Makefile.in Make.vars.in Make.rules config.status
14864 @./config.status Make.tmp Makefile"
14867 ALL_TEST_RESOURCES
=""
14870 wine_fn_append_file
()
14872 as_fn_append
$1 " \\$as_nl $2"
14875 wine_fn_append_rule
()
14877 as_fn_append
$1 "$as_nl$2"
14880 wine_fn_has_flag
()
14882 expr ",$2," : ".*,$1,.*" >/dev
/null
14885 wine_fn_all_dir_rules
()
14889 ac_makedep
="\$(MAKEDEP)"
14890 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
14891 if test $ac_dir != tools
14893 ac_alldeps
="$2 $ac_makedep"
14895 ac_alldeps
="$2 include/config.h"
14898 *.
in) ac_input
=$ac_input:$2 ;;
14899 *) ac_makedep
="$2 $ac_makedep" ;;
14902 wine_fn_append_file ALL_DIRS
$ac_dir
14903 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14904 "__clean__: $ac_dir/__clean__
14905 .PHONY: $ac_dir/__clean__
14906 $ac_dir/__clean__: $ac_dir/Makefile
14907 @cd $ac_dir && \$(MAKE) clean
14908 \$(RM) $ac_dir/Makefile
14909 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14910 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14911 depend: $ac_dir/__depend__
14912 .PHONY: $ac_dir/__depend__
14913 $ac_dir/__depend__: $ac_makedep dummy
14914 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14917 wine_fn_pot_rules
()
14922 test "x$with_gettextpo" = xyes ||
return
14924 if wine_fn_has_flag mc
$ac_flags
14926 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
14927 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14928 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
14929 @cd $ac_dir && \$(MAKE) msg.pot
14930 $ac_dir/msg.pot: tools/wmc include"
14932 if wine_fn_has_flag po
$ac_flags
14934 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
14935 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14936 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
14937 @cd $ac_dir && \$(MAKE) rsrc.pot
14938 $ac_dir/rsrc.pot: tools/wrc include"
14942 wine_fn_config_makefile
()
14948 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14952 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
14953 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14956 $ac_dir: $ac_dir/Makefile dummy
14957 @cd $ac_dir && \$(MAKE)"
14959 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
14961 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14962 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14963 $ac_dir/__install__:: $ac_dir
14964 @cd $ac_dir && \$(MAKE) install
14965 $ac_dir/__uninstall__:: $ac_dir/Makefile
14966 @cd $ac_dir && \$(MAKE) uninstall
14967 install:: $ac_dir/__install__
14968 __uninstall__: $ac_dir/__uninstall__"
14970 if wine_fn_has_flag install-lib
$ac_flags
14972 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14973 ".PHONY: $ac_dir/__install-lib__
14974 $ac_dir/__install-lib__:: $ac_dir
14975 @cd $ac_dir && \$(MAKE) install-lib
14976 install-lib:: $ac_dir/__install-lib__"
14979 if wine_fn_has_flag install-dev
$ac_flags
14981 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14982 ".PHONY: $ac_dir/__install-dev
14983 $ac_dir/__install-dev__:: $ac_dir
14984 @cd $ac_dir && \$(MAKE) install-dev
14985 install-dev:: $ac_dir/__install-dev__"
14989 wine_fn_config_lib
()
14993 ac_dir
=dlls
/$ac_name
14994 wine_fn_config_makefile
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
14996 if wine_fn_has_flag install-dev
$ac_flags
14999 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15000 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15001 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15002 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15003 $ac_dir/__uninstall__::
15004 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15005 install install-dev:: $ac_dir/__install__
15006 __uninstall__: $ac_dir/__uninstall__"
15009 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: $ac_dir"
15010 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: tools/widl tools/winebuild tools/winegcc include"
15013 wine_fn_config_dll
()
15016 ac_dir
=dlls
/$ac_name
15019 ac_implib
=${4:-$ac_name}
15020 ac_file
=$ac_dir/lib
$ac_implib
15022 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
15026 *16) ac_implibflags
=" -m16" ;;
15028 *) ac_dll
=$ac_dll.dll
;;
15031 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
15033 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15034 test "$ac_enable" != enable_win16 ||
return 0
15035 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
15037 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15038 "$ac_dir: __builddeps__
15039 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15040 @cd $ac_dir && \$(MAKE) \$@"
15042 if wine_fn_has_flag install-lib
$ac_flags
15045 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15046 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15047 install install-lib:: $ac_dir/__install-lib__
15048 __uninstall__: $ac_dir/__uninstall__"
15049 if test -n "$DLLEXT"
15051 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15052 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15053 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
15054 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15055 $ac_dir/__uninstall__::
15056 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15058 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15059 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15060 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15061 $ac_dir/__uninstall__::
15062 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15066 wine_fn_pot_rules
$ac_dir $ac_flags
15069 if wine_fn_has_flag staticimplib
$ac_flags
15071 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15072 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15073 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15074 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15075 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15076 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15077 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15078 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15079 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15080 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15081 $ac_dir/__uninstall__::
15082 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15083 install install-dev:: $ac_dir/__install-dev__
15084 __uninstall__: $ac_dir/__uninstall__"
15086 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15088 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15089 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15090 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15091 $ac_dir/__uninstall__::
15092 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15095 if test "x$CROSSTEST_DISABLE" = x
15097 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15098 "__builddeps__: $ac_file.cross.a
15099 $ac_file.cross.a: $ac_dir/Makefile dummy
15100 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15103 elif wine_fn_has_flag implib
$ac_flags
15105 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15106 "__builddeps__: $ac_file.$IMPLIBEXT
15107 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15108 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15109 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15110 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15111 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15112 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15113 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15114 $ac_dir/__uninstall__::
15115 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15116 install install-dev:: $ac_dir/__install-dev__
15117 __uninstall__: $ac_dir/__uninstall__"
15118 if test "x$CROSSTEST_DISABLE" = x
15120 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15121 "__builddeps__: $ac_file.cross.a
15122 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15123 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15126 if test "$ac_name" != "$ac_implib"
15128 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15129 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15130 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15131 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15133 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15134 if test "x$CROSSTEST_DISABLE" = x
15136 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15137 "__builddeps__: dlls/lib$ac_implib.cross.a
15138 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15139 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15145 wine_fn_config_program
()
15148 ac_dir
=programs
/$ac_name
15151 ac_program
=$ac_name
15155 *) ac_program
=$ac_program.exe
;;
15158 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
15160 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15163 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15164 "$ac_dir: __builddeps__"
15166 wine_fn_pot_rules
$ac_dir $ac_flags
15168 wine_fn_has_flag
install $ac_flags ||
return
15169 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15170 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15171 install install-lib:: $ac_dir/__install__
15172 __uninstall__: $ac_dir/__uninstall__"
15174 if test -n "$DLLEXT"
15176 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15177 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15178 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15179 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15180 $ac_dir/__uninstall__::
15181 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15183 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
15185 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15186 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15187 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15188 $ac_dir/__uninstall__::
15189 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15192 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15193 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15194 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15195 $ac_dir/__uninstall__::
15196 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15199 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
15201 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15202 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15203 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15204 $ac_dir/__uninstall__::
15205 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15210 wine_fn_config_test
()
15215 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
15216 wine_fn_all_dir_rules
$ac_dir Maketest.rules
15218 if test "x$enable_tests" = xno
; then :
15221 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15224 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15225 @cd $ac_dir && \$(MAKE)
15226 programs/winetest: $ac_dir
15227 check test: $ac_dir/__test__
15228 .PHONY: $ac_dir/__test__
15229 $ac_dir/__test__: dummy
15230 @cd $ac_dir && \$(MAKE) test
15232 \$(RM) $ac_dir/*.ok"
15234 if test "x$CROSSTEST_DISABLE" = x
15236 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15237 "crosstest: $ac_dir/__crosstest__
15238 .PHONY: $ac_dir/__crosstest__
15239 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15240 @cd $ac_dir && \$(MAKE) crosstest"
15245 wine_fn_config_tool
()
15249 if test "x$enable_tools" = xno
; then :
15253 wine_fn_config_makefile
$ac_dir enable_tools
$ac_flags
15255 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__tooldeps__: $ac_dir"
15256 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: libs/port"
15258 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
15262 wine_fn_config_makerules
()
15266 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15267 "$ac_rules: $ac_rules.in $ac_deps config.status
15268 @./config.status $ac_rules
15273 wine_fn_config_symlink
()
15276 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15278 @./config.status $ac_link
15283 if test "x$CROSSTEST_DISABLE" != x
15285 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15287 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15289 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15290 wine_fn_config_symlink dlls
/shell32
/AUTHORS
15291 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15292 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
15293 if test "x$enable_fonts" != xno
; then
15294 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15295 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
15297 if test "x$enable_fonts" != xno
; then
15298 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15299 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
15301 if test "x$enable_fonts" != xno
; then
15302 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15303 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
15305 if test "x$enable_fonts" != xno
; then
15306 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15307 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
15309 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
15310 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
15311 if test "x$enable_tools" != xno
; then
15312 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15313 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
15315 ac_config_links
="$ac_config_links wine:tools/winewrapper"
15316 wine_fn_config_symlink wine
15317 if test "x$enable_win64" != xno
; then
15318 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
15319 wine_fn_config_symlink wine64
15322 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
15324 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
15326 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
15328 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
15330 ac_config_commands
="$ac_config_commands dlls/user32/resources"
15332 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
15334 ac_config_commands
="$ac_config_commands include/wine"
15337 wine_fn_config_makerules Make.rules
15338 MAKE_RULES
=Make.rules
15339 ac_config_files
="$ac_config_files Make.rules"
15341 wine_fn_config_makerules Maketest.rules Make.rules
15342 MAKE_TEST_RULES
=Maketest.rules
15343 ac_config_files
="$ac_config_files Maketest.rules"
15345 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
15346 MAKE_DLL_RULES
=dlls
/Makedll.rules
15347 ac_config_files
="$ac_config_files dlls/Makedll.rules"
15349 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
15350 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
15351 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
15353 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
15354 MAKE_PROG_RULES
=programs
/Makeprog.rules
15355 ac_config_files
="$ac_config_files programs/Makeprog.rules"
15358 wine_fn_config_dll acledit enable_acledit
15359 wine_fn_config_dll aclui enable_aclui implib
15360 wine_fn_config_dll activeds enable_activeds implib
15361 wine_fn_config_dll actxprxy enable_actxprxy
15362 wine_fn_config_lib adsiid
15363 wine_fn_config_dll advapi32 enable_advapi32 implib
15364 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
15365 wine_fn_config_dll advpack enable_advpack implib
15366 wine_fn_config_test dlls
/advpack
/tests advpack_test
15367 wine_fn_config_dll amstream enable_amstream
15368 wine_fn_config_test dlls
/amstream
/tests amstream_test
15369 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15370 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15371 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15372 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15373 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15374 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15375 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15376 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15377 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15378 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15379 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15380 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15381 wine_fn_config_dll apphelp enable_apphelp
15382 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
15383 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15384 wine_fn_config_dll atl enable_atl implib
15385 wine_fn_config_test dlls
/atl
/tests atl_test
15386 wine_fn_config_dll atl100 enable_atl100 implib
15387 wine_fn_config_test dlls
/atl100
/tests atl100_test
15388 wine_fn_config_dll atl80 enable_atl80 implib
15389 wine_fn_config_dll authz enable_authz
15390 wine_fn_config_dll avicap32 enable_avicap32 implib
15391 wine_fn_config_dll avifil32 enable_avifil32 implib
,po
15392 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
15393 wine_fn_config_dll avifile.dll16 enable_win16
15394 wine_fn_config_dll avrt enable_avrt implib
15395 wine_fn_config_dll bcrypt enable_bcrypt
15396 wine_fn_config_dll browseui enable_browseui po
15397 wine_fn_config_test dlls
/browseui
/tests browseui_test
15398 wine_fn_config_dll cabinet enable_cabinet implib
15399 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
15400 wine_fn_config_dll capi2032 enable_capi2032 implib
15401 wine_fn_config_dll cards enable_cards implib
15402 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15403 wine_fn_config_dll clusapi enable_clusapi implib
15404 wine_fn_config_dll comcat enable_comcat
15405 wine_fn_config_test dlls
/comcat
/tests comcat_test
15406 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
15407 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
15408 wine_fn_config_dll comdlg32 enable_comdlg32 implib
,po
15409 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
15410 wine_fn_config_dll
comm.drv16 enable_win16
15411 wine_fn_config_dll commdlg.dll16 enable_win16
15412 wine_fn_config_dll compobj.dll16 enable_win16
15413 wine_fn_config_dll compstui enable_compstui implib
15414 wine_fn_config_dll credui enable_credui implib
,po
15415 wine_fn_config_test dlls
/credui
/tests credui_test
15416 wine_fn_config_dll crtdll enable_crtdll implib
15417 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
15418 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
15419 wine_fn_config_dll cryptdlg enable_cryptdlg po
15420 wine_fn_config_dll cryptdll enable_cryptdll implib
15421 wine_fn_config_dll cryptnet enable_cryptnet implib
15422 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
15423 wine_fn_config_dll cryptui enable_cryptui implib
,po
15424 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
15425 wine_fn_config_dll ctapi32 enable_ctapi32
15426 wine_fn_config_dll ctl3d.dll16 enable_win16
15427 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15428 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15429 wine_fn_config_dll d3d10 enable_d3d10 implib
15430 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
15431 wine_fn_config_dll d3d10core enable_d3d10core implib
15432 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
15433 wine_fn_config_dll d3d11 enable_d3d11
15434 wine_fn_config_dll d3d8 enable_d3d8 implib
15435 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
15436 wine_fn_config_dll d3d9 enable_d3d9 implib
15437 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
15438 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15439 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15440 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15441 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15442 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15443 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15444 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15445 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15446 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15447 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15448 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15449 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
15450 wine_fn_config_dll d3dim enable_d3dim implib
15451 wine_fn_config_dll d3drm enable_d3drm implib
15452 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
15453 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15454 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15455 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15456 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15457 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15458 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15459 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15460 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15461 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15462 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15463 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15464 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15465 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15466 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15467 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15468 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15469 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15470 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15471 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15472 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15473 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15474 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15475 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15476 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15477 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
15478 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15479 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15480 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15481 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15482 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15483 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15484 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15485 wine_fn_config_dll d3dxof enable_d3dxof implib
15486 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
15487 wine_fn_config_dll dbgeng enable_dbgeng implib
15488 wine_fn_config_dll dbghelp enable_dbghelp implib
15489 wine_fn_config_dll dciman32 enable_dciman32 implib
15490 wine_fn_config_dll ddeml.dll16 enable_win16
15491 wine_fn_config_dll ddraw enable_ddraw implib
15492 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
15493 wine_fn_config_dll ddrawex enable_ddrawex
15494 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
15495 wine_fn_config_dll devenum enable_devenum po
15496 wine_fn_config_test dlls
/devenum
/tests devenum_test
15497 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15498 wine_fn_config_dll dinput enable_dinput implib
,po
,staticimplib
15499 wine_fn_config_test dlls
/dinput
/tests dinput_test
15500 wine_fn_config_dll dinput8 enable_dinput8 implib
15501 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
15502 wine_fn_config_dll dispdib.dll16 enable_win16
15503 wine_fn_config_dll dispex enable_dispex
15504 wine_fn_config_test dlls
/dispex
/tests dispex_test
15505 wine_fn_config_dll display.drv16 enable_win16
15506 wine_fn_config_dll dmband enable_dmband
15507 wine_fn_config_test dlls
/dmband
/tests dmband_test
15508 wine_fn_config_dll dmcompos enable_dmcompos
15509 wine_fn_config_dll dmime enable_dmime
15510 wine_fn_config_test dlls
/dmime
/tests dmime_test
15511 wine_fn_config_dll dmloader enable_dmloader
15512 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
15513 wine_fn_config_dll dmscript enable_dmscript
15514 wine_fn_config_dll dmstyle enable_dmstyle
15515 wine_fn_config_dll dmsynth enable_dmsynth
15516 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
15517 wine_fn_config_dll dmusic enable_dmusic
15518 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
15519 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15520 wine_fn_config_dll dnsapi enable_dnsapi implib
15521 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
15522 wine_fn_config_dll dplay enable_dplay implib
15523 wine_fn_config_dll dplayx enable_dplayx implib
15524 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
15525 wine_fn_config_dll dpnaddr enable_dpnaddr
15526 wine_fn_config_dll dpnet enable_dpnet implib
15527 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
15528 wine_fn_config_dll dpnhpast enable_dpnhpast
15529 wine_fn_config_dll dpnlobby enable_dpnlobby
15530 wine_fn_config_dll dpwsockx enable_dpwsockx
15531 wine_fn_config_dll drmclien enable_drmclien
15532 wine_fn_config_dll dsound enable_dsound implib
15533 wine_fn_config_test dlls
/dsound
/tests dsound_test
15534 wine_fn_config_dll dssenh enable_dssenh
15535 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
15536 wine_fn_config_dll dswave enable_dswave
15537 wine_fn_config_dll dwmapi enable_dwmapi implib
15538 wine_fn_config_dll dwrite enable_dwrite implib
15539 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
15540 wine_fn_config_dll dxdiagn enable_dxdiagn po
15541 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
15542 wine_fn_config_lib dxerr8
15543 wine_fn_config_lib dxerr9
15544 wine_fn_config_dll dxgi enable_dxgi implib
15545 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
15546 wine_fn_config_lib dxguid
15547 wine_fn_config_dll explorerframe enable_explorerframe
15548 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
15549 wine_fn_config_dll faultrep enable_faultrep implib
15550 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
15551 wine_fn_config_dll fltlib enable_fltlib
15552 wine_fn_config_dll fusion enable_fusion
15553 wine_fn_config_test dlls
/fusion
/tests fusion_test
15554 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15555 wine_fn_config_dll gameux enable_gameux
15556 wine_fn_config_test dlls
/gameux
/tests gameux_test
15557 wine_fn_config_dll gdi.exe16 enable_win16
15558 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
15559 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
15560 wine_fn_config_dll gdiplus enable_gdiplus implib
15561 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
15562 wine_fn_config_dll glu32 enable_glu32 implib
15563 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15564 wine_fn_config_dll gpkcsp enable_gpkcsp
15565 wine_fn_config_dll hal enable_hal
15566 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib
,po htmlhelp
15567 wine_fn_config_dll hid enable_hid implib
15568 wine_fn_config_dll hlink enable_hlink implib
15569 wine_fn_config_test dlls
/hlink
/tests hlink_test
15570 wine_fn_config_dll hnetcfg enable_hnetcfg
15571 wine_fn_config_dll httpapi enable_httpapi
15572 wine_fn_config_dll iccvid enable_iccvid po
15573 wine_fn_config_dll icmp enable_icmp
15574 wine_fn_config_dll ieframe enable_ieframe implib
,po
15575 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
15576 wine_fn_config_dll ifsmgr.vxd enable_win16
15577 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15578 wine_fn_config_dll imagehlp enable_imagehlp implib
15579 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
15580 wine_fn_config_dll imm.dll16 enable_win16
15581 wine_fn_config_dll imm32 enable_imm32 implib
15582 wine_fn_config_test dlls
/imm32
/tests imm32_test
15583 wine_fn_config_dll inetcomm enable_inetcomm implib
15584 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
15585 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15586 wine_fn_config_dll inetmib1 enable_inetmib1
15587 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
15588 wine_fn_config_dll infosoft enable_infosoft
15589 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
15590 wine_fn_config_dll initpki enable_initpki
15591 wine_fn_config_dll inkobj enable_inkobj
15592 wine_fn_config_dll inseng enable_inseng
15593 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15594 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
15595 wine_fn_config_dll itircl enable_itircl
15596 wine_fn_config_dll itss enable_itss
15597 wine_fn_config_test dlls
/itss
/tests itss_test
15598 wine_fn_config_dll joy.cpl enable_joy_cpl po
15599 wine_fn_config_dll jscript enable_jscript po
15600 wine_fn_config_test dlls
/jscript
/tests jscript_test
15601 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
15602 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
15603 wine_fn_config_dll keyboard.drv16 enable_win16
15604 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15605 wine_fn_config_dll ktmw32 enable_ktmw32
15606 wine_fn_config_dll loadperf enable_loadperf implib
15607 wine_fn_config_dll localspl enable_localspl po
15608 wine_fn_config_test dlls
/localspl
/tests localspl_test
15609 wine_fn_config_dll localui enable_localui po
15610 wine_fn_config_test dlls
/localui
/tests localui_test
15611 wine_fn_config_dll lz32 enable_lz32 implib
15612 wine_fn_config_test dlls
/lz32
/tests lz32_test
15613 wine_fn_config_dll lzexpand.dll16 enable_win16
15614 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
15615 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
15616 wine_fn_config_dll mapistub enable_mapistub
15617 wine_fn_config_dll mciavi32 enable_mciavi32
15618 wine_fn_config_dll mcicda enable_mcicda
15619 wine_fn_config_dll mciqtz32 enable_mciqtz32
15620 wine_fn_config_dll mciseq enable_mciseq
15621 wine_fn_config_dll mciwave enable_mciwave
15622 wine_fn_config_dll mgmtapi enable_mgmtapi
15623 wine_fn_config_dll midimap enable_midimap
15624 wine_fn_config_dll mlang enable_mlang implib
15625 wine_fn_config_test dlls
/mlang
/tests mlang_test
15626 wine_fn_config_dll mmcndmgr enable_mmcndmgr
15627 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
15628 wine_fn_config_dll mmdevapi enable_mmdevapi
15629 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
15630 wine_fn_config_dll mmdevldr.vxd enable_win16
15631 wine_fn_config_dll mmsystem.dll16 enable_win16
15632 wine_fn_config_dll monodebg.vxd enable_win16
15633 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15634 wine_fn_config_dll mouse.drv16 enable_win16
15635 wine_fn_config_dll mpr enable_mpr implib
,po
15636 wine_fn_config_test dlls
/mpr
/tests mpr_test
15637 wine_fn_config_dll mprapi enable_mprapi implib
15638 wine_fn_config_dll msacm.dll16 enable_win16
15639 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15640 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
15641 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
15642 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15643 wine_fn_config_dll mscat32 enable_mscat32
15644 wine_fn_config_dll mscms enable_mscms implib
15645 wine_fn_config_test dlls
/mscms
/tests mscms_test
15646 wine_fn_config_dll mscoree enable_mscoree
15647 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
15648 wine_fn_config_dll msctf enable_msctf
15649 wine_fn_config_test dlls
/msctf
/tests msctf_test
15650 wine_fn_config_dll msdaps enable_msdaps
15651 wine_fn_config_dll msdmo enable_msdmo implib
15652 wine_fn_config_dll msftedit enable_msftedit
15653 wine_fn_config_dll msg711.acm enable_msg711_acm
15654 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15655 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15656 wine_fn_config_dll mshtml enable_mshtml implib
,po
15657 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
15658 wine_fn_config_dll msi enable_msi implib
,po
15659 wine_fn_config_test dlls
/msi
/tests msi_test
15660 wine_fn_config_dll msident enable_msident
15661 wine_fn_config_dll msimg32 enable_msimg32 implib
15662 wine_fn_config_dll msimsg enable_msimsg
15663 wine_fn_config_dll msimtf enable_msimtf
15664 wine_fn_config_dll msisip enable_msisip
15665 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15666 wine_fn_config_dll msls31 enable_msls31
15667 wine_fn_config_dll msnet32 enable_msnet32
15668 wine_fn_config_dll mspatcha enable_mspatcha
15669 wine_fn_config_dll msrle32 enable_msrle32 po
15670 wine_fn_config_dll mssign32 enable_mssign32
15671 wine_fn_config_dll mssip32 enable_mssip32
15672 wine_fn_config_dll mstask enable_mstask
15673 wine_fn_config_test dlls
/mstask
/tests mstask_test
15674 wine_fn_config_dll msvcirt enable_msvcirt
15675 wine_fn_config_dll msvcm80 enable_msvcm80
15676 wine_fn_config_dll msvcm90 enable_msvcm90
15677 wine_fn_config_dll msvcp100 enable_msvcp100
15678 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
15679 wine_fn_config_dll msvcp60 enable_msvcp60
15680 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
15681 wine_fn_config_dll msvcp70 enable_msvcp70
15682 wine_fn_config_dll msvcp71 enable_msvcp71
15683 wine_fn_config_dll msvcp80 enable_msvcp80
15684 wine_fn_config_dll msvcp90 enable_msvcp90
15685 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
15686 wine_fn_config_dll msvcr100 enable_msvcr100
15687 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
15688 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15689 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15690 wine_fn_config_dll msvcr80 enable_msvcr80
15691 wine_fn_config_dll msvcr90 enable_msvcr90
15692 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
15693 wine_fn_config_dll msvcrt enable_msvcrt implib
15694 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
15695 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15696 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15697 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15698 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
15699 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
15700 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
15701 wine_fn_config_dll msvidc32 enable_msvidc32 po
15702 wine_fn_config_dll msvideo.dll16 enable_win16
15703 wine_fn_config_dll mswsock enable_mswsock implib
15704 wine_fn_config_dll msxml enable_msxml
15705 wine_fn_config_dll msxml2 enable_msxml2
15706 wine_fn_config_dll msxml3 enable_msxml3
15707 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
15708 wine_fn_config_dll msxml4 enable_msxml4
15709 wine_fn_config_dll msxml6 enable_msxml6
15710 wine_fn_config_dll nddeapi enable_nddeapi implib
15711 wine_fn_config_dll netapi32 enable_netapi32 implib
15712 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
15713 wine_fn_config_dll newdev enable_newdev implib
15714 wine_fn_config_dll normaliz enable_normaliz implib
15715 wine_fn_config_dll npmshtml enable_npmshtml
15716 wine_fn_config_dll ntdll enable_ntdll implib
15717 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
15718 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15719 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
15720 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15721 wine_fn_config_dll ntprint enable_ntprint
15722 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
15723 wine_fn_config_dll objsel enable_objsel
15724 wine_fn_config_dll odbc32 enable_odbc32 implib
15725 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15726 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
15727 wine_fn_config_dll odbccu32 enable_odbccu32
15728 wine_fn_config_dll ole2.dll16 enable_win16
15729 wine_fn_config_dll ole2conv.dll16 enable_win16
15730 wine_fn_config_dll ole2disp.dll16 enable_win16
15731 wine_fn_config_dll ole2nls.dll16 enable_win16
15732 wine_fn_config_dll ole2prox.dll16 enable_win16
15733 wine_fn_config_dll ole2thk.dll16 enable_win16
15734 wine_fn_config_dll ole32 enable_ole32 implib
15735 wine_fn_config_test dlls
/ole32
/tests ole32_test
15736 wine_fn_config_dll oleacc enable_oleacc implib
,po
15737 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
15738 wine_fn_config_dll oleaut32 enable_oleaut32 implib
,po
15739 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
15740 wine_fn_config_dll olecli.dll16 enable_win16
15741 wine_fn_config_dll olecli32 enable_olecli32 implib
15742 wine_fn_config_dll oledb32 enable_oledb32
15743 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
15744 wine_fn_config_dll oledlg enable_oledlg implib
,po
15745 wine_fn_config_dll olepro32 enable_olepro32 implib
15746 wine_fn_config_dll olesvr.dll16 enable_win16
15747 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15748 wine_fn_config_dll olethk32 enable_olethk32
15749 wine_fn_config_dll openal32 enable_openal32
15750 wine_fn_config_dll opencl enable_opencl
15751 wine_fn_config_dll opengl32 enable_opengl32 implib
15752 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
15753 wine_fn_config_dll pdh enable_pdh implib
15754 wine_fn_config_test dlls
/pdh
/tests pdh_test
15755 wine_fn_config_dll photometadatahandler enable_photometadatahandler
15756 wine_fn_config_dll pidgen enable_pidgen
15757 wine_fn_config_dll powrprof enable_powrprof implib
15758 wine_fn_config_dll printui enable_printui
15759 wine_fn_config_dll propsys enable_propsys implib
15760 wine_fn_config_test dlls
/propsys
/tests propsys_test
15761 wine_fn_config_dll psapi enable_psapi implib
15762 wine_fn_config_test dlls
/psapi
/tests psapi_test
15763 wine_fn_config_dll pstorec enable_pstorec
15764 wine_fn_config_dll qcap enable_qcap
15765 wine_fn_config_dll qedit enable_qedit
15766 wine_fn_config_test dlls
/qedit
/tests qedit_test
15767 wine_fn_config_dll qmgr enable_qmgr
15768 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
15769 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15770 wine_fn_config_dll quartz enable_quartz implib
15771 wine_fn_config_test dlls
/quartz
/tests quartz_test
15772 wine_fn_config_dll query enable_query
15773 wine_fn_config_dll rasapi16.dll16 enable_win16
15774 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15775 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
15776 wine_fn_config_dll rasdlg enable_rasdlg implib
15777 wine_fn_config_dll regapi enable_regapi
15778 wine_fn_config_dll resutils enable_resutils implib
15779 wine_fn_config_dll riched20 enable_riched20 implib
15780 wine_fn_config_test dlls
/riched20
/tests riched20_test
15781 wine_fn_config_dll riched32 enable_riched32
15782 wine_fn_config_test dlls
/riched32
/tests riched32_test
15783 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15784 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
15785 wine_fn_config_dll rsabase enable_rsabase
15786 wine_fn_config_dll rsaenh enable_rsaenh implib
15787 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
15788 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15789 wine_fn_config_dll rtutils enable_rtutils implib
15790 wine_fn_config_dll samlib enable_samlib
15791 wine_fn_config_dll sane.ds enable_sane_ds po
15792 wine_fn_config_dll scarddlg enable_scarddlg
15793 wine_fn_config_dll sccbase enable_sccbase
15794 wine_fn_config_dll schannel enable_schannel
15795 wine_fn_config_test dlls
/schannel
/tests schannel_test
15796 wine_fn_config_dll scrrun enable_scrrun
15797 wine_fn_config_test dlls
/scrrun
/tests scrrun_test
15798 wine_fn_config_dll scsiport.sys enable_scsiport_sys
15799 wine_fn_config_dll secur32 enable_secur32 implib
15800 wine_fn_config_test dlls
/secur32
/tests secur32_test
15801 wine_fn_config_dll security enable_security
15802 wine_fn_config_dll sensapi enable_sensapi implib
15803 wine_fn_config_dll serialui enable_serialui implib
,po
15804 wine_fn_config_test dlls
/serialui
/tests serialui_test
15805 wine_fn_config_dll setupapi enable_setupapi implib
,po
15806 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
15807 wine_fn_config_dll setupx.dll16 enable_win16
15808 wine_fn_config_dll sfc enable_sfc implib
15809 wine_fn_config_dll sfc_os enable_sfc_os implib
15810 wine_fn_config_dll shdoclc enable_shdoclc po
15811 wine_fn_config_dll shdocvw enable_shdocvw implib
15812 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
15813 wine_fn_config_dll shell.dll16 enable_win16
15814 wine_fn_config_dll shell32 enable_shell32 implib
,po
15815 wine_fn_config_test dlls
/shell32
/tests shell32_test
15816 wine_fn_config_dll shfolder enable_shfolder implib
15817 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
15818 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
15819 wine_fn_config_dll slbcsp enable_slbcsp
15820 wine_fn_config_dll slc enable_slc implib
15821 wine_fn_config_dll snmpapi enable_snmpapi implib
15822 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
15823 wine_fn_config_dll softpub enable_softpub
15824 wine_fn_config_dll sound.drv16 enable_win16
15825 wine_fn_config_dll spoolss enable_spoolss implib
15826 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
15827 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15828 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15829 wine_fn_config_dll sti enable_sti implib
15830 wine_fn_config_test dlls
/sti
/tests sti_test
15831 wine_fn_config_dll storage.dll16 enable_win16
15832 wine_fn_config_dll stress.dll16 enable_win16
15833 wine_fn_config_lib strmbase
15834 wine_fn_config_lib strmiids
15835 wine_fn_config_dll svrapi enable_svrapi
15836 wine_fn_config_dll sxs enable_sxs implib
15837 wine_fn_config_test dlls
/sxs
/tests sxs_test
15838 wine_fn_config_dll system.drv16 enable_win16
15839 wine_fn_config_dll t2embed enable_t2embed
15840 wine_fn_config_dll tapi32 enable_tapi32 implib
15841 wine_fn_config_dll toolhelp.dll16 enable_win16
15842 wine_fn_config_dll traffic enable_traffic
15843 wine_fn_config_dll twain.dll16 enable_win16
15844 wine_fn_config_dll twain_32 enable_twain_32
15845 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
15846 wine_fn_config_dll typelib.dll16 enable_win16
15847 wine_fn_config_dll unicows enable_unicows implib
15848 wine_fn_config_dll updspapi enable_updspapi
15849 wine_fn_config_dll url enable_url implib
15850 wine_fn_config_dll urlmon enable_urlmon implib
,po
15851 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
15852 wine_fn_config_dll usbd.sys enable_usbd_sys implib
15853 wine_fn_config_dll user.exe16 enable_win16
15854 wine_fn_config_dll user32 enable_user32 implib
,po
15855 wine_fn_config_test dlls
/user32
/tests user32_test
15856 wine_fn_config_dll userenv enable_userenv implib
15857 wine_fn_config_test dlls
/userenv
/tests userenv_test
15858 wine_fn_config_dll usp10 enable_usp10 implib
15859 wine_fn_config_test dlls
/usp10
/tests usp10_test
15860 wine_fn_config_lib uuid
15861 wine_fn_config_dll uxtheme enable_uxtheme implib
15862 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
15863 wine_fn_config_dll vbscript enable_vbscript
15864 wine_fn_config_test dlls
/vbscript
/tests vbscript_test
15865 wine_fn_config_dll vcomp enable_vcomp
15866 wine_fn_config_dll vcomp100 enable_vcomp100
15867 wine_fn_config_dll vcomp90 enable_vcomp90
15868 wine_fn_config_dll vdhcp.vxd enable_win16
15869 wine_fn_config_dll vdmdbg enable_vdmdbg implib
15870 wine_fn_config_dll ver.dll16 enable_win16
15871 wine_fn_config_dll version enable_version implib
15872 wine_fn_config_test dlls
/version
/tests version_test
15873 wine_fn_config_dll vmm.vxd enable_win16
15874 wine_fn_config_dll vnbt.vxd enable_win16
15875 wine_fn_config_dll vnetbios.vxd enable_win16
15876 wine_fn_config_dll vtdapi.vxd enable_win16
15877 wine_fn_config_dll vwin32.vxd enable_win16
15878 wine_fn_config_dll w32skrnl enable_win16
15879 wine_fn_config_dll w32sys.dll16 enable_win16
15880 wine_fn_config_dll wbemprox enable_wbemprox
15881 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
15882 wine_fn_config_dll wer enable_wer implib
15883 wine_fn_config_test dlls
/wer
/tests wer_test
15884 wine_fn_config_dll wevtapi enable_wevtapi
15885 wine_fn_config_dll wiaservc enable_wiaservc
15886 wine_fn_config_dll win32s16.dll16 enable_win16
15887 wine_fn_config_dll win87em.dll16 enable_win16
15888 wine_fn_config_dll winaspi.dll16 enable_win16
15889 wine_fn_config_dll windebug.dll16 enable_win16
15890 wine_fn_config_dll windowscodecs enable_windowscodecs implib
15891 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
15892 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15893 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15894 wine_fn_config_lib winecrt0
15895 wine_fn_config_dll wined3d enable_wined3d implib
15896 wine_fn_config_dll winegstreamer enable_winegstreamer
15897 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15898 wine_fn_config_dll winemac.drv enable_winemac_drv
15899 wine_fn_config_dll winemapi enable_winemapi
15900 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15901 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15902 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
15903 wine_fn_config_dll wineps16.drv16 enable_win16
15904 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
15905 wine_fn_config_dll winex11.drv enable_winex11_drv
15906 wine_fn_config_dll wing.dll16 enable_win16
15907 wine_fn_config_dll wing32 enable_wing32
15908 wine_fn_config_dll winhttp enable_winhttp implib
15909 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
15910 wine_fn_config_dll wininet enable_wininet implib
,po
15911 wine_fn_config_test dlls
/wininet
/tests wininet_test
15912 wine_fn_config_dll winmm enable_winmm implib
,po
15913 wine_fn_config_test dlls
/winmm
/tests winmm_test
15914 wine_fn_config_dll winnls.dll16 enable_win16
15915 wine_fn_config_dll winnls32 enable_winnls32 implib
15916 wine_fn_config_dll winscard enable_winscard implib
15917 wine_fn_config_dll winsock.dll16 enable_win16
15918 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
15919 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
15920 wine_fn_config_dll winsta enable_winsta
15921 wine_fn_config_dll wintab.dll16 enable_win16
15922 wine_fn_config_dll wintab32 enable_wintab32 implib
15923 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
15924 wine_fn_config_dll wintrust enable_wintrust implib
15925 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
15926 wine_fn_config_dll wlanapi enable_wlanapi
15927 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
15928 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
15929 wine_fn_config_dll wmi enable_wmi
15930 wine_fn_config_dll wmiutils enable_wmiutils
15931 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
15932 wine_fn_config_dll wmvcore enable_wmvcore
15933 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
15934 wine_fn_config_dll wow32 enable_win16 implib
15935 wine_fn_config_dll ws2_32 enable_ws2_32 implib
15936 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
15937 wine_fn_config_dll wshom.ocx enable_wshom_ocx
15938 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test
15939 wine_fn_config_dll wsnmp32 enable_wsnmp32
15940 wine_fn_config_dll wsock32 enable_wsock32 implib
15941 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
15942 wine_fn_config_dll wuapi enable_wuapi
15943 wine_fn_config_dll wuaueng enable_wuaueng
15944 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15945 wine_fn_config_dll xinput1_1 enable_xinput1_1
15946 wine_fn_config_dll xinput1_2 enable_xinput1_2
15947 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
15948 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
15949 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15950 wine_fn_config_dll xmllite enable_xmllite
15951 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
15952 wine_fn_config_dll xolehlp enable_xolehlp
15953 wine_fn_config_dll xpsprint enable_xpsprint
15954 wine_fn_config_dll xpssvcs enable_xpssvcs
15955 wine_fn_config_makefile documentation enable_documentation
15956 wine_fn_config_makefile fonts enable_fonts install-lib
15957 wine_fn_config_makefile include enable_include install-dev
15958 wine_fn_config_makefile libs
/port enable_libs_port
15959 wine_fn_config_makefile libs
/wine enable_libs_wine install-dev
,install-lib
15960 wine_fn_config_makefile libs
/wpp enable_libs_wpp
15961 wine_fn_config_makefile loader enable_loader install-lib
,manpage
15962 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
15963 wine_fn_config_program attrib enable_attrib
install,po
15964 wine_fn_config_program cabarc enable_cabarc
install
15965 wine_fn_config_program cacls enable_cacls
install
15966 wine_fn_config_program
clock enable_clock
install,po
15967 wine_fn_config_program cmd enable_cmd
install,po
15968 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
15969 wine_fn_config_program conhost enable_conhost
install
15970 wine_fn_config_program control enable_control
install
15971 wine_fn_config_program cscript enable_cscript
install
15972 wine_fn_config_program dxdiag enable_dxdiag
install,po
15973 wine_fn_config_program eject enable_eject
install
15974 wine_fn_config_program
expand enable_expand
install
15975 wine_fn_config_program explorer enable_explorer
install,po
15976 wine_fn_config_program extrac32 enable_extrac32
install
15977 wine_fn_config_program findstr enable_findstr
install
15978 wine_fn_config_program hh enable_hh
install
15979 wine_fn_config_program hostname enable_hostname
install,po
15980 wine_fn_config_program icinfo enable_icinfo
install
15981 wine_fn_config_program iexplore enable_iexplore
install
15982 wine_fn_config_program ipconfig enable_ipconfig
install,po
15983 wine_fn_config_program lodctr enable_lodctr
install
15984 wine_fn_config_program mofcomp enable_mofcomp
install
15985 wine_fn_config_program mshta enable_mshta
install
15986 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
15987 wine_fn_config_program net enable_net
install,po
15988 wine_fn_config_program netsh enable_netsh
install
15989 wine_fn_config_program netstat enable_netstat
install,po
15990 wine_fn_config_program ngen enable_ngen
install
15991 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
15992 wine_fn_config_program oleview enable_oleview
install,po
15993 wine_fn_config_program
ping enable_ping
install
15994 wine_fn_config_program plugplay enable_plugplay
install
15995 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
15996 wine_fn_config_program progman enable_progman
install,po
15997 wine_fn_config_program reg enable_reg
install,po
15998 wine_fn_config_program regasm enable_regasm
install
15999 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
16000 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
16001 wine_fn_config_program regsvcs enable_regsvcs
install
16002 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
16003 wine_fn_config_program rpcss enable_rpcss
install
16004 wine_fn_config_program rundll.exe16 enable_win16
install
16005 wine_fn_config_program rundll32 enable_rundll32
install
16006 wine_fn_config_program sc enable_sc
install
16007 wine_fn_config_program schtasks enable_schtasks
install
16008 wine_fn_config_program secedit enable_secedit
install
16009 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
16010 wine_fn_config_program services enable_services
install
16011 wine_fn_config_test programs
/services
/tests services.exe_test
16012 wine_fn_config_program spoolsv enable_spoolsv
install
16013 wine_fn_config_program start enable_start
install,po
16014 wine_fn_config_program svchost enable_svchost
install
16015 wine_fn_config_program taskkill enable_taskkill
install,po
16016 wine_fn_config_program taskmgr enable_taskmgr
install,po
16017 wine_fn_config_program termsv enable_termsv
install
16018 wine_fn_config_program uninstaller enable_uninstaller
install,po
16019 wine_fn_config_program unlodctr enable_unlodctr
install
16020 wine_fn_config_program view enable_view
install,po
16021 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
16022 wine_fn_config_program winebrowser enable_winebrowser
install
16023 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
16024 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
16025 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
16026 wine_fn_config_program winedevice enable_winedevice
install
16027 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
16028 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
16029 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
16030 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
16031 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
16032 wine_fn_config_program winetest enable_winetest
16033 wine_fn_config_program winevdm enable_win16
install
16034 wine_fn_config_program winhelp.exe16 enable_win16
install
16035 wine_fn_config_program winhlp32 enable_winhlp32
install,po
16036 wine_fn_config_program winoldap.mod16 enable_win16
install
16037 wine_fn_config_program winver enable_winver
install
16038 wine_fn_config_program wmic enable_wmic
install,po
16039 wine_fn_config_program wordpad enable_wordpad
install,po
16040 wine_fn_config_program
write enable_write
install,po
16041 wine_fn_config_program wscript enable_wscript
install
16042 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
16043 wine_fn_config_program wusa enable_wusa
install
16044 wine_fn_config_program xcopy enable_xcopy
install,po
16045 wine_fn_config_makefile server enable_server install-lib
,manpage
16046 wine_fn_config_tool tools install-dev
,install-lib
,manpage
16047 wine_fn_config_tool tools
/widl install-dev
,manpage
16048 wine_fn_config_tool tools
/winebuild install-dev
,manpage
16049 wine_fn_config_tool tools
/winedump install-dev
,manpage
16050 wine_fn_config_tool tools
/winegcc install-dev
,manpage
16051 wine_fn_config_tool tools
/wmc install-dev
,manpage
16052 wine_fn_config_tool tools
/wrc install-dev
,manpage
16102 ac_config_commands
="$ac_config_commands Makefile"
16105 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16109 if test "x$enable_maintainer_mode" = xyes
16111 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(srcdir)/configure: configure.ac aclocal.m4
16112 cd \$(srcdir) && autoconf --warnings=all
16113 \$(srcdir)/include/config.h.in: include/stamp-h.in
16114 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16115 cd \$(srcdir) && autoheader --warnings=all
16116 @echo timestamp > \$@"
16119 if test "x$with_gettextpo" = xyes
16121 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16122 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"ALL_POT_FILES =$ALL_POT_FILES
16123 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16124 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16125 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16126 msgcat -o \$@ \$(ALL_POT_FILES)"
16129 if test "$MSGFMT" != false
16131 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
16133 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: \$(ALL_MO_FILES)"
16138 if test "x$enable_tools" != xno
16140 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(MAKEDEP): tools/Makefile
16142 \$(RM) tools/makedep\$(EXEEXT)"
16145 if test -n "$with_wine64"
16147 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16148 fonts server tools:
16149 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16150 $with_wine64/loader/wine:
16151 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16152 $with_wine64/loader/wine-preloader:
16153 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16155 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16158 cat >confcache
<<\_ACEOF
16159 # This file is a shell script that caches the results of configure
16160 # tests run on this system so they can be shared between configure
16161 # scripts and configure runs, see configure's option --config-cache.
16162 # It is not useful on other systems. If it contains results you don't
16163 # want to keep, you may remove or edit it.
16165 # config.status only pays attention to the cache file if you give it
16166 # the --recheck option to rerun configure.
16168 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16169 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16170 # following values.
16174 # The following way of writing the cache mishandles newlines in values,
16175 # but we know of no workaround that is simple, portable, and efficient.
16176 # So, we kill variables containing newlines.
16177 # Ultrix sh set writes to stderr and can't be redirected directly,
16178 # and sets the high bit in the cache file unless we assign to the vars.
16180 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16181 eval ac_val
=\$
$ac_var
16185 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16186 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16189 _ | IFS | as_nl
) ;; #(
16190 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16191 *) { eval $ac_var=; unset $ac_var;} ;;
16197 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16198 *${as_nl}ac_space
=\
*)
16199 # `set' does not quote correctly, so add quotes: double-quote
16200 # substitution turns \\\\ into \\, and sed turns \\ into \.
16203 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16206 # `set' quotes correctly as required by POSIX, so do not add quotes.
16207 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16216 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16218 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16220 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16221 if test -w "$cache_file"; then
16222 if test "x$cache_file" != "x/dev/null"; then
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16224 $as_echo "$as_me: updating cache $cache_file" >&6;}
16225 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16226 cat confcache
>"$cache_file"
16228 case $cache_file in #(
16230 mv -f confcache
"$cache_file"$$
&&
16231 mv -f "$cache_file"$$
"$cache_file" ;; #(
16233 mv -f confcache
"$cache_file" ;;
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16239 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16244 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16245 # Let make expand exec_prefix.
16246 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16248 DEFS
=-DHAVE_CONFIG_H
16253 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16254 # 1. Remove the extension, and $U if already installed.
16255 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16256 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16257 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16258 # will be set to the directory where LIBOBJS objects are built.
16259 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16260 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16262 LIBOBJS
=$ac_libobjs
16264 LTLIBOBJS
=$ac_ltlibobjs
16268 : "${CONFIG_STATUS=./config.status}"
16270 ac_clean_files_save
=$ac_clean_files
16271 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16273 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16275 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16277 # Generated by $as_me.
16278 # Run this file to recreate the current configuration.
16279 # Compiler output produced by configure, useful for debugging
16280 # configure, is in config.log if it exists.
16283 ac_cs_recheck=false
16286 SHELL=\${CONFIG_SHELL-$SHELL}
16289 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16290 ## -------------------- ##
16291 ## M4sh Initialization. ##
16292 ## -------------------- ##
16294 # Be more Bourne compatible
16295 DUALCASE
=1; export DUALCASE
# for MKS sh
16296 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16299 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16300 # is contrary to our usage. Disable this feature.
16301 alias -g '${1+"$@"}'='"$@"'
16302 setopt NO_GLOB_SUBST
16304 case `(set -o) 2>/dev/null` in #(
16316 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16317 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16318 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16319 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16320 # Prefer a ksh shell builtin over an external printf program on Solaris,
16321 # but without wasting forks for bash or zsh.
16322 if test -z "$BASH_VERSION$ZSH_VERSION" \
16323 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16324 as_echo='print
-r --'
16325 as_echo_n='print
-rn --'
16326 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16327 as_echo='printf %s
\n'
16328 as_echo_n='printf %s
'
16330 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16331 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16332 as_echo_n='/usr
/ucb
/echo -n'
16334 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16335 as_echo_n_body='eval
16339 expr "X$arg" : "X\\(.*\\)$as_nl";
16340 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16342 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16344 export as_echo_n_body
16345 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16347 export as_echo_body
16348 as_echo='sh
-c $as_echo_body as_echo
'
16351 # The user is always right.
16352 if test "${PATH_SEPARATOR+set}" != set; then
16354 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16355 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16362 # We need space, tab and new line, in precisely that order. Quoting is
16363 # there to prevent editors from complaining about space-tab.
16364 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16365 # splitting by setting IFS to empty value.)
16368 # Find who we are. Look in the path if we contain no directory separator.
16371 *[\\/]* ) as_myself=$0 ;;
16372 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16373 for as_dir in $PATH
16376 test -z "$as_dir" && as_dir=.
16377 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16383 # We did not find ourselves, most probably we were run as `sh COMMAND'
16384 # in which case we are not to be found in the path.
16385 if test "x$as_myself" = x
; then
16388 if test ! -f "$as_myself"; then
16389 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16393 # Unset variables that we do not need and which cause bugs (e.g. in
16394 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16395 # suppresses any "Segmentation fault" message there. '((' could
16396 # trigger a bug in pdksh 5.2.14.
16397 for as_var
in BASH_ENV ENV MAIL MAILPATH
16398 do eval test x\
${$as_var+set} = xset \
16399 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16412 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16416 # ----------------------------------------
16417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16419 # script with STATUS, using 1 if that was 0.
16422 as_status
=$1; test $as_status -eq 0 && as_status
=1
16424 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16427 $as_echo "$as_me: error: $2" >&2
16428 as_fn_exit
$as_status
16432 # as_fn_set_status STATUS
16433 # -----------------------
16434 # Set $? to STATUS, without forking.
16435 as_fn_set_status
()
16438 } # as_fn_set_status
16440 # as_fn_exit STATUS
16441 # -----------------
16442 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16446 as_fn_set_status
$1
16452 # Portably unset VAR.
16455 { eval $1=; unset $1;}
16457 as_unset
=as_fn_unset
16458 # as_fn_append VAR VALUE
16459 # ----------------------
16460 # Append the text in VALUE to the end of the definition contained in VAR. Take
16461 # advantage of any shell optimizations that allow amortized linear growth over
16462 # repeated appends, instead of the typical quadratic growth present in naive
16464 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16465 eval 'as_fn_append ()
16476 # as_fn_arith ARG...
16477 # ------------------
16478 # Perform arithmetic evaluation on the ARGs, and store the result in the
16479 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16480 # must be portable across $(()) and expr.
16481 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16482 eval 'as_fn_arith ()
16489 as_val
=`expr "$@" || test $? -eq 1`
16494 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16495 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16501 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16502 as_basename
=basename
16507 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16513 as_me
=`$as_basename -- "$0" ||
16514 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16515 X"$0" : 'X\(//\)$' \| \
16516 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16518 sed '/^.*\/\([^/][^/]*\)\/*$/{
16532 # Avoid depending upon Character Ranges.
16533 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16534 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16535 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16536 as_cr_digits
='0123456789'
16537 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16539 ECHO_C
= ECHO_N
= ECHO_T
=
16540 case `echo -n x` in #(((((
16542 case `echo 'xy\c'` in
16543 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16545 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16552 rm -f conf$$ conf$$.exe conf$$.
file
16553 if test -d conf$$.dir
; then
16554 rm -f conf$$.dir
/conf$$.
file
16557 mkdir conf$$.dir
2>/dev
/null
16559 if (echo >conf$$.
file) 2>/dev
/null
; then
16560 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16562 # ... but there are two gotchas:
16563 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16564 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16565 # In both cases, we have to default to `cp -pR'.
16566 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16568 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16576 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16577 rmdir conf$$.dir
2>/dev
/null
16582 # Create "$as_dir" as a directory, including parents if necessary.
16587 -*) as_dir
=.
/$as_dir;;
16589 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16593 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16594 *) as_qdir
=$as_dir;;
16596 as_dirs
="'$as_qdir' $as_dirs"
16597 as_dir
=`$as_dirname -- "$as_dir" ||
16598 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16599 X"$as_dir" : 'X\(//\)[^/]' \| \
16600 X"$as_dir" : 'X\(//\)$' \| \
16601 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16602 $as_echo X"$as_dir" |
16603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16607 /^X\(\/\/\)[^/].*/{
16620 test -d "$as_dir" && break
16622 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16623 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16627 if mkdir
-p .
2>/dev
/null
; then
16628 as_mkdir_p
='mkdir -p "$as_dir"'
16630 test -d .
/-p && rmdir .
/-p
16635 # as_fn_executable_p FILE
16636 # -----------------------
16637 # Test if FILE is an executable regular file.
16638 as_fn_executable_p
()
16640 test -f "$1" && test -x "$1"
16641 } # as_fn_executable_p
16642 as_test_x
='test -x'
16643 as_executable_p
=as_fn_executable_p
16645 # Sed expression to map a string onto a valid CPP name.
16646 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16648 # Sed expression to map a string onto a valid variable name.
16649 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16653 ## ----------------------------------- ##
16654 ## Main body of $CONFIG_STATUS script. ##
16655 ## ----------------------------------- ##
16657 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16660 # Save the log message, to keep $0 and so on meaningful, and to
16661 # report actual input values of CONFIG_FILES etc. instead of their
16662 # values after options handling.
16664 This file was extended by Wine $as_me 1.5.21, which was
16665 generated by GNU Autoconf 2.69. Invocation command line was
16667 CONFIG_FILES = $CONFIG_FILES
16668 CONFIG_HEADERS = $CONFIG_HEADERS
16669 CONFIG_LINKS = $CONFIG_LINKS
16670 CONFIG_COMMANDS = $CONFIG_COMMANDS
16673 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16678 case $ac_config_files in *"
16679 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16682 case $ac_config_headers in *"
16683 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16688 # Files that config.status was made for.
16689 config_files="$ac_config_files"
16690 config_headers="$ac_config_headers"
16691 config_links="$ac_config_links"
16692 config_commands="$ac_config_commands"
16696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16698 \`$as_me' instantiates files and other configuration actions
16699 from templates according to the current configuration. Unless the files
16700 and actions are specified as TAGs, all are instantiated by default.
16702 Usage: $0 [OPTION]... [TAG]...
16704 -h, --help print this help, then exit
16705 -V, --version print version number and configuration settings, then exit
16706 --config print configuration, then exit
16707 -q, --quiet, --silent
16708 do not print progress messages
16709 -d, --debug don't remove temporary files
16710 --recheck update $as_me by reconfiguring in the same conditions
16711 --file=FILE[:TEMPLATE]
16712 instantiate the configuration file FILE
16713 --header=FILE[:TEMPLATE]
16714 instantiate the configuration header FILE
16716 Configuration files:
16719 Configuration headers:
16722 Configuration links:
16725 Configuration commands:
16728 Report bugs to <wine-devel@winehq.org>.
16729 Wine home page: <http://www.winehq.org>."
16732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16733 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16735 Wine config.status 1.5.21
16736 configured by $0, generated by GNU Autoconf 2.69,
16737 with options \\"\$ac_cs_config\\"
16739 Copyright (C) 2012 Free Software Foundation, Inc.
16740 This config.status script is free software; the Free Software Foundation
16741 gives unlimited permission to copy, distribute and modify it."
16746 test -n "\$AWK" || AWK=awk
16749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16750 # The default lists apply if the user does not specify any file.
16756 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16757 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16761 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16773 # Handling of the options.
16774 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16776 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16777 $as_echo "$ac_cs_version"; exit ;;
16778 --config |
--confi |
--conf |
--con |
--co |
--c )
16779 $as_echo "$ac_cs_config"; exit ;;
16780 --debug |
--debu |
--deb |
--de |
--d |
-d )
16782 --file |
--fil |
--fi |
--f )
16785 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16786 '') as_fn_error $?
"missing file argument" ;;
16788 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16789 ac_need_defaults
=false
;;
16790 --header |
--heade |
--head |
--hea )
16793 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16795 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16796 ac_need_defaults
=false
;;
16798 # Conflict between --help and --header
16799 as_fn_error $?
"ambiguous option: \`$1'
16800 Try \`$0 --help' for more information.";;
16801 --help |
--hel |
-h )
16802 $as_echo "$ac_cs_usage"; exit ;;
16803 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16804 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16807 # This is an error.
16808 -*) as_fn_error $?
"unrecognized option: \`$1'
16809 Try \`$0 --help' for more information." ;;
16811 *) as_fn_append ac_config_targets
" $1"
16812 ac_need_defaults
=false
;;
16818 ac_configure_extra_args
=
16820 if $ac_cs_silent; then
16822 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16827 if \$ac_cs_recheck; then
16828 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16830 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16831 CONFIG_SHELL='$SHELL'
16832 export CONFIG_SHELL
16837 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16841 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16842 ## Running $as_me. ##
16848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16852 wine_fn_output_makefile ()
16854 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16855 $ALL_MAKEFILE_DEPENDS
16857 as_fn_error $? "could not create Makefile" "$LINENO" 5
16862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16864 # Handling of arguments.
16865 for ac_config_target
in $ac_config_targets
16867 case $ac_config_target in
16868 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
16869 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
16870 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16871 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16872 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16873 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16874 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16875 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16876 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
16877 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16878 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
16879 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
16880 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
16881 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16882 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16883 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16884 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
16885 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16886 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
16887 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
16888 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
16889 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
16890 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16891 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
16892 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
16893 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16895 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16900 # If the user did not use the arguments to specify the items to instantiate,
16901 # then the envvar interface is used. Set only those that are not.
16902 # We use the long form for the default assignment because of an extremely
16903 # bizarre bug on SunOS 4.1.3.
16904 if $ac_need_defaults; then
16905 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16906 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16907 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
16908 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16911 # Have a temporary directory for convenience. Make it in the build tree
16912 # simply because there is no reason against having it here, and in addition,
16913 # creating and moving files from /tmp can sometimes cause problems.
16914 # Hook for its removal unless debugging.
16915 # Note that there is a small window in which the directory will not be cleaned:
16916 # after its creation but before its name has been assigned to `$tmp'.
16920 trap 'exit_status=$?
16921 : "${ac_tmp:=$tmp}"
16922 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16924 trap 'as_fn_exit 1' 1 2 13 15
16926 # Create a (secure) tmp directory for tmp files.
16929 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16933 tmp
=.
/conf$$
-$RANDOM
16934 (umask 077 && mkdir
"$tmp")
16935 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16938 # Set up the scripts for CONFIG_FILES section.
16939 # No need to generate them if there are no CONFIG_FILES.
16940 # This happens for instance with `./config.status config.h'.
16941 if test -n "$CONFIG_FILES"; then
16943 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16944 ac_cs_awk_getline
=:
16945 ac_cs_awk_pipe_init
=
16946 ac_cs_awk_read_file
='
16947 while ((getline aline < (F[key])) > 0)
16950 ac_cs_awk_pipe_fini
=
16952 ac_cs_awk_getline
=false
16953 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16954 ac_cs_awk_read_file
='
16956 print "cat " F[key] " &&"
16957 '$ac_cs_awk_pipe_init
16958 # The final `:' finishes the AND list.
16959 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16961 ac_cr
=`echo X | tr X '\015'`
16962 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16963 # But we know of no other shell where ac_cr would be empty at this
16964 # point, so we can use a bashism as a fallback.
16965 if test "x$ac_cr" = x
; then
16966 eval ac_cr
=\$
\'\\r
\'
16968 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16969 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16972 ac_cs_awk_cr
=$ac_cr
16975 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16978 # Create commands to substitute file output variables.
16980 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16981 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16982 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16985 } >conf$
$files.sh
&&
16986 . .
/conf$
$files.sh ||
16987 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16988 rm -f conf$
$files.sh
16991 echo "cat >conf$$subs.awk <<_ACEOF" &&
16992 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16994 } >conf$$subs.sh ||
16995 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16996 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16998 for ac_last_try in false false false false false :; do
16999 . ./conf$$subs.sh ||
17000 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17002 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17003 if test $ac_delim_n = $ac_delim_num; then
17005 elif $ac_last_try; then
17006 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17008 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17011 rm -f conf$$subs.sh
17013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17014 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17018 s/^/S["/; s
/!.
*/"]=/
17028 s/\(.\{148\}\)..*/\1/
17030 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17035 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17042 s/\(.\{148\}\)..*/\1/
17044 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17048 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17053 ' <conf$$subs.awk | sed '
17058 ' >>$CONFIG_STATUS || ac_write_fail=1
17059 rm -f conf$$subs.awk
17060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17062 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17063 for (key in S) S_is_set[key] = 1
17065 \$ac_cs_awk_pipe_init
17069 nfields = split(line, field, "@
")
17071 len = length(field[1])
17072 for (i = 2; i < nfields; i++) {
17074 keylen = length(key)
17075 if (S_is_set[key]) {
17077 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17078 len += length(value) + length(field[++i])
17083 if (nfields == 3 && !substed) {
17085 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17086 \$ac_cs_awk_read_file
17092 \$ac_cs_awk_pipe_fini
17095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17096 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17097 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17100 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17101 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17104 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17105 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17106 # trailing colons and then remove the whole line if VPATH becomes empty
17107 # (actually we leave an empty line to preserve line numbers).
17108 if test "x
$srcdir" = x.; then
17109 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17128 fi # test -n "$CONFIG_FILES"
17130 # Set up the scripts for CONFIG_HEADERS section.
17131 # No need to generate them if there are no CONFIG_HEADERS.
17132 # This happens for instance with `./config.status Makefile'.
17133 if test -n "$CONFIG_HEADERS"; then
17134 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17138 # Transform confdefs.h into an awk script `defines.awk', embedded as
17139 # here-document in config.status, that substitutes the proper values into
17140 # config.h.in to produce config.h.
17142 # Create a delimiter string that does not exist in confdefs.h, to ease
17143 # handling of long lines.
17145 for ac_last_try in false false :; do
17146 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17147 if test -z "$ac_tt"; then
17149 elif $ac_last_try; then
17150 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17152 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17156 # For the awk script, D is an array of macro values keyed by name,
17157 # likewise P contains macro parameters if any. Preserve backslash
17158 # newline sequences.
17160 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17162 s/.\{148\}/&'"$ac_delim"'/g
17165 s/^[ ]*#[ ]*define[ ][ ]*/ /
17172 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17174 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17178 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17179 D["\
1"]=" \
3\\\\\\n
"\\/p
17181 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17186 s/.\{148\}/&'"$ac_delim"'/g
17191 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17194 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17196 ' <confdefs.h | sed '
17197 s/'"$ac_delim"'/"\\\
17198 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17201 for (key in D) D_is_set[key] = 1
17204 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17206 split(line, arg, " ")
17207 if (arg[1] == "#") {
17211 defundef
= substr
(arg
[1], 2)
17214 split(mac1
, mac2
, "(") #)
17216 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17217 if (D_is_set
[macro
]) {
17218 # Preserve the white space surrounding the "#".
17219 print prefix
"define", macro P
[macro
] D
[macro
]
17222 # Replace #undef with comments. This is necessary, for example,
17223 # in the case of _POSIX_SOURCE, which is predefined and required
17224 # on some systems where configure will not decide to define it.
17225 if (defundef
== "undef") {
17226 print
"/*", prefix defundef
, macro
, "*/"
17234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17235 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17236 fi # test -n "$CONFIG_HEADERS"
17239 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17244 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17246 case $ac_mode$ac_tag in
17248 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17249 :[FH
]-) ac_tag
=-:-;;
17250 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17267 -) ac_f
="$ac_tmp/stdin";;
17268 *) # Look for the file first in the build tree, then in the source tree
17269 # (if the path is not absolute). The absolute path cannot be DOS-style,
17270 # because $ac_f cannot contain `:'.
17274 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17276 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17278 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17279 as_fn_append ac_file_inputs
" '$ac_f'"
17282 # Let's still pretend it is `configure' which instantiates (i.e., don't
17283 # use $as_me), people would be surprised to read:
17284 # /* config.h. Generated by config.status. */
17285 configure_input
='Generated from '`
17286 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17288 if test x
"$ac_file" != x-
; then
17289 configure_input
="$ac_file. $configure_input"
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17291 $as_echo "$as_me: creating $ac_file" >&6;}
17293 # Neutralize special characters interpreted by sed in replacement strings.
17294 case $configure_input in #(
17295 *\
&* |
*\|
* |
*\\* )
17296 ac_sed_conf_input
=`$as_echo "$configure_input" |
17297 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17298 *) ac_sed_conf_input
=$configure_input;;
17302 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17303 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17308 ac_dir
=`$as_dirname -- "$ac_file" ||
17309 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17310 X"$ac_file" : 'X\(//\)[^/]' \| \
17311 X"$ac_file" : 'X\(//\)$' \| \
17312 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17313 $as_echo X"$ac_file" |
17314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17318 /^X\(\/\/\)[^/].*/{
17331 as_dir
="$ac_dir"; as_fn_mkdir_p
17335 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17337 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17338 # A ".." for each directory in $ac_dir_suffix.
17339 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17340 case $ac_top_builddir_sub in
17341 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17342 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17345 ac_abs_top_builddir
=$ac_pwd
17346 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17347 # for backward compatibility:
17348 ac_top_builddir
=$ac_top_build_prefix
17351 .
) # We are building in place.
17353 ac_top_srcdir
=$ac_top_builddir_sub
17354 ac_abs_top_srcdir
=$ac_pwd ;;
17355 [\\/]* | ?
:[\\/]* ) # Absolute name.
17356 ac_srcdir
=$srcdir$ac_dir_suffix;
17357 ac_top_srcdir
=$srcdir
17358 ac_abs_top_srcdir
=$srcdir ;;
17359 *) # Relative name.
17360 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17361 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17362 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17364 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17374 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17375 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17380 # If the template does not know about datarootdir, expand it.
17381 # FIXME: This hack should be removed a few years after 2.60.
17382 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17393 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17394 *datarootdir
*) ac_datarootdir_seen
=yes;;
17395 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17397 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17400 ac_datarootdir_hack='
17401 s&@datadir@&$datadir&g
17402 s&@docdir@&$docdir&g
17403 s&@infodir@&$infodir&g
17404 s&@localedir@&$localedir&g
17405 s&@mandir@&$mandir&g
17406 s&\\\${datarootdir}&$datarootdir&g' ;;
17410 # Neutralize VPATH when `$srcdir' = `.'.
17411 # Shell code in configure.ac might set extrasub.
17412 # FIXME: do we really want to maintain this feature?
17413 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17414 ac_sed_extra="$ac_vpsub
17417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17419 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17420 s|@configure_input@|
$ac_sed_conf_input|
;t t
17421 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17422 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17423 s
&@srcdir@
&$ac_srcdir&;t t
17424 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17425 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17426 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17427 s
&@builddir@
&$ac_builddir&;t t
17428 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17429 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17430 s
&@INSTALL@
&$ac_INSTALL&;t t
17431 $ac_datarootdir_hack
17433 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17434 if $ac_cs_awk_getline; then
17435 $AWK -f "$ac_tmp/subs.
awk"
17437 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
17439 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17441 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17442 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17443 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17444 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17446 which seems to be undefined. Please make sure it is defined" >&5
17447 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17448 which seems to be undefined. Please make sure it is defined" >&2;}
17450 rm -f "$ac_tmp/stdin"
17452 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17453 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17455 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17461 if test x"$ac_file" != x-; then
17463 $as_echo "/* $configure_input */" \
17464 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17465 } >"$ac_tmp/config.h" \
17466 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17467 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17469 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17472 mv "$ac_tmp/config.h" "$ac_file" \
17473 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17476 $as_echo "/* $configure_input */" \
17477 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17478 || as_fn_error $? "could not create -" "$LINENO" 5
17486 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
17489 # Prefer the file from the source tree if names are identical.
17490 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17491 ac_source=$srcdir/$ac_source
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17495 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17497 if test ! -r "$ac_source"; then
17498 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17502 # Try a relative symlink, then a hard link, then a copy.
17504 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17505 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17507 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17508 ln "$ac_source" "$ac_file" 2>/dev/null ||
17509 cp -p "$ac_source" "$ac_file" ||
17510 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17513 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17514 $as_echo "$as_me: executing $ac_file commands" >&6;}
17519 case $ac_file$ac_mode in
17520 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17521 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17522 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17523 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17524 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17525 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17526 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17527 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17528 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17529 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17530 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17531 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17532 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17533 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17534 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17535 "Makefile":C) wine_fn_output_makefile Makefile ;;
17543 ac_clean_files=$ac_clean_files_save
17545 test $ac_write_fail = 0 ||
17546 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17549 # configure is writing to config.log, and then calls config.status.
17550 # config.status does its own redirection, appending to config.log.
17551 # Unfortunately, on DOS this fails, as config.log is still kept open
17552 # by configure, so config.status won't be able to
write to it
; its
17553 # output is simply discarded. So we exec the FD to /dev/null,
17554 # effectively closing config.log, so it can be properly (re)opened and
17555 # appended to by config.status. When coming back to configure, we
17556 # need to make the FD available again.
17557 if test "$no_create" != yes; then
17559 ac_config_status_args
=
17560 test "$silent" = yes &&
17561 ac_config_status_args
="$ac_config_status_args --quiet"
17563 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17565 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17566 # would make configure fail if this is the last instruction.
17567 $ac_cs_success || as_fn_exit
1
17569 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17571 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17575 if test "$no_create" = "yes"
17581 if test "x$wine_notices != "x
; then
17584 for msg
in $wine_notices; do
17586 if test -n "$msg"; then
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17588 $as_echo "$as_me: $msg" >&6;}
17593 for msg
in $wine_warnings; do
17595 if test -n "$msg"; then
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17598 $as_echo "$as_me: WARNING: $msg" >&2;}
17604 $as_me: Finished. Do '${ac_make}' to compile Wine.