2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.5.29.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.5.29'
584 PACKAGE_STRING
='Wine 1.5.29'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
691 APPLICATIONSERVICESLIB
780 program_transform_name
791 ac_subst_files
='MAKE_RULES
797 enable_option_checking
801 enable_maintainer_mode
850 ac_precious_vars
='build_alias
883 # Initialize some variables set by options.
885 ac_init_version
=false
886 ac_unrecognized_opts
=
888 # The variables have the same names as the options, with
889 # dashes changed to underlines.
897 program_transform_name
=s
,x
,x
,
905 # Installation directory options.
906 # These are left unexpanded so users can "make install exec_prefix=/foo"
907 # and all the variables that are supposed to be based on exec_prefix
908 # by default will actually change.
909 # Use braces instead of parens because sh, perl, etc. also accept them.
910 # (The list follows the same order as the GNU Coding Standards.)
911 bindir
='${exec_prefix}/bin'
912 sbindir
='${exec_prefix}/sbin'
913 libexecdir
='${exec_prefix}/libexec'
914 datarootdir
='${prefix}/share'
915 datadir
='${datarootdir}'
916 sysconfdir
='${prefix}/etc'
917 sharedstatedir
='${prefix}/com'
918 localstatedir
='${prefix}/var'
919 includedir
='${prefix}/include'
920 oldincludedir
='/usr/include'
921 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
922 infodir
='${datarootdir}/info'
927 libdir
='${exec_prefix}/lib'
928 localedir
='${datarootdir}/locale'
929 mandir
='${datarootdir}/man'
935 # If the previous option needs an argument, assign it.
936 if test -n "$ac_prev"; then
937 eval $ac_prev=\
$ac_option
943 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
948 # Accept the important Cygnus configure options, so we can diagnose typos.
950 case $ac_dashdash$ac_option in
954 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
956 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
959 -build |
--build |
--buil |
--bui |
--bu)
960 ac_prev
=build_alias
;;
961 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
962 build_alias
=$ac_optarg ;;
964 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
965 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
966 ac_prev
=cache_file
;;
967 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
968 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
969 cache_file
=$ac_optarg ;;
972 cache_file
=config.cache
;;
974 -datadir |
--datadir |
--datadi |
--datad)
976 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
977 datadir
=$ac_optarg ;;
979 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
980 |
--dataroo |
--dataro |
--datar)
981 ac_prev
=datarootdir
;;
982 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
983 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
984 datarootdir
=$ac_optarg ;;
986 -disable-* |
--disable-*)
987 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
988 # Reject names that are not valid shell variable names.
989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
990 as_fn_error $?
"invalid feature name: $ac_useropt"
991 ac_useropt_orig
=$ac_useropt
992 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
993 case $ac_user_opts in
997 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
998 ac_unrecognized_sep
=', ';;
1000 eval enable_
$ac_useropt=no
;;
1002 -docdir |
--docdir |
--docdi |
--doc |
--do)
1004 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1005 docdir
=$ac_optarg ;;
1007 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1009 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1010 dvidir
=$ac_optarg ;;
1012 -enable-* |
--enable-*)
1013 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1014 # Reject names that are not valid shell variable names.
1015 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1016 as_fn_error $?
"invalid feature name: $ac_useropt"
1017 ac_useropt_orig
=$ac_useropt
1018 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1019 case $ac_user_opts in
1021 "enable_
$ac_useropt"
1023 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1024 ac_unrecognized_sep
=', ';;
1026 eval enable_
$ac_useropt=\
$ac_optarg ;;
1028 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1029 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1030 |
--exec |
--exe |
--ex)
1031 ac_prev
=exec_prefix
;;
1032 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1033 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1034 |
--exec=* |
--exe=* |
--ex=*)
1035 exec_prefix
=$ac_optarg ;;
1037 -gas |
--gas |
--ga |
--g)
1038 # Obsolete; use --with-gas.
1041 -help |
--help |
--hel |
--he |
-h)
1042 ac_init_help
=long
;;
1043 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1044 ac_init_help
=recursive
;;
1045 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1046 ac_init_help
=short
;;
1048 -host |
--host |
--hos |
--ho)
1049 ac_prev
=host_alias
;;
1050 -host=* |
--host=* |
--hos=* |
--ho=*)
1051 host_alias
=$ac_optarg ;;
1053 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1055 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1057 htmldir
=$ac_optarg ;;
1059 -includedir |
--includedir |
--includedi |
--included |
--include \
1060 |
--includ |
--inclu |
--incl |
--inc)
1061 ac_prev
=includedir
;;
1062 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1063 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1064 includedir
=$ac_optarg ;;
1066 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1068 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1069 infodir
=$ac_optarg ;;
1071 -libdir |
--libdir |
--libdi |
--libd)
1073 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1074 libdir
=$ac_optarg ;;
1076 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1077 |
--libexe |
--libex |
--libe)
1078 ac_prev
=libexecdir
;;
1079 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1080 |
--libexe=* |
--libex=* |
--libe=*)
1081 libexecdir
=$ac_optarg ;;
1083 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1084 ac_prev
=localedir
;;
1085 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1086 localedir
=$ac_optarg ;;
1088 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1089 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1090 ac_prev
=localstatedir
;;
1091 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1092 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1093 localstatedir
=$ac_optarg ;;
1095 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1097 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1098 mandir
=$ac_optarg ;;
1100 -nfp |
--nfp |
--nf)
1101 # Obsolete; use --without-fp.
1104 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1105 |
--no-cr |
--no-c |
-n)
1108 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1109 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1112 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1113 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1114 |
--oldin |
--oldi |
--old |
--ol |
--o)
1115 ac_prev
=oldincludedir
;;
1116 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1117 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1118 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1119 oldincludedir
=$ac_optarg ;;
1121 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1123 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1124 prefix
=$ac_optarg ;;
1126 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1127 |
--program-pre |
--program-pr |
--program-p)
1128 ac_prev
=program_prefix
;;
1129 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1130 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1131 program_prefix
=$ac_optarg ;;
1133 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1134 |
--program-suf |
--program-su |
--program-s)
1135 ac_prev
=program_suffix
;;
1136 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1137 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1138 program_suffix
=$ac_optarg ;;
1140 -program-transform-name |
--program-transform-name \
1141 |
--program-transform-nam |
--program-transform-na \
1142 |
--program-transform-n |
--program-transform- \
1143 |
--program-transform |
--program-transfor \
1144 |
--program-transfo |
--program-transf \
1145 |
--program-trans |
--program-tran \
1146 |
--progr-tra |
--program-tr |
--program-t)
1147 ac_prev
=program_transform_name
;;
1148 -program-transform-name=* |
--program-transform-name=* \
1149 |
--program-transform-nam=* |
--program-transform-na=* \
1150 |
--program-transform-n=* |
--program-transform-=* \
1151 |
--program-transform=* |
--program-transfor=* \
1152 |
--program-transfo=* |
--program-transf=* \
1153 |
--program-trans=* |
--program-tran=* \
1154 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1155 program_transform_name
=$ac_optarg ;;
1157 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1159 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1160 pdfdir
=$ac_optarg ;;
1162 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1164 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1167 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1168 |
-silent |
--silent |
--silen |
--sile |
--sil)
1171 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1173 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1175 sbindir
=$ac_optarg ;;
1177 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1178 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1179 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1181 ac_prev
=sharedstatedir
;;
1182 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1183 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1184 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1186 sharedstatedir
=$ac_optarg ;;
1188 -site |
--site |
--sit)
1190 -site=* |
--site=* |
--sit=*)
1193 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1195 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1196 srcdir
=$ac_optarg ;;
1198 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1199 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1200 ac_prev
=sysconfdir
;;
1201 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1202 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1203 sysconfdir
=$ac_optarg ;;
1205 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1206 ac_prev
=target_alias
;;
1207 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1208 target_alias
=$ac_optarg ;;
1210 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1213 -version |
--version |
--versio |
--versi |
--vers |
-V)
1214 ac_init_version
=: ;;
1217 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1218 # Reject names that are not valid shell variable names.
1219 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1220 as_fn_error $?
"invalid package name: $ac_useropt"
1221 ac_useropt_orig
=$ac_useropt
1222 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1223 case $ac_user_opts in
1227 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1228 ac_unrecognized_sep
=', ';;
1230 eval with_
$ac_useropt=\
$ac_optarg ;;
1232 -without-* |
--without-*)
1233 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1234 # Reject names that are not valid shell variable names.
1235 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1236 as_fn_error $?
"invalid package name: $ac_useropt"
1237 ac_useropt_orig
=$ac_useropt
1238 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1239 case $ac_user_opts in
1243 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1244 ac_unrecognized_sep
=', ';;
1246 eval with_
$ac_useropt=no
;;
1249 # Obsolete; use --with-x.
1252 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1253 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1254 ac_prev
=x_includes
;;
1255 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1256 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1257 x_includes
=$ac_optarg ;;
1259 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1260 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1261 ac_prev
=x_libraries
;;
1262 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1263 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1264 x_libraries
=$ac_optarg ;;
1266 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1267 Try \`$0 --help' for more information"
1271 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1272 # Reject names that are not valid shell variable names.
1273 case $ac_envvar in #(
1274 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1275 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1277 eval $ac_envvar=\
$ac_optarg
1278 export $ac_envvar ;;
1281 # FIXME: should be removed in autoconf 3.0.
1282 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1283 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1284 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1285 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1291 if test -n "$ac_prev"; then
1292 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1293 as_fn_error $?
"missing argument to $ac_option"
1296 if test -n "$ac_unrecognized_opts"; then
1297 case $enable_option_checking in
1299 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1300 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1304 # Check all directory arguments for consistency.
1305 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1306 datadir sysconfdir sharedstatedir localstatedir includedir \
1307 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1308 libdir localedir mandir
1310 eval ac_val
=\$
$ac_var
1311 # Remove trailing slashes.
1314 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1315 eval $ac_var=\
$ac_val;;
1317 # Be sure to have absolute directory names.
1319 [\\/$
]* | ?
:[\\/]* ) continue;;
1320 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1322 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1325 # There might be people who depend on the old broken behavior: `$host'
1326 # used to hold the argument of --host etc.
1327 # FIXME: To remove some day.
1330 target
=$target_alias
1332 # FIXME: To remove some day.
1333 if test "x$host_alias" != x
; then
1334 if test "x$build_alias" = x
; then
1335 cross_compiling
=maybe
1336 elif test "x$build_alias" != "x$host_alias"; then
1342 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1344 test "$silent" = yes && exec 6>/dev
/null
1347 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1348 ac_ls_di
=`ls -di .` &&
1349 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1350 as_fn_error $?
"working directory cannot be determined"
1351 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1352 as_fn_error $?
"pwd does not report name of working directory"
1355 # Find the source files, if location was not specified.
1356 if test -z "$srcdir"; then
1357 ac_srcdir_defaulted
=yes
1358 # Try the directory containing this script, then the parent directory.
1359 ac_confdir
=`$as_dirname -- "$as_myself" ||
1360 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1361 X"$as_myself" : 'X\(//\)[^/]' \| \
1362 X"$as_myself" : 'X\(//\)$' \| \
1363 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1364 $as_echo X"$as_myself" |
1365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1383 if test ! -r "$srcdir/$ac_unique_file"; then
1387 ac_srcdir_defaulted
=no
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1390 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1391 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1393 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1395 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1397 # When building in place, set srcdir=.
1398 if test "$ac_abs_confdir" = "$ac_pwd"; then
1401 # Remove unnecessary trailing slashes from srcdir.
1402 # Double slashes in file names in object file debugging info
1403 # mess up M-x gdb in Emacs.
1405 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1407 for ac_var
in $ac_precious_vars; do
1408 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1409 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1410 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1411 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1415 # Report the --help message.
1417 if test "$ac_init_help" = "long"; then
1418 # Omit some internal or obsolete options to make the list less imposing.
1419 # This message is too long to be a string in the A/UX 3.1 sh.
1421 \`configure' configures Wine 1.5.29 to adapt to many kinds of systems.
1423 Usage: $0 [OPTION]... [VAR=VALUE]...
1425 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1426 VAR=VALUE. See below for descriptions of some of the useful variables.
1428 Defaults for the options are specified in brackets.
1431 -h, --help display this help and exit
1432 --help=short display options specific to this package
1433 --help=recursive display the short help of all the included packages
1434 -V, --version display version information and exit
1435 -q, --quiet, --silent do not print \`checking ...' messages
1436 --cache-file=FILE cache test results in FILE [disabled]
1437 -C, --config-cache alias for \`--cache-file=config.cache'
1438 -n, --no-create do not create output files
1439 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1441 Installation directories:
1442 --prefix=PREFIX install architecture-independent files in PREFIX
1443 [$ac_default_prefix]
1444 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1447 By default, \`make install' will install all the files in
1448 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1449 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1450 for instance \`--prefix=\$HOME'.
1452 For better control, use the options below.
1454 Fine tuning of the installation directories:
1455 --bindir=DIR user executables [EPREFIX/bin]
1456 --sbindir=DIR system admin executables [EPREFIX/sbin]
1457 --libexecdir=DIR program executables [EPREFIX/libexec]
1458 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1459 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1460 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1461 --libdir=DIR object code libraries [EPREFIX/lib]
1462 --includedir=DIR C header files [PREFIX/include]
1463 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1464 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1465 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1466 --infodir=DIR info documentation [DATAROOTDIR/info]
1467 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1468 --mandir=DIR man documentation [DATAROOTDIR/man]
1469 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1470 --htmldir=DIR html documentation [DOCDIR]
1471 --dvidir=DIR dvi documentation [DOCDIR]
1472 --pdfdir=DIR pdf documentation [DOCDIR]
1473 --psdir=DIR ps documentation [DOCDIR]
1479 --x-includes=DIR X include files are
in DIR
1480 --x-libraries=DIR X library files are
in DIR
1483 --build=BUILD configure
for building on BUILD
[guessed
]
1484 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1488 if test -n "$ac_init_help"; then
1489 case $ac_init_help in
1490 short | recursive
) echo "Configuration of Wine 1.5.29:";;
1495 --disable-option-checking ignore unrecognized
--enable/--with options
1496 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1497 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1498 --disable-win16 do not include Win16 support
1499 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1501 --disable-tests do not build the regression tests
1502 --enable-maintainer-mode
1503 enable maintainer-specific build rules
1504 --disable-largefile omit support for large files
1507 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1508 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1509 --without-alsa do not use the Alsa sound support
1510 --without-capi do not use CAPI (ISDN support)
1511 --without-cms do not use CMS (color management support)
1512 --without-coreaudio do not use the CoreAudio sound support
1513 --without-cups do not use CUPS
1514 --without-curses do not use (n)curses
1515 --without-dbus do not use DBus (dynamic device support)
1516 --without-fontconfig do not use fontconfig
1517 --without-freetype do not use the FreeType library
1518 --without-gettext do not use gettext
1519 --with-gettextpo use the GetTextPO library to rebuild po files
1520 --without-gphoto do not use gphoto (Digital Camera support)
1521 --without-glu do not use the GLU library
1522 --without-gnutls do not use GnuTLS (schannel support)
1523 --without-gsm do not use libgsm (GSM 06.10 codec support)
1524 --without-gstreamer do not use GStreamer (codecs support)
1525 --without-hal do not use HAL (dynamic device support)
1526 --without-jpeg do not use JPEG
1527 --without-ldap do not use LDAP
1528 --without-mpg123 do not use the mpg123 library
1529 --without-openal do not use OpenAL
1530 --without-opencl do not use OpenCL
1531 --without-opengl do not use OpenGL
1532 --without-osmesa do not use the OSMesa library
1533 --without-oss do not use the OSS sound support
1534 --without-png do not use PNG
1535 --without-pthread do not use the pthread library
1536 --without-sane do not use SANE (scanner support)
1537 --without-tiff do not use TIFF
1538 --without-v4l do not use v4l1 (v4l support)
1539 --without-xcomposite do not use the Xcomposite extension
1540 --without-xcursor do not use the Xcursor extension
1541 --without-xinerama do not use Xinerama (multi-monitor support)
1542 --without-xinput do not use the Xinput extension
1543 --without-xinput2 do not use the Xinput 2 extension
1544 --without-xml do not use XML
1545 --without-xrandr do not use Xrandr (resolution changes)
1546 --without-xrender do not use the Xrender extension
1547 --without-xshape do not use the Xshape extension
1548 --without-xshm do not use XShm (shared memory extension)
1549 --without-xslt do not use XSLT
1550 --without-xxf86vm do not use XFree video mode extension
1551 --without-zlib do not use Zlib (data compression)
1552 --with-wine-tools=DIR use Wine tools from directory DIR
1553 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1554 --with-x use the X Window System
1556 Some influential environment variables:
1557 CC C compiler command
1558 CFLAGS C compiler flags
1559 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1560 nonstandard directory <lib dir>
1561 LIBS libraries to pass to the linker, e.g. -l<library>
1562 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1563 you have headers in a nonstandard directory <include dir>
1564 CXX C++ compiler command
1565 CXXFLAGS C++ compiler flags
1567 XMKMF Path to xmkmf, Makefile generator for X Window System
1568 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
1569 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
1570 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
1571 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
1572 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
1573 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
1574 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
1575 HAL_LIBS Linker flags for hal, overriding pkg-config
1577 C compiler flags for gnutls, overriding pkg-config
1578 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
1579 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
1580 SANE_LIBS Linker flags for libsane, overriding pkg-config
1582 C compiler flags for libgphoto2, overriding pkg-config
1584 Linker flags for libgphoto2, overriding pkg-config
1586 C compiler flags for freetype2, overriding pkg-config
1588 Linker flags for freetype2, overriding pkg-config
1590 C compiler flags for gstreamer-app-0.10, overriding pkg-config
1592 Linker flags for gstreamer-app-0.10, overriding pkg-config
1594 Use these variables to override the choices made by `configure' or to
help
1595 it to
find libraries and programs with nonstandard names
/locations.
1597 Report bugs to
<wine-devel@winehq.org
>.
1598 Wine home page
: <http
://www.winehq.org
>.
1603 if test "$ac_init_help" = "recursive"; then
1604 # If there are subdirs, report their specific --help.
1605 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1606 test -d "$ac_dir" ||
1607 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1612 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1614 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1615 # A ".." for each directory in $ac_dir_suffix.
1616 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1617 case $ac_top_builddir_sub in
1618 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1619 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1622 ac_abs_top_builddir
=$ac_pwd
1623 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1624 # for backward compatibility:
1625 ac_top_builddir
=$ac_top_build_prefix
1628 .
) # We are building in place.
1630 ac_top_srcdir
=$ac_top_builddir_sub
1631 ac_abs_top_srcdir
=$ac_pwd ;;
1632 [\\/]* | ?
:[\\/]* ) # Absolute name.
1633 ac_srcdir
=$srcdir$ac_dir_suffix;
1634 ac_top_srcdir
=$srcdir
1635 ac_abs_top_srcdir
=$srcdir ;;
1637 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1638 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1639 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1641 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1643 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1644 # Check for guested configure.
1645 if test -f "$ac_srcdir/configure.gnu"; then
1647 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1648 elif test -f "$ac_srcdir/configure"; then
1650 $SHELL "$ac_srcdir/configure" --help=recursive
1652 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1654 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1658 test -n "$ac_init_help" && exit $ac_status
1659 if $ac_init_version; then
1661 Wine configure
1.5.29
1662 generated by GNU Autoconf
2.69
1664 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1665 This configure
script is free software
; the Free Software Foundation
1666 gives unlimited permission to copy
, distribute and modify it.
1671 ## ------------------------ ##
1672 ## Autoconf initialization. ##
1673 ## ------------------------ ##
1675 # ac_fn_c_try_compile LINENO
1676 # --------------------------
1677 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1678 ac_fn_c_try_compile
()
1680 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1681 rm -f conftest.
$ac_objext
1682 if { { ac_try
="$ac_compile"
1684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1685 *) ac_try_echo=$ac_try;;
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689 (eval "$ac_compile") 2>conftest.err
1691 if test -s conftest.err; then
1692 grep -v '^ *+' conftest.err >conftest.er1
1693 cat conftest.er1 >&5
1694 mv -f conftest.er1 conftest.err
1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697 test $ac_status = 0; } && {
1698 test -z "$ac_c_werror_flag" ||
1699 test ! -s conftest.err
1700 } && test -s conftest.$ac_objext; then :
1703 $as_echo "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.$ac_ext >&5
1708 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1709 as_fn_set_status $ac_retval
1711 } # ac_fn_c_try_compile
1713 # ac_fn_cxx_try_compile LINENO
1714 # ----------------------------
1715 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1716 ac_fn_cxx_try_compile ()
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 rm -f conftest.$ac_objext
1720 if { { ac_try="$ac_compile"
1722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1723 *) ac_try_echo
=$ac_try;;
1725 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_compile") 2>conftest.err
1729 if test -s conftest.err
; then
1730 grep -v '^ *+' conftest.err
>conftest.er1
1731 cat conftest.er1
>&5
1732 mv -f conftest.er1 conftest.err
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; } && {
1736 test -z "$ac_cxx_werror_flag" ||
1737 test ! -s conftest.err
1738 } && test -s conftest.
$ac_objext; then :
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.
$ac_ext >&5
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747 as_fn_set_status
$ac_retval
1749 } # ac_fn_cxx_try_compile
1751 # ac_fn_c_try_link LINENO
1752 # -----------------------
1753 # Try to link conftest.$ac_ext, and return whether this succeeded.
1756 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1757 rm -f conftest.
$ac_objext conftest
$ac_exeext
1758 if { { ac_try
="$ac_link"
1760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1761 *) ac_try_echo=$ac_try;;
1763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1764 $as_echo "$ac_try_echo"; } >&5
1765 (eval "$ac_link") 2>conftest.err
1767 if test -s conftest.err; then
1768 grep -v '^ *+' conftest.err >conftest.er1
1769 cat conftest.er1 >&5
1770 mv -f conftest.er1 conftest.err
1772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1773 test $ac_status = 0; } && {
1774 test -z "$ac_c_werror_flag" ||
1775 test ! -s conftest.err
1776 } && test -s conftest$ac_exeext && {
1777 test "$cross_compiling" = yes ||
1778 test -x conftest$ac_exeext
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.$ac_ext >&5
1787 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1788 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1789 # interfere with the next link command; also delete a directory that is
1790 # left behind by Apple's compiler. We do this before executing the actions.
1791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793 as_fn_set_status $ac_retval
1795 } # ac_fn_c_try_link
1797 # ac_fn_c_try_cpp LINENO
1798 # ----------------------
1799 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 if { { ac_try="$ac_cpp conftest.$ac_ext"
1805 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1806 *) ac_try_echo
=$ac_try;;
1808 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1809 $as_echo "$ac_try_echo"; } >&5
1810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1812 if test -s conftest.err
; then
1813 grep -v '^ *+' conftest.err
>conftest.er1
1814 cat conftest.er1
>&5
1815 mv -f conftest.er1 conftest.err
1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818 test $ac_status = 0; } > conftest.i
&& {
1819 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1820 test ! -s conftest.err
1824 $as_echo "$as_me: failed program was:" >&5
1825 sed 's/^/| /' conftest.
$ac_ext >&5
1829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1830 as_fn_set_status
$ac_retval
1834 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1835 # -------------------------------------------------------
1836 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1837 # the include files in INCLUDES and setting the cache variable VAR
1839 ac_fn_c_check_header_mongrel
()
1841 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1842 if eval \
${$3+:} false
; then :
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1844 $as_echo_n "checking for $2... " >&6; }
1845 if eval \
${$3+:} false
; then :
1846 $as_echo_n "(cached) " >&6
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1850 $as_echo "$ac_res" >&6; }
1852 # Is the header compilable?
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1854 $as_echo_n "checking $2 usability... " >&6; }
1855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1856 /* end confdefs.h. */
1860 if ac_fn_c_try_compile
"$LINENO"; then :
1861 ac_header_compiler
=yes
1863 ac_header_compiler
=no
1865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1867 $as_echo "$ac_header_compiler" >&6; }
1869 # Is the header present?
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1871 $as_echo_n "checking $2 presence... " >&6; }
1872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1873 /* end confdefs.h. */
1876 if ac_fn_c_try_cpp
"$LINENO"; then :
1877 ac_header_preproc
=yes
1879 ac_header_preproc
=no
1881 rm -f conftest.err conftest.i conftest.
$ac_ext
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1883 $as_echo "$ac_header_preproc" >&6; }
1885 # So? What about this header?
1886 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1889 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1891 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1895 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1897 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1899 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1901 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1903 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1904 ( $as_echo "## ------------------------------------ ##
1905 ## Report this to wine-devel@winehq.org ##
1906 ## ------------------------------------ ##"
1907 ) |
sed "s/^/$as_me: WARNING: /" >&2
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1911 $as_echo_n "checking for $2... " >&6; }
1912 if eval \
${$3+:} false
; then :
1913 $as_echo_n "(cached) " >&6
1915 eval "$3=\$ac_header_compiler"
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1919 $as_echo "$ac_res" >&6; }
1921 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1923 } # ac_fn_c_check_header_mongrel
1925 # ac_fn_c_try_run LINENO
1926 # ----------------------
1927 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1928 # that executables *can* be run.
1931 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1932 if { { ac_try
="$ac_link"
1934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1935 *) ac_try_echo=$ac_try;;
1937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1938 $as_echo "$ac_try_echo"; } >&5
1939 (eval "$ac_link") 2>&5
1941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1942 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1943 { { case "(($ac_try" in
1944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1945 *) ac_try_echo
=$ac_try;;
1947 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1948 $as_echo "$ac_try_echo"; } >&5
1949 (eval "$ac_try") 2>&5
1951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1952 test $ac_status = 0; }; }; then :
1955 $as_echo "$as_me: program exited with status $ac_status" >&5
1956 $as_echo "$as_me: failed program was:" >&5
1957 sed 's/^/| /' conftest.
$ac_ext >&5
1959 ac_retval
=$ac_status
1961 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1963 as_fn_set_status
$ac_retval
1967 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1968 # -------------------------------------------------------
1969 # Tests whether HEADER exists and can be compiled using the include files in
1970 # INCLUDES, setting the cache variable VAR accordingly.
1971 ac_fn_c_check_header_compile
()
1973 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1975 $as_echo_n "checking for $2... " >&6; }
1976 if eval \
${$3+:} false
; then :
1977 $as_echo_n "(cached) " >&6
1979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1980 /* end confdefs.h. */
1984 if ac_fn_c_try_compile
"$LINENO"; then :
1989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1993 $as_echo "$ac_res" >&6; }
1994 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1996 } # ac_fn_c_check_header_compile
1998 # ac_fn_c_check_func LINENO FUNC VAR
1999 # ----------------------------------
2000 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2001 ac_fn_c_check_func
()
2003 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2005 $as_echo_n "checking for $2... " >&6; }
2006 if eval \
${$3+:} false
; then :
2007 $as_echo_n "(cached) " >&6
2009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2010 /* end confdefs.h. */
2011 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2013 #define $2 innocuous_$2
2015 /* System header to define __stub macros and hopefully few prototypes,
2016 which can conflict with char $2 (); below.
2017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2018 <limits.h> exists even on freestanding compilers. */
2021 # include <limits.h>
2023 # include <assert.h>
2028 /* Override any GCC internal prototype to avoid an error.
2029 Use char because int might match the return type of a GCC
2030 builtin and then its argument prototype would still apply. */
2035 /* The GNU C library defines this for functions which it implements
2036 to always fail with ENOSYS. Some functions are actually named
2037 something starting with __ and the normal name is an alias. */
2038 #if defined __stub_$2 || defined __stub___$2
2050 if ac_fn_c_try_link
"$LINENO"; then :
2055 rm -f core conftest.err conftest.
$ac_objext \
2056 conftest
$ac_exeext conftest.
$ac_ext
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2060 $as_echo "$ac_res" >&6; }
2061 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2063 } # ac_fn_c_check_func
2065 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2066 # ----------------------------------------------------
2067 # Tries to find if the field MEMBER exists in type AGGR, after including
2068 # INCLUDES, setting cache variable VAR accordingly.
2069 ac_fn_c_check_member
()
2071 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2073 $as_echo_n "checking for $2.$3... " >&6; }
2074 if eval \
${$4+:} false
; then :
2075 $as_echo_n "(cached) " >&6
2077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2078 /* end confdefs.h. */
2090 if ac_fn_c_try_compile
"$LINENO"; then :
2093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2094 /* end confdefs.h. */
2100 if (sizeof ac_aggr.$3)
2106 if ac_fn_c_try_compile
"$LINENO"; then :
2111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2117 $as_echo "$ac_res" >&6; }
2118 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2120 } # ac_fn_c_check_member
2122 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2123 # -------------------------------------------
2124 # Tests whether TYPE exists after having included INCLUDES, setting cache
2125 # variable VAR accordingly.
2126 ac_fn_c_check_type
()
2128 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2130 $as_echo_n "checking for $2... " >&6; }
2131 if eval \
${$3+:} false
; then :
2132 $as_echo_n "(cached) " >&6
2135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2147 if ac_fn_c_try_compile
"$LINENO"; then :
2148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2149 /* end confdefs.h. */
2160 if ac_fn_c_try_compile
"$LINENO"; then :
2165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2171 $as_echo "$ac_res" >&6; }
2172 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2174 } # ac_fn_c_check_type
2175 cat >config.log
<<_ACEOF
2176 This file contains any messages produced by compilers while
2177 running configure, to aid debugging if configure makes a mistake.
2179 It was created by Wine $as_me 1.5.29, which was
2180 generated by GNU Autoconf 2.69. Invocation command line was
2192 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2193 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2194 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2195 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2196 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2198 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2199 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2201 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2202 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2203 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2204 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2205 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2206 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2207 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2215 test -z "$as_dir" && as_dir
=.
2216 $as_echo "PATH: $as_dir"
2232 # Keep a trace of the command line.
2233 # Strip out --no-create and --no-recursion so they do not pile up.
2234 # Strip out --silent because we don't want to record it for future runs.
2235 # Also quote any args containing shell meta-characters.
2236 # Make two passes to allow for proper duplicate-argument suppression.
2240 ac_must_keep_next
=false
2246 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2247 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2248 |
-silent |
--silent |
--silen |
--sile |
--sil)
2251 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2254 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2256 as_fn_append ac_configure_args1
" '$ac_arg'"
2257 if test $ac_must_keep_next = true
; then
2258 ac_must_keep_next
=false
# Got value, back to normal.
2261 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2262 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2263 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2264 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2265 case "$ac_configure_args0 " in
2266 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2269 -* ) ac_must_keep_next
=true
;;
2272 as_fn_append ac_configure_args
" '$ac_arg'"
2277 { ac_configure_args0
=; unset ac_configure_args0
;}
2278 { ac_configure_args1
=; unset ac_configure_args1
;}
2280 # When interrupted or exit'd, cleanup temporary files, and complete
2281 # config.log. We remove comments because anyway the quotes in there
2282 # would cause problems or look ugly.
2283 # WARNING: Use '\'' to represent an apostrophe within the trap.
2284 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2285 trap 'exit_status=$?
2286 # Save into config.log some information that might help in debugging.
2290 $as_echo "## ---------------- ##
2291 ## Cache variables. ##
2292 ## ---------------- ##"
2294 # The following way of writing the cache mishandles newlines in values,
2296 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2297 eval ac_val=\$$ac_var
2301 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2302 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2305 _ | IFS | as_nl) ;; #(
2306 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2307 *) { eval $ac_var=; unset $ac_var;} ;;
2312 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2313 *${as_nl}ac_space=\ *)
2315 "s/'\''/'\''\\\\'\'''\''/g;
2316 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2319 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2326 $as_echo "## ----------------- ##
2327 ## Output variables. ##
2328 ## ----------------- ##"
2330 for ac_var in $ac_subst_vars
2332 eval ac_val=\$$ac_var
2334 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2336 $as_echo "$ac_var='\''$ac_val'\''"
2340 if test -n "$ac_subst_files"; then
2341 $as_echo "## ------------------- ##
2342 ## File substitutions. ##
2343 ## ------------------- ##"
2345 for ac_var
in $ac_subst_files
2347 eval ac_val
=\$
$ac_var
2349 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2351 $as_echo "$ac_var='\''$ac_val'\''"
2356 if test -s confdefs.h; then
2357 $as_echo "## ----------- ##
2364 test "$ac_signal" != 0 &&
2365 $as_echo "$as_me: caught signal $ac_signal"
2366 $as_echo "$as_me: exit $exit_status"
2368 rm -f core *.core core.conftest.* &&
2369 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2372 for ac_signal
in 1 2 13 15; do
2373 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2377 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2378 rm -f -r conftest
* confdefs.h
2380 $as_echo "/* confdefs.h */" > confdefs.h
2382 # Predefined preprocessor variables.
2384 cat >>confdefs.h
<<_ACEOF
2385 #define PACKAGE_NAME "$PACKAGE_NAME"
2388 cat >>confdefs.h
<<_ACEOF
2389 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2392 cat >>confdefs.h
<<_ACEOF
2393 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2396 cat >>confdefs.h
<<_ACEOF
2397 #define PACKAGE_STRING "$PACKAGE_STRING"
2400 cat >>confdefs.h
<<_ACEOF
2401 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2404 cat >>confdefs.h
<<_ACEOF
2405 #define PACKAGE_URL "$PACKAGE_URL"
2409 # Let the site file select an alternate cache file if it wants to.
2410 # Prefer an explicitly selected file to automatically selected ones.
2413 if test -n "$CONFIG_SITE"; then
2414 # We do not want a PATH search for config.site.
2415 case $CONFIG_SITE in #((
2416 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2417 */*) ac_site_file1
=$CONFIG_SITE;;
2418 *) ac_site_file1
=.
/$CONFIG_SITE;;
2420 elif test "x$prefix" != xNONE
; then
2421 ac_site_file1
=$prefix/share
/config.site
2422 ac_site_file2
=$prefix/etc
/config.site
2424 ac_site_file1
=$ac_default_prefix/share
/config.site
2425 ac_site_file2
=$ac_default_prefix/etc
/config.site
2427 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2429 test "x$ac_site_file" = xNONE
&& continue
2430 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2432 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2433 sed 's/^/| /' "$ac_site_file" >&5
2435 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2437 as_fn_error $?
"failed to load site script $ac_site_file
2438 See \`config.log' for more details" "$LINENO" 5; }
2442 if test -r "$cache_file"; then
2443 # Some versions of bash will fail to source /dev/null (special files
2444 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2445 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2447 $as_echo "$as_me: loading cache $cache_file" >&6;}
2449 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2450 *) .
"./$cache_file";;
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2455 $as_echo "$as_me: creating cache $cache_file" >&6;}
2459 # Check that the precious variables saved in the cache have kept the same
2461 ac_cache_corrupted
=false
2462 for ac_var
in $ac_precious_vars; do
2463 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2464 eval ac_new_set
=\
$ac_env_${ac_var}_set
2465 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2466 eval ac_new_val
=\
$ac_env_${ac_var}_value
2467 case $ac_old_set,$ac_new_set in
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2470 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2471 ac_cache_corrupted
=: ;;
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2474 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2475 ac_cache_corrupted
=: ;;
2478 if test "x$ac_old_val" != "x$ac_new_val"; then
2479 # differences in whitespace do not lead to failure.
2480 ac_old_val_w
=`echo x $ac_old_val`
2481 ac_new_val_w
=`echo x $ac_new_val`
2482 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2484 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2485 ac_cache_corrupted
=:
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2488 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2489 eval $ac_var=\
$ac_old_val
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2492 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2494 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2497 # Pass precious variables to config.status.
2498 if test "$ac_new_set" = set; then
2500 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2501 *) ac_arg
=$ac_var=$ac_new_val ;;
2503 case " $ac_configure_args " in
2504 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2505 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2509 if $ac_cache_corrupted; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2511 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2513 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2514 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2516 ## -------------------- ##
2517 ## Main body of script. ##
2518 ## -------------------- ##
2521 ac_cpp
='$CPP $CPPFLAGS'
2522 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2523 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2524 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2528 ac_config_headers
="$ac_config_headers include/config.h"
2531 for ac_dir
in tools
"$srcdir"/tools
; do
2532 if test -f "$ac_dir/install-sh"; then
2534 ac_install_sh
="$ac_aux_dir/install-sh -c"
2536 elif test -f "$ac_dir/install.sh"; then
2538 ac_install_sh
="$ac_aux_dir/install.sh -c"
2540 elif test -f "$ac_dir/shtool"; then
2542 ac_install_sh
="$ac_aux_dir/shtool install -c"
2546 if test -z "$ac_aux_dir"; then
2547 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2550 # These three variables are undocumented and unsupported,
2551 # and are intended to be withdrawn in a future Autoconf release.
2552 # They can cause serious problems if a builder's source tree is in a directory
2553 # whose full name contains unusual characters.
2554 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2555 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2556 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2562 # Check whether --enable-win16 was given.
2563 if test "${enable_win16+set}" = set; then :
2564 enableval
=$enable_win16;
2567 # Check whether --enable-win64 was given.
2568 if test "${enable_win64+set}" = set; then :
2569 enableval
=$enable_win64;
2572 # Check whether --enable-tests was given.
2573 if test "${enable_tests+set}" = set; then :
2574 enableval
=$enable_tests;
2577 # Check whether --enable-maintainer-mode was given.
2578 if test "${enable_maintainer_mode+set}" = set; then :
2579 enableval
=$enable_maintainer_mode;
2584 # Check whether --with-alsa was given.
2585 if test "${with_alsa+set}" = set; then :
2586 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2590 # Check whether --with-capi was given.
2591 if test "${with_capi+set}" = set; then :
2592 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2596 # Check whether --with-cms was given.
2597 if test "${with_cms+set}" = set; then :
2598 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
2602 # Check whether --with-coreaudio was given.
2603 if test "${with_coreaudio+set}" = set; then :
2604 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2608 # Check whether --with-cups was given.
2609 if test "${with_cups+set}" = set; then :
2614 # Check whether --with-curses was given.
2615 if test "${with_curses+set}" = set; then :
2616 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2620 # Check whether --with-dbus was given.
2621 if test "${with_dbus+set}" = set; then :
2626 # Check whether --with-fontconfig was given.
2627 if test "${with_fontconfig+set}" = set; then :
2628 withval
=$with_fontconfig;
2632 # Check whether --with-freetype was given.
2633 if test "${with_freetype+set}" = set; then :
2634 withval
=$with_freetype;
2638 # Check whether --with-gettext was given.
2639 if test "${with_gettext+set}" = set; then :
2640 withval
=$with_gettext;
2644 # Check whether --with-gettextpo was given.
2645 if test "${with_gettextpo+set}" = set; then :
2646 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
2650 # Check whether --with-gphoto was given.
2651 if test "${with_gphoto+set}" = set; then :
2652 withval
=$with_gphoto;
2656 # Check whether --with-glu was given.
2657 if test "${with_glu+set}" = set; then :
2662 # Check whether --with-gnutls was given.
2663 if test "${with_gnutls+set}" = set; then :
2664 withval
=$with_gnutls;
2668 # Check whether --with-gsm was given.
2669 if test "${with_gsm+set}" = set; then :
2670 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2674 # Check whether --with-gstreamer was given.
2675 if test "${with_gstreamer+set}" = set; then :
2676 withval
=$with_gstreamer;
2680 # Check whether --with-hal was given.
2681 if test "${with_hal+set}" = set; then :
2686 # Check whether --with-jpeg was given.
2687 if test "${with_jpeg+set}" = set; then :
2688 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2692 # Check whether --with-ldap was given.
2693 if test "${with_ldap+set}" = set; then :
2694 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2698 # Check whether --with-mpg123 was given.
2699 if test "${with_mpg123+set}" = set; then :
2700 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2704 # Check whether --with-openal was given.
2705 if test "${with_openal+set}" = set; then :
2706 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2710 # Check whether --with-opencl was given.
2711 if test "${with_opencl+set}" = set; then :
2712 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
2716 # Check whether --with-opengl was given.
2717 if test "${with_opengl+set}" = set; then :
2718 withval
=$with_opengl;
2722 # Check whether --with-osmesa was given.
2723 if test "${with_osmesa+set}" = set; then :
2724 withval
=$with_osmesa;
2728 # Check whether --with-oss was given.
2729 if test "${with_oss+set}" = set; then :
2734 # Check whether --with-png was given.
2735 if test "${with_png+set}" = set; then :
2736 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2740 # Check whether --with-pthread was given.
2741 if test "${with_pthread+set}" = set; then :
2742 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2746 # Check whether --with-sane was given.
2747 if test "${with_sane+set}" = set; then :
2752 # Check whether --with-tiff was given.
2753 if test "${with_tiff+set}" = set; then :
2754 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2758 # Check whether --with-v4l was given.
2759 if test "${with_v4l+set}" = set; then :
2764 # Check whether --with-xcomposite was given.
2765 if test "${with_xcomposite+set}" = set; then :
2766 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2770 # Check whether --with-xcursor was given.
2771 if test "${with_xcursor+set}" = set; then :
2772 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2776 # Check whether --with-xinerama was given.
2777 if test "${with_xinerama+set}" = set; then :
2778 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2782 # Check whether --with-xinput was given.
2783 if test "${with_xinput+set}" = set; then :
2784 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2788 # Check whether --with-xinput2 was given.
2789 if test "${with_xinput2+set}" = set; then :
2790 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
2794 # Check whether --with-xml was given.
2795 if test "${with_xml+set}" = set; then :
2800 # Check whether --with-xrandr was given.
2801 if test "${with_xrandr+set}" = set; then :
2802 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2806 # Check whether --with-xrender was given.
2807 if test "${with_xrender+set}" = set; then :
2808 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2812 # Check whether --with-xshape was given.
2813 if test "${with_xshape+set}" = set; then :
2814 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2818 # Check whether --with-xshm was given.
2819 if test "${with_xshm+set}" = set; then :
2820 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2824 # Check whether --with-xslt was given.
2825 if test "${with_xslt+set}" = set; then :
2830 # Check whether --with-xxf86vm was given.
2831 if test "${with_xxf86vm+set}" = set; then :
2832 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
2836 # Check whether --with-zlib was given.
2837 if test "${with_zlib+set}" = set; then :
2838 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
2843 # Check whether --with-wine-tools was given.
2844 if test "${with_wine_tools+set}" = set; then :
2845 withval
=$with_wine_tools;
2849 # Check whether --with-wine64 was given.
2850 if test "${with_wine64+set}" = set; then :
2851 withval
=$with_wine64;
2855 # Make sure we can run config.sub.
2856 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2857 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2860 $as_echo_n "checking build system type... " >&6; }
2861 if ${ac_cv_build+:} false
; then :
2862 $as_echo_n "(cached) " >&6
2864 ac_build_alias
=$build_alias
2865 test "x$ac_build_alias" = x
&&
2866 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2867 test "x$ac_build_alias" = x
&&
2868 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2869 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2870 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2874 $as_echo "$ac_cv_build" >&6; }
2875 case $ac_cv_build in
2877 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2880 ac_save_IFS
=$IFS; IFS
='-'
2886 # Remember, the first character of IFS is used to create $*,
2887 # except with old shells:
2890 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2894 $as_echo_n "checking host system type... " >&6; }
2895 if ${ac_cv_host+:} false
; then :
2896 $as_echo_n "(cached) " >&6
2898 if test "x$host_alias" = x
; then
2899 ac_cv_host
=$ac_cv_build
2901 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2902 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2907 $as_echo "$ac_cv_host" >&6; }
2910 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2913 ac_save_IFS
=$IFS; IFS
='-'
2919 # Remember, the first character of IFS is used to create $*,
2920 # except with old shells:
2923 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2929 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2930 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2931 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2937 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2939 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2940 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2941 $as_echo_n "(cached) " >&6
2943 cat >conftest.
make <<\_ACEOF
2946 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2948 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2949 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2951 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2953 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2957 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2959 $as_echo "yes" >&6; }
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2964 SET_MAKE
="MAKE=${MAKE-make}"
2968 ac_cpp
='$CPP $CPPFLAGS'
2969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2972 if test -n "$ac_tool_prefix"; then
2973 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2974 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2976 $as_echo_n "checking for $ac_word... " >&6; }
2977 if ${ac_cv_prog_CC+:} false
; then :
2978 $as_echo_n "(cached) " >&6
2980 if test -n "$CC"; then
2981 ac_cv_prog_CC
="$CC" # Let the user override the test.
2983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2987 test -z "$as_dir" && as_dir
=.
2988 for ac_exec_ext
in '' $ac_executable_extensions; do
2989 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2990 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3001 if test -n "$CC"; then
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3003 $as_echo "$CC" >&6; }
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3006 $as_echo "no" >&6; }
3011 if test -z "$ac_cv_prog_CC"; then
3013 # Extract the first word of "gcc", so it can be a program name with args.
3014 set dummy gcc
; ac_word
=$2
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3016 $as_echo_n "checking for $ac_word... " >&6; }
3017 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3018 $as_echo_n "(cached) " >&6
3020 if test -n "$ac_ct_CC"; then
3021 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3027 test -z "$as_dir" && as_dir
=.
3028 for ac_exec_ext
in '' $ac_executable_extensions; do
3029 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3030 ac_cv_prog_ac_ct_CC
="gcc"
3031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3040 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3041 if test -n "$ac_ct_CC"; then
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3043 $as_echo "$ac_ct_CC" >&6; }
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3046 $as_echo "no" >&6; }
3049 if test "x$ac_ct_CC" = x
; then
3052 case $cross_compiling:$ac_tool_warned in
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3056 ac_tool_warned
=yes ;;
3064 if test -z "$CC"; then
3065 if test -n "$ac_tool_prefix"; then
3066 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3067 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3069 $as_echo_n "checking for $ac_word... " >&6; }
3070 if ${ac_cv_prog_CC+:} false
; then :
3071 $as_echo_n "(cached) " >&6
3073 if test -n "$CC"; then
3074 ac_cv_prog_CC
="$CC" # Let the user override the test.
3076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3080 test -z "$as_dir" && as_dir
=.
3081 for ac_exec_ext
in '' $ac_executable_extensions; do
3082 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3083 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094 if test -n "$CC"; then
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3096 $as_echo "$CC" >&6; }
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3099 $as_echo "no" >&6; }
3105 if test -z "$CC"; then
3106 # Extract the first word of "cc", so it can be a program name with args.
3107 set dummy cc
; ac_word
=$2
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3109 $as_echo_n "checking for $ac_word... " >&6; }
3110 if ${ac_cv_prog_CC+:} false
; then :
3111 $as_echo_n "(cached) " >&6
3113 if test -n "$CC"; then
3114 ac_cv_prog_CC
="$CC" # Let the user override the test.
3117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3121 test -z "$as_dir" && as_dir
=.
3122 for ac_exec_ext
in '' $ac_executable_extensions; do
3123 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3124 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3125 ac_prog_rejected
=yes
3129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3136 if test $ac_prog_rejected = yes; then
3137 # We found a bogon in the path, so make sure we never use it.
3138 set dummy
$ac_cv_prog_CC
3140 if test $# != 0; then
3141 # We chose a different compiler from the bogus one.
3142 # However, it has the same basename, so the bogon will be chosen
3143 # first if we set CC to just the basename; use the full file name.
3145 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3151 if test -n "$CC"; then
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3153 $as_echo "$CC" >&6; }
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3156 $as_echo "no" >&6; }
3161 if test -z "$CC"; then
3162 if test -n "$ac_tool_prefix"; then
3163 for ac_prog
in cl.exe
3165 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3166 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3168 $as_echo_n "checking for $ac_word... " >&6; }
3169 if ${ac_cv_prog_CC+:} false
; then :
3170 $as_echo_n "(cached) " >&6
3172 if test -n "$CC"; then
3173 ac_cv_prog_CC
="$CC" # Let the user override the test.
3175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3179 test -z "$as_dir" && as_dir
=.
3180 for ac_exec_ext
in '' $ac_executable_extensions; do
3181 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3182 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3193 if test -n "$CC"; then
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3195 $as_echo "$CC" >&6; }
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3198 $as_echo "no" >&6; }
3202 test -n "$CC" && break
3205 if test -z "$CC"; then
3207 for ac_prog
in cl.exe
3209 # Extract the first word of "$ac_prog", so it can be a program name with args.
3210 set dummy
$ac_prog; ac_word
=$2
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3212 $as_echo_n "checking for $ac_word... " >&6; }
3213 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3214 $as_echo_n "(cached) " >&6
3216 if test -n "$ac_ct_CC"; then
3217 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3223 test -z "$as_dir" && as_dir
=.
3224 for ac_exec_ext
in '' $ac_executable_extensions; do
3225 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3226 ac_cv_prog_ac_ct_CC
="$ac_prog"
3227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3236 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3237 if test -n "$ac_ct_CC"; then
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3239 $as_echo "$ac_ct_CC" >&6; }
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242 $as_echo "no" >&6; }
3246 test -n "$ac_ct_CC" && break
3249 if test "x$ac_ct_CC" = x
; then
3252 case $cross_compiling:$ac_tool_warned in
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3256 ac_tool_warned
=yes ;;
3265 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3267 as_fn_error $?
"no acceptable C compiler found in \$PATH
3268 See \`config.log' for more details" "$LINENO" 5; }
3270 # Provide some information about the compiler.
3271 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3274 for ac_option
in --version -v -V -qversion; do
3275 { { ac_try
="$ac_compiler $ac_option >&5"
3277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3278 *) ac_try_echo=$ac_try;;
3280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3281 $as_echo "$ac_try_echo"; } >&5
3282 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3284 if test -s conftest.err; then
3286 ... rest of stderr output deleted ...
3287 10q' conftest.err >conftest.er1
3288 cat conftest.er1 >&5
3290 rm -f conftest.er1 conftest.err
3291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3292 test $ac_status = 0; }
3295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h. */
3306 ac_clean_files_save=$ac_clean_files
3307 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3308 # Try to create an executable without -o first, disregard a.out.
3309 # It will help us diagnose broken compilers, and finding out an intuition
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3312 $as_echo_n "checking whether the C compiler works... " >&6; }
3313 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3315 # The possible output files:
3316 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3319 for ac_file in $ac_files
3322 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3323 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3328 if { { ac_try="$ac_link_default"
3330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3331 *) ac_try_echo
=$ac_try;;
3333 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3334 $as_echo "$ac_try_echo"; } >&5
3335 (eval "$ac_link_default") 2>&5
3337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3338 test $ac_status = 0; }; then :
3339 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3340 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3341 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3342 # so that the user can short-circuit this test for compilers unknown to
3344 for ac_file
in $ac_files ''
3346 test -f "$ac_file" ||
continue
3348 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3351 # We found the default executable, but exeext='' is most
3355 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3357 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3359 # We set ac_cv_exeext here because the later test for it is not
3360 # safe: cross compilers may not add the suffix if given an `-o'
3361 # argument, so we may need to know it at that point already.
3362 # Even if this section looks crufty: it has the advantage of
3369 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3374 if test -z "$ac_file"; then :
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3376 $as_echo "no" >&6; }
3377 $as_echo "$as_me: failed program was:" >&5
3378 sed 's/^/| /' conftest.
$ac_ext >&5
3380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3382 as_fn_error
77 "C compiler cannot create executables
3383 See \`config.log' for more details" "$LINENO" 5; }
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3386 $as_echo "yes" >&6; }
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3389 $as_echo_n "checking for C compiler default output file name... " >&6; }
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3391 $as_echo "$ac_file" >&6; }
3392 ac_exeext
=$ac_cv_exeext
3394 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3395 ac_clean_files
=$ac_clean_files_save
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3397 $as_echo_n "checking for suffix of executables... " >&6; }
3398 if { { ac_try
="$ac_link"
3400 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3401 *) ac_try_echo=$ac_try;;
3403 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3404 $as_echo "$ac_try_echo"; } >&5
3405 (eval "$ac_link") 2>&5
3407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3408 test $ac_status = 0; }; then :
3409 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3410 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3411 # work properly (i.e., refer to `conftest.exe'), while it won't with
3413 for ac_file
in conftest.exe conftest conftest.
*; do
3414 test -f "$ac_file" ||
continue
3416 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3417 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3423 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3425 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3426 See \`config.log' for more details" "$LINENO" 5; }
3428 rm -f conftest conftest
$ac_cv_exeext
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3430 $as_echo "$ac_cv_exeext" >&6; }
3432 rm -f conftest.
$ac_ext
3433 EXEEXT
=$ac_cv_exeext
3435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3436 /* end confdefs.h. */
3441 FILE *f = fopen ("conftest.out", "w");
3442 return ferror (f) || fclose (f) != 0;
3448 ac_clean_files
="$ac_clean_files conftest.out"
3449 # Check that the compiler produces executables we can run. If not, either
3450 # the compiler is broken, or we cross compile.
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3452 $as_echo_n "checking whether we are cross compiling... " >&6; }
3453 if test "$cross_compiling" != yes; then
3454 { { ac_try
="$ac_link"
3456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3457 *) ac_try_echo=$ac_try;;
3459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3460 $as_echo "$ac_try_echo"; } >&5
3461 (eval "$ac_link") 2>&5
3463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3464 test $ac_status = 0; }
3465 if { ac_try='./conftest$ac_cv_exeext'
3466 { { case "(($ac_try" in
3467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3468 *) ac_try_echo
=$ac_try;;
3470 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3471 $as_echo "$ac_try_echo"; } >&5
3472 (eval "$ac_try") 2>&5
3474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3475 test $ac_status = 0; }; }; then
3478 if test "$cross_compiling" = maybe
; then
3481 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3483 as_fn_error $?
"cannot run C compiled programs.
3484 If you meant to cross compile, use \`--host'.
3485 See \`config.log' for more details" "$LINENO" 5; }
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3490 $as_echo "$cross_compiling" >&6; }
3492 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3493 ac_clean_files
=$ac_clean_files_save
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3495 $as_echo_n "checking for suffix of object files... " >&6; }
3496 if ${ac_cv_objext+:} false
; then :
3497 $as_echo_n "(cached) " >&6
3499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3500 /* end confdefs.h. */
3510 rm -f conftest.o conftest.obj
3511 if { { ac_try
="$ac_compile"
3513 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3514 *) ac_try_echo=$ac_try;;
3516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3517 $as_echo "$ac_try_echo"; } >&5
3518 (eval "$ac_compile") 2>&5
3520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3521 test $ac_status = 0; }; then :
3522 for ac_file in conftest.o conftest.obj conftest.*; do
3523 test -f "$ac_file" || continue;
3525 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3526 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3531 $as_echo "$as_me: failed program was:" >&5
3532 sed 's/^/| /' conftest.$ac_ext >&5
3534 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3536 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3537 See \
`config.log' for more details" "$LINENO" 5; }
3539 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3542 $as_echo "$ac_cv_objext" >&6; }
3543 OBJEXT=$ac_cv_objext
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3546 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3547 if ${ac_cv_c_compiler_gnu+:} false; then :
3548 $as_echo_n "(cached) " >&6
3550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551 /* end confdefs.h. */
3564 if ac_fn_c_try_compile "$LINENO"; then :
3569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3570 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3574 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3575 if test $ac_compiler_gnu = yes; then
3580 ac_test_CFLAGS=${CFLAGS+set}
3581 ac_save_CFLAGS=$CFLAGS
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3583 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3584 if ${ac_cv_prog_cc_g+:} false; then :
3585 $as_echo_n "(cached) " >&6
3587 ac_save_c_werror_flag=$ac_c_werror_flag
3588 ac_c_werror_flag=yes
3591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3592 /* end confdefs.h. */
3602 if ac_fn_c_try_compile "$LINENO"; then :
3606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3607 /* end confdefs.h. */
3617 if ac_fn_c_try_compile "$LINENO"; then :
3620 ac_c_werror_flag=$ac_save_c_werror_flag
3622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3623 /* end confdefs.h. */
3633 if ac_fn_c_try_compile "$LINENO"; then :
3636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3641 ac_c_werror_flag=$ac_save_c_werror_flag
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3644 $as_echo "$ac_cv_prog_cc_g" >&6; }
3645 if test "$ac_test_CFLAGS" = set; then
3646 CFLAGS=$ac_save_CFLAGS
3647 elif test $ac_cv_prog_cc_g = yes; then
3648 if test "$GCC" = yes; then
3654 if test "$GCC" = yes; then
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3661 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3662 if ${ac_cv_prog_cc_c89+:} false; then :
3663 $as_echo_n "(cached) " >&6
3665 ac_cv_prog_cc_c89=no
3667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3668 /* end confdefs.h. */
3672 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3673 struct buf { int x; };
3674 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3675 static char *e (p, i)
3681 static char *f (char * (*g) (char **, int), char **p, ...)
3686 s = g (p, va_arg (v,int));
3691 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3692 function prototypes and stuff, but not '\xHH' hex character constants.
3693 These don't provoke an error unfortunately, instead are silently treated
3694 as 'x'. The following induces an error, until -std is added to get
3695 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3696 array size at least. It's necessary to write '\x00'==0 to get something
3697 that's true only with -std. */
3698 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3700 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3701 inside strings and character constants. */
3703 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3705 int test (int i, double x);
3706 struct s1 {int (*f) (int a);};
3707 struct s2 {int (*f) (double a);};
3708 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3714 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3719 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3720 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3722 CC="$ac_save_CC $ac_arg"
3723 if ac_fn_c_try_compile "$LINENO"; then :
3724 ac_cv_prog_cc_c89=$ac_arg
3726 rm -f core conftest.err conftest.$ac_objext
3727 test "x$ac_cv_prog_cc_c89" != "xno" && break
3729 rm -f conftest.$ac_ext
3734 case "x$ac_cv_prog_cc_c89" in
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3737 $as_echo "none needed" >&6; } ;;
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3740 $as_echo "unsupported" >&6; } ;;
3742 CC="$CC $ac_cv_prog_cc_c89"
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3744 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3746 if test "x$ac_cv_prog_cc_c89" != xno; then :
3751 ac_cpp='$CPP $CPPFLAGS'
3752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3757 ac_cpp='$CXXCPP $CPPFLAGS'
3758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3761 if test -z "$CXX"; then
3762 if test -n "$CCC"; then
3765 if test -n "$ac_tool_prefix"; then
3766 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3768 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3769 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771 $as_echo_n "checking for $ac_word... " >&6; }
3772 if ${ac_cv_prog_CXX+:} false; then :
3773 $as_echo_n "(cached) " >&6
3775 if test -n "$CXX"; then
3776 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3782 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3785 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3796 if test -n "$CXX"; then
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3798 $as_echo "$CXX" >&6; }
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3801 $as_echo "no" >&6; }
3805 test -n "$CXX" && break
3808 if test -z "$CXX"; then
3810 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3812 # Extract the first word of "$ac_prog", so it can be a program name with args.
3813 set dummy $ac_prog; ac_word=$2
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3815 $as_echo_n "checking for $ac_word... " >&6; }
3816 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3817 $as_echo_n "(cached) " >&6
3819 if test -n "$ac_ct_CXX"; then
3820 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3826 test -z "$as_dir" && as_dir=.
3827 for ac_exec_ext in '' $ac_executable_extensions; do
3828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3829 ac_cv_prog_ac_ct_CXX="$ac_prog"
3830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3839 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3840 if test -n "$ac_ct_CXX"; then
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3842 $as_echo "$ac_ct_CXX" >&6; }
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3845 $as_echo "no" >&6; }
3849 test -n "$ac_ct_CXX" && break
3852 if test "x$ac_ct_CXX" = x; then
3855 case $cross_compiling:$ac_tool_warned in
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3859 ac_tool_warned=yes ;;
3867 # Provide some information about the compiler.
3868 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3871 for ac_option in --version -v -V -qversion; do
3872 { { ac_try="$ac_compiler $ac_option >&5"
3874 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3875 *) ac_try_echo
=$ac_try;;
3877 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3878 $as_echo "$ac_try_echo"; } >&5
3879 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3881 if test -s conftest.err
; then
3883 ... rest of stderr output deleted ...
3884 10q' conftest.err
>conftest.er1
3885 cat conftest.er1
>&5
3887 rm -f conftest.er1 conftest.err
3888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3889 test $ac_status = 0; }
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3893 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3894 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3895 $as_echo_n "(cached) " >&6
3897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3898 /* end confdefs.h. */
3911 if ac_fn_cxx_try_compile
"$LINENO"; then :
3916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3917 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3921 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3922 if test $ac_compiler_gnu = yes; then
3927 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3928 ac_save_CXXFLAGS
=$CXXFLAGS
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3930 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3931 if ${ac_cv_prog_cxx_g+:} false
; then :
3932 $as_echo_n "(cached) " >&6
3934 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3935 ac_cxx_werror_flag
=yes
3938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3939 /* end confdefs.h. */
3949 if ac_fn_cxx_try_compile
"$LINENO"; then :
3950 ac_cv_prog_cxx_g
=yes
3953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h. */
3964 if ac_fn_cxx_try_compile
"$LINENO"; then :
3967 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3970 /* end confdefs.h. */
3980 if ac_fn_cxx_try_compile
"$LINENO"; then :
3981 ac_cv_prog_cxx_g
=yes
3983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3988 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3991 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3992 if test "$ac_test_CXXFLAGS" = set; then
3993 CXXFLAGS
=$ac_save_CXXFLAGS
3994 elif test $ac_cv_prog_cxx_g = yes; then
3995 if test "$GXX" = yes; then
4001 if test "$GXX" = yes; then
4008 ac_cpp
='$CPP $CPPFLAGS'
4009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4013 if test -n "$ac_tool_prefix"; then
4014 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4015 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4017 $as_echo_n "checking for $ac_word... " >&6; }
4018 if ${ac_cv_prog_CPPBIN+:} false
; then :
4019 $as_echo_n "(cached) " >&6
4021 if test -n "$CPPBIN"; then
4022 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4028 test -z "$as_dir" && as_dir
=.
4029 for ac_exec_ext
in '' $ac_executable_extensions; do
4030 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4031 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4041 CPPBIN
=$ac_cv_prog_CPPBIN
4042 if test -n "$CPPBIN"; then
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4044 $as_echo "$CPPBIN" >&6; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4047 $as_echo "no" >&6; }
4052 if test -z "$ac_cv_prog_CPPBIN"; then
4053 ac_ct_CPPBIN
=$CPPBIN
4054 # Extract the first word of "cpp", so it can be a program name with args.
4055 set dummy cpp
; ac_word
=$2
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4057 $as_echo_n "checking for $ac_word... " >&6; }
4058 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4059 $as_echo_n "(cached) " >&6
4061 if test -n "$ac_ct_CPPBIN"; then
4062 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4068 test -z "$as_dir" && as_dir
=.
4069 for ac_exec_ext
in '' $ac_executable_extensions; do
4070 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4071 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4081 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4082 if test -n "$ac_ct_CPPBIN"; then
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4084 $as_echo "$ac_ct_CPPBIN" >&6; }
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4087 $as_echo "no" >&6; }
4090 if test "x$ac_ct_CPPBIN" = x
; then
4093 case $cross_compiling:$ac_tool_warned in
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4097 ac_tool_warned
=yes ;;
4099 CPPBIN
=$ac_ct_CPPBIN
4102 CPPBIN
="$ac_cv_prog_CPPBIN"
4106 cat >>confdefs.h
<<_ACEOF
4107 #define EXEEXT "$ac_exeext"
4113 if test "x$enable_win64" = "xyes"
4118 notice_platform
="64-bit "
4125 notice_platform
="32-bit "
4128 enable_win16
=${enable_win16:-yes}
4130 with_fontconfig
=${with_fontconfig:-no}
4133 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4138 $as_echo_n "checking whether $CC works... " >&6; }
4140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4141 /* end confdefs.h. */
4151 if ac_fn_c_try_link
"$LINENO"; then :
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4153 $as_echo "yes" >&6; }
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4156 $as_echo "no" >&6; }
4157 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4159 rm -f core conftest.err conftest.
$ac_objext \
4160 conftest
$ac_exeext conftest.
$ac_ext
4162 notice_platform
="32-bit "
4165 enable_win16
=${enable_win16:-yes}
4167 if test "x${GCC}" = "xyes"
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4170 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4172 /* end confdefs.h. */
4177 void func(__builtin_ms_va_list *args);
4182 if ac_fn_c_try_compile
"$LINENO"; then :
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4184 $as_echo "yes" >&6; }
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4187 $as_echo "no" >&6; }
4188 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4190 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4198 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4201 int ac_test(int i) { return i; }
4205 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4210 if ac_fn_c_try_link
"$LINENO"; then :
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4212 $as_echo "yes" >&6; }
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4215 $as_echo "no" >&6; }
4216 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4218 rm -f core conftest.err conftest.
$ac_objext \
4219 conftest
$ac_exeext conftest.
$ac_ext
4220 CFLAGS
="$CFLAGS -marm"
4222 *-mingw32*|
*-cygwin*)
4223 enable_win16
=${enable_win16:-no}
4224 CFLAGS
="$CFLAGS -D_WIN32"
4227 enable_win16
=${enable_win16:-yes}
4231 enable_win16
=${enable_win16:-no}
4232 enable_win64
=${enable_win64:-no}
4234 enable_winetest
=${enable_winetest:-$enable_tests}
4236 if test -n "$with_wine64"
4238 if test "x$enable_win64" = "xyes"
4240 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4241 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4245 enable_fonts
=${enable_fonts:-no}
4246 enable_server
=${enable_server:-no}
4247 enable_tools
=${enable_tools:-no}
4248 elif test "x$enable_win64" = "xyes"
4250 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4254 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4255 if ${wine_cv_toolsdir+:} false
; then :
4256 $as_echo_n "(cached) " >&6
4258 wine_cv_toolsdir
="$with_wine_tools"
4259 if test -z "$with_wine_tools"; then
4260 if test "$cross_compiling" = "yes"; then
4261 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4262 elif test -n "$with_wine64"; then
4263 wine_cv_toolsdir
="$with_wine64"
4266 if test -z "$wine_cv_toolsdir"; then
4267 wine_cv_toolsdir
="\$(top_builddir)"
4268 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4269 case "$wine_cv_toolsdir" in
4271 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4274 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4278 $as_echo "$wine_cv_toolsdir" >&6; }
4279 TOOLSDIR
=$wine_cv_toolsdir
4281 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4283 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4289 # Extract the first word of "$ac_prog", so it can be a program name with args.
4290 set dummy
$ac_prog; ac_word
=$2
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4292 $as_echo_n "checking for $ac_word... " >&6; }
4293 if ${ac_cv_prog_FLEX+:} false
; then :
4294 $as_echo_n "(cached) " >&6
4296 if test -n "$FLEX"; then
4297 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4303 test -z "$as_dir" && as_dir
=.
4304 for ac_exec_ext
in '' $ac_executable_extensions; do
4305 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4306 ac_cv_prog_FLEX
="$ac_prog"
4307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4316 FLEX
=$ac_cv_prog_FLEX
4317 if test -n "$FLEX"; then
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4319 $as_echo "$FLEX" >&6; }
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4322 $as_echo "no" >&6; }
4326 test -n "$FLEX" && break
4328 test -n "$FLEX" || FLEX
="none"
4330 if test "$FLEX" = "none"
4332 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4335 $as_echo_n "checking whether flex is recent enough... " >&6; }
4336 cat >conftest.l
<<EOF
4338 #include "prediluvian.h"
4342 if $FLEX -t conftest.l
>/dev
/null
2>&5
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4345 $as_echo "yes" >&6; }
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348 $as_echo "no" >&6; }
4349 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4352 for ac_prog
in bison
4354 # Extract the first word of "$ac_prog", so it can be a program name with args.
4355 set dummy
$ac_prog; ac_word
=$2
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4357 $as_echo_n "checking for $ac_word... " >&6; }
4358 if ${ac_cv_prog_BISON+:} false
; then :
4359 $as_echo_n "(cached) " >&6
4361 if test -n "$BISON"; then
4362 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4368 test -z "$as_dir" && as_dir
=.
4369 for ac_exec_ext
in '' $ac_executable_extensions; do
4370 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4371 ac_cv_prog_BISON
="$ac_prog"
4372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4381 BISON
=$ac_cv_prog_BISON
4382 if test -n "$BISON"; then
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4384 $as_echo "$BISON" >&6; }
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4387 $as_echo "no" >&6; }
4391 test -n "$BISON" && break
4393 test -n "$BISON" || BISON
="none"
4395 if test "$BISON" = "none"
4397 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4400 if test -n "$ac_tool_prefix"; then
4401 for ac_prog
in ar gar
4403 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4404 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4406 $as_echo_n "checking for $ac_word... " >&6; }
4407 if ${ac_cv_prog_AR+:} false
; then :
4408 $as_echo_n "(cached) " >&6
4410 if test -n "$AR"; then
4411 ac_cv_prog_AR
="$AR" # Let the user override the test.
4413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4417 test -z "$as_dir" && as_dir
=.
4418 for ac_exec_ext
in '' $ac_executable_extensions; do
4419 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4420 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4431 if test -n "$AR"; then
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4433 $as_echo "$AR" >&6; }
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4436 $as_echo "no" >&6; }
4440 test -n "$AR" && break
4443 if test -z "$AR"; then
4445 for ac_prog
in ar gar
4447 # Extract the first word of "$ac_prog", so it can be a program name with args.
4448 set dummy
$ac_prog; ac_word
=$2
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4450 $as_echo_n "checking for $ac_word... " >&6; }
4451 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4452 $as_echo_n "(cached) " >&6
4454 if test -n "$ac_ct_AR"; then
4455 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4461 test -z "$as_dir" && as_dir
=.
4462 for ac_exec_ext
in '' $ac_executable_extensions; do
4463 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4464 ac_cv_prog_ac_ct_AR
="$ac_prog"
4465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4474 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4475 if test -n "$ac_ct_AR"; then
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4477 $as_echo "$ac_ct_AR" >&6; }
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4480 $as_echo "no" >&6; }
4484 test -n "$ac_ct_AR" && break
4487 if test "x$ac_ct_AR" = x
; then
4490 case $cross_compiling:$ac_tool_warned in
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4494 ac_tool_warned
=yes ;;
4502 if test -n "$ac_tool_prefix"; then
4503 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4504 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4506 $as_echo_n "checking for $ac_word... " >&6; }
4507 if ${ac_cv_prog_RANLIB+:} false
; then :
4508 $as_echo_n "(cached) " >&6
4510 if test -n "$RANLIB"; then
4511 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4517 test -z "$as_dir" && as_dir
=.
4518 for ac_exec_ext
in '' $ac_executable_extensions; do
4519 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4520 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4530 RANLIB
=$ac_cv_prog_RANLIB
4531 if test -n "$RANLIB"; then
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4533 $as_echo "$RANLIB" >&6; }
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4536 $as_echo "no" >&6; }
4541 if test -z "$ac_cv_prog_RANLIB"; then
4542 ac_ct_RANLIB
=$RANLIB
4543 # Extract the first word of "ranlib", so it can be a program name with args.
4544 set dummy ranlib
; ac_word
=$2
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4546 $as_echo_n "checking for $ac_word... " >&6; }
4547 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4548 $as_echo_n "(cached) " >&6
4550 if test -n "$ac_ct_RANLIB"; then
4551 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4557 test -z "$as_dir" && as_dir
=.
4558 for ac_exec_ext
in '' $ac_executable_extensions; do
4559 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4560 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4570 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4571 if test -n "$ac_ct_RANLIB"; then
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4573 $as_echo "$ac_ct_RANLIB" >&6; }
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4576 $as_echo "no" >&6; }
4579 if test "x$ac_ct_RANLIB" = x
; then
4582 case $cross_compiling:$ac_tool_warned in
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4586 ac_tool_warned
=yes ;;
4588 RANLIB
=$ac_ct_RANLIB
4591 RANLIB
="$ac_cv_prog_RANLIB"
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4595 $as_echo_n "checking whether ln -s works... " >&6; }
4597 if test "$LN_S" = "ln -s"; then
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4599 $as_echo "yes" >&6; }
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4602 $as_echo "no, using $LN_S" >&6; }
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4606 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4607 if ${ac_cv_path_GREP+:} false
; then :
4608 $as_echo_n "(cached) " >&6
4610 if test -z "$GREP"; then
4611 ac_path_GREP_found
=false
4612 # Loop through the user's path and test for each of PROGNAME-LIST
4613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4614 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4617 test -z "$as_dir" && as_dir
=.
4618 for ac_prog
in grep ggrep
; do
4619 for ac_exec_ext
in '' $ac_executable_extensions; do
4620 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4621 as_fn_executable_p
"$ac_path_GREP" ||
continue
4622 # Check for GNU ac_path_GREP and select it if it is found.
4623 # Check for GNU $ac_path_GREP
4624 case `"$ac_path_GREP" --version 2>&1` in
4626 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4629 $as_echo_n 0123456789 >"conftest.in"
4632 cat "conftest.in" "conftest.in" >"conftest.tmp"
4633 mv "conftest.tmp" "conftest.in"
4634 cp "conftest.in" "conftest.nl"
4635 $as_echo 'GREP' >> "conftest.nl"
4636 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4637 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4638 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4639 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4640 # Best one so far, save it but keep looking for a better one
4641 ac_cv_path_GREP
="$ac_path_GREP"
4642 ac_path_GREP_max
=$ac_count
4644 # 10*(2^10) chars as input seems more than enough
4645 test $ac_count -gt 10 && break
4647 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4650 $ac_path_GREP_found && break 3
4655 if test -z "$ac_cv_path_GREP"; then
4656 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4659 ac_cv_path_GREP
=$GREP
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4664 $as_echo "$ac_cv_path_GREP" >&6; }
4665 GREP
="$ac_cv_path_GREP"
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4669 $as_echo_n "checking for egrep... " >&6; }
4670 if ${ac_cv_path_EGREP+:} false
; then :
4671 $as_echo_n "(cached) " >&6
4673 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4674 then ac_cv_path_EGREP
="$GREP -E"
4676 if test -z "$EGREP"; then
4677 ac_path_EGREP_found
=false
4678 # Loop through the user's path and test for each of PROGNAME-LIST
4679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4680 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4683 test -z "$as_dir" && as_dir
=.
4684 for ac_prog
in egrep; do
4685 for ac_exec_ext
in '' $ac_executable_extensions; do
4686 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4687 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4688 # Check for GNU ac_path_EGREP and select it if it is found.
4689 # Check for GNU $ac_path_EGREP
4690 case `"$ac_path_EGREP" --version 2>&1` in
4692 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4695 $as_echo_n 0123456789 >"conftest.in"
4698 cat "conftest.in" "conftest.in" >"conftest.tmp"
4699 mv "conftest.tmp" "conftest.in"
4700 cp "conftest.in" "conftest.nl"
4701 $as_echo 'EGREP' >> "conftest.nl"
4702 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4703 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4704 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4705 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4706 # Best one so far, save it but keep looking for a better one
4707 ac_cv_path_EGREP
="$ac_path_EGREP"
4708 ac_path_EGREP_max
=$ac_count
4710 # 10*(2^10) chars as input seems more than enough
4711 test $ac_count -gt 10 && break
4713 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4716 $ac_path_EGREP_found && break 3
4721 if test -z "$ac_cv_path_EGREP"; then
4722 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4725 ac_cv_path_EGREP
=$EGREP
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4731 $as_echo "$ac_cv_path_EGREP" >&6; }
4732 EGREP
="$ac_cv_path_EGREP"
4735 # Extract the first word of "ldconfig", so it can be a program name with args.
4736 set dummy ldconfig
; ac_word
=$2
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4738 $as_echo_n "checking for $ac_word... " >&6; }
4739 if ${ac_cv_path_LDCONFIG+:} false
; then :
4740 $as_echo_n "(cached) " >&6
4744 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4748 for as_dir
in /sbin
/usr
/sbin
$PATH
4751 test -z "$as_dir" && as_dir
=.
4752 for ac_exec_ext
in '' $ac_executable_extensions; do
4753 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4754 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4762 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4766 LDCONFIG
=$ac_cv_path_LDCONFIG
4767 if test -n "$LDCONFIG"; then
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4769 $as_echo "$LDCONFIG" >&6; }
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4772 $as_echo "no" >&6; }
4776 # Find a good install program. We prefer a C program (faster),
4777 # so one script is as good as another. But avoid the broken or
4778 # incompatible versions:
4779 # SysV /etc/install, /usr/sbin/install
4780 # SunOS /usr/etc/install
4781 # IRIX /sbin/install
4783 # AmigaOS /C/install, which installs bootblocks on floppy discs
4784 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4785 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4786 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4787 # OS/2's system install, which has a completely different semantic
4788 # ./install, which can be erroneously created by make from ./install.sh.
4789 # Reject install programs that cannot install multiple files.
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4791 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4792 if test -z "$INSTALL"; then
4793 if ${ac_cv_path_install+:} false
; then :
4794 $as_echo_n "(cached) " >&6
4796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4800 test -z "$as_dir" && as_dir
=.
4801 # Account for people who put trailing slashes in PATH elements.
4802 case $as_dir/ in #((
4803 .
/ | .
// |
/[cC
]/* | \
4804 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4805 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4808 # OSF1 and SCO ODT 3.0 have their own names for install.
4809 # Don't use installbsd from OSF since it installs stuff as root
4811 for ac_prog
in ginstall scoinst
install; do
4812 for ac_exec_ext
in '' $ac_executable_extensions; do
4813 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4814 if test $ac_prog = install &&
4815 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4816 # AIX install. It has an incompatible calling convention.
4818 elif test $ac_prog = install &&
4819 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4820 # program-specific install script used by HP pwplus--don't use.
4823 rm -rf conftest.one conftest.two conftest.dir
4824 echo one
> conftest.one
4825 echo two
> conftest.two
4827 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4828 test -s conftest.one
&& test -s conftest.two
&&
4829 test -s conftest.dir
/conftest.one
&&
4830 test -s conftest.dir
/conftest.two
4832 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4845 rm -rf conftest.one conftest.two conftest.dir
4848 if test "${ac_cv_path_install+set}" = set; then
4849 INSTALL
=$ac_cv_path_install
4851 # As a last resort, use the slow shell script. Don't cache a
4852 # value for INSTALL within a source directory, because that will
4853 # break other packages using the cache if that directory is
4854 # removed, or if the value is a relative name.
4855 INSTALL
=$ac_install_sh
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4859 $as_echo "$INSTALL" >&6; }
4861 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4862 # It thinks the first close brace ends the variable substitution.
4863 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4865 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4867 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4870 [\\/$
]* | ?
:[\\/]* ) ;;
4871 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4874 for ac_prog
in lclint lint
4876 # Extract the first word of "$ac_prog", so it can be a program name with args.
4877 set dummy
$ac_prog; ac_word
=$2
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879 $as_echo_n "checking for $ac_word... " >&6; }
4880 if ${ac_cv_prog_LINT+:} false
; then :
4881 $as_echo_n "(cached) " >&6
4883 if test -n "$LINT"; then
4884 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4890 test -z "$as_dir" && as_dir
=.
4891 for ac_exec_ext
in '' $ac_executable_extensions; do
4892 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4893 ac_cv_prog_LINT
="$ac_prog"
4894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4903 LINT
=$ac_cv_prog_LINT
4904 if test -n "$LINT"; then
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4906 $as_echo "$LINT" >&6; }
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 $as_echo "no" >&6; }
4913 test -n "$LINT" && break
4916 if test "$LINT" = "lint"
4918 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4922 for ac_prog
in fontforge
4924 # Extract the first word of "$ac_prog", so it can be a program name with args.
4925 set dummy
$ac_prog; ac_word
=$2
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if ${ac_cv_prog_FONTFORGE+:} false
; then :
4929 $as_echo_n "(cached) " >&6
4931 if test -n "$FONTFORGE"; then
4932 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4938 test -z "$as_dir" && as_dir
=.
4939 for ac_exec_ext
in '' $ac_executable_extensions; do
4940 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4941 ac_cv_prog_FONTFORGE
="$ac_prog"
4942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 FONTFORGE
=$ac_cv_prog_FONTFORGE
4952 if test -n "$FONTFORGE"; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4954 $as_echo "$FONTFORGE" >&6; }
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4961 test -n "$FONTFORGE" && break
4963 test -n "$FONTFORGE" || FONTFORGE
="false"
4967 # Extract the first word of "$ac_prog", so it can be a program name with args.
4968 set dummy
$ac_prog; ac_word
=$2
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4970 $as_echo_n "checking for $ac_word... " >&6; }
4971 if ${ac_cv_prog_RSVG+:} false
; then :
4972 $as_echo_n "(cached) " >&6
4974 if test -n "$RSVG"; then
4975 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
4977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4981 test -z "$as_dir" && as_dir
=.
4982 for ac_exec_ext
in '' $ac_executable_extensions; do
4983 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4984 ac_cv_prog_RSVG
="$ac_prog"
4985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4994 RSVG
=$ac_cv_prog_RSVG
4995 if test -n "$RSVG"; then
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
4997 $as_echo "$RSVG" >&6; }
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5000 $as_echo "no" >&6; }
5004 test -n "$RSVG" && break
5006 test -n "$RSVG" || RSVG
="false"
5008 for ac_prog
in convert
5010 # Extract the first word of "$ac_prog", so it can be a program name with args.
5011 set dummy
$ac_prog; ac_word
=$2
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013 $as_echo_n "checking for $ac_word... " >&6; }
5014 if ${ac_cv_prog_CONVERT+:} false
; then :
5015 $as_echo_n "(cached) " >&6
5017 if test -n "$CONVERT"; then
5018 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5024 test -z "$as_dir" && as_dir
=.
5025 for ac_exec_ext
in '' $ac_executable_extensions; do
5026 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5027 ac_cv_prog_CONVERT
="$ac_prog"
5028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 CONVERT
=$ac_cv_prog_CONVERT
5038 if test -n "$CONVERT"; then
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5040 $as_echo "$CONVERT" >&6; }
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5047 test -n "$CONVERT" && break
5049 test -n "$CONVERT" || CONVERT
="false"
5051 for ac_prog
in icotool
5053 # Extract the first word of "$ac_prog", so it can be a program name with args.
5054 set dummy
$ac_prog; ac_word
=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5058 $as_echo_n "(cached) " >&6
5060 if test -n "$ICOTOOL"; then
5061 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5067 test -z "$as_dir" && as_dir
=.
5068 for ac_exec_ext
in '' $ac_executable_extensions; do
5069 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5070 ac_cv_prog_ICOTOOL
="$ac_prog"
5071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5080 ICOTOOL
=$ac_cv_prog_ICOTOOL
5081 if test -n "$ICOTOOL"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5083 $as_echo "$ICOTOOL" >&6; }
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5090 test -n "$ICOTOOL" && break
5092 test -n "$ICOTOOL" || ICOTOOL
="false"
5094 for ac_prog
in msgfmt
5096 # Extract the first word of "$ac_prog", so it can be a program name with args.
5097 set dummy
$ac_prog; ac_word
=$2
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5099 $as_echo_n "checking for $ac_word... " >&6; }
5100 if ${ac_cv_prog_MSGFMT+:} false
; then :
5101 $as_echo_n "(cached) " >&6
5103 if test -n "$MSGFMT"; then
5104 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5110 test -z "$as_dir" && as_dir
=.
5111 for ac_exec_ext
in '' $ac_executable_extensions; do
5112 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5113 ac_cv_prog_MSGFMT
="$ac_prog"
5114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 MSGFMT
=$ac_cv_prog_MSGFMT
5124 if test -n "$MSGFMT"; then
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5126 $as_echo "$MSGFMT" >&6; }
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5129 $as_echo "no" >&6; }
5133 test -n "$MSGFMT" && break
5135 test -n "$MSGFMT" || MSGFMT
="false"
5138 if test "x$enable_maintainer_mode" != "xyes"
5143 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5144 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5146 if test "$CONVERT" = false
5148 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5151 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5152 convert_version
=`convert --version | head -n1`
5153 if test "x$convert_version" != "x"
5155 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5156 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5157 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5162 if test "$CONVERT" = false
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5165 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5166 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5169 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5173 if test "$ICOTOOL" = false
5175 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5178 $as_echo_n "checking for recent enough icotool... " >&6; }
5179 icotool_version
=`icotool --version | head -n1`
5180 if test "x$icotool_version" != "x"
5182 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5183 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5184 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5187 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5190 if test "$ICOTOOL" = false
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5193 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5194 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5197 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5203 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5206 test "x$with_gettext" != xno || MSGFMT
=false
5207 if test "$MSGFMT" != "false"
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5210 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5211 cat >conftest.po
<<EOF
5217 if $MSGFMT -o /dev
/null conftest.po
2>&5
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5220 $as_echo "yes" >&6; }
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5223 $as_echo "no" >&6; }
5227 if test "$MSGFMT" = false
; then :
5228 case "x$with_gettext" in
5229 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5231 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5232 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5238 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5239 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5240 $as_echo_n "(cached) " >&6
5242 ac_check_lib_save_LIBS
=$LIBS
5244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5245 /* end confdefs.h. */
5247 /* Override any GCC internal prototype to avoid an error.
5248 Use char because int might match the return type of a GCC
5249 builtin and then its argument prototype would still apply. */
5253 char i386_set_ldt ();
5257 return i386_set_ldt ();
5262 if ac_fn_c_try_link
"$LINENO"; then :
5263 ac_cv_lib_i386_i386_set_ldt
=yes
5265 ac_cv_lib_i386_i386_set_ldt
=no
5267 rm -f core conftest.err conftest.
$ac_objext \
5268 conftest
$ac_exeext conftest.
$ac_ext
5269 LIBS
=$ac_check_lib_save_LIBS
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5272 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5273 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5274 cat >>confdefs.h
<<_ACEOF
5275 #define HAVE_LIBI386 1
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5283 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5284 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5285 $as_echo_n "(cached) " >&6
5287 ac_check_lib_save_LIBS
=$LIBS
5288 LIBS
="-lossaudio $LIBS"
5289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5290 /* end confdefs.h. */
5292 /* Override any GCC internal prototype to avoid an error.
5293 Use char because int might match the return type of a GCC
5294 builtin and then its argument prototype would still apply. */
5302 return _oss_ioctl ();
5307 if ac_fn_c_try_link
"$LINENO"; then :
5308 ac_cv_lib_ossaudio__oss_ioctl
=yes
5310 ac_cv_lib_ossaudio__oss_ioctl
=no
5312 rm -f core conftest.err conftest.
$ac_objext \
5313 conftest
$ac_exeext conftest.
$ac_ext
5314 LIBS
=$ac_check_lib_save_LIBS
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5317 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5318 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5319 cat >>confdefs.h
<<_ACEOF
5320 #define HAVE_LIBOSSAUDIO 1
5323 LIBS
="-lossaudio $LIBS"
5334 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
5336 # Check whether --enable-largefile was given.
5337 if test "${enable_largefile+set}" = set; then :
5338 enableval
=$enable_largefile;
5341 if test "$enable_largefile" != no
; then
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5344 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5345 if ${ac_cv_sys_largefile_CC+:} false
; then :
5346 $as_echo_n "(cached) " >&6
5348 ac_cv_sys_largefile_CC
=no
5349 if test "$GCC" != yes; then
5352 # IRIX 6.2 and later do not support large files by default,
5353 # so use the C compiler's -n32 option if that helps.
5354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5355 /* end confdefs.h. */
5356 #include <sys/types.h>
5357 /* Check that off_t can represent 2**63 - 1 correctly.
5358 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5359 since some C++ compilers masquerading as C compilers
5360 incorrectly reject 9223372036854775807. */
5361 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5362 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5363 && LARGE_OFF_T % 2147483647 == 1)
5373 if ac_fn_c_try_compile
"$LINENO"; then :
5376 rm -f core conftest.err conftest.
$ac_objext
5378 if ac_fn_c_try_compile
"$LINENO"; then :
5379 ac_cv_sys_largefile_CC
=' -n32'; break
5381 rm -f core conftest.err conftest.
$ac_objext
5385 rm -f conftest.
$ac_ext
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5389 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5390 if test "$ac_cv_sys_largefile_CC" != no
; then
5391 CC
=$CC$ac_cv_sys_largefile_CC
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5395 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5396 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5397 $as_echo_n "(cached) " >&6
5400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5401 /* end confdefs.h. */
5402 #include <sys/types.h>
5403 /* Check that off_t can represent 2**63 - 1 correctly.
5404 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5405 since some C++ compilers masquerading as C compilers
5406 incorrectly reject 9223372036854775807. */
5407 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5408 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5409 && LARGE_OFF_T % 2147483647 == 1)
5419 if ac_fn_c_try_compile
"$LINENO"; then :
5420 ac_cv_sys_file_offset_bits
=no
; break
5422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5424 /* end confdefs.h. */
5425 #define _FILE_OFFSET_BITS 64
5426 #include <sys/types.h>
5427 /* Check that off_t can represent 2**63 - 1 correctly.
5428 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5429 since some C++ compilers masquerading as C compilers
5430 incorrectly reject 9223372036854775807. */
5431 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5432 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5433 && LARGE_OFF_T % 2147483647 == 1)
5443 if ac_fn_c_try_compile
"$LINENO"; then :
5444 ac_cv_sys_file_offset_bits
=64; break
5446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5447 ac_cv_sys_file_offset_bits
=unknown
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5452 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5453 case $ac_cv_sys_file_offset_bits in #(
5456 cat >>confdefs.h
<<_ACEOF
5457 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5462 if test $ac_cv_sys_file_offset_bits = unknown
; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5464 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5465 if ${ac_cv_sys_large_files+:} false
; then :
5466 $as_echo_n "(cached) " >&6
5469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5470 /* end confdefs.h. */
5471 #include <sys/types.h>
5472 /* Check that off_t can represent 2**63 - 1 correctly.
5473 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5474 since some C++ compilers masquerading as C compilers
5475 incorrectly reject 9223372036854775807. */
5476 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5477 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5478 && LARGE_OFF_T % 2147483647 == 1)
5488 if ac_fn_c_try_compile
"$LINENO"; then :
5489 ac_cv_sys_large_files
=no
; break
5491 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5493 /* end confdefs.h. */
5494 #define _LARGE_FILES 1
5495 #include <sys/types.h>
5496 /* Check that off_t can represent 2**63 - 1 correctly.
5497 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5498 since some C++ compilers masquerading as C compilers
5499 incorrectly reject 9223372036854775807. */
5500 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5501 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5502 && LARGE_OFF_T % 2147483647 == 1)
5512 if ac_fn_c_try_compile
"$LINENO"; then :
5513 ac_cv_sys_large_files
=1; break
5515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5516 ac_cv_sys_large_files
=unknown
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5521 $as_echo "$ac_cv_sys_large_files" >&6; }
5522 case $ac_cv_sys_large_files in #(
5525 cat >>confdefs.h
<<_ACEOF
5526 #define _LARGE_FILES $ac_cv_sys_large_files
5538 ac_cpp
='$CPP $CPPFLAGS'
5539 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5540 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5541 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5543 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5544 # On Suns, sometimes $CPP names a directory.
5545 if test -n "$CPP" && test -d "$CPP"; then
5548 if test -z "$CPP"; then
5549 if ${ac_cv_prog_CPP+:} false
; then :
5550 $as_echo_n "(cached) " >&6
5552 # Double quotes because CPP needs to be expanded
5553 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5556 for ac_c_preproc_warn_flag
in '' yes
5558 # Use a header file that comes with gcc, so configuring glibc
5559 # with a fresh cross-compiler works.
5560 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5561 # <limits.h> exists even on freestanding compilers.
5562 # On the NeXT, cc -E runs the code through the compiler's parser,
5563 # not just through cpp. "Syntax error" is here to catch this case.
5564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5565 /* end confdefs.h. */
5567 # include <limits.h>
5569 # include <assert.h>
5573 if ac_fn_c_try_cpp
"$LINENO"; then :
5576 # Broken: fails on valid input.
5579 rm -f conftest.err conftest.i conftest.
$ac_ext
5581 # OK, works on sane cases. Now check whether nonexistent headers
5582 # can be detected and how.
5583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5584 /* end confdefs.h. */
5585 #include <ac_nonexistent.h>
5587 if ac_fn_c_try_cpp
"$LINENO"; then :
5588 # Broken: success on invalid input.
5591 # Passes both tests.
5595 rm -f conftest.err conftest.i conftest.
$ac_ext
5598 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5599 rm -f conftest.i conftest.err conftest.
$ac_ext
5600 if $ac_preproc_ok; then :
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5613 $as_echo "$CPP" >&6; }
5615 for ac_c_preproc_warn_flag
in '' yes
5617 # Use a header file that comes with gcc, so configuring glibc
5618 # with a fresh cross-compiler works.
5619 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5620 # <limits.h> exists even on freestanding compilers.
5621 # On the NeXT, cc -E runs the code through the compiler's parser,
5622 # not just through cpp. "Syntax error" is here to catch this case.
5623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5624 /* end confdefs.h. */
5626 # include <limits.h>
5628 # include <assert.h>
5632 if ac_fn_c_try_cpp
"$LINENO"; then :
5635 # Broken: fails on valid input.
5638 rm -f conftest.err conftest.i conftest.
$ac_ext
5640 # OK, works on sane cases. Now check whether nonexistent headers
5641 # can be detected and how.
5642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5643 /* end confdefs.h. */
5644 #include <ac_nonexistent.h>
5646 if ac_fn_c_try_cpp
"$LINENO"; then :
5647 # Broken: success on invalid input.
5650 # Passes both tests.
5654 rm -f conftest.err conftest.i conftest.
$ac_ext
5657 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5658 rm -f conftest.i conftest.err conftest.
$ac_ext
5659 if $ac_preproc_ok; then :
5662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5664 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5665 See \`config.log' for more details" "$LINENO" 5; }
5669 ac_cpp
='$CPP $CPPFLAGS'
5670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5676 $as_echo_n "checking for ANSI C header files... " >&6; }
5677 if ${ac_cv_header_stdc+:} false
; then :
5678 $as_echo_n "(cached) " >&6
5680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5681 /* end confdefs.h. */
5695 if ac_fn_c_try_compile
"$LINENO"; then :
5696 ac_cv_header_stdc
=yes
5698 ac_cv_header_stdc
=no
5700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5702 if test $ac_cv_header_stdc = yes; then
5703 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5705 /* end confdefs.h. */
5709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5710 $EGREP "memchr" >/dev
/null
2>&1; then :
5713 ac_cv_header_stdc
=no
5719 if test $ac_cv_header_stdc = yes; then
5720 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5722 /* end confdefs.h. */
5726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5727 $EGREP "free" >/dev
/null
2>&1; then :
5730 ac_cv_header_stdc
=no
5736 if test $ac_cv_header_stdc = yes; then
5737 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5738 if test "$cross_compiling" = yes; then :
5741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5742 /* end confdefs.h. */
5745 #if ((' ' & 0x0FF) == 0x020)
5746 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5747 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5749 # define ISLOWER(c) \
5750 (('a' <= (c) && (c) <= 'i') \
5751 || ('j' <= (c) && (c) <= 'r') \
5752 || ('s' <= (c) && (c) <= 'z'))
5753 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5756 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5761 for (i = 0; i < 256; i++)
5762 if (XOR (islower (i), ISLOWER (i))
5763 || toupper (i) != TOUPPER (i))
5768 if ac_fn_c_try_run
"$LINENO"; then :
5771 ac_cv_header_stdc
=no
5773 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5774 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5780 $as_echo "$ac_cv_header_stdc" >&6; }
5781 if test $ac_cv_header_stdc = yes; then
5783 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5787 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5788 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5789 inttypes.h stdint.h unistd.h
5791 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5792 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5794 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5795 cat >>confdefs.h
<<_ACEOF
5796 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5806 ApplicationServices
/ApplicationServices.h \
5807 AudioToolbox
/AudioConverter.h \
5808 AudioUnit
/AudioUnit.h \
5809 AudioUnit
/AudioComponent.h \
5812 CoreAudio
/CoreAudio.h \
5813 CoreServices
/CoreServices.h \
5814 DiskArbitration
/DiskArbitration.h \
5816 IOKit
/hid
/IOHIDLib.h \
5819 QuickTime
/ImageCompression.h \
5820 Security
/Security.h \
5834 fontconfig
/fontconfig.h \
5875 netinet
/in_systm.h \
5936 valgrind
/memcheck.h \
5937 valgrind
/valgrind.h \
5941 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5942 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5943 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5944 cat >>confdefs.h
<<_ACEOF
5945 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5953 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5954 if ${ac_cv_header_stat_broken+:} false
; then :
5955 $as_echo_n "(cached) " >&6
5957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5958 /* end confdefs.h. */
5959 #include <sys/types.h>
5960 #include <sys/stat.h>
5962 #if defined S_ISBLK && defined S_IFDIR
5963 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5966 #if defined S_ISBLK && defined S_IFCHR
5967 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5970 #if defined S_ISLNK && defined S_IFREG
5971 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5974 #if defined S_ISSOCK && defined S_IFREG
5975 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5979 if ac_fn_c_try_compile
"$LINENO"; then :
5980 ac_cv_header_stat_broken
=no
5982 ac_cv_header_stat_broken
=yes
5984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5987 $as_echo "$ac_cv_header_stat_broken" >&6; }
5988 if test $ac_cv_header_stat_broken = yes; then
5990 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5996 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
5998 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5999 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6000 #ifdef HAVE_SYS_PARAM_H
6001 # include <sys/param.h>
6004 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6005 cat >>confdefs.h
<<_ACEOF
6006 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6021 netinet
/if_ether.h \
6022 netinet
/if_inarp.h \
6031 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6032 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6033 #ifdef HAVE_SYS_SOCKET_H
6034 # include <sys/socket.h>
6036 #ifdef HAVE_SYS_SOCKETVAR_H
6037 # include <sys/socketvar.h>
6039 #ifdef HAVE_NET_ROUTE_H
6040 # include <net/route.h>
6042 #ifdef HAVE_NETINET_IN_H
6043 # include <netinet/in.h>
6045 #ifdef HAVE_NETINET_IN_SYSTM_H
6046 # include <netinet/in_systm.h>
6048 #ifdef HAVE_NET_IF_H
6049 # include <net/if.h>
6051 #ifdef HAVE_NETINET_IP_H
6052 # include <netinet/ip.h>
6055 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6056 cat >>confdefs.h
<<_ACEOF
6057 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6065 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6067 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6068 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6072 #ifdef HAVE_SYS_SOCKET_H
6073 # include <sys/socket.h>
6075 #ifdef HAVE_SYS_SOCKETVAR_H
6076 # include <sys/socketvar.h>
6078 #ifdef HAVE_SYS_TIMEOUT_H
6079 # include <sys/timeout.h>
6081 #ifdef HAVE_NETINET_IN_H
6082 # include <netinet/in.h>
6084 #ifdef HAVE_NETINET_IN_SYSTM_H
6085 # include <netinet/in_systm.h>
6087 #ifdef HAVE_NETINET_IP_H
6088 # include <netinet/ip.h>
6090 #ifdef HAVE_NETINET_IP_VAR_H
6091 # include <netinet/ip_var.h>
6093 #ifdef HAVE_NETINET_IP_ICMP_H
6094 # include <netinet/ip_icmp.h>
6096 #ifdef HAVE_NETINET_UDP_H
6097 # include <netinet/udp.h>
6099 #ifdef HAVE_NETINET_TCP_H
6100 # include <netinet/tcp.h>
6102 #ifdef HAVE_NETINET_TCP_TIMER_H
6103 #include <netinet/tcp_timer.h>
6106 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6107 cat >>confdefs.h
<<_ACEOF
6108 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6116 for ac_header
in linux
/ipx.h linux
/irda.h
6118 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6119 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6120 #ifdef HAVE_ASM_TYPES_H
6121 # include <asm/types.h>
6123 #ifdef HAVE_SYS_SOCKET_H
6124 # include <sys/socket.h>
6126 #ifdef HAVE_LINUX_TYPES_H
6127 # include <linux/types.h>
6130 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6131 cat >>confdefs.h
<<_ACEOF
6132 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6140 for ac_header
in mach-o
/dyld_images.h
6142 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6143 # include <stdbool.h>
6145 #ifdef HAVE_STDINT_H
6146 # include <stdint.h>
6149 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6150 cat >>confdefs.h
<<_ACEOF
6151 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6159 for ac_header
in resolv.h
6161 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6162 #ifdef HAVE_SYS_SOCKET_H
6163 # include <sys/socket.h>
6165 #ifdef HAVE_NETINET_IN_H
6166 # include <netinet/in.h>
6168 #ifdef HAVE_ARPA_NAMESER_H
6169 # include <arpa/nameser.h>
6172 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6173 cat >>confdefs.h
<<_ACEOF
6174 #define HAVE_RESOLV_H 1
6182 for ac_header
in ifaddrs.h
6184 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6186 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6187 cat >>confdefs.h
<<_ACEOF
6188 #define HAVE_IFADDRS_H 1
6196 for ac_header
in ucontext.h
6198 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6200 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6201 cat >>confdefs.h
<<_ACEOF
6202 #define HAVE_UCONTEXT_H 1
6210 for ac_header
in sys
/thr.h
6212 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6213 #ifdef HAVE_UCONTEXT_H
6214 #include <ucontext.h>
6217 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6218 cat >>confdefs.h
<<_ACEOF
6219 #define HAVE_SYS_THR_H 1
6227 for ac_header
in pthread_np.h
6229 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6230 #include <pthread.h>
6233 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6234 cat >>confdefs.h
<<_ACEOF
6235 #define HAVE_PTHREAD_NP_H 1
6243 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6245 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6246 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6247 #include <sys/time.h>
6249 #include <sys/types.h>
6250 #ifdef HAVE_ASM_TYPES_H
6251 #include <asm/types.h>
6254 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6255 cat >>confdefs.h
<<_ACEOF
6256 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6264 for ac_header
in linux
/capi.h
6266 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6268 if test "x$ac_cv_header_linux_capi_h" = xyes
; then :
6269 cat >>confdefs.h
<<_ACEOF
6270 #define HAVE_LINUX_CAPI_H 1
6281 DLLFLAGS
="-D_REENTRANT"
6292 STATIC_IMPLIBEXT
="def.a"
6293 # Extract the first word of "ldd", so it can be a program name with args.
6294 set dummy ldd
; ac_word
=$2
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6296 $as_echo_n "checking for $ac_word... " >&6; }
6297 if ${ac_cv_path_LDD+:} false
; then :
6298 $as_echo_n "(cached) " >&6
6302 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6306 as_dummy
="/sbin:/usr/sbin:$PATH"
6307 for as_dir
in $as_dummy
6310 test -z "$as_dir" && as_dir
=.
6311 for ac_exec_ext
in '' $ac_executable_extensions; do
6312 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6313 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6321 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6326 if test -n "$LDD"; then
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6328 $as_echo "$LDD" >&6; }
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6331 $as_echo "no" >&6; }
6335 if test -n "$ac_tool_prefix"; then
6336 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6337 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6339 $as_echo_n "checking for $ac_word... " >&6; }
6340 if ${ac_cv_prog_READELF+:} false
; then :
6341 $as_echo_n "(cached) " >&6
6343 if test -n "$READELF"; then
6344 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6350 test -z "$as_dir" && as_dir
=.
6351 for ac_exec_ext
in '' $ac_executable_extensions; do
6352 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6353 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6363 READELF
=$ac_cv_prog_READELF
6364 if test -n "$READELF"; then
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6366 $as_echo "$READELF" >&6; }
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6369 $as_echo "no" >&6; }
6374 if test -z "$ac_cv_prog_READELF"; then
6375 ac_ct_READELF
=$READELF
6376 # Extract the first word of "readelf", so it can be a program name with args.
6377 set dummy readelf
; ac_word
=$2
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6379 $as_echo_n "checking for $ac_word... " >&6; }
6380 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
6381 $as_echo_n "(cached) " >&6
6383 if test -n "$ac_ct_READELF"; then
6384 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
6386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6390 test -z "$as_dir" && as_dir
=.
6391 for ac_exec_ext
in '' $ac_executable_extensions; do
6392 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6393 ac_cv_prog_ac_ct_READELF
="readelf"
6394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6403 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
6404 if test -n "$ac_ct_READELF"; then
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6406 $as_echo "$ac_ct_READELF" >&6; }
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6409 $as_echo "no" >&6; }
6412 if test "x$ac_ct_READELF" = x
; then
6415 case $cross_compiling:$ac_tool_warned in
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6419 ac_tool_warned
=yes ;;
6421 READELF
=$ac_ct_READELF
6424 READELF
="$ac_cv_prog_READELF"
6430 if test -n "$ac_tool_prefix"; then
6431 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6432 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6434 $as_echo_n "checking for $ac_word... " >&6; }
6435 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6436 $as_echo_n "(cached) " >&6
6438 if test -n "$DLLTOOL"; then
6439 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6445 test -z "$as_dir" && as_dir
=.
6446 for ac_exec_ext
in '' $ac_executable_extensions; do
6447 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6448 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6458 DLLTOOL
=$ac_cv_prog_DLLTOOL
6459 if test -n "$DLLTOOL"; then
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6461 $as_echo "$DLLTOOL" >&6; }
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6464 $as_echo "no" >&6; }
6469 if test -z "$ac_cv_prog_DLLTOOL"; then
6470 ac_ct_DLLTOOL
=$DLLTOOL
6471 # Extract the first word of "dlltool", so it can be a program name with args.
6472 set dummy dlltool
; ac_word
=$2
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 $as_echo_n "checking for $ac_word... " >&6; }
6475 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6476 $as_echo_n "(cached) " >&6
6478 if test -n "$ac_ct_DLLTOOL"; then
6479 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6485 test -z "$as_dir" && as_dir
=.
6486 for ac_exec_ext
in '' $ac_executable_extensions; do
6487 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6488 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6498 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6499 if test -n "$ac_ct_DLLTOOL"; then
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6501 $as_echo "$ac_ct_DLLTOOL" >&6; }
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504 $as_echo "no" >&6; }
6507 if test "x$ac_ct_DLLTOOL" = x
; then
6510 case $cross_compiling:$ac_tool_warned in
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6514 ac_tool_warned
=yes ;;
6516 DLLTOOL
=$ac_ct_DLLTOOL
6519 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6522 if test -n "$ac_tool_prefix"; then
6523 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6524 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6526 $as_echo_n "checking for $ac_word... " >&6; }
6527 if ${ac_cv_prog_DLLWRAP+:} false
; then :
6528 $as_echo_n "(cached) " >&6
6530 if test -n "$DLLWRAP"; then
6531 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
6533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6537 test -z "$as_dir" && as_dir
=.
6538 for ac_exec_ext
in '' $ac_executable_extensions; do
6539 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6540 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
6541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6550 DLLWRAP
=$ac_cv_prog_DLLWRAP
6551 if test -n "$DLLWRAP"; then
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6553 $as_echo "$DLLWRAP" >&6; }
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6556 $as_echo "no" >&6; }
6561 if test -z "$ac_cv_prog_DLLWRAP"; then
6562 ac_ct_DLLWRAP
=$DLLWRAP
6563 # Extract the first word of "dllwrap", so it can be a program name with args.
6564 set dummy dllwrap
; ac_word
=$2
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6566 $as_echo_n "checking for $ac_word... " >&6; }
6567 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false
; then :
6568 $as_echo_n "(cached) " >&6
6570 if test -n "$ac_ct_DLLWRAP"; then
6571 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
6573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6577 test -z "$as_dir" && as_dir
=.
6578 for ac_exec_ext
in '' $ac_executable_extensions; do
6579 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6580 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
6581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6590 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
6591 if test -n "$ac_ct_DLLWRAP"; then
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6593 $as_echo "$ac_ct_DLLWRAP" >&6; }
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6596 $as_echo "no" >&6; }
6599 if test "x$ac_ct_DLLWRAP" = x
; then
6602 case $cross_compiling:$ac_tool_warned in
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6606 ac_tool_warned
=yes ;;
6608 DLLWRAP
=$ac_ct_DLLWRAP
6611 DLLWRAP
="$ac_cv_prog_DLLWRAP"
6614 if test "$DLLWRAP" = "false"; then
6615 as_fn_error $?
"dllwrap is needed to build a dll for Windows" "$LINENO" 5
6619 STATIC_IMPLIBEXT
="a"
6620 enable_iphlpapi
=${enable_iphlpapi:-no}
6621 enable_kernel32
=${enable_kernel32:-no}
6622 enable_msvcrt
=${enable_msvcrt:-no}
6623 enable_ntdll
=${enable_ntdll:-no}
6624 enable_ws2_32
=${enable_ws2_32:-no}
6625 enable_loader
=${enable_loader:-no}
6626 enable_server
=${enable_server:-no}
6627 with_x
=${with_x:-no}
6628 with_pthread
=${with_pthread:-no}
6634 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
6639 all: libwine.dll libwine.a
6642 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
6644 libwine.dll: \$(OBJS) wine.def Makefile.in
6645 \$(DLLWRAP) --def \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
6647 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
6648 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
6650 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
6651 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
6654 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
6657 \$(RM) libwine.dll version.c
6665 DLLFLAGS
="$DLLFLAGS -fPIC"
6666 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6667 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6668 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6669 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
6670 COREFOUNDATIONLIB
="-framework CoreFoundation"
6672 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6674 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
6676 CORESERVICESLIB
="-framework CoreServices"
6680 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"
6683 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6686 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6688 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6691 if test "$ac_cv_header_Security_Security_h" = "yes"
6693 SECURITYLIB
="-framework Security -framework CoreFoundation"
6695 ac_save_LIBS
="$LIBS"
6696 LIBS
="$LIBS $SECURITYLIB"
6697 for ac_func
in SSLCopyPeerCertificates
6699 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6700 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
6701 cat >>confdefs.h
<<_ACEOF
6702 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6708 LIBS
="$ac_save_LIBS"
6709 with_gnutls
=${with_gnutls:-no}
6711 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6713 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6715 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6718 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6721 ac_save_LIBS
="$LIBS"
6722 LIBS
="$LIBS $COREAUDIO"
6723 for ac_func
in AUGraphAddNode
6725 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6726 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
6727 cat >>confdefs.h
<<_ACEOF
6728 #define HAVE_AUGRAPHADDNODE 1
6734 LIBS
="$ac_save_LIBS"
6736 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6738 FRAMEWORK_OPENAL
="-framework OpenAL"
6741 cat >>confdefs.h
<<_ACEOF
6742 #define HAVE_OPENAL 1
6745 ac_cv_lib_openal
=yes
6747 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6749 LIBOPENCL
="-framework OpenCL"
6751 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6753 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6755 ac_save_LIBS
="$LIBS"
6756 LIBS
="$LIBS $IOKITLIB"
6757 for ac_func
in IOHIDManagerCreate
6759 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6760 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
6761 cat >>confdefs.h
<<_ACEOF
6762 #define HAVE_IOHIDMANAGERCREATE 1
6768 LIBS
="$ac_save_LIBS"
6772 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6774 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6776 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6778 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6780 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6782 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6784 CARBONLIB
="-framework Carbon"
6788 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6790 ac_save_LIBS
="$LIBS"
6791 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
6792 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6793 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
6794 enable_winemac_drv
=${enable_winemac_drv:-yes}
6797 LIBS
="$ac_save_LIBS"
6800 if test "x$enable_win16" = "xyes"
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6803 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6804 if test "$cross_compiling" = yes; then :
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6806 $as_echo "cross-compiling, assuming yes" >&6; }
6808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6809 /* end confdefs.h. */
6812 "good:\tnop;nop\n\t"
6813 ".globl _testfunc\n"
6814 "_testfunc:\tcallw good");
6815 extern void testfunc();
6819 unsigned short *p = (unsigned short *)testfunc;
6820 return p[0] != 0xe866 || p[1] != 0xfffa
6825 if ac_fn_c_try_run
"$LINENO"; then :
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6827 $as_echo "yes" >&6; }
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6830 $as_echo "no" >&6; }
6831 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
6833 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6834 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6842 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
6843 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
6845 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
6846 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
6848 libwine.dylib: libwine.\$(SOVERSION).dylib
6849 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
6851 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
6852 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
6853 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6855 install install-dev:: \$(DESTDIR)\$(libdir) dummy
6856 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
6859 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6862 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
6868 DLLFLAGS
="$DLLFLAGS -fPIC"
6870 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6872 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6873 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
6874 $as_echo_n "(cached) " >&6
6876 ac_wine_try_cflags_saved
=$CFLAGS
6877 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6879 /* end confdefs.h. */
6880 int main(int argc, char **argv) { return 0; }
6882 if ac_fn_c_try_link
"$LINENO"; then :
6883 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6885 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6887 rm -f core conftest.err conftest.
$ac_objext \
6888 conftest
$ac_exeext conftest.
$ac_ext
6889 CFLAGS
=$ac_wine_try_cflags_saved
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6892 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6893 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6894 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6896 { $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
6897 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6898 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
6899 $as_echo_n "(cached) " >&6
6901 ac_wine_try_cflags_saved
=$CFLAGS
6902 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6904 /* end confdefs.h. */
6905 int main(int argc, char **argv) { return 0; }
6907 if ac_fn_c_try_link
"$LINENO"; then :
6908 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6910 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6912 rm -f core conftest.err conftest.
$ac_objext \
6913 conftest
$ac_exeext conftest.
$ac_ext
6914 CFLAGS
=$ac_wine_try_cflags_saved
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6917 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6918 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6919 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6922 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6923 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
6924 $as_echo_n "(cached) " >&6
6926 ac_wine_try_cflags_saved
=$CFLAGS
6927 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6929 /* end confdefs.h. */
6930 int main(int argc, char **argv) { return 0; }
6932 if ac_fn_c_try_link
"$LINENO"; then :
6933 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6935 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6937 rm -f core conftest.err conftest.
$ac_objext \
6938 conftest
$ac_exeext conftest.
$ac_ext
6939 CFLAGS
=$ac_wine_try_cflags_saved
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6942 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6943 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6944 LDEXECFLAGS
="-Wl,--export-dynamic"
6947 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6949 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6950 if eval \
${$as_ac_var+:} false
; then :
6951 $as_echo_n "(cached) " >&6
6953 ac_wine_try_cflags_saved
=$CFLAGS
6954 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6956 /* end confdefs.h. */
6957 int main(int argc, char **argv) { return 0; }
6959 if ac_fn_c_try_link
"$LINENO"; then :
6960 eval "$as_ac_var=yes"
6962 eval "$as_ac_var=no"
6964 rm -f core conftest.err conftest.
$ac_objext \
6965 conftest
$ac_exeext conftest.
$ac_ext
6966 CFLAGS
=$ac_wine_try_cflags_saved
6968 eval ac_res
=\$
$as_ac_var
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6970 $as_echo "$ac_res" >&6; }
6971 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6972 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6973 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6975 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6977 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6978 if eval \
${$as_ac_var+:} false
; then :
6979 $as_echo_n "(cached) " >&6
6981 ac_wine_try_cflags_saved
=$CFLAGS
6982 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6984 /* end confdefs.h. */
6985 int main(int argc, char **argv) { return 0; }
6987 if ac_fn_c_try_link
"$LINENO"; then :
6988 eval "$as_ac_var=yes"
6990 eval "$as_ac_var=no"
6992 rm -f core conftest.err conftest.
$ac_objext \
6993 conftest
$ac_exeext conftest.
$ac_ext
6994 CFLAGS
=$ac_wine_try_cflags_saved
6996 eval ac_res
=\$
$as_ac_var
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6998 $as_echo "$ac_res" >&6; }
6999 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7000 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7001 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7006 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7007 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7008 $as_echo_n "(cached) " >&6
7010 ac_wine_try_cflags_saved
=$CFLAGS
7011 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7013 /* end confdefs.h. */
7014 int main(int argc, char **argv) { return 0; }
7016 if ac_fn_c_try_link
"$LINENO"; then :
7017 ac_cv_cflags__Wl___enable_new_dtags
=yes
7019 ac_cv_cflags__Wl___enable_new_dtags
=no
7021 rm -f core conftest.err conftest.
$ac_objext \
7022 conftest
$ac_exeext conftest.
$ac_ext
7023 CFLAGS
=$ac_wine_try_cflags_saved
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7026 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7027 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7028 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7032 *i
[3456789]86* | x86_64
)
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7034 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7035 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7036 $as_echo_n "(cached) " >&6
7038 ac_wine_try_cflags_saved
=$CFLAGS
7039 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7041 /* end confdefs.h. */
7042 int main(int argc, char **argv) { return 0; }
7044 if ac_fn_c_try_link
"$LINENO"; then :
7045 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7047 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7049 rm -f core conftest.err conftest.
$ac_objext \
7050 conftest
$ac_exeext conftest.
$ac_ext
7051 CFLAGS
=$ac_wine_try_cflags_saved
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7054 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7055 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7056 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7064 libwine.so: \$(OBJS) Makefile.in
7065 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7067 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7068 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7071 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7074 \$(RM) libwine.so version.c
7080 DLLFLAGS
="$DLLFLAGS -fPIC"
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7083 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7084 if ${ac_cv_c_dll_gnuelf+:} false
; then :
7085 $as_echo_n "(cached) " >&6
7087 ac_wine_try_cflags_saved
=$CFLAGS
7088 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7090 /* end confdefs.h. */
7093 if ac_fn_c_try_link
"$LINENO"; then :
7094 ac_cv_c_dll_gnuelf
="yes"
7096 ac_cv_c_dll_gnuelf
="no"
7098 rm -f core conftest.err conftest.
$ac_objext \
7099 conftest
$ac_exeext conftest.
$ac_ext
7100 CFLAGS
=$ac_wine_try_cflags_saved
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7103 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7104 if test "$ac_cv_c_dll_gnuelf" = "yes"
7106 LDSHARED
="\$(CC) -shared"
7107 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7109 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7110 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
7111 $as_echo_n "(cached) " >&6
7113 ac_wine_try_cflags_saved
=$CFLAGS
7114 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7116 /* end confdefs.h. */
7117 int main(int argc, char **argv) { return 0; }
7119 if ac_fn_c_try_link
"$LINENO"; then :
7120 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
7122 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=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_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7129 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7130 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7131 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7134 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7135 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
7136 $as_echo_n "(cached) " >&6
7138 ac_wine_try_cflags_saved
=$CFLAGS
7139 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7141 /* end confdefs.h. */
7142 int main(int argc, char **argv) { return 0; }
7144 if ac_fn_c_try_link
"$LINENO"; then :
7145 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
7147 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
7149 rm -f core conftest.err conftest.
$ac_objext \
7150 conftest
$ac_exeext conftest.
$ac_ext
7151 CFLAGS
=$ac_wine_try_cflags_saved
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7154 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7155 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7156 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
7161 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
7162 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
7163 $as_echo_n "(cached) " >&6
7165 ac_wine_try_cflags_saved
=$CFLAGS
7166 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
7167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7168 /* end confdefs.h. */
7169 int main(int argc, char **argv) { return 0; }
7171 if ac_fn_c_try_link
"$LINENO"; then :
7172 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
7174 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
7176 rm -f core conftest.err conftest.
$ac_objext \
7177 conftest
$ac_exeext conftest.
$ac_ext
7178 CFLAGS
=$ac_wine_try_cflags_saved
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
7181 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
7182 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
7183 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
7186 { $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
7187 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
7188 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
7189 $as_echo_n "(cached) " >&6
7191 ac_wine_try_cflags_saved
=$CFLAGS
7192 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
7193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7194 /* end confdefs.h. */
7195 int main(int argc, char **argv) { return 0; }
7197 if ac_fn_c_try_link
"$LINENO"; then :
7198 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
7200 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
7202 rm -f core conftest.err conftest.
$ac_objext \
7203 conftest
$ac_exeext conftest.
$ac_ext
7204 CFLAGS
=$ac_wine_try_cflags_saved
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
7207 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
7208 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
7209 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
7212 echo '{ global: *; };' >conftest.map
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7214 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7215 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
7216 $as_echo_n "(cached) " >&6
7218 ac_wine_try_cflags_saved
=$CFLAGS
7219 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7221 /* end confdefs.h. */
7222 int main(int argc, char **argv) { return 0; }
7224 if ac_fn_c_try_link
"$LINENO"; then :
7225 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
7227 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
7229 rm -f core conftest.err conftest.
$ac_objext \
7230 conftest
$ac_exeext conftest.
$ac_ext
7231 CFLAGS
=$ac_wine_try_cflags_saved
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7234 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7235 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7236 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7241 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7242 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7243 $as_echo_n "(cached) " >&6
7245 ac_wine_try_cflags_saved
=$CFLAGS
7246 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7248 /* end confdefs.h. */
7249 int main(int argc, char **argv) { return 0; }
7251 if ac_fn_c_try_link
"$LINENO"; then :
7252 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7254 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7256 rm -f core conftest.err conftest.
$ac_objext \
7257 conftest
$ac_exeext conftest.
$ac_ext
7258 CFLAGS
=$ac_wine_try_cflags_saved
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7261 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7262 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7263 LDEXECFLAGS
="-Wl,--export-dynamic"
7267 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7269 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7270 if eval \
${$as_ac_var+:} false
; then :
7271 $as_echo_n "(cached) " >&6
7273 ac_wine_try_cflags_saved
=$CFLAGS
7274 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7276 /* end confdefs.h. */
7277 int main(int argc, char **argv) { return 0; }
7279 if ac_fn_c_try_link
"$LINENO"; then :
7280 eval "$as_ac_var=yes"
7282 eval "$as_ac_var=no"
7284 rm -f core conftest.err conftest.
$ac_objext \
7285 conftest
$ac_exeext conftest.
$ac_ext
7286 CFLAGS
=$ac_wine_try_cflags_saved
7288 eval ac_res
=\$
$as_ac_var
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7290 $as_echo "$ac_res" >&6; }
7291 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7292 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7293 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7295 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7297 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7298 if eval \
${$as_ac_var+:} false
; then :
7299 $as_echo_n "(cached) " >&6
7301 ac_wine_try_cflags_saved
=$CFLAGS
7302 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7304 /* end confdefs.h. */
7305 int main(int argc, char **argv) { return 0; }
7307 if ac_fn_c_try_link
"$LINENO"; then :
7308 eval "$as_ac_var=yes"
7310 eval "$as_ac_var=no"
7312 rm -f core conftest.err conftest.
$ac_objext \
7313 conftest
$ac_exeext conftest.
$ac_ext
7314 CFLAGS
=$ac_wine_try_cflags_saved
7316 eval ac_res
=\$
$as_ac_var
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7318 $as_echo "$ac_res" >&6; }
7319 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7320 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7321 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7326 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7327 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7328 $as_echo_n "(cached) " >&6
7330 ac_wine_try_cflags_saved
=$CFLAGS
7331 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7333 /* end confdefs.h. */
7334 int main(int argc, char **argv) { return 0; }
7336 if ac_fn_c_try_link
"$LINENO"; then :
7337 ac_cv_cflags__Wl___enable_new_dtags
=yes
7339 ac_cv_cflags__Wl___enable_new_dtags
=no
7341 rm -f core conftest.err conftest.
$ac_objext \
7342 conftest
$ac_exeext conftest.
$ac_ext
7343 CFLAGS
=$ac_wine_try_cflags_saved
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7346 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7347 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7348 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7352 *i
[3456789]86* | x86_64
)
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7354 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7355 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7356 $as_echo_n "(cached) " >&6
7358 ac_wine_try_cflags_saved
=$CFLAGS
7359 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7361 /* end confdefs.h. */
7362 int main(int argc, char **argv) { return 0; }
7364 if ac_fn_c_try_link
"$LINENO"; then :
7365 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7367 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7369 rm -f core conftest.err conftest.
$ac_objext \
7370 conftest
$ac_exeext conftest.
$ac_ext
7371 CFLAGS
=$ac_wine_try_cflags_saved
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7374 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7375 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7377 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7378 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7382 # Extract the first word of "prelink", so it can be a program name with args.
7383 set dummy prelink
; ac_word
=$2
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7385 $as_echo_n "checking for $ac_word... " >&6; }
7386 if ${ac_cv_path_PRELINK+:} false
; then :
7387 $as_echo_n "(cached) " >&6
7391 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7395 for as_dir
in /sbin
/usr
/sbin
$PATH
7398 test -z "$as_dir" && as_dir
=.
7399 for ac_exec_ext
in '' $ac_executable_extensions; do
7400 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7401 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7409 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7413 PRELINK
=$ac_cv_path_PRELINK
7414 if test -n "$PRELINK"; then
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7416 $as_echo "$PRELINK" >&6; }
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7419 $as_echo "no" >&6; }
7423 if test "x$PRELINK" = xfalse
7425 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7432 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7433 if ${ac_cv_c_dll_unixware+:} false
; then :
7434 $as_echo_n "(cached) " >&6
7436 ac_wine_try_cflags_saved
=$CFLAGS
7437 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7439 /* end confdefs.h. */
7442 if ac_fn_c_try_link
"$LINENO"; then :
7443 ac_cv_c_dll_unixware
="yes"
7445 ac_cv_c_dll_unixware
="no"
7447 rm -f core conftest.err conftest.
$ac_objext \
7448 conftest
$ac_exeext conftest.
$ac_ext
7449 CFLAGS
=$ac_wine_try_cflags_saved
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7452 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7453 if test "$ac_cv_c_dll_unixware" = "yes"
7455 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7456 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
7462 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7463 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7465 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7466 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7468 libwine.so: libwine.so.\$(SOVERSION)
7469 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7471 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
7472 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
7473 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7475 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7476 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
7479 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7482 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
7488 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7489 enable_winemac_drv
=${enable_winemac_drv:-no}
7491 CROSSTEST_DISABLE
=\
#
7493 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7497 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
7500 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 " ;;
7502 ac_prefix_list
="" ;;
7504 for ac_prog
in $ac_prefix_list
7506 # Extract the first word of "$ac_prog", so it can be a program name with args.
7507 set dummy
$ac_prog; ac_word
=$2
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7509 $as_echo_n "checking for $ac_word... " >&6; }
7510 if ${ac_cv_prog_CROSSCC+:} false
; then :
7511 $as_echo_n "(cached) " >&6
7513 if test -n "$CROSSCC"; then
7514 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7520 test -z "$as_dir" && as_dir
=.
7521 for ac_exec_ext
in '' $ac_executable_extensions; do
7522 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7523 ac_cv_prog_CROSSCC
="$ac_prog"
7524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7533 CROSSCC
=$ac_cv_prog_CROSSCC
7534 if test -n "$CROSSCC"; then
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7536 $as_echo "$CROSSCC" >&6; }
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7539 $as_echo "no" >&6; }
7543 test -n "$CROSSCC" && break
7545 test -n "$CROSSCC" || CROSSCC
="false"
7547 if test "$CROSSCC" != "false"
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7552 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7554 /* end confdefs.h. */
7564 if ac_fn_c_try_compile
"$LINENO"; then :
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7566 $as_echo "yes" >&6; }
7573 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7577 if test -n "$target"
7579 CROSSTEST_DISABLE
=""
7580 CROSSTARGET
="$target"
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7585 $as_echo "no" >&6; }
7587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7593 if test "$ac_cv_header_pthread_h" = "yes"
7595 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7596 if test "x$ac_cv_func_pthread_create" = xyes
; then :
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7600 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7601 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
7602 $as_echo_n "(cached) " >&6
7604 ac_check_lib_save_LIBS
=$LIBS
7605 LIBS
="-lpthread $LIBS"
7606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7607 /* end confdefs.h. */
7609 /* Override any GCC internal prototype to avoid an error.
7610 Use char because int might match the return type of a GCC
7611 builtin and then its argument prototype would still apply. */
7615 char pthread_create ();
7619 return pthread_create ();
7624 if ac_fn_c_try_link
"$LINENO"; then :
7625 ac_cv_lib_pthread_pthread_create
=yes
7627 ac_cv_lib_pthread_pthread_create
=no
7629 rm -f core conftest.err conftest.
$ac_objext \
7630 conftest
$ac_exeext conftest.
$ac_ext
7631 LIBS
=$ac_check_lib_save_LIBS
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7634 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7635 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
7636 LIBPTHREAD
="-lpthread"
7643 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
7644 case "x$with_pthread" in
7646 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7647 Wine cannot support threads without libpthread.
7648 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7654 $as_echo_n "checking for X... " >&6; }
7657 # Check whether --with-x was given.
7658 if test "${with_x+set}" = set; then :
7662 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7663 if test "x$with_x" = xno
; then
7664 # The user explicitly disabled X.
7667 case $x_includes,$x_libraries in #(
7668 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
7669 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
7670 $as_echo_n "(cached) " >&6
7672 # One or both of the vars are not set, and there is no cached value.
7673 ac_x_includes
=no ac_x_libraries
=no
7674 rm -f -r conftest.dir
7675 if mkdir conftest.dir
; then
7677 cat >Imakefile
<<'_ACEOF'
7679 @echo incroot='${INCROOT}'
7681 @echo usrlibdir='${USRLIBDIR}'
7683 @echo libdir='${LIBDIR}'
7685 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7686 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7687 for ac_var
in incroot usrlibdir libdir
; do
7688 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7690 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7691 for ac_extension
in a so sl dylib la dll
; do
7692 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7693 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7694 ac_im_usrlibdir
=$ac_im_libdir; break
7697 # Screen out bogus values from the imake configuration. They are
7698 # bogus both because they are the default anyway, and because
7699 # using them would break gcc on systems where it needs fixed includes.
7700 case $ac_im_incroot in
7701 /usr
/include
) ac_x_includes
= ;;
7702 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7704 case $ac_im_usrlibdir in
7705 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7706 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7710 rm -f -r conftest.dir
7713 # Standard set of common directories for X headers.
7714 # Check X11 before X11Rn because it is often a symlink to the current release.
7728 /usr/local/X11/include
7729 /usr/local/X11R7/include
7730 /usr/local/X11R6/include
7731 /usr/local/X11R5/include
7732 /usr/local/X11R4/include
7734 /usr/local/include/X11
7735 /usr/local/include/X11R7
7736 /usr/local/include/X11R6
7737 /usr/local/include/X11R5
7738 /usr/local/include/X11R4
7742 /usr/XFree86/include/X11
7746 /usr/unsupported/include
7748 /usr/local/x11r5/include
7749 /usr/lpp/Xamples/include
7751 /usr/openwin/include
7752 /usr/openwin/share/include'
7754 if test "$ac_x_includes" = no
; then
7755 # Guess where to find include files, by looking for Xlib.h.
7756 # First, try using that file with no special directory specified.
7757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */
7759 #include <X11/Xlib.h>
7761 if ac_fn_c_try_cpp
"$LINENO"; then :
7762 # We can compile using X headers with no special include directory.
7765 for ac_dir
in $ac_x_header_dirs; do
7766 if test -r "$ac_dir/X11/Xlib.h"; then
7767 ac_x_includes
=$ac_dir
7772 rm -f conftest.err conftest.i conftest.
$ac_ext
7773 fi # $ac_x_includes = no
7775 if test "$ac_x_libraries" = no
; then
7776 # Check for the libraries.
7777 # See if we find them without any special options.
7778 # Don't add to $LIBS permanently.
7781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h. */
7783 #include <X11/Xlib.h>
7792 if ac_fn_c_try_link
"$LINENO"; then :
7794 # We can link X programs with no special library path.
7798 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7800 # Don't even attempt the hair of trying to link an X program!
7801 for ac_extension
in a so sl dylib la dll
; do
7802 if test -r "$ac_dir/libX11.$ac_extension"; then
7803 ac_x_libraries
=$ac_dir
7809 rm -f core conftest.err conftest.
$ac_objext \
7810 conftest
$ac_exeext conftest.
$ac_ext
7811 fi # $ac_x_libraries = no
7813 case $ac_x_includes,$ac_x_libraries in #(
7815 # Didn't find X, or a directory has "'" in its name.
7816 ac_cv_have_x
="have_x=no";; #(
7818 # Record where we found X for the cache.
7819 ac_cv_have_x
="have_x=yes\
7820 ac_x_includes='$ac_x_includes'\
7821 ac_x_libraries='$ac_x_libraries'"
7827 eval "$ac_cv_have_x"
7830 if test "$have_x" != yes; then
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7832 $as_echo "$have_x" >&6; }
7835 # If each of the values was on the command line, it overrides each guess.
7836 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7837 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7838 # Update the cache value to reflect the command line values.
7839 ac_cv_have_x
="have_x=yes\
7840 ac_x_includes='$x_includes'\
7841 ac_x_libraries='$x_libraries'"
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7843 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7846 if test "$no_x" = yes; then
7847 # Not all programs may use this symbol, but it does not hurt to define it.
7849 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7851 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7853 if test -n "$x_includes"; then
7854 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7857 # It would also be nice to do this for all -L options, not just this one.
7858 if test -n "$x_libraries"; then
7859 X_LIBS
="$X_LIBS -L$x_libraries"
7860 # For Solaris; some versions of Sun CC require a space after -R and
7861 # others require no space. Words are not sufficient . . . .
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7863 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7864 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7865 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7866 ac_c_werror_flag
=yes
7867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7868 /* end confdefs.h. */
7878 if ac_fn_c_try_link
"$LINENO"; then :
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7880 $as_echo "no" >&6; }
7881 X_LIBS
="$X_LIBS -R$x_libraries"
7883 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7885 /* end confdefs.h. */
7895 if ac_fn_c_try_link
"$LINENO"; then :
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7897 $as_echo "yes" >&6; }
7898 X_LIBS
="$X_LIBS -R $x_libraries"
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7901 $as_echo "neither works" >&6; }
7903 rm -f core conftest.err conftest.
$ac_objext \
7904 conftest
$ac_exeext conftest.
$ac_ext
7906 rm -f core conftest.err conftest.
$ac_objext \
7907 conftest
$ac_exeext conftest.
$ac_ext
7908 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7912 # Check for system-dependent libraries X programs must link with.
7913 # Do this before checking for the system-independent R6 libraries
7914 # (-lICE), since we may need -lsocket or whatever for X linking.
7916 if test "$ISC" = yes; then
7917 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7919 # Martyn Johnson says this is needed for Ultrix, if the X
7920 # libraries were built with DECnet support. And Karl Berry says
7921 # the Alpha needs dnet_stub (dnet does not exist).
7922 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7924 /* end confdefs.h. */
7926 /* Override any GCC internal prototype to avoid an error.
7927 Use char because int might match the return type of a GCC
7928 builtin and then its argument prototype would still apply. */
7932 char XOpenDisplay ();
7936 return XOpenDisplay ();
7941 if ac_fn_c_try_link
"$LINENO"; then :
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7945 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7946 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
7947 $as_echo_n "(cached) " >&6
7949 ac_check_lib_save_LIBS
=$LIBS
7951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7952 /* end confdefs.h. */
7954 /* Override any GCC internal prototype to avoid an error.
7955 Use char because int might match the return type of a GCC
7956 builtin and then its argument prototype would still apply. */
7964 return dnet_ntoa ();
7969 if ac_fn_c_try_link
"$LINENO"; then :
7970 ac_cv_lib_dnet_dnet_ntoa
=yes
7972 ac_cv_lib_dnet_dnet_ntoa
=no
7974 rm -f core conftest.err conftest.
$ac_objext \
7975 conftest
$ac_exeext conftest.
$ac_ext
7976 LIBS
=$ac_check_lib_save_LIBS
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7979 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7980 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
7981 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7984 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7986 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7987 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
7988 $as_echo_n "(cached) " >&6
7990 ac_check_lib_save_LIBS
=$LIBS
7991 LIBS
="-ldnet_stub $LIBS"
7992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7993 /* end confdefs.h. */
7995 /* Override any GCC internal prototype to avoid an error.
7996 Use char because int might match the return type of a GCC
7997 builtin and then its argument prototype would still apply. */
8005 return dnet_ntoa ();
8010 if ac_fn_c_try_link
"$LINENO"; then :
8011 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8013 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8015 rm -f core conftest.err conftest.
$ac_objext \
8016 conftest
$ac_exeext conftest.
$ac_ext
8017 LIBS
=$ac_check_lib_save_LIBS
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8020 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8021 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8022 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8027 rm -f core conftest.err conftest.
$ac_objext \
8028 conftest
$ac_exeext conftest.
$ac_ext
8029 LIBS
="$ac_xsave_LIBS"
8031 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8032 # to get the SysV transport functions.
8033 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8035 # The nsl library prevents programs from opening the X display
8036 # on Irix 5.2, according to T.E. Dickey.
8037 # The functions gethostbyname, getservbyname, and inet_addr are
8038 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8039 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8040 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8044 if test $ac_cv_func_gethostbyname = no
; then
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8046 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8047 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8048 $as_echo_n "(cached) " >&6
8050 ac_check_lib_save_LIBS
=$LIBS
8052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8053 /* end confdefs.h. */
8055 /* Override any GCC internal prototype to avoid an error.
8056 Use char because int might match the return type of a GCC
8057 builtin and then its argument prototype would still apply. */
8061 char gethostbyname ();
8065 return gethostbyname ();
8070 if ac_fn_c_try_link
"$LINENO"; then :
8071 ac_cv_lib_nsl_gethostbyname
=yes
8073 ac_cv_lib_nsl_gethostbyname
=no
8075 rm -f core conftest.err conftest.
$ac_objext \
8076 conftest
$ac_exeext conftest.
$ac_ext
8077 LIBS
=$ac_check_lib_save_LIBS
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8080 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8081 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8082 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8085 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8087 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8088 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8089 $as_echo_n "(cached) " >&6
8091 ac_check_lib_save_LIBS
=$LIBS
8093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8094 /* end confdefs.h. */
8096 /* Override any GCC internal prototype to avoid an error.
8097 Use char because int might match the return type of a GCC
8098 builtin and then its argument prototype would still apply. */
8102 char gethostbyname ();
8106 return gethostbyname ();
8111 if ac_fn_c_try_link
"$LINENO"; then :
8112 ac_cv_lib_bsd_gethostbyname
=yes
8114 ac_cv_lib_bsd_gethostbyname
=no
8116 rm -f core conftest.err conftest.
$ac_objext \
8117 conftest
$ac_exeext conftest.
$ac_ext
8118 LIBS
=$ac_check_lib_save_LIBS
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8121 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8122 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
8123 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8129 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8130 # socket/setsockopt and other routines are undefined under SCO ODT
8131 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8132 # on later versions), says Simon Leinen: it contains gethostby*
8133 # variants that don't use the name server (or something). -lsocket
8134 # must be given before -lnsl if both are needed. We assume that
8135 # if connect needs -lnsl, so does gethostbyname.
8136 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
8137 if test "x$ac_cv_func_connect" = xyes
; then :
8141 if test $ac_cv_func_connect = no
; then
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8143 $as_echo_n "checking for connect in -lsocket... " >&6; }
8144 if ${ac_cv_lib_socket_connect+:} false
; then :
8145 $as_echo_n "(cached) " >&6
8147 ac_check_lib_save_LIBS
=$LIBS
8148 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8150 /* end confdefs.h. */
8152 /* Override any GCC internal prototype to avoid an error.
8153 Use char because int might match the return type of a GCC
8154 builtin and then its argument prototype would still apply. */
8167 if ac_fn_c_try_link
"$LINENO"; then :
8168 ac_cv_lib_socket_connect
=yes
8170 ac_cv_lib_socket_connect
=no
8172 rm -f core conftest.err conftest.
$ac_objext \
8173 conftest
$ac_exeext conftest.
$ac_ext
8174 LIBS
=$ac_check_lib_save_LIBS
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8177 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8178 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
8179 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8184 # Guillermo Gomez says -lposix is necessary on A/UX.
8185 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
8186 if test "x$ac_cv_func_remove" = xyes
; then :
8190 if test $ac_cv_func_remove = no
; then
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8192 $as_echo_n "checking for remove in -lposix... " >&6; }
8193 if ${ac_cv_lib_posix_remove+:} false
; then :
8194 $as_echo_n "(cached) " >&6
8196 ac_check_lib_save_LIBS
=$LIBS
8197 LIBS
="-lposix $LIBS"
8198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8199 /* end confdefs.h. */
8201 /* Override any GCC internal prototype to avoid an error.
8202 Use char because int might match the return type of a GCC
8203 builtin and then its argument prototype would still apply. */
8216 if ac_fn_c_try_link
"$LINENO"; then :
8217 ac_cv_lib_posix_remove
=yes
8219 ac_cv_lib_posix_remove
=no
8221 rm -f core conftest.err conftest.
$ac_objext \
8222 conftest
$ac_exeext conftest.
$ac_ext
8223 LIBS
=$ac_check_lib_save_LIBS
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8226 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8227 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
8228 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8233 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8234 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
8235 if test "x$ac_cv_func_shmat" = xyes
; then :
8239 if test $ac_cv_func_shmat = no
; then
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8241 $as_echo_n "checking for shmat in -lipc... " >&6; }
8242 if ${ac_cv_lib_ipc_shmat+:} false
; then :
8243 $as_echo_n "(cached) " >&6
8245 ac_check_lib_save_LIBS
=$LIBS
8247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8248 /* end confdefs.h. */
8250 /* Override any GCC internal prototype to avoid an error.
8251 Use char because int might match the return type of a GCC
8252 builtin and then its argument prototype would still apply. */
8265 if ac_fn_c_try_link
"$LINENO"; then :
8266 ac_cv_lib_ipc_shmat
=yes
8268 ac_cv_lib_ipc_shmat
=no
8270 rm -f core conftest.err conftest.
$ac_objext \
8271 conftest
$ac_exeext conftest.
$ac_ext
8272 LIBS
=$ac_check_lib_save_LIBS
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8275 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8276 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
8277 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8283 # Check for libraries that X11R6 Xt/Xaw programs need.
8284 ac_save_LDFLAGS
=$LDFLAGS
8285 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8286 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8287 # check for ICE first), but we must link in the order -lSM -lICE or
8288 # we get undefined symbols. So assume we have SM if we have ICE.
8289 # These have to be linked with before -lX11, unlike the other
8290 # libraries we check for below, so use a different variable.
8291 # John Interrante, Karl Berry
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8293 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8294 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
8295 $as_echo_n "(cached) " >&6
8297 ac_check_lib_save_LIBS
=$LIBS
8298 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8300 /* end confdefs.h. */
8302 /* Override any GCC internal prototype to avoid an error.
8303 Use char because int might match the return type of a GCC
8304 builtin and then its argument prototype would still apply. */
8308 char IceConnectionNumber ();
8312 return IceConnectionNumber ();
8317 if ac_fn_c_try_link
"$LINENO"; then :
8318 ac_cv_lib_ICE_IceConnectionNumber
=yes
8320 ac_cv_lib_ICE_IceConnectionNumber
=no
8322 rm -f core conftest.err conftest.
$ac_objext \
8323 conftest
$ac_exeext conftest.
$ac_ext
8324 LIBS
=$ac_check_lib_save_LIBS
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8327 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8328 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
8329 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8332 LDFLAGS
=$ac_save_LDFLAGS
8337 if test "$have_x" = "yes"
8340 ac_save_CPPFLAGS
="$CPPFLAGS"
8341 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8344 $as_echo_n "checking for -lX11... " >&6; }
8345 if ${ac_cv_lib_soname_X11+:} false
; then :
8346 $as_echo_n "(cached) " >&6
8348 ac_check_soname_save_LIBS
=$LIBS
8349 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8351 /* end confdefs.h. */
8353 /* Override any GCC internal prototype to avoid an error.
8354 Use char because int might match the return type of a GCC
8355 builtin and then its argument prototype would still apply. */
8359 char XCreateWindow ();
8363 return XCreateWindow ();
8368 if ac_fn_c_try_link
"$LINENO"; then :
8370 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8371 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'` ;;
8372 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8373 if test "x$ac_cv_lib_soname_X11" = x
; then :
8374 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8378 rm -f core conftest.err conftest.
$ac_objext \
8379 conftest
$ac_exeext conftest.
$ac_ext
8380 LIBS
=$ac_check_soname_save_LIBS
8382 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8384 $as_echo "not found" >&6; }
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8388 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8390 cat >>confdefs.h
<<_ACEOF
8391 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8397 $as_echo_n "checking for -lXext... " >&6; }
8398 if ${ac_cv_lib_soname_Xext+:} false
; then :
8399 $as_echo_n "(cached) " >&6
8401 ac_check_soname_save_LIBS
=$LIBS
8402 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8404 /* end confdefs.h. */
8406 /* Override any GCC internal prototype to avoid an error.
8407 Use char because int might match the return type of a GCC
8408 builtin and then its argument prototype would still apply. */
8412 char XextCreateExtension ();
8416 return XextCreateExtension ();
8421 if ac_fn_c_try_link
"$LINENO"; then :
8423 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8424 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'` ;;
8425 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8426 if test "x$ac_cv_lib_soname_Xext" = x
; then :
8427 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8431 rm -f core conftest.err conftest.
$ac_objext \
8432 conftest
$ac_exeext conftest.
$ac_ext
8433 LIBS
=$ac_check_soname_save_LIBS
8435 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8437 $as_echo "not found" >&6; }
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8441 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8443 cat >>confdefs.h
<<_ACEOF
8444 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8450 for ac_header
in X11
/Xlib.h \
8453 X11
/Xcursor
/Xcursor.h \
8454 X11
/extensions
/shape.h \
8455 X11
/extensions
/XInput.h \
8456 X11
/extensions
/XInput2.h \
8457 X11
/extensions
/XShm.h \
8458 X11
/extensions
/Xcomposite.h \
8459 X11
/extensions
/Xinerama.h \
8460 X11
/extensions
/Xrandr.h \
8461 X11
/extensions
/Xrender.h \
8462 X11
/extensions
/xf86vmode.h \
8463 X11
/extensions
/xf86vmproto.h
8465 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8466 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8467 # include <X11/Xlib.h>
8469 #ifdef HAVE_X11_XUTIL_H
8470 # include <X11/Xutil.h>
8473 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8474 cat >>confdefs.h
<<_ACEOF
8475 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8483 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8486 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8487 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
8488 $as_echo_n "(cached) " >&6
8490 ac_check_lib_save_LIBS
=$LIBS
8491 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8493 /* end confdefs.h. */
8495 /* Override any GCC internal prototype to avoid an error.
8496 Use char because int might match the return type of a GCC
8497 builtin and then its argument prototype would still apply. */
8501 char XkbQueryExtension ();
8505 return XkbQueryExtension ();
8510 if ac_fn_c_try_link
"$LINENO"; then :
8511 ac_cv_lib_X11_XkbQueryExtension
=yes
8513 ac_cv_lib_X11_XkbQueryExtension
=no
8515 rm -f core conftest.err conftest.
$ac_objext \
8516 conftest
$ac_exeext conftest.
$ac_ext
8517 LIBS
=$ac_check_lib_save_LIBS
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8520 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8521 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
8523 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8529 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8532 $as_echo_n "checking for -lXcursor... " >&6; }
8533 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
8534 $as_echo_n "(cached) " >&6
8536 ac_check_soname_save_LIBS
=$LIBS
8537 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8539 /* end confdefs.h. */
8541 /* Override any GCC internal prototype to avoid an error.
8542 Use char because int might match the return type of a GCC
8543 builtin and then its argument prototype would still apply. */
8547 char XcursorImageLoadCursor ();
8551 return XcursorImageLoadCursor ();
8556 if ac_fn_c_try_link
"$LINENO"; then :
8558 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8559 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'` ;;
8560 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8561 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
8562 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8566 rm -f core conftest.err conftest.
$ac_objext \
8567 conftest
$ac_exeext conftest.
$ac_ext
8568 LIBS
=$ac_check_soname_save_LIBS
8570 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8572 $as_echo "not found" >&6; }
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8576 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8578 cat >>confdefs.h
<<_ACEOF
8579 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8585 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8586 case "x$with_xcursor" in
8587 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8589 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8590 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8594 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8597 $as_echo_n "checking for -lXi... " >&6; }
8598 if ${ac_cv_lib_soname_Xi+:} false
; then :
8599 $as_echo_n "(cached) " >&6
8601 ac_check_soname_save_LIBS
=$LIBS
8602 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8604 /* end confdefs.h. */
8606 /* Override any GCC internal prototype to avoid an error.
8607 Use char because int might match the return type of a GCC
8608 builtin and then its argument prototype would still apply. */
8612 char XOpenDevice ();
8616 return XOpenDevice ();
8621 if ac_fn_c_try_link
"$LINENO"; then :
8623 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8624 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'` ;;
8625 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8626 if test "x$ac_cv_lib_soname_Xi" = x
; then :
8627 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8631 rm -f core conftest.err conftest.
$ac_objext \
8632 conftest
$ac_exeext conftest.
$ac_ext
8633 LIBS
=$ac_check_soname_save_LIBS
8635 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8637 $as_echo "not found" >&6; }
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8641 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8643 cat >>confdefs.h
<<_ACEOF
8644 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8650 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8651 case "x$with_xinput" in
8652 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8654 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8655 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8659 if test "x$ac_cv_lib_soname_Xi" != x
8661 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8662 case "x$with_xinput2" in
8663 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8665 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
8666 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8671 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8674 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8675 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
8676 $as_echo_n "(cached) " >&6
8678 ac_check_lib_save_LIBS
=$LIBS
8679 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8681 /* end confdefs.h. */
8683 /* Override any GCC internal prototype to avoid an error.
8684 Use char because int might match the return type of a GCC
8685 builtin and then its argument prototype would still apply. */
8689 char XShmQueryExtension ();
8693 return XShmQueryExtension ();
8698 if ac_fn_c_try_link
"$LINENO"; then :
8699 ac_cv_lib_Xext_XShmQueryExtension
=yes
8701 ac_cv_lib_Xext_XShmQueryExtension
=no
8703 rm -f core conftest.err conftest.
$ac_objext \
8704 conftest
$ac_exeext conftest.
$ac_ext
8705 LIBS
=$ac_check_lib_save_LIBS
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8708 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8709 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
8711 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8716 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8717 case "x$with_xshm" in
8718 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8720 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8721 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8725 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8728 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8729 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
8730 $as_echo_n "(cached) " >&6
8732 ac_check_lib_save_LIBS
=$LIBS
8733 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8735 /* end confdefs.h. */
8737 /* Override any GCC internal prototype to avoid an error.
8738 Use char because int might match the return type of a GCC
8739 builtin and then its argument prototype would still apply. */
8743 char XShapeQueryExtension ();
8747 return XShapeQueryExtension ();
8752 if ac_fn_c_try_link
"$LINENO"; then :
8753 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8755 ac_cv_lib_Xext_XShapeQueryExtension
=no
8757 rm -f core conftest.err conftest.
$ac_objext \
8758 conftest
$ac_exeext conftest.
$ac_ext
8759 LIBS
=$ac_check_lib_save_LIBS
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8762 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8763 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
8765 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8770 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8771 case "x$with_xshape" in
8772 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8774 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8775 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8779 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8782 $as_echo_n "checking for -lXxf86vm... " >&6; }
8783 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
8784 $as_echo_n "(cached) " >&6
8786 ac_check_soname_save_LIBS
=$LIBS
8787 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8789 /* end confdefs.h. */
8791 /* Override any GCC internal prototype to avoid an error.
8792 Use char because int might match the return type of a GCC
8793 builtin and then its argument prototype would still apply. */
8797 char XF86VidModeQueryExtension ();
8801 return XF86VidModeQueryExtension ();
8806 if ac_fn_c_try_link
"$LINENO"; then :
8808 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8809 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'` ;;
8810 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8811 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
8812 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8816 rm -f core conftest.err conftest.
$ac_objext \
8817 conftest
$ac_exeext conftest.
$ac_ext
8818 LIBS
=$ac_check_soname_save_LIBS
8820 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8822 $as_echo "not found" >&6; }
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8826 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8828 cat >>confdefs.h
<<_ACEOF
8829 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8835 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8836 case "x$with_xxf86vm" in
8837 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8839 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8840 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8844 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"
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8847 $as_echo_n "checking for -lXrender... " >&6; }
8848 if ${ac_cv_lib_soname_Xrender+:} false
; then :
8849 $as_echo_n "(cached) " >&6
8851 ac_check_soname_save_LIBS
=$LIBS
8852 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8854 /* end confdefs.h. */
8856 /* Override any GCC internal prototype to avoid an error.
8857 Use char because int might match the return type of a GCC
8858 builtin and then its argument prototype would still apply. */
8862 char XRenderQueryExtension ();
8866 return XRenderQueryExtension ();
8871 if ac_fn_c_try_link
"$LINENO"; then :
8873 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8874 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'` ;;
8875 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8876 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
8877 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8881 rm -f core conftest.err conftest.
$ac_objext \
8882 conftest
$ac_exeext conftest.
$ac_ext
8883 LIBS
=$ac_check_soname_save_LIBS
8885 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8887 $as_echo "not found" >&6; }
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8891 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8893 cat >>confdefs.h
<<_ACEOF
8894 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8898 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8899 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
8900 $as_echo_n "(cached) " >&6
8902 ac_check_lib_save_LIBS
=$LIBS
8903 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8905 /* end confdefs.h. */
8907 /* Override any GCC internal prototype to avoid an error.
8908 Use char because int might match the return type of a GCC
8909 builtin and then its argument prototype would still apply. */
8913 char XRenderSetPictureTransform ();
8917 return XRenderSetPictureTransform ();
8922 if ac_fn_c_try_link
"$LINENO"; then :
8923 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8925 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8927 rm -f core conftest.err conftest.
$ac_objext \
8928 conftest
$ac_exeext conftest.
$ac_ext
8929 LIBS
=$ac_check_lib_save_LIBS
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8932 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8933 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
8935 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8940 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8941 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
8942 $as_echo_n "(cached) " >&6
8944 ac_check_lib_save_LIBS
=$LIBS
8945 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8947 /* end confdefs.h. */
8949 /* Override any GCC internal prototype to avoid an error.
8950 Use char because int might match the return type of a GCC
8951 builtin and then its argument prototype would still apply. */
8955 char XRenderCreateLinearGradient ();
8959 return XRenderCreateLinearGradient ();
8964 if ac_fn_c_try_link
"$LINENO"; then :
8965 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
8967 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
8969 rm -f core conftest.err conftest.
$ac_objext \
8970 conftest
$ac_exeext conftest.
$ac_ext
8971 LIBS
=$ac_check_lib_save_LIBS
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8974 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8975 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
8977 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8984 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8985 case "x$with_xrender" in
8986 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8988 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8989 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8993 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8996 /* end confdefs.h. */
8997 #include <X11/Xlib.h>
8998 #include <X11/extensions/Xrandr.h>
9002 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9007 if ac_fn_c_try_compile
"$LINENO"; then :
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9009 $as_echo_n "checking for -lXrandr... " >&6; }
9010 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9011 $as_echo_n "(cached) " >&6
9013 ac_check_soname_save_LIBS
=$LIBS
9014 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9016 /* end confdefs.h. */
9018 /* Override any GCC internal prototype to avoid an error.
9019 Use char because int might match the return type of a GCC
9020 builtin and then its argument prototype would still apply. */
9024 char XRRQueryExtension ();
9028 return XRRQueryExtension ();
9033 if ac_fn_c_try_link
"$LINENO"; then :
9035 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9036 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'` ;;
9037 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9038 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
9039 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9043 rm -f core conftest.err conftest.
$ac_objext \
9044 conftest
$ac_exeext conftest.
$ac_ext
9045 LIBS
=$ac_check_soname_save_LIBS
9047 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9049 $as_echo "not found" >&6; }
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9053 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9055 cat >>confdefs.h
<<_ACEOF
9056 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9060 /* end confdefs.h. */
9061 #include <X11/Xlib.h>
9062 #include <X11/extensions/Xrandr.h>
9066 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9071 if ac_fn_c_try_compile
"$LINENO"; then :
9073 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9081 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9082 case "x$with_xrandr" in
9083 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9085 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9086 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9090 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9093 /* end confdefs.h. */
9094 #include <X11/Xlib.h>
9095 #include <X11/extensions/Xinerama.h>
9099 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9104 if ac_fn_c_try_compile
"$LINENO"; then :
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9106 $as_echo_n "checking for -lXinerama... " >&6; }
9107 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
9108 $as_echo_n "(cached) " >&6
9110 ac_check_soname_save_LIBS
=$LIBS
9111 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9113 /* end confdefs.h. */
9115 /* Override any GCC internal prototype to avoid an error.
9116 Use char because int might match the return type of a GCC
9117 builtin and then its argument prototype would still apply. */
9121 char XineramaQueryScreens ();
9125 return XineramaQueryScreens ();
9130 if ac_fn_c_try_link
"$LINENO"; then :
9132 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9133 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'` ;;
9134 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9135 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
9136 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9140 rm -f core conftest.err conftest.
$ac_objext \
9141 conftest
$ac_exeext conftest.
$ac_ext
9142 LIBS
=$ac_check_soname_save_LIBS
9144 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9146 $as_echo "not found" >&6; }
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9150 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9152 cat >>confdefs.h
<<_ACEOF
9153 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9161 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9162 case "x$with_xinerama" in
9163 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9165 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9166 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9170 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9173 $as_echo_n "checking for -lXcomposite... " >&6; }
9174 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
9175 $as_echo_n "(cached) " >&6
9177 ac_check_soname_save_LIBS
=$LIBS
9178 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9180 /* end confdefs.h. */
9182 /* Override any GCC internal prototype to avoid an error.
9183 Use char because int might match the return type of a GCC
9184 builtin and then its argument prototype would still apply. */
9188 char XCompositeRedirectWindow ();
9192 return XCompositeRedirectWindow ();
9197 if ac_fn_c_try_link
"$LINENO"; then :
9199 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9200 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'` ;;
9201 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9202 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
9203 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9207 rm -f core conftest.err conftest.
$ac_objext \
9208 conftest
$ac_exeext conftest.
$ac_ext
9209 LIBS
=$ac_check_soname_save_LIBS
9211 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9213 $as_echo "not found" >&6; }
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9217 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9219 cat >>confdefs.h
<<_ACEOF
9220 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9226 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9227 case "x$with_xcomposite" in
9228 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9230 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9231 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9235 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9236 #include <X11/Xlib.h>
9239 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
9241 cat >>confdefs.h
<<_ACEOF
9242 #define HAVE_XICCALLBACK_CALLBACK 1
9247 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9248 #include <X11/Xlib.h>
9251 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
9253 cat >>confdefs.h
<<_ACEOF
9254 #define HAVE_XEVENT_XCOOKIE 1
9263 if test "x$with_opengl" != "xno"
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9266 $as_echo_n "checking for -lGL... " >&6; }
9267 if ${ac_cv_lib_soname_GL+:} false
; then :
9268 $as_echo_n "(cached) " >&6
9270 ac_check_soname_save_LIBS
=$LIBS
9271 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h. */
9275 /* Override any GCC internal prototype to avoid an error.
9276 Use char because int might match the return type of a GCC
9277 builtin and then its argument prototype would still apply. */
9281 char glXCreateContext ();
9285 return glXCreateContext ();
9290 if ac_fn_c_try_link
"$LINENO"; then :
9292 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9293 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'` ;;
9294 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9295 if test "x$ac_cv_lib_soname_GL" = x
; then :
9296 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9300 rm -f core conftest.err conftest.
$ac_objext \
9301 conftest
$ac_exeext conftest.
$ac_ext
9302 LIBS
=$ac_check_soname_save_LIBS
9304 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9306 $as_echo "not found" >&6; }
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9308 $as_echo_n "checking for -lGL... " >&6; }
9309 if ${ac_cv_lib_soname_GL+:} false
; then :
9310 $as_echo_n "(cached) " >&6
9312 ac_check_soname_save_LIBS
=$LIBS
9313 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"
9314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9315 /* end confdefs.h. */
9317 /* Override any GCC internal prototype to avoid an error.
9318 Use char because int might match the return type of a GCC
9319 builtin and then its argument prototype would still apply. */
9323 char glXCreateContext ();
9327 return glXCreateContext ();
9332 if ac_fn_c_try_link
"$LINENO"; then :
9334 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9335 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'` ;;
9336 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9337 if test "x$ac_cv_lib_soname_GL" = x
; then :
9338 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9342 rm -f core conftest.err conftest.
$ac_objext \
9343 conftest
$ac_exeext conftest.
$ac_ext
9344 LIBS
=$ac_check_soname_save_LIBS
9346 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9348 $as_echo "not found" >&6; }
9349 if test -f /usr
/X11R
6/lib
/libGL.a
9351 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
9352 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9354 opengl_msg
="No OpenGL library found on this system."
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9358 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9360 cat >>confdefs.h
<<_ACEOF
9361 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9364 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"
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9368 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9370 cat >>confdefs.h
<<_ACEOF
9371 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9376 if test "x$with_glu" != "xno"
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9379 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9380 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9381 $as_echo_n "(cached) " >&6
9383 ac_check_lib_save_LIBS
=$LIBS
9384 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9386 /* end confdefs.h. */
9388 /* Override any GCC internal prototype to avoid an error.
9389 Use char because int might match the return type of a GCC
9390 builtin and then its argument prototype would still apply. */
9398 return gluLookAt ();
9403 if ac_fn_c_try_link
"$LINENO"; then :
9404 ac_cv_lib_GLU_gluLookAt
=yes
9406 ac_cv_lib_GLU_gluLookAt
=no
9408 rm -f core conftest.err conftest.
$ac_objext \
9409 conftest
$ac_exeext conftest.
$ac_ext
9410 LIBS
=$ac_check_lib_save_LIBS
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9413 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9414 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
9418 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
9419 case "x$with_glu" in
9420 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9422 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9423 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9428 if test "x$with_osmesa" != "xno"
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9431 $as_echo_n "checking for -lOSMesa... " >&6; }
9432 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9433 $as_echo_n "(cached) " >&6
9435 ac_check_soname_save_LIBS
=$LIBS
9436 LIBS
="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9438 /* end confdefs.h. */
9440 /* Override any GCC internal prototype to avoid an error.
9441 Use char because int might match the return type of a GCC
9442 builtin and then its argument prototype would still apply. */
9455 if ac_fn_c_try_link
"$LINENO"; then :
9457 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9458 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'` ;;
9459 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9460 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
9461 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9465 rm -f core conftest.err conftest.
$ac_objext \
9466 conftest
$ac_exeext conftest.
$ac_ext
9467 LIBS
=$ac_check_soname_save_LIBS
9469 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9471 $as_echo "not found" >&6; }
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9475 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9477 cat >>confdefs.h
<<_ACEOF
9478 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9483 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9484 case "x$with_osmesa" in
9485 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9487 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9488 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9493 if test -n "$opengl_msg"; then :
9494 case "x$with_opengl" in
9495 x
) as_fn_append wine_warnings
"|$opengl_msg
9496 OpenGL and Direct3D won't be supported." ;;
9498 *) as_fn_error $?
"$opengl_msg
9499 OpenGL and Direct3D won't be supported.
9500 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9504 CPPFLAGS
="$ac_save_CPPFLAGS"
9509 enable_winex11_drv
=${enable_winex11_drv:-no}
9511 if test "x$XLIB" = "x"; then :
9514 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
9515 without X support, which probably isn't what you want. You will need
9516 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9517 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9521 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
9523 if test "$ac_cv_header_CL_cl_h" = "yes"
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9526 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9527 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
9528 $as_echo_n "(cached) " >&6
9530 ac_check_lib_save_LIBS
=$LIBS
9531 LIBS
="-lOpenCL $LIBS"
9532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9533 /* end confdefs.h. */
9535 /* Override any GCC internal prototype to avoid an error.
9536 Use char because int might match the return type of a GCC
9537 builtin and then its argument prototype would still apply. */
9541 char clGetPlatformInfo ();
9545 return clGetPlatformInfo ();
9550 if ac_fn_c_try_link
"$LINENO"; then :
9551 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9553 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9555 rm -f core conftest.err conftest.
$ac_objext \
9556 conftest
$ac_exeext conftest.
$ac_ext
9557 LIBS
=$ac_check_lib_save_LIBS
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9560 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9561 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
9562 LIBOPENCL
="-lOpenCL"
9567 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9568 case "x$with_opencl" in
9569 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9571 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9572 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9575 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9578 if test "x$with_xml" != "xno"
9580 ac_save_CPPFLAGS
="$CPPFLAGS"
9581 if test -n "$ac_tool_prefix"; then
9582 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9583 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9585 $as_echo_n "checking for $ac_word... " >&6; }
9586 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
9587 $as_echo_n "(cached) " >&6
9589 if test -n "$PKG_CONFIG"; then
9590 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
9592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9596 test -z "$as_dir" && as_dir
=.
9597 for ac_exec_ext
in '' $ac_executable_extensions; do
9598 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9599 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
9600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9609 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
9610 if test -n "$PKG_CONFIG"; then
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9612 $as_echo "$PKG_CONFIG" >&6; }
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9615 $as_echo "no" >&6; }
9620 if test -z "$ac_cv_prog_PKG_CONFIG"; then
9621 ac_ct_PKG_CONFIG
=$PKG_CONFIG
9622 # Extract the first word of "pkg-config", so it can be a program name with args.
9623 set dummy pkg-config
; ac_word
=$2
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9625 $as_echo_n "checking for $ac_word... " >&6; }
9626 if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false
; then :
9627 $as_echo_n "(cached) " >&6
9629 if test -n "$ac_ct_PKG_CONFIG"; then
9630 ac_cv_prog_ac_ct_PKG_CONFIG
="$ac_ct_PKG_CONFIG" # Let the user override the test.
9632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9636 test -z "$as_dir" && as_dir
=.
9637 for ac_exec_ext
in '' $ac_executable_extensions; do
9638 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9639 ac_cv_prog_ac_ct_PKG_CONFIG
="pkg-config"
9640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9649 ac_ct_PKG_CONFIG
=$ac_cv_prog_ac_ct_PKG_CONFIG
9650 if test -n "$ac_ct_PKG_CONFIG"; then
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
9652 $as_echo "$ac_ct_PKG_CONFIG" >&6; }
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9655 $as_echo "no" >&6; }
9658 if test "x$ac_ct_PKG_CONFIG" = x
; then
9661 case $cross_compiling:$ac_tool_warned in
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9665 ac_tool_warned
=yes ;;
9667 PKG_CONFIG
=$ac_ct_PKG_CONFIG
9670 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
9673 if test -n "$XML2_CFLAGS"; then :
9675 elif test -n "$PKG_CONFIG"; then :
9676 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
9678 XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
9679 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
9680 if test -n "$XML2_LIBS"; then :
9682 elif test -n "$PKG_CONFIG"; then :
9683 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
9685 XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
9686 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
9687 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
9689 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9690 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9691 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9692 cat >>confdefs.h
<<_ACEOF
9693 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9700 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"
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9703 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9704 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
9705 $as_echo_n "(cached) " >&6
9707 ac_check_lib_save_LIBS
=$LIBS
9708 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9710 /* end confdefs.h. */
9712 /* Override any GCC internal prototype to avoid an error.
9713 Use char because int might match the return type of a GCC
9714 builtin and then its argument prototype would still apply. */
9718 char xmlParseMemory ();
9722 return xmlParseMemory ();
9727 if ac_fn_c_try_link
"$LINENO"; then :
9728 ac_cv_lib_xml2_xmlParseMemory
=yes
9730 ac_cv_lib_xml2_xmlParseMemory
=no
9732 rm -f core conftest.err conftest.
$ac_objext \
9733 conftest
$ac_exeext conftest.
$ac_ext
9734 LIBS
=$ac_check_lib_save_LIBS
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9737 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9738 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
9740 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9747 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9748 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
9749 $as_echo_n "(cached) " >&6
9751 ac_check_lib_save_LIBS
=$LIBS
9752 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9754 /* end confdefs.h. */
9756 /* Override any GCC internal prototype to avoid an error.
9757 Use char because int might match the return type of a GCC
9758 builtin and then its argument prototype would still apply. */
9762 char xmlReadMemory ();
9766 return xmlReadMemory ();
9771 if ac_fn_c_try_link
"$LINENO"; then :
9772 ac_cv_lib_xml2_xmlReadMemory
=yes
9774 ac_cv_lib_xml2_xmlReadMemory
=no
9776 rm -f core conftest.err conftest.
$ac_objext \
9777 conftest
$ac_exeext conftest.
$ac_ext
9778 LIBS
=$ac_check_lib_save_LIBS
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9781 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9782 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
9784 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9789 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9790 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
9791 $as_echo_n "(cached) " >&6
9793 ac_check_lib_save_LIBS
=$LIBS
9794 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9796 /* end confdefs.h. */
9798 /* Override any GCC internal prototype to avoid an error.
9799 Use char because int might match the return type of a GCC
9800 builtin and then its argument prototype would still apply. */
9804 char xmlNewDocPI ();
9808 return xmlNewDocPI ();
9813 if ac_fn_c_try_link
"$LINENO"; then :
9814 ac_cv_lib_xml2_xmlNewDocPI
=yes
9816 ac_cv_lib_xml2_xmlNewDocPI
=no
9818 rm -f core conftest.err conftest.
$ac_objext \
9819 conftest
$ac_exeext conftest.
$ac_ext
9820 LIBS
=$ac_check_lib_save_LIBS
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9823 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9824 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
9826 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9831 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9832 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
9833 $as_echo_n "(cached) " >&6
9835 ac_check_lib_save_LIBS
=$LIBS
9836 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9838 /* end confdefs.h. */
9840 /* Override any GCC internal prototype to avoid an error.
9841 Use char because int might match the return type of a GCC
9842 builtin and then its argument prototype would still apply. */
9846 char xmlSchemaSetParserStructuredErrors ();
9850 return xmlSchemaSetParserStructuredErrors ();
9855 if ac_fn_c_try_link
"$LINENO"; then :
9856 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9858 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9860 rm -f core conftest.err conftest.
$ac_objext \
9861 conftest
$ac_exeext conftest.
$ac_ext
9862 LIBS
=$ac_check_lib_save_LIBS
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9865 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9866 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
9868 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9873 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9874 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
9875 $as_echo_n "(cached) " >&6
9877 ac_check_lib_save_LIBS
=$LIBS
9878 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9882 /* Override any GCC internal prototype to avoid an error.
9883 Use char because int might match the return type of a GCC
9884 builtin and then its argument prototype would still apply. */
9888 char xmlSchemaSetValidStructuredErrors ();
9892 return xmlSchemaSetValidStructuredErrors ();
9897 if ac_fn_c_try_link
"$LINENO"; then :
9898 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9900 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9902 rm -f core conftest.err conftest.
$ac_objext \
9903 conftest
$ac_exeext conftest.
$ac_ext
9904 LIBS
=$ac_check_lib_save_LIBS
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9907 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9908 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
9910 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9915 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9916 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
9917 $as_echo_n "(cached) " >&6
9919 ac_check_lib_save_LIBS
=$LIBS
9920 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9922 /* end confdefs.h. */
9924 /* Override any GCC internal prototype to avoid an error.
9925 Use char because int might match the return type of a GCC
9926 builtin and then its argument prototype would still apply. */
9930 char xmlFirstElementChild ();
9934 return xmlFirstElementChild ();
9939 if ac_fn_c_try_link
"$LINENO"; then :
9940 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9942 ac_cv_lib_xml2_xmlFirstElementChild
=no
9944 rm -f core conftest.err conftest.
$ac_objext \
9945 conftest
$ac_exeext conftest.
$ac_ext
9946 LIBS
=$ac_check_lib_save_LIBS
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9949 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9950 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
9952 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9956 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9958 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
9960 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9968 CPPFLAGS
="$ac_save_CPPFLAGS"
9970 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9971 case "x$with_xml" in
9972 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9974 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9975 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9979 if test "x$with_xslt" != "xno"
9981 ac_save_CPPFLAGS
="$CPPFLAGS"
9982 if test -n "$XSLT_CFLAGS"; then :
9984 elif test -n "$PKG_CONFIG"; then :
9985 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
9987 XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
9988 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
9989 if test -n "$XSLT_LIBS"; then :
9991 elif test -n "$PKG_CONFIG"; then :
9992 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
9994 XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
9995 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
9996 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9998 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9999 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10000 # include <libxslt/pattern.h>
10003 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10004 cat >>confdefs.h
<<_ACEOF
10005 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10012 CPPFLAGS
="$ac_save_CPPFLAGS"
10013 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10016 $as_echo_n "checking for -lxslt... " >&6; }
10017 if ${ac_cv_lib_soname_xslt+:} false
; then :
10018 $as_echo_n "(cached) " >&6
10020 ac_check_soname_save_LIBS
=$LIBS
10021 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10023 /* end confdefs.h. */
10025 /* Override any GCC internal prototype to avoid an error.
10026 Use char because int might match the return type of a GCC
10027 builtin and then its argument prototype would still apply. */
10031 char xsltCompilePattern ();
10035 return xsltCompilePattern ();
10040 if ac_fn_c_try_link
"$LINENO"; then :
10042 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10043 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'` ;;
10044 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10045 if test "x$ac_cv_lib_soname_xslt" = x
; then :
10046 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10050 rm -f core conftest.err conftest.
$ac_objext \
10051 conftest
$ac_exeext conftest.
$ac_ext
10052 LIBS
=$ac_check_soname_save_LIBS
10054 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10056 $as_echo "not found" >&6; }
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10060 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10062 cat >>confdefs.h
<<_ACEOF
10063 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10072 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10073 case "x$with_xslt" in
10074 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10076 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10077 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10081 if test "x$with_dbus" != "xno"
10083 ac_save_CPPFLAGS
="$CPPFLAGS"
10084 if test -n "$DBUS_CFLAGS"; then :
10086 elif test -n "$PKG_CONFIG"; then :
10087 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10090 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10091 if test -n "$DBUS_LIBS"; then :
10093 elif test -n "$PKG_CONFIG"; then :
10094 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10098 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10099 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10101 $as_echo_n "checking for -ldbus-1... " >&6; }
10102 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10103 $as_echo_n "(cached) " >&6
10105 ac_check_soname_save_LIBS
=$LIBS
10106 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10108 /* end confdefs.h. */
10110 /* Override any GCC internal prototype to avoid an error.
10111 Use char because int might match the return type of a GCC
10112 builtin and then its argument prototype would still apply. */
10116 char dbus_connection_close ();
10120 return dbus_connection_close ();
10125 if ac_fn_c_try_link
"$LINENO"; then :
10127 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10128 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'` ;;
10129 *) ac_cv_lib_soname_dbus_1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libdbus-1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libdbus-1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10130 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
10131 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10135 rm -f core conftest.err conftest.
$ac_objext \
10136 conftest
$ac_exeext conftest.
$ac_ext
10137 LIBS
=$ac_check_soname_save_LIBS
10139 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10141 $as_echo "not found" >&6; }
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10145 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10147 cat >>confdefs.h
<<_ACEOF
10148 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10158 CPPFLAGS
="$ac_save_CPPFLAGS"
10160 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10161 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10162 case "x$with_dbus" in
10163 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10165 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10166 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10170 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10172 ac_save_CPPFLAGS
="$CPPFLAGS"
10173 if test -n "$HAL_CFLAGS"; then :
10175 elif test -n "$PKG_CONFIG"; then :
10176 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
10179 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
10180 if test -n "$HAL_LIBS"; then :
10182 elif test -n "$PKG_CONFIG"; then :
10183 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
10186 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
10187 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10188 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10190 $as_echo_n "checking for -lhal... " >&6; }
10191 if ${ac_cv_lib_soname_hal+:} false
; then :
10192 $as_echo_n "(cached) " >&6
10194 ac_check_soname_save_LIBS
=$LIBS
10195 LIBS
="-lhal $HAL_LIBS $LIBS"
10196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10197 /* end confdefs.h. */
10199 /* Override any GCC internal prototype to avoid an error.
10200 Use char because int might match the return type of a GCC
10201 builtin and then its argument prototype would still apply. */
10205 char libhal_ctx_new ();
10209 return libhal_ctx_new ();
10214 if ac_fn_c_try_link
"$LINENO"; then :
10216 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10217 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'` ;;
10218 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10219 if test "x$ac_cv_lib_soname_hal" = x
; then :
10220 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10224 rm -f core conftest.err conftest.
$ac_objext \
10225 conftest
$ac_exeext conftest.
$ac_ext
10226 LIBS
=$ac_check_soname_save_LIBS
10228 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10230 $as_echo "not found" >&6; }
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10234 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10236 cat >>confdefs.h
<<_ACEOF
10237 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10247 CPPFLAGS
="$ac_save_CPPFLAGS"
10248 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10249 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10250 case "x$with_hal" in
10251 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10253 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
10254 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10259 if test "x$with_gnutls" != "xno"
10261 ac_save_CPPFLAGS
="$CPPFLAGS"
10262 if test -n "$GNUTLS_CFLAGS"; then :
10264 elif test -n "$PKG_CONFIG"; then :
10265 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10268 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
10269 if test -n "$GNUTLS_LIBS"; then :
10271 elif test -n "$PKG_CONFIG"; then :
10272 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10276 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10277 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
10278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10279 /* end confdefs.h. */
10280 #include <gnutls/gnutls.h>
10284 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10289 if ac_fn_c_try_compile
"$LINENO"; then :
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10291 $as_echo_n "checking for -lgnutls... " >&6; }
10292 if ${ac_cv_lib_soname_gnutls+:} false
; then :
10293 $as_echo_n "(cached) " >&6
10295 ac_check_soname_save_LIBS
=$LIBS
10296 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
10297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10298 /* end confdefs.h. */
10300 /* Override any GCC internal prototype to avoid an error.
10301 Use char because int might match the return type of a GCC
10302 builtin and then its argument prototype would still apply. */
10306 char gnutls_global_init ();
10310 return gnutls_global_init ();
10315 if ac_fn_c_try_link
"$LINENO"; then :
10317 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10318 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'` ;;
10319 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10320 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
10321 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10325 rm -f core conftest.err conftest.
$ac_objext \
10326 conftest
$ac_exeext conftest.
$ac_ext
10327 LIBS
=$ac_check_soname_save_LIBS
10329 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10331 $as_echo "not found" >&6; }
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10335 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10337 cat >>confdefs.h
<<_ACEOF
10338 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10344 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10350 CPPFLAGS
="$ac_save_CPPFLAGS"
10352 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10353 case "x$with_gnutls" in
10354 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10356 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
10357 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10362 if test "$ac_cv_header_ncurses_h" = "yes"
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10365 $as_echo_n "checking for -lncurses... " >&6; }
10366 if ${ac_cv_lib_soname_ncurses+:} false
; then :
10367 $as_echo_n "(cached) " >&6
10369 ac_check_soname_save_LIBS
=$LIBS
10370 LIBS
="-lncurses $LIBS"
10371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10372 /* end confdefs.h. */
10374 /* Override any GCC internal prototype to avoid an error.
10375 Use char because int might match the return type of a GCC
10376 builtin and then its argument prototype would still apply. */
10389 if ac_fn_c_try_link
"$LINENO"; then :
10391 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10392 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'` ;;
10393 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10394 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
10395 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10399 rm -f core conftest.err conftest.
$ac_objext \
10400 conftest
$ac_exeext conftest.
$ac_ext
10401 LIBS
=$ac_check_soname_save_LIBS
10403 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10405 $as_echo "not found" >&6; }
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10409 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10411 cat >>confdefs.h
<<_ACEOF
10412 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10415 CURSESLIBS
="-lncurses"
10417 elif test "$ac_cv_header_curses_h" = "yes"
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10420 $as_echo_n "checking for -lcurses... " >&6; }
10421 if ${ac_cv_lib_soname_curses+:} false
; then :
10422 $as_echo_n "(cached) " >&6
10424 ac_check_soname_save_LIBS
=$LIBS
10425 LIBS
="-lcurses $LIBS"
10426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10427 /* end confdefs.h. */
10429 /* Override any GCC internal prototype to avoid an error.
10430 Use char because int might match the return type of a GCC
10431 builtin and then its argument prototype would still apply. */
10444 if ac_fn_c_try_link
"$LINENO"; then :
10446 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10447 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'` ;;
10448 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10449 if test "x$ac_cv_lib_soname_curses" = x
; then :
10450 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10454 rm -f core conftest.err conftest.
$ac_objext \
10455 conftest
$ac_exeext conftest.
$ac_ext
10456 LIBS
=$ac_check_soname_save_LIBS
10458 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10460 $as_echo "not found" >&6; }
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10464 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10466 cat >>confdefs.h
<<_ACEOF
10467 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10470 CURSESLIBS
="-lcurses"
10473 ac_save_LIBS
="$LIBS"
10474 LIBS
="$LIBS $CURSESLIBS"
10475 for ac_func
in mousemask
10477 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
10478 if test "x$ac_cv_func_mousemask" = xyes
; then :
10479 cat >>confdefs.h
<<_ACEOF
10480 #define HAVE_MOUSEMASK 1
10486 LIBS
="$ac_save_LIBS"
10487 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10488 case "x$with_curses" in
10489 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10491 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10492 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10496 if test "x$with_sane" != "xno"
10498 ac_save_CPPFLAGS
="$CPPFLAGS"
10499 if test -n "$SANE_CFLAGS"; then :
10501 elif test -n "$PKG_CONFIG"; then :
10502 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10504 SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10505 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
10506 if test -n "$SANE_LIBS"; then :
10508 elif test -n "$PKG_CONFIG"; then :
10509 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
10511 SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10513 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10514 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10516 $as_echo_n "checking for -lsane... " >&6; }
10517 if ${ac_cv_lib_soname_sane+:} false
; then :
10518 $as_echo_n "(cached) " >&6
10520 ac_check_soname_save_LIBS
=$LIBS
10521 LIBS
="-lsane $SANE_LIBS $LIBS"
10522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10523 /* end confdefs.h. */
10525 /* Override any GCC internal prototype to avoid an error.
10526 Use char because int might match the return type of a GCC
10527 builtin and then its argument prototype would still apply. */
10535 return sane_init ();
10540 if ac_fn_c_try_link
"$LINENO"; then :
10542 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10543 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'` ;;
10544 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10545 if test "x$ac_cv_lib_soname_sane" = x
; then :
10546 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10550 rm -f core conftest.err conftest.
$ac_objext \
10551 conftest
$ac_exeext conftest.
$ac_ext
10552 LIBS
=$ac_check_soname_save_LIBS
10554 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10556 $as_echo "not found" >&6; }
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10560 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10562 cat >>confdefs.h
<<_ACEOF
10563 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10572 CPPFLAGS
="$ac_save_CPPFLAGS"
10574 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10575 case "x$with_sane" in
10576 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10578 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
10579 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10583 if test "x$with_v4l" != "xno"
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10586 $as_echo_n "checking for -lv4l1... " >&6; }
10587 if ${ac_cv_lib_soname_v4l1+:} false
; then :
10588 $as_echo_n "(cached) " >&6
10590 ac_check_soname_save_LIBS
=$LIBS
10591 LIBS
="-lv4l1 $LIBS"
10592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10593 /* end confdefs.h. */
10595 /* Override any GCC internal prototype to avoid an error.
10596 Use char because int might match the return type of a GCC
10597 builtin and then its argument prototype would still apply. */
10605 return v4l1_open ();
10610 if ac_fn_c_try_link
"$LINENO"; then :
10612 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10613 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'` ;;
10614 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10615 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
10616 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10620 rm -f core conftest.err conftest.
$ac_objext \
10621 conftest
$ac_exeext conftest.
$ac_ext
10622 LIBS
=$ac_check_soname_save_LIBS
10624 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10626 $as_echo "not found" >&6; }
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10630 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10632 cat >>confdefs.h
<<_ACEOF
10633 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10639 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10640 case "x$with_v4l" in
10641 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
10643 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
10644 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10648 if test "x$with_gphoto" != "xno"
10650 ac_save_CPPFLAGS
="$CPPFLAGS"
10651 if test -n "$GPHOTO2_CFLAGS"; then :
10653 elif test -n "$PKG_CONFIG"; then :
10654 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
10656 GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`(gphoto2-config --cflags || gphoto2-port-config --cflags) 2>/dev/null`}
10657 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
10658 if test -n "$GPHOTO2_LIBS"; then :
10660 elif test -n "$PKG_CONFIG"; then :
10661 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
10663 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`(gphoto2-config --libs || gphoto2-port-config --libs) 2>/dev/null`}
10664 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
10665 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10666 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10668 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10669 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
10670 $as_echo_n "(cached) " >&6
10672 ac_check_lib_save_LIBS
=$LIBS
10673 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
10674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10675 /* end confdefs.h. */
10677 /* Override any GCC internal prototype to avoid an error.
10678 Use char because int might match the return type of a GCC
10679 builtin and then its argument prototype would still apply. */
10683 char gp_camera_new ();
10687 return gp_camera_new ();
10692 if ac_fn_c_try_link
"$LINENO"; then :
10693 ac_cv_lib_gphoto2_gp_camera_new
=yes
10695 ac_cv_lib_gphoto2_gp_camera_new
=no
10697 rm -f core conftest.err conftest.
$ac_objext \
10698 conftest
$ac_exeext conftest.
$ac_ext
10699 LIBS
=$ac_check_lib_save_LIBS
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10702 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10703 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
10705 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10708 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
10712 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
10716 CPPFLAGS
="$ac_save_CPPFLAGS"
10718 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10719 case "x$with_gphoto" in
10720 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10722 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10723 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10728 if test "$ac_cv_header_resolv_h" = "yes"
10730 ac_save_LIBS
="$LIBS"
10731 for lib
in '' -lresolv
10733 LIBS
="$lib $ac_save_LIBS"
10734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10735 /* end confdefs.h. */
10736 #ifdef HAVE_NETINET_IN_H
10737 #include <netinet/in.h>
10739 #include <resolv.h>
10743 res_query("foo",ns_c_in,0,0,0);
10748 if ac_fn_c_try_link
"$LINENO"; then :
10750 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10755 rm -f core conftest.err conftest.
$ac_objext \
10756 conftest
$ac_exeext conftest.
$ac_ext
10757 if test "${RESOLVLIBS+set}" = set; then
10761 LIBS
="$ac_save_LIBS"
10766 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10769 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10770 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false
; then :
10771 $as_echo_n "(cached) " >&6
10773 ac_check_lib_save_LIBS
=$LIBS
10774 LIBS
="-llcms $LIBS"
10775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10776 /* end confdefs.h. */
10778 /* Override any GCC internal prototype to avoid an error.
10779 Use char because int might match the return type of a GCC
10780 builtin and then its argument prototype would still apply. */
10784 char cmsOpenProfileFromFile ();
10788 return cmsOpenProfileFromFile ();
10793 if ac_fn_c_try_link
"$LINENO"; then :
10794 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10796 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10798 rm -f core conftest.err conftest.
$ac_objext \
10799 conftest
$ac_exeext conftest.
$ac_ext
10800 LIBS
=$ac_check_lib_save_LIBS
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10803 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10804 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes
; then :
10806 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10812 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10813 case "x$with_cms" in
10814 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10816 *) as_fn_error $?
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10817 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10821 if test "x$with_freetype" != "xno"
10823 ac_save_CPPFLAGS
="$CPPFLAGS"
10824 if test -n "$FREETYPE_CFLAGS"; then :
10826 elif test -n "$PKG_CONFIG"; then :
10827 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
10829 FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
10830 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
10831 if test -n "$FREETYPE_LIBS"; then :
10833 elif test -n "$PKG_CONFIG"; then :
10834 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
10836 FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
10837 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10839 $as_echo_n "checking for -lfreetype... " >&6; }
10840 if ${ac_cv_lib_soname_freetype+:} false
; then :
10841 $as_echo_n "(cached) " >&6
10843 ac_check_soname_save_LIBS
=$LIBS
10844 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
10845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10846 /* end confdefs.h. */
10848 /* Override any GCC internal prototype to avoid an error.
10849 Use char because int might match the return type of a GCC
10850 builtin and then its argument prototype would still apply. */
10854 char FT_Init_FreeType ();
10858 return FT_Init_FreeType ();
10863 if ac_fn_c_try_link
"$LINENO"; then :
10865 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10866 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'` ;;
10867 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10868 if test "x$ac_cv_lib_soname_freetype" = x
; then :
10869 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10873 rm -f core conftest.err conftest.
$ac_objext \
10874 conftest
$ac_exeext conftest.
$ac_ext
10875 LIBS
=$ac_check_soname_save_LIBS
10877 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10879 $as_echo "not found" >&6; }
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10883 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10885 cat >>confdefs.h
<<_ACEOF
10886 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10891 if test "$ft_lib" = "yes"
10893 for ac_header
in ft2build.h \
10894 freetype
/freetype.h \
10895 freetype
/ftglyph.h \
10896 freetype
/fttypes.h \
10897 freetype
/tttables.h \
10898 freetype
/ftsnames.h \
10899 freetype
/ttnameid.h \
10900 freetype
/ftoutln.h \
10901 freetype
/ftwinfnt.h \
10902 freetype
/ftmodapi.h \
10903 freetype
/ftlcdfil.h
10905 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10906 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10907 # include <ft2build.h>
10910 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10911 cat >>confdefs.h
<<_ACEOF
10912 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10920 /* end confdefs.h. */
10921 #include <ft2build.h>
10922 #include <freetype/fttrigon.h>
10924 if ac_fn_c_try_cpp
"$LINENO"; then :
10926 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10928 wine_cv_fttrigon
=yes
10930 wine_cv_fttrigon
=no
10932 rm -f conftest.err conftest.i conftest.
$ac_ext
10933 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10935 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
10937 cat >>confdefs.h
<<_ACEOF
10938 #define HAVE_FT_TRUETYPEENGINETYPE 1
10944 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10947 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10955 CPPFLAGS
="$ac_save_CPPFLAGS"
10957 if test "x$ac_cv_header_freetype_freetype_h" != xyes
-o "x$wine_cv_fttrigon" != xyes
; then :
10958 case "x$with_freetype" in
10960 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10961 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10964 test "x$ac_cv_header_freetype_freetype_h" = xyes
-a "x$wine_cv_fttrigon" = xyes || enable_fonts
=${enable_fonts:-no}
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10967 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10968 if ${ac_cv_c_ppdev+:} false
; then :
10969 $as_echo_n "(cached) " >&6
10971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10972 /* end confdefs.h. */
10973 #ifdef HAVE_SYS_IOCTL_H
10974 # include <sys/ioctl.h>
10976 #include <linux/ppdev.h>
10980 ioctl (1,PPCLAIM,0)
10985 if ac_fn_c_try_compile
"$LINENO"; then :
10986 ac_cv_c_ppdev
="yes"
10990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10993 $as_echo "$ac_cv_c_ppdev" >&6; }
10994 if test "$ac_cv_c_ppdev" = "yes"
10997 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11001 ac_wine_check_funcs_save_LIBS
="$LIBS"
11002 LIBS
="$LIBS $LIBPTHREAD"
11004 pthread_attr_get_np \
11005 pthread_getattr_np \
11006 pthread_getthreadid_np \
11007 pthread_get_stackaddr_np \
11008 pthread_get_stacksize_np
11010 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11011 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11012 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11013 cat >>confdefs.h
<<_ACEOF
11014 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11020 LIBS
="$ac_wine_check_funcs_save_LIBS"
11022 if test "$ac_cv_header_zlib_h" = "yes"
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11025 $as_echo_n "checking for inflate in -lz... " >&6; }
11026 if ${ac_cv_lib_z_inflate+:} false
; then :
11027 $as_echo_n "(cached) " >&6
11029 ac_check_lib_save_LIBS
=$LIBS
11031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11032 /* end confdefs.h. */
11034 /* Override any GCC internal prototype to avoid an error.
11035 Use char because int might match the return type of a GCC
11036 builtin and then its argument prototype would still apply. */
11049 if ac_fn_c_try_link
"$LINENO"; then :
11050 ac_cv_lib_z_inflate
=yes
11052 ac_cv_lib_z_inflate
=no
11054 rm -f core conftest.err conftest.
$ac_objext \
11055 conftest
$ac_exeext conftest.
$ac_ext
11056 LIBS
=$ac_check_lib_save_LIBS
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11059 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11060 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
11062 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11069 if test "x$ZLIB" = "x"; then :
11070 case "x$with_zlib" in
11071 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11073 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
11074 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11078 if test "x$enable_tools" != xno
11080 if test "$ac_cv_header_gettext_po_h" = "yes"
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11083 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11084 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
11085 $as_echo_n "(cached) " >&6
11087 ac_check_lib_save_LIBS
=$LIBS
11088 LIBS
="-lgettextpo $LIBS"
11089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11092 /* Override any GCC internal prototype to avoid an error.
11093 Use char because int might match the return type of a GCC
11094 builtin and then its argument prototype would still apply. */
11098 char po_message_msgctxt ();
11102 return po_message_msgctxt ();
11107 if ac_fn_c_try_link
"$LINENO"; then :
11108 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
11110 ac_cv_lib_gettextpo_po_message_msgctxt
=no
11112 rm -f core conftest.err conftest.
$ac_objext \
11113 conftest
$ac_exeext conftest.
$ac_ext
11114 LIBS
=$ac_check_lib_save_LIBS
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11117 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11118 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
11120 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11122 LIBGETTEXTPO
="-lgettextpo"
11127 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
11128 case "x$with_gettextpo" in
11129 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11131 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11132 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11137 if test "x$with_gstreamer" != "xno"
11139 ac_save_CPPFLAGS
="$CPPFLAGS"
11140 if test -n "$GSTREAMER_CFLAGS"; then :
11142 elif test -n "$PKG_CONFIG"; then :
11143 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11146 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
11147 if test -n "$GSTREAMER_LIBS"; then :
11149 elif test -n "$PKG_CONFIG"; then :
11150 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11155 for i
in $GSTREAMER_CFLAGS
11158 -I*) ac_gst_incl
="$ac_gst_incl $i";;
11161 GSTREAMER_CFLAGS
=$ac_gst_incl
11162 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11163 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11164 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
11165 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11166 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11168 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11170 /* end confdefs.h. */
11171 #include <gst/app/gstappsink.h>
11175 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11180 if ac_fn_c_try_compile
"$LINENO"; then :
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11182 $as_echo "yes" >&6; }
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11184 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11185 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
11186 $as_echo_n "(cached) " >&6
11188 ac_check_lib_save_LIBS
=$LIBS
11189 LIBS
="-lgstreamer-0.10 $LIBS"
11190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11191 /* end confdefs.h. */
11193 /* Override any GCC internal prototype to avoid an error.
11194 Use char because int might match the return type of a GCC
11195 builtin and then its argument prototype would still apply. */
11199 char gst_pad_get_caps_reffed ();
11203 return gst_pad_get_caps_reffed ();
11208 if ac_fn_c_try_link
"$LINENO"; then :
11209 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
11211 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
11213 rm -f core conftest.err conftest.
$ac_objext \
11214 conftest
$ac_exeext conftest.
$ac_ext
11215 LIBS
=$ac_check_lib_save_LIBS
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11218 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11219 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11221 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11222 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
11223 $as_echo_n "(cached) " >&6
11225 ac_check_lib_save_LIBS
=$LIBS
11226 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h. */
11230 /* Override any GCC internal prototype to avoid an error.
11231 Use char because int might match the return type of a GCC
11232 builtin and then its argument prototype would still apply. */
11236 char gst_app_buffer_new ();
11240 return gst_app_buffer_new ();
11245 if ac_fn_c_try_link
"$LINENO"; then :
11246 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
11248 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
11250 rm -f core conftest.err conftest.
$ac_objext \
11251 conftest
$ac_exeext conftest.
$ac_ext
11252 LIBS
=$ac_check_lib_save_LIBS
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11255 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11256 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11264 $as_echo "no" >&6; }
11266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11271 GSTREAMER_CFLAGS
=""
11275 CPPFLAGS
="$ac_save_CPPFLAGS"
11277 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
11278 case "x$with_gstreamer" in
11279 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11281 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11282 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11285 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
11289 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11292 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11293 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
11294 $as_echo_n "(cached) " >&6
11296 ac_check_lib_save_LIBS
=$LIBS
11297 LIBS
="-lasound $LIBS"
11298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11299 /* end confdefs.h. */
11301 /* Override any GCC internal prototype to avoid an error.
11302 Use char because int might match the return type of a GCC
11303 builtin and then its argument prototype would still apply. */
11307 char snd_pcm_hw_params_get_access_mask ();
11311 return snd_pcm_hw_params_get_access_mask ();
11316 if ac_fn_c_try_link
"$LINENO"; then :
11317 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
11319 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
11321 rm -f core conftest.err conftest.
$ac_objext \
11322 conftest
$ac_exeext conftest.
$ac_ext
11323 LIBS
=$ac_check_lib_save_LIBS
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11326 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11327 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
11328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11329 /* end confdefs.h. */
11330 #ifdef HAVE_ALSA_ASOUNDLIB_H
11331 #include <alsa/asoundlib.h>
11332 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11333 #include <sys/asoundlib.h>
11338 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11343 if ac_fn_c_try_compile
"$LINENO"; then :
11344 ALSALIBS
="-lasound"
11346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11351 if test "x$with_oss" != xno
11353 ac_save_CPPFLAGS
="$CPPFLAGS"
11354 if test -f /etc
/oss.conf
11358 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11359 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
11360 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11361 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
11362 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11364 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
11366 cat >>confdefs.h
<<_ACEOF
11367 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11370 OSS4INCL
="$ac_oss_incl"
11377 CPPFLAGS
="$ac_save_CPPFLAGS"
11378 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11380 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11385 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11388 $as_echo_n "checking for -lcapi20... " >&6; }
11389 if ${ac_cv_lib_soname_capi20+:} false
; then :
11390 $as_echo_n "(cached) " >&6
11392 ac_check_soname_save_LIBS
=$LIBS
11393 LIBS
="-lcapi20 $LIBS"
11394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11395 /* end confdefs.h. */
11397 /* Override any GCC internal prototype to avoid an error.
11398 Use char because int might match the return type of a GCC
11399 builtin and then its argument prototype would still apply. */
11403 char capi20_register ();
11407 return capi20_register ();
11412 if ac_fn_c_try_link
"$LINENO"; then :
11414 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11415 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'` ;;
11416 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11417 if test "x$ac_cv_lib_soname_capi20" = x
; then :
11418 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11422 rm -f core conftest.err conftest.
$ac_objext \
11423 conftest
$ac_exeext conftest.
$ac_ext
11424 LIBS
=$ac_check_soname_save_LIBS
11426 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11428 $as_echo "not found" >&6; }
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11432 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11434 cat >>confdefs.h
<<_ACEOF
11435 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11441 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11442 case "x$with_capi" in
11443 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11445 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11446 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11452 if test "x$with_cups" != "xno"
11454 ac_save_CPPFLAGS
="$CPPFLAGS"
11455 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
11456 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
11457 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
11458 for ac_header
in cups
/cups.h
11460 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11461 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
11462 cat >>confdefs.h
<<_ACEOF
11463 #define HAVE_CUPS_CUPS_H 1
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11466 $as_echo_n "checking for -lcups... " >&6; }
11467 if ${ac_cv_lib_soname_cups+:} false
; then :
11468 $as_echo_n "(cached) " >&6
11470 ac_check_soname_save_LIBS
=$LIBS
11471 LIBS
="-lcups $ac_cups_libs $LIBS"
11472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11473 /* end confdefs.h. */
11475 /* Override any GCC internal prototype to avoid an error.
11476 Use char because int might match the return type of a GCC
11477 builtin and then its argument prototype would still apply. */
11481 char cupsGetDefault ();
11485 return cupsGetDefault ();
11490 if ac_fn_c_try_link
"$LINENO"; then :
11492 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11493 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'` ;;
11494 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11495 if test "x$ac_cv_lib_soname_cups" = x
; then :
11496 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11500 rm -f core conftest.err conftest.
$ac_objext \
11501 conftest
$ac_exeext conftest.
$ac_ext
11502 LIBS
=$ac_check_soname_save_LIBS
11504 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11506 $as_echo "not found" >&6; }
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11510 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11512 cat >>confdefs.h
<<_ACEOF
11513 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11516 CUPSINCL
="$ac_cups_cflags"
11522 CPPFLAGS
="$ac_save_CPPFLAGS"
11524 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11525 case "x$with_cups" in
11526 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11528 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
11529 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11533 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11536 $as_echo_n "checking for -lfontconfig... " >&6; }
11537 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11538 $as_echo_n "(cached) " >&6
11540 ac_check_soname_save_LIBS
=$LIBS
11541 LIBS
="-lfontconfig $LIBS"
11542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h. */
11545 /* Override any GCC internal prototype to avoid an error.
11546 Use char because int might match the return type of a GCC
11547 builtin and then its argument prototype would still apply. */
11560 if ac_fn_c_try_link
"$LINENO"; then :
11562 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11563 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'` ;;
11564 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11565 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11566 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11570 rm -f core conftest.err conftest.
$ac_objext \
11571 conftest
$ac_exeext conftest.
$ac_ext
11572 LIBS
=$ac_check_soname_save_LIBS
11574 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11576 $as_echo "not found" >&6; }
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11580 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11582 cat >>confdefs.h
<<_ACEOF
11583 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11588 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11590 ac_save_CPPFLAGS
="$CPPFLAGS"
11591 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11592 $as_unset ac_cv_header_fontconfig_fontconfig_h
11593 for ac_header
in fontconfig
/fontconfig.h
11595 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11596 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
11597 cat >>confdefs.h
<<_ACEOF
11598 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11605 CPPFLAGS
="$ac_save_CPPFLAGS"
11606 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11608 FONTCONFIGINCL
="$X_CFLAGS"
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11611 $as_echo_n "checking for -lfontconfig... " >&6; }
11612 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11613 $as_echo_n "(cached) " >&6
11615 ac_check_soname_save_LIBS
=$LIBS
11616 LIBS
="-lfontconfig $X_LIBS $LIBS"
11617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11620 /* Override any GCC internal prototype to avoid an error.
11621 Use char because int might match the return type of a GCC
11622 builtin and then its argument prototype would still apply. */
11635 if ac_fn_c_try_link
"$LINENO"; then :
11637 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11638 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'` ;;
11639 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11640 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11641 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11645 rm -f core conftest.err conftest.
$ac_objext \
11646 conftest
$ac_exeext conftest.
$ac_ext
11647 LIBS
=$ac_check_soname_save_LIBS
11649 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11651 $as_echo "not found" >&6; }
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11655 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11657 cat >>confdefs.h
<<_ACEOF
11658 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11665 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11666 case "x$with_fontconfig" in
11667 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11669 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11670 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11674 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11677 $as_echo_n "checking for -lgsm... " >&6; }
11678 if ${ac_cv_lib_soname_gsm+:} false
; then :
11679 $as_echo_n "(cached) " >&6
11681 ac_check_soname_save_LIBS
=$LIBS
11683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11684 /* end confdefs.h. */
11686 /* Override any GCC internal prototype to avoid an error.
11687 Use char because int might match the return type of a GCC
11688 builtin and then its argument prototype would still apply. */
11692 char gsm_create ();
11696 return gsm_create ();
11701 if ac_fn_c_try_link
"$LINENO"; then :
11703 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11704 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'` ;;
11705 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11706 if test "x$ac_cv_lib_soname_gsm" = x
; then :
11707 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11711 rm -f core conftest.err conftest.
$ac_objext \
11712 conftest
$ac_exeext conftest.
$ac_ext
11713 LIBS
=$ac_check_soname_save_LIBS
11715 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11717 $as_echo "not found" >&6; }
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11721 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11723 cat >>confdefs.h
<<_ACEOF
11724 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11730 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11731 case "x$with_gsm" in
11732 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11734 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11735 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11739 if test "$ac_cv_header_jpeglib_h" = "yes"
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11742 $as_echo_n "checking for -ljpeg... " >&6; }
11743 if ${ac_cv_lib_soname_jpeg+:} false
; then :
11744 $as_echo_n "(cached) " >&6
11746 ac_check_soname_save_LIBS
=$LIBS
11747 LIBS
="-ljpeg $LIBS"
11748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11749 /* end confdefs.h. */
11751 /* Override any GCC internal prototype to avoid an error.
11752 Use char because int might match the return type of a GCC
11753 builtin and then its argument prototype would still apply. */
11757 char jpeg_start_decompress ();
11761 return jpeg_start_decompress ();
11766 if ac_fn_c_try_link
"$LINENO"; then :
11768 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11769 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'` ;;
11770 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11771 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
11772 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11776 rm -f core conftest.err conftest.
$ac_objext \
11777 conftest
$ac_exeext conftest.
$ac_ext
11778 LIBS
=$ac_check_soname_save_LIBS
11780 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11782 $as_echo "not found" >&6; }
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11786 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11788 cat >>confdefs.h
<<_ACEOF
11789 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11795 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11796 case "x$with_jpeg" in
11797 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11799 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11800 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11804 if test "$ac_cv_header_png_h" = "yes"
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11807 $as_echo_n "checking for -lpng... " >&6; }
11808 if ${ac_cv_lib_soname_png+:} false
; then :
11809 $as_echo_n "(cached) " >&6
11811 ac_check_soname_save_LIBS
=$LIBS
11812 LIBS
="-lpng -lm -lz $LIBS"
11813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11814 /* end confdefs.h. */
11816 /* Override any GCC internal prototype to avoid an error.
11817 Use char because int might match the return type of a GCC
11818 builtin and then its argument prototype would still apply. */
11822 char png_create_read_struct ();
11826 return png_create_read_struct ();
11831 if ac_fn_c_try_link
"$LINENO"; then :
11833 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11834 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'` ;;
11835 *) ac_cv_lib_soname_png
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11836 if test "x$ac_cv_lib_soname_png" = x
; then :
11837 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11841 rm -f core conftest.err conftest.
$ac_objext \
11842 conftest
$ac_exeext conftest.
$ac_ext
11843 LIBS
=$ac_check_soname_save_LIBS
11845 if test "x$ac_cv_lib_soname_png" = "x"; then :
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11847 $as_echo "not found" >&6; }
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11851 $as_echo "$ac_cv_lib_soname_png" >&6; }
11853 cat >>confdefs.h
<<_ACEOF
11854 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11860 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11861 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11862 $as_echo_n "(cached) " >&6
11864 ac_check_lib_save_LIBS
=$LIBS
11865 LIBS
="-lpng -lm -lz $LIBS"
11866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11867 /* end confdefs.h. */
11869 /* Override any GCC internal prototype to avoid an error.
11870 Use char because int might match the return type of a GCC
11871 builtin and then its argument prototype would still apply. */
11875 char png_set_expand_gray_1_2_4_to_8 ();
11879 return png_set_expand_gray_1_2_4_to_8 ();
11884 if ac_fn_c_try_link
"$LINENO"; then :
11885 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11887 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11889 rm -f core conftest.err conftest.
$ac_objext \
11890 conftest
$ac_exeext conftest.
$ac_ext
11891 LIBS
=$ac_check_lib_save_LIBS
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11894 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11895 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11897 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11902 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11904 ac_save_CPPFLAGS
="$CPPFLAGS"
11905 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11906 $as_unset ac_cv_header_png_h
11907 for ac_header
in png.h
11909 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11910 if test "x$ac_cv_header_png_h" = xyes
; then :
11911 cat >>confdefs.h
<<_ACEOF
11912 #define HAVE_PNG_H 1
11919 CPPFLAGS
="$ac_save_CPPFLAGS"
11920 if test "$ac_cv_header_png_h" = "yes"
11922 PNGINCL
="$X_CFLAGS"
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11925 $as_echo_n "checking for -lpng... " >&6; }
11926 if ${ac_cv_lib_soname_png+:} false
; then :
11927 $as_echo_n "(cached) " >&6
11929 ac_check_soname_save_LIBS
=$LIBS
11930 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11934 /* Override any GCC internal prototype to avoid an error.
11935 Use char because int might match the return type of a GCC
11936 builtin and then its argument prototype would still apply. */
11940 char png_create_read_struct ();
11944 return png_create_read_struct ();
11949 if ac_fn_c_try_link
"$LINENO"; then :
11951 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11952 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'` ;;
11953 *) ac_cv_lib_soname_png
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11954 if test "x$ac_cv_lib_soname_png" = x
; then :
11955 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11959 rm -f core conftest.err conftest.
$ac_objext \
11960 conftest
$ac_exeext conftest.
$ac_ext
11961 LIBS
=$ac_check_soname_save_LIBS
11963 if test "x$ac_cv_lib_soname_png" = "x"; then :
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11965 $as_echo "not found" >&6; }
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11969 $as_echo "$ac_cv_lib_soname_png" >&6; }
11971 cat >>confdefs.h
<<_ACEOF
11972 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11978 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11979 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11980 $as_echo_n "(cached) " >&6
11982 ac_check_lib_save_LIBS
=$LIBS
11983 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11985 /* end confdefs.h. */
11987 /* Override any GCC internal prototype to avoid an error.
11988 Use char because int might match the return type of a GCC
11989 builtin and then its argument prototype would still apply. */
11993 char png_set_expand_gray_1_2_4_to_8 ();
11997 return png_set_expand_gray_1_2_4_to_8 ();
12002 if ac_fn_c_try_link
"$LINENO"; then :
12003 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
12005 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
12007 rm -f core conftest.err conftest.
$ac_objext \
12008 conftest
$ac_exeext conftest.
$ac_ext
12009 LIBS
=$ac_check_lib_save_LIBS
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
12012 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
12013 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
12014 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12020 if test "x$ac_cv_lib_soname_png" = "x"; then :
12021 case "x$with_png" in
12022 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12024 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12025 This is an error since --with-png was requested." "$LINENO" 5 ;;
12029 if test "$ac_cv_header_tiffio_h" = "yes"
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12032 $as_echo_n "checking for -ltiff... " >&6; }
12033 if ${ac_cv_lib_soname_tiff+:} false
; then :
12034 $as_echo_n "(cached) " >&6
12036 ac_check_soname_save_LIBS
=$LIBS
12037 LIBS
="-ltiff $LIBS"
12038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12039 /* end confdefs.h. */
12041 /* Override any GCC internal prototype to avoid an error.
12042 Use char because int might match the return type of a GCC
12043 builtin and then its argument prototype would still apply. */
12047 char TIFFClientOpen ();
12051 return TIFFClientOpen ();
12056 if ac_fn_c_try_link
"$LINENO"; then :
12058 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12059 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'` ;;
12060 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12061 if test "x$ac_cv_lib_soname_tiff" = x
; then :
12062 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12066 rm -f core conftest.err conftest.
$ac_objext \
12067 conftest
$ac_exeext conftest.
$ac_ext
12068 LIBS
=$ac_check_soname_save_LIBS
12070 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12072 $as_echo "not found" >&6; }
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12076 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12078 cat >>confdefs.h
<<_ACEOF
12079 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12085 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12086 case "x$with_tiff" in
12087 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12089 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
12090 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12094 if test "$ac_cv_header_mpg123_h" = "yes"
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12097 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12098 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
12099 $as_echo_n "(cached) " >&6
12101 ac_check_lib_save_LIBS
=$LIBS
12102 LIBS
="-lmpg123 $LIBS"
12103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h. */
12106 /* Override any GCC internal prototype to avoid an error.
12107 Use char because int might match the return type of a GCC
12108 builtin and then its argument prototype would still apply. */
12112 char mpg123_feed ();
12116 return mpg123_feed ();
12121 if ac_fn_c_try_link
"$LINENO"; then :
12122 ac_cv_lib_mpg123_mpg123_feed
=yes
12124 ac_cv_lib_mpg123_mpg123_feed
=no
12126 rm -f core conftest.err conftest.
$ac_objext \
12127 conftest
$ac_exeext conftest.
$ac_ext
12128 LIBS
=$ac_check_lib_save_LIBS
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12131 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12132 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
12133 LIBMPG123
="-lmpg123"
12138 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
12139 case "x$with_mpg123" in
12140 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12142 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12143 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12146 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}
12148 if test "$ac_cv_header_AL_al_h" = "yes"
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12151 $as_echo_n "checking for -lopenal... " >&6; }
12152 if ${ac_cv_lib_soname_openal+:} false
; then :
12153 $as_echo_n "(cached) " >&6
12155 ac_check_soname_save_LIBS
=$LIBS
12156 LIBS
="-lopenal $LIBS"
12157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h. */
12160 /* Override any GCC internal prototype to avoid an error.
12161 Use char because int might match the return type of a GCC
12162 builtin and then its argument prototype would still apply. */
12166 char alGetSource3i ();
12170 return alGetSource3i ();
12175 if ac_fn_c_try_link
"$LINENO"; then :
12177 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12178 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'` ;;
12179 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12180 if test "x$ac_cv_lib_soname_openal" = x
; then :
12181 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12185 rm -f core conftest.err conftest.
$ac_objext \
12186 conftest
$ac_exeext conftest.
$ac_ext
12187 LIBS
=$ac_check_soname_save_LIBS
12189 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12191 $as_echo "not found" >&6; }
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12195 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12197 cat >>confdefs.h
<<_ACEOF
12198 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12201 LIBOPENAL
="-lopenal"
12203 ac_cv_lib_openal
=yes
12205 cat >>confdefs.h
<<_ACEOF
12206 #define HAVE_OPENAL 1
12211 if test "x$ac_cv_lib_openal" != xyes
; then :
12212 case "x$with_openal" in
12213 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12215 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12216 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12219 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
12221 if test "$ac_cv_header_kstat_h" = "yes"
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12224 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12225 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
12226 $as_echo_n "(cached) " >&6
12228 ac_check_lib_save_LIBS
=$LIBS
12229 LIBS
="-lkstat $LIBS"
12230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12231 /* end confdefs.h. */
12233 /* Override any GCC internal prototype to avoid an error.
12234 Use char because int might match the return type of a GCC
12235 builtin and then its argument prototype would still apply. */
12239 char kstat_open ();
12243 return kstat_open ();
12248 if ac_fn_c_try_link
"$LINENO"; then :
12249 ac_cv_lib_kstat_kstat_open
=yes
12251 ac_cv_lib_kstat_kstat_open
=no
12253 rm -f core conftest.err conftest.
$ac_objext \
12254 conftest
$ac_exeext conftest.
$ac_ext
12255 LIBS
=$ac_check_lib_save_LIBS
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12258 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12259 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
12261 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12270 $as_echo_n "checking for -lodbc... " >&6; }
12271 if ${ac_cv_lib_soname_odbc+:} false
; then :
12272 $as_echo_n "(cached) " >&6
12274 ac_check_soname_save_LIBS
=$LIBS
12275 LIBS
="-lodbc $LIBS"
12276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12277 /* end confdefs.h. */
12279 /* Override any GCC internal prototype to avoid an error.
12280 Use char because int might match the return type of a GCC
12281 builtin and then its argument prototype would still apply. */
12285 char SQLConnect ();
12289 return SQLConnect ();
12294 if ac_fn_c_try_link
"$LINENO"; then :
12296 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12297 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'` ;;
12298 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12299 if test "x$ac_cv_lib_soname_odbc" = x
; then :
12300 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12304 rm -f core conftest.err conftest.
$ac_objext \
12305 conftest
$ac_exeext conftest.
$ac_ext
12306 LIBS
=$ac_check_soname_save_LIBS
12308 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12310 $as_echo "not found" >&6; }
12311 cat >>confdefs.h
<<_ACEOF
12312 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12317 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12319 cat >>confdefs.h
<<_ACEOF
12320 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12326 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12327 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
12328 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
12329 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
12331 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12332 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
12333 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12335 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
12341 if test "x${GCC}" = "xyes"
12343 EXTRACFLAGS
="-Wall -pipe"
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12346 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12347 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
12348 $as_echo_n "(cached) " >&6
12350 if test "$cross_compiling" = yes; then :
12351 ac_cv_c_gcc_strength_bug
="yes"
12353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12354 /* end confdefs.h. */
12355 int L[4] = {0,1,2,3};
12359 static int Array[3];
12360 unsigned int B = 3;
12362 for(i=0; i<B; i++) Array[i] = i - 3;
12363 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12365 return (Array[1] != -2 || L[2] != 3)
12370 if ac_fn_c_try_run
"$LINENO"; then :
12371 ac_cv_c_gcc_strength_bug
="no"
12373 ac_cv_c_gcc_strength_bug
="yes"
12375 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12376 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12381 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12382 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12384 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12388 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12389 if ${ac_cv_cflags__fno_builtin+:} false
; then :
12390 $as_echo_n "(cached) " >&6
12392 ac_wine_try_cflags_saved
=$CFLAGS
12393 CFLAGS
="$CFLAGS -fno-builtin"
12394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12395 /* end confdefs.h. */
12396 int main(int argc, char **argv) { return 0; }
12398 if ac_fn_c_try_link
"$LINENO"; then :
12399 ac_cv_cflags__fno_builtin
=yes
12401 ac_cv_cflags__fno_builtin
=no
12403 rm -f core conftest.err conftest.
$ac_objext \
12404 conftest
$ac_exeext conftest.
$ac_ext
12405 CFLAGS
=$ac_wine_try_cflags_saved
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12408 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12409 if test $ac_cv_cflags__fno_builtin = yes; then :
12410 BUILTINFLAG
="-fno-builtin"
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12414 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12415 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
12416 $as_echo_n "(cached) " >&6
12418 ac_wine_try_cflags_saved
=$CFLAGS
12419 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12422 int main(int argc, char **argv) { return 0; }
12424 if ac_fn_c_try_link
"$LINENO"; then :
12425 ac_cv_cflags__fno_strict_aliasing
=yes
12427 ac_cv_cflags__fno_strict_aliasing
=no
12429 rm -f core conftest.err conftest.
$ac_objext \
12430 conftest
$ac_exeext conftest.
$ac_ext
12431 CFLAGS
=$ac_wine_try_cflags_saved
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12434 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12435 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12436 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12439 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12440 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
12441 $as_echo_n "(cached) " >&6
12443 ac_wine_try_cflags_saved
=$CFLAGS
12444 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12446 /* end confdefs.h. */
12447 int main(int argc, char **argv) { return 0; }
12449 if ac_fn_c_try_link
"$LINENO"; then :
12450 ac_cv_cflags__Wdeclaration_after_statement
=yes
12452 ac_cv_cflags__Wdeclaration_after_statement
=no
12454 rm -f core conftest.err conftest.
$ac_objext \
12455 conftest
$ac_exeext conftest.
$ac_ext
12456 CFLAGS
=$ac_wine_try_cflags_saved
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12459 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12460 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12461 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12464 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12465 if ${ac_cv_cflags__Wempty_body+:} false
; then :
12466 $as_echo_n "(cached) " >&6
12468 ac_wine_try_cflags_saved
=$CFLAGS
12469 CFLAGS
="$CFLAGS -Wempty-body"
12470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12471 /* end confdefs.h. */
12472 int main(int argc, char **argv) { return 0; }
12474 if ac_fn_c_try_link
"$LINENO"; then :
12475 ac_cv_cflags__Wempty_body
=yes
12477 ac_cv_cflags__Wempty_body
=no
12479 rm -f core conftest.err conftest.
$ac_objext \
12480 conftest
$ac_exeext conftest.
$ac_ext
12481 CFLAGS
=$ac_wine_try_cflags_saved
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12484 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12485 if test $ac_cv_cflags__Wempty_body = yes; then :
12486 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12489 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12490 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
12491 $as_echo_n "(cached) " >&6
12493 ac_wine_try_cflags_saved
=$CFLAGS
12494 CFLAGS
="$CFLAGS -Wignored-qualifiers"
12495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12496 /* end confdefs.h. */
12497 int main(int argc, char **argv) { return 0; }
12499 if ac_fn_c_try_link
"$LINENO"; then :
12500 ac_cv_cflags__Wignored_qualifiers
=yes
12502 ac_cv_cflags__Wignored_qualifiers
=no
12504 rm -f core conftest.err conftest.
$ac_objext \
12505 conftest
$ac_exeext conftest.
$ac_ext
12506 CFLAGS
=$ac_wine_try_cflags_saved
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12509 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12510 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12511 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12514 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12515 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
12516 $as_echo_n "(cached) " >&6
12518 ac_wine_try_cflags_saved
=$CFLAGS
12519 CFLAGS
="$CFLAGS -Wstrict-prototypes"
12520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12521 /* end confdefs.h. */
12522 int main(int argc, char **argv) { return 0; }
12524 if ac_fn_c_try_link
"$LINENO"; then :
12525 ac_cv_cflags__Wstrict_prototypes
=yes
12527 ac_cv_cflags__Wstrict_prototypes
=no
12529 rm -f core conftest.err conftest.
$ac_objext \
12530 conftest
$ac_exeext conftest.
$ac_ext
12531 CFLAGS
=$ac_wine_try_cflags_saved
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12534 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12535 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12536 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12539 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12540 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
12541 $as_echo_n "(cached) " >&6
12543 ac_wine_try_cflags_saved
=$CFLAGS
12544 CFLAGS
="$CFLAGS -Wtype-limits"
12545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12546 /* end confdefs.h. */
12547 int main(int argc, char **argv) { return 0; }
12549 if ac_fn_c_try_link
"$LINENO"; then :
12550 ac_cv_cflags__Wtype_limits
=yes
12552 ac_cv_cflags__Wtype_limits
=no
12554 rm -f core conftest.err conftest.
$ac_objext \
12555 conftest
$ac_exeext conftest.
$ac_ext
12556 CFLAGS
=$ac_wine_try_cflags_saved
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12559 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12560 if test $ac_cv_cflags__Wtype_limits = yes; then :
12561 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12564 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12565 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
12566 $as_echo_n "(cached) " >&6
12568 ac_wine_try_cflags_saved
=$CFLAGS
12569 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
12570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12571 /* end confdefs.h. */
12572 int main(int argc, char **argv) { return 0; }
12574 if ac_fn_c_try_link
"$LINENO"; then :
12575 ac_cv_cflags__Wunused_but_set_parameter
=yes
12577 ac_cv_cflags__Wunused_but_set_parameter
=no
12579 rm -f core conftest.err conftest.
$ac_objext \
12580 conftest
$ac_exeext conftest.
$ac_ext
12581 CFLAGS
=$ac_wine_try_cflags_saved
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12584 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12585 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12586 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12589 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12590 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
12591 $as_echo_n "(cached) " >&6
12593 ac_wine_try_cflags_saved
=$CFLAGS
12594 CFLAGS
="$CFLAGS -Wwrite-strings"
12595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12597 int main(int argc, char **argv) { return 0; }
12599 if ac_fn_c_try_link
"$LINENO"; then :
12600 ac_cv_cflags__Wwrite_strings
=yes
12602 ac_cv_cflags__Wwrite_strings
=no
12604 rm -f core conftest.err conftest.
$ac_objext \
12605 conftest
$ac_exeext conftest.
$ac_ext
12606 CFLAGS
=$ac_wine_try_cflags_saved
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12609 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12610 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12611 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12614 for ac_flag
in $CFLAGS; do
12616 -g) case $host_os in
12617 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12618 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12619 if ${ac_cv_cflags__gstabsp+:} false
; then :
12620 $as_echo_n "(cached) " >&6
12622 ac_wine_try_cflags_saved
=$CFLAGS
12623 CFLAGS
="$CFLAGS -gstabs+"
12624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12625 /* end confdefs.h. */
12626 int main(int argc, char **argv) { return 0; }
12628 if ac_fn_c_try_link
"$LINENO"; then :
12629 ac_cv_cflags__gstabsp
=yes
12631 ac_cv_cflags__gstabsp
=no
12633 rm -f core conftest.err conftest.
$ac_objext \
12634 conftest
$ac_exeext conftest.
$ac_ext
12635 CFLAGS
=$ac_wine_try_cflags_saved
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12638 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12639 if test $ac_cv_cflags__gstabsp = yes; then :
12640 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12642 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12643 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12644 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
12645 $as_echo_n "(cached) " >&6
12647 ac_wine_try_cflags_saved
=$CFLAGS
12648 CFLAGS
="$CFLAGS -gdwarf-2"
12649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12651 int main(int argc, char **argv) { return 0; }
12653 if ac_fn_c_try_link
"$LINENO"; then :
12654 ac_cv_cflags__gdwarf_2
=yes
12656 ac_cv_cflags__gdwarf_2
=no
12658 rm -f core conftest.err conftest.
$ac_objext \
12659 conftest
$ac_exeext conftest.
$ac_ext
12660 CFLAGS
=$ac_wine_try_cflags_saved
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12663 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12664 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12665 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12668 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12669 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
12670 $as_echo_n "(cached) " >&6
12672 ac_wine_try_cflags_saved
=$CFLAGS
12673 CFLAGS
="$CFLAGS -gstrict-dwarf"
12674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12675 /* end confdefs.h. */
12676 int main(int argc, char **argv) { return 0; }
12678 if ac_fn_c_try_link
"$LINENO"; then :
12679 ac_cv_cflags__gstrict_dwarf
=yes
12681 ac_cv_cflags__gstrict_dwarf
=no
12683 rm -f core conftest.err conftest.
$ac_objext \
12684 conftest
$ac_exeext conftest.
$ac_ext
12685 CFLAGS
=$ac_wine_try_cflags_saved
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12688 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12689 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12690 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
12697 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12698 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12699 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
12700 $as_echo_n "(cached) " >&6
12702 ac_wine_try_cflags_saved
=$CFLAGS
12703 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
12704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12705 /* end confdefs.h. */
12706 int main(int argc, char **argv) { return 0; }
12708 if ac_fn_c_try_link
"$LINENO"; then :
12709 ac_cv_cflags__fno_omit_frame_pointer
=yes
12711 ac_cv_cflags__fno_omit_frame_pointer
=no
12713 rm -f core conftest.err conftest.
$ac_objext \
12714 conftest
$ac_exeext conftest.
$ac_ext
12715 CFLAGS
=$ac_wine_try_cflags_saved
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12718 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12719 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12720 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
12725 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12726 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12727 if ${ac_cv_cflags__Wno_format+:} false
; then :
12728 $as_echo_n "(cached) " >&6
12730 ac_wine_try_cflags_saved
=$CFLAGS
12731 CFLAGS
="$CFLAGS -Wno-format"
12732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12733 /* end confdefs.h. */
12734 int main(int argc, char **argv) { return 0; }
12736 if ac_fn_c_try_link
"$LINENO"; then :
12737 ac_cv_cflags__Wno_format
=yes
12739 ac_cv_cflags__Wno_format
=no
12741 rm -f core conftest.err conftest.
$ac_objext \
12742 conftest
$ac_exeext conftest.
$ac_ext
12743 CFLAGS
=$ac_wine_try_cflags_saved
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12746 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12747 if test $ac_cv_cflags__Wno_format = yes; then :
12748 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
12752 saved_CFLAGS
="$CFLAGS"
12753 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12755 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12756 if ${ac_cv_c_string_h_warnings+:} false
; then :
12757 $as_echo_n "(cached) " >&6
12759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12760 /* end confdefs.h. */
12761 #include <string.h>
12770 if ac_fn_c_try_compile
"$LINENO"; then :
12771 ac_cv_c_string_h_warnings
=no
12773 ac_cv_c_string_h_warnings
=yes
12775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12778 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12779 CFLAGS
="$saved_CFLAGS"
12780 if test "$ac_cv_c_string_h_warnings" = "no"
12782 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12785 saved_CFLAGS
="$CFLAGS"
12786 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12788 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12789 if ${ac_cv_c_logicalop_noisy+:} false
; then :
12790 $as_echo_n "(cached) " >&6
12792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12793 /* end confdefs.h. */
12794 #include <string.h>
12798 char*f(const char *h,char n) {return strchr(h,n);}
12803 if ac_fn_c_try_compile
"$LINENO"; then :
12804 ac_cv_c_logicalop_noisy
=no
12806 ac_cv_c_logicalop_noisy
=yes
12808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12811 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12812 CFLAGS
="$saved_CFLAGS"
12813 if test "$ac_cv_c_logicalop_noisy" = "no"
12815 EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12818 if test "x$enable_maintainer_mode" = "xyes"
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12821 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12822 if ${ac_cv_cflags__Werror+:} false
; then :
12823 $as_echo_n "(cached) " >&6
12825 ac_wine_try_cflags_saved
=$CFLAGS
12826 CFLAGS
="$CFLAGS -Werror"
12827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12828 /* end confdefs.h. */
12829 int main(int argc, char **argv) { return 0; }
12831 if ac_fn_c_try_link
"$LINENO"; then :
12832 ac_cv_cflags__Werror
=yes
12834 ac_cv_cflags__Werror
=no
12836 rm -f core conftest.err conftest.
$ac_objext \
12837 conftest
$ac_exeext conftest.
$ac_ext
12838 CFLAGS
=$ac_wine_try_cflags_saved
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12841 $as_echo "$ac_cv_cflags__Werror" >&6; }
12842 if test $ac_cv_cflags__Werror = yes; then :
12843 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12847 saved_CFLAGS
="$CFLAGS"
12848 CFLAGS
="$CFLAGS -Werror"
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12850 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12851 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
12852 $as_echo_n "(cached) " >&6
12854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12855 /* end confdefs.h. */
12856 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12865 if ac_fn_c_try_compile
"$LINENO"; then :
12866 ac_cv_have_ms_hook_prologue
="yes"
12868 ac_cv_have_ms_hook_prologue
="no"
12870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12873 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12874 CFLAGS
="$saved_CFLAGS"
12875 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12878 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12881 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12888 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12889 if ${ac_cv_c_fortify_enabled+:} false
; then :
12890 $as_echo_n "(cached) " >&6
12892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12893 /* end confdefs.h. */
12894 #include <string.h>
12898 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12899 #error Fortify enabled
12905 if ac_fn_c_try_compile
"$LINENO"; then :
12906 ac_cv_c_fortify_enabled
=no
12908 ac_cv_c_fortify_enabled
=yes
12910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12913 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12914 if test "$ac_cv_c_fortify_enabled" = yes
12916 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12921 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12922 if ${ac_cv_c_extern_prefix+:} false
; then :
12923 $as_echo_n "(cached) " >&6
12925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12926 /* end confdefs.h. */
12927 extern int ac_test;
12931 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12936 if ac_fn_c_try_link
"$LINENO"; then :
12937 ac_cv_c_extern_prefix
="yes"
12939 ac_cv_c_extern_prefix
="no"
12941 rm -f core conftest.err conftest.
$ac_objext \
12942 conftest
$ac_exeext conftest.
$ac_ext
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12945 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12950 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12951 if ${ac_cv_c_stdcall_suffix+:} false
; then :
12952 $as_echo_n "(cached) " >&6
12954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12955 /* end confdefs.h. */
12957 #define __stdcall __attribute__((__stdcall__))
12959 int __stdcall ac_test(int i) { return i; }
12963 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12968 if ac_fn_c_try_link
"$LINENO"; then :
12969 ac_cv_c_stdcall_suffix
="yes"
12971 ac_cv_c_stdcall_suffix
="no"
12973 rm -f core conftest.err conftest.
$ac_objext \
12974 conftest
$ac_exeext conftest.
$ac_ext
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12977 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12978 *) ac_cv_c_stdcall_suffix
="no" ;;
12982 if test "$ac_cv_c_extern_prefix" = "yes"
12984 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12986 asm_name_prefix
="_"
12988 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12994 if test "$ac_cv_c_stdcall_suffix" = "yes"
12996 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12999 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13005 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13006 if ${ac_cv_asm_func_def+:} false
; then :
13007 $as_echo_n "(cached) " >&6
13009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13010 /* end confdefs.h. */
13015 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13020 if ac_fn_c_try_link
"$LINENO"; then :
13021 ac_cv_asm_func_def
=".def"
13023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13024 /* end confdefs.h. */
13029 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13034 if ac_fn_c_try_link
"$LINENO"; then :
13035 ac_cv_asm_func_def
=".type @function"
13037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13038 /* end confdefs.h. */
13043 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13048 if ac_fn_c_try_link
"$LINENO"; then :
13049 ac_cv_asm_func_def
=".type 2"
13051 ac_cv_asm_func_def
="unknown"
13053 rm -f core conftest.err conftest.
$ac_objext \
13054 conftest
$ac_exeext conftest.
$ac_ext
13056 rm -f core conftest.err conftest.
$ac_objext \
13057 conftest
$ac_exeext conftest.
$ac_ext
13059 rm -f core conftest.err conftest.
$ac_objext \
13060 conftest
$ac_exeext conftest.
$ac_ext
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13063 $as_echo "$ac_cv_asm_func_def" >&6; }
13066 case "$ac_cv_asm_func_def" in
13068 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13070 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13072 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13074 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
13076 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13078 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
13080 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13082 asm_func_header
="" ;;
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13086 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13087 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
13088 $as_echo_n "(cached) " >&6
13090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13091 /* end confdefs.h. */
13092 asm(".text\n\t.long 0");
13101 if ac_fn_c_try_compile
"$LINENO"; then :
13102 ac_cv_c_asm_outside_funcs
="yes"
13104 ac_cv_c_asm_outside_funcs
="no"
13106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13109 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13112 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13113 if ${ac_cv_c_dot_previous+:} false
; then :
13114 $as_echo_n "(cached) " >&6
13116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13117 /* end confdefs.h. */
13122 asm(".text\nac_test:\t.long 0\n\t.previous");
13127 if ac_fn_c_try_link
"$LINENO"; then :
13128 ac_cv_c_dot_previous
="yes"
13130 ac_cv_c_dot_previous
="no"
13132 rm -f core conftest.err conftest.
$ac_objext \
13133 conftest
$ac_exeext conftest.
$ac_ext
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13136 $as_echo "$ac_cv_c_dot_previous" >&6; }
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13139 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13140 if ${ac_cv_c_cfi_support+:} false
; then :
13141 $as_echo_n "(cached) " >&6
13143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13144 /* end confdefs.h. */
13145 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13154 if ac_fn_c_try_compile
"$LINENO"; then :
13155 ac_cv_c_cfi_support
="yes"
13157 ac_cv_c_cfi_support
="no"
13159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13162 $as_echo "$ac_cv_c_cfi_support" >&6; }
13164 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13165 asm_func_trailer
=""
13166 if test "$ac_cv_c_dot_previous" = "yes"
13168 asm_func_trailer
="\\n\\t.previous"
13170 if test "$ac_cv_c_cfi_support" = "yes"
13172 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
13173 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
13175 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13177 UNWINDFLAGS
=-fasynchronous-unwind-tables
13180 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13184 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
13187 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13189 cat >>confdefs.h
<<_ACEOF
13190 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13194 cat >>confdefs.h
<<_ACEOF
13195 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13200 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13203 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13213 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13218 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13224 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
13229 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
13231 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
13238 ac_save_CFLAGS
="$CFLAGS"
13239 CFLAGS
="$CFLAGS $BUILTINFLAG"
13313 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13314 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13315 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13316 cat >>confdefs.h
<<_ACEOF
13317 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13323 CFLAGS
="$ac_save_CFLAGS"
13325 if test "$ac_cv_func_dlopen" = no
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13328 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13329 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13330 $as_echo_n "(cached) " >&6
13332 ac_check_lib_save_LIBS
=$LIBS
13334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13335 /* end confdefs.h. */
13337 /* Override any GCC internal prototype to avoid an error.
13338 Use char because int might match the return type of a GCC
13339 builtin and then its argument prototype would still apply. */
13352 if ac_fn_c_try_link
"$LINENO"; then :
13353 ac_cv_lib_dl_dlopen
=yes
13355 ac_cv_lib_dl_dlopen
=no
13357 rm -f core conftest.err conftest.
$ac_objext \
13358 conftest
$ac_exeext conftest.
$ac_ext
13359 LIBS
=$ac_check_lib_save_LIBS
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13362 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13363 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13364 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13370 ac_wine_check_funcs_save_LIBS
="$LIBS"
13371 LIBS
="$LIBS $LIBDL"
13372 for ac_func
in dladdr
13374 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
13375 if test "x$ac_cv_func_dladdr" = xyes
; then :
13376 cat >>confdefs.h
<<_ACEOF
13377 #define HAVE_DLADDR 1
13383 LIBS
="$ac_wine_check_funcs_save_LIBS"
13385 if test "$ac_cv_func_poll" = no
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13388 $as_echo_n "checking for poll in -lpoll... " >&6; }
13389 if ${ac_cv_lib_poll_poll+:} false
; then :
13390 $as_echo_n "(cached) " >&6
13392 ac_check_lib_save_LIBS
=$LIBS
13393 LIBS
="-lpoll $LIBS"
13394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13395 /* end confdefs.h. */
13397 /* Override any GCC internal prototype to avoid an error.
13398 Use char because int might match the return type of a GCC
13399 builtin and then its argument prototype would still apply. */
13412 if ac_fn_c_try_link
"$LINENO"; then :
13413 ac_cv_lib_poll_poll
=yes
13415 ac_cv_lib_poll_poll
=no
13417 rm -f core conftest.err conftest.
$ac_objext \
13418 conftest
$ac_exeext conftest.
$ac_ext
13419 LIBS
=$ac_check_lib_save_LIBS
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13422 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13423 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
13424 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13432 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13433 if ${ac_cv_search_gethostbyname+:} false
; then :
13434 $as_echo_n "(cached) " >&6
13436 ac_func_search_save_LIBS
=$LIBS
13437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13438 /* end confdefs.h. */
13440 /* Override any GCC internal prototype to avoid an error.
13441 Use char because int might match the return type of a GCC
13442 builtin and then its argument prototype would still apply. */
13446 char gethostbyname ();
13450 return gethostbyname ();
13455 for ac_lib
in '' nsl
; do
13456 if test -z "$ac_lib"; then
13457 ac_res
="none required"
13460 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13462 if ac_fn_c_try_link
"$LINENO"; then :
13463 ac_cv_search_gethostbyname
=$ac_res
13465 rm -f core conftest.err conftest.
$ac_objext \
13467 if ${ac_cv_search_gethostbyname+:} false
; then :
13471 if ${ac_cv_search_gethostbyname+:} false
; then :
13474 ac_cv_search_gethostbyname
=no
13476 rm conftest.
$ac_ext
13477 LIBS
=$ac_func_search_save_LIBS
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13480 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13481 ac_res
=$ac_cv_search_gethostbyname
13482 if test "$ac_res" != no
; then :
13483 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13489 $as_echo_n "checking for library containing connect... " >&6; }
13490 if ${ac_cv_search_connect+:} false
; then :
13491 $as_echo_n "(cached) " >&6
13493 ac_func_search_save_LIBS
=$LIBS
13494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13495 /* end confdefs.h. */
13497 /* Override any GCC internal prototype to avoid an error.
13498 Use char because int might match the return type of a GCC
13499 builtin and then its argument prototype would still apply. */
13512 for ac_lib
in '' socket
; do
13513 if test -z "$ac_lib"; then
13514 ac_res
="none required"
13517 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13519 if ac_fn_c_try_link
"$LINENO"; then :
13520 ac_cv_search_connect
=$ac_res
13522 rm -f core conftest.err conftest.
$ac_objext \
13524 if ${ac_cv_search_connect+:} false
; then :
13528 if ${ac_cv_search_connect+:} false
; then :
13531 ac_cv_search_connect
=no
13533 rm conftest.
$ac_ext
13534 LIBS
=$ac_func_search_save_LIBS
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13537 $as_echo "$ac_cv_search_connect" >&6; }
13538 ac_res
=$ac_cv_search_connect
13539 if test "$ac_res" != no
; then :
13540 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13546 $as_echo_n "checking for library containing inet_aton... " >&6; }
13547 if ${ac_cv_search_inet_aton+:} false
; then :
13548 $as_echo_n "(cached) " >&6
13550 ac_func_search_save_LIBS
=$LIBS
13551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13552 /* end confdefs.h. */
13554 /* Override any GCC internal prototype to avoid an error.
13555 Use char because int might match the return type of a GCC
13556 builtin and then its argument prototype would still apply. */
13564 return inet_aton ();
13569 for ac_lib
in '' resolv
; do
13570 if test -z "$ac_lib"; then
13571 ac_res
="none required"
13574 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13576 if ac_fn_c_try_link
"$LINENO"; then :
13577 ac_cv_search_inet_aton
=$ac_res
13579 rm -f core conftest.err conftest.
$ac_objext \
13581 if ${ac_cv_search_inet_aton+:} false
; then :
13585 if ${ac_cv_search_inet_aton+:} false
; then :
13588 ac_cv_search_inet_aton
=no
13590 rm conftest.
$ac_ext
13591 LIBS
=$ac_func_search_save_LIBS
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13594 $as_echo "$ac_cv_search_inet_aton" >&6; }
13595 ac_res
=$ac_cv_search_inet_aton
13596 if test "$ac_res" != no
; then :
13597 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13616 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13617 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13618 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13619 cat >>confdefs.h
<<_ACEOF
13620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
13629 $as_echo_n "checking for library containing clock_gettime... " >&6; }
13630 if ${ac_cv_search_clock_gettime+:} false
; then :
13631 $as_echo_n "(cached) " >&6
13633 ac_func_search_save_LIBS
=$LIBS
13634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13635 /* end confdefs.h. */
13637 /* Override any GCC internal prototype to avoid an error.
13638 Use char because int might match the return type of a GCC
13639 builtin and then its argument prototype would still apply. */
13643 char clock_gettime ();
13647 return clock_gettime ();
13652 for ac_lib
in '' rt
; do
13653 if test -z "$ac_lib"; then
13654 ac_res
="none required"
13657 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13659 if ac_fn_c_try_link
"$LINENO"; then :
13660 ac_cv_search_clock_gettime
=$ac_res
13662 rm -f core conftest.err conftest.
$ac_objext \
13664 if ${ac_cv_search_clock_gettime+:} false
; then :
13668 if ${ac_cv_search_clock_gettime+:} false
; then :
13671 ac_cv_search_clock_gettime
=no
13673 rm conftest.
$ac_ext
13674 LIBS
=$ac_func_search_save_LIBS
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
13677 $as_echo "$ac_cv_search_clock_gettime" >&6; }
13678 ac_res
=$ac_cv_search_clock_gettime
13679 if test "$ac_res" != no
; then :
13680 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13682 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13684 test "$ac_res" = "none required" || LIBRT
="$ac_res"
13692 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13694 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13696 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13698 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13699 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
13700 $as_echo_n "(cached) " >&6
13702 ac_check_lib_save_LIBS
=$LIBS
13703 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13705 /* end confdefs.h. */
13707 /* Override any GCC internal prototype to avoid an error.
13708 Use char because int might match the return type of a GCC
13709 builtin and then its argument prototype would still apply. */
13713 char ldap_initialize ();
13717 return ldap_initialize ();
13722 if ac_fn_c_try_link
"$LINENO"; then :
13723 ac_cv_lib_ldap_r_ldap_initialize
=yes
13725 ac_cv_lib_ldap_r_ldap_initialize
=no
13727 rm -f core conftest.err conftest.
$ac_objext \
13728 conftest
$ac_exeext conftest.
$ac_ext
13729 LIBS
=$ac_check_lib_save_LIBS
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13732 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13733 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13735 $as_echo_n "checking for ber_init in -llber... " >&6; }
13736 if ${ac_cv_lib_lber_ber_init+:} false
; then :
13737 $as_echo_n "(cached) " >&6
13739 ac_check_lib_save_LIBS
=$LIBS
13740 LIBS
="-llber $LIBPTHREAD $LIBS"
13741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13744 /* Override any GCC internal prototype to avoid an error.
13745 Use char because int might match the return type of a GCC
13746 builtin and then its argument prototype would still apply. */
13754 return ber_init ();
13759 if ac_fn_c_try_link
"$LINENO"; then :
13760 ac_cv_lib_lber_ber_init
=yes
13762 ac_cv_lib_lber_ber_init
=no
13764 rm -f core conftest.err conftest.
$ac_objext \
13765 conftest
$ac_exeext conftest.
$ac_ext
13766 LIBS
=$ac_check_lib_save_LIBS
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13769 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13770 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
13772 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13774 LDAPLIBS
="-lldap_r -llber"
13781 ac_wine_check_funcs_save_LIBS
="$LIBS"
13782 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13784 ldap_count_references \
13785 ldap_first_reference \
13786 ldap_next_reference \
13787 ldap_parse_reference \
13788 ldap_parse_sort_control \
13789 ldap_parse_sortresponse_control \
13790 ldap_parse_vlv_control \
13791 ldap_parse_vlvresponse_control
13793 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13794 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13795 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13796 cat >>confdefs.h
<<_ACEOF
13797 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13803 LIBS
="$ac_wine_check_funcs_save_LIBS"
13805 if test "x$LDAPLIBS" = "x"; then :
13806 case "x$with_ldap" in
13807 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13809 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13810 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13815 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13816 if ${wine_cv_one_arg_mkdir+:} false
; then :
13817 $as_echo_n "(cached) " >&6
13819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13820 /* end confdefs.h. */
13821 #include <sys/stat.h>
13830 if ac_fn_c_try_compile
"$LINENO"; then :
13831 wine_cv_one_arg_mkdir
=yes
13833 wine_cv_one_arg_mkdir
=no
13835 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13838 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13839 if test "$wine_cv_one_arg_mkdir" = "yes"
13842 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13847 $as_echo_n "checking for sched_setaffinity... " >&6; }
13848 if ${wine_cv_have_sched_setaffinity+:} false
; then :
13849 $as_echo_n "(cached) " >&6
13851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13852 /* end confdefs.h. */
13853 #define _GNU_SOURCE
13858 sched_setaffinity(0, 0, 0);
13863 if ac_fn_c_try_link
"$LINENO"; then :
13864 wine_cv_have_sched_setaffinity
=yes
13866 wine_cv_have_sched_setaffinity
=no
13868 rm -f core conftest.err conftest.
$ac_objext \
13869 conftest
$ac_exeext conftest.
$ac_ext
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13872 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13873 if test "$wine_cv_have_sched_setaffinity" = "yes"
13876 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
13881 $as_echo_n "checking for fallocate... " >&6; }
13882 if ${wine_cv_have_fallocate+:} false
; then :
13883 $as_echo_n "(cached) " >&6
13885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13886 /* end confdefs.h. */
13887 #define _GNU_SOURCE
13892 fallocate(-1, 0, 0, 0);
13897 if ac_fn_c_try_link
"$LINENO"; then :
13898 wine_cv_have_fallocate
=yes
13900 wine_cv_have_fallocate
=no
13902 rm -f core conftest.err conftest.
$ac_objext \
13903 conftest
$ac_exeext conftest.
$ac_ext
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
13906 $as_echo "$wine_cv_have_fallocate" >&6; }
13907 if test "$wine_cv_have_fallocate" = "yes"
13910 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13916 $as_echo_n "checking for inline... " >&6; }
13917 if ${ac_cv_c_inline+:} false
; then :
13918 $as_echo_n "(cached) " >&6
13921 for ac_kw
in inline __inline__ __inline
; do
13922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13923 /* end confdefs.h. */
13924 #ifndef __cplusplus
13926 static $ac_kw foo_t static_foo () {return 0; }
13927 $ac_kw foo_t foo () {return 0; }
13931 if ac_fn_c_try_compile
"$LINENO"; then :
13932 ac_cv_c_inline
=$ac_kw
13934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13935 test "$ac_cv_c_inline" != no
&& break
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13940 $as_echo "$ac_cv_c_inline" >&6; }
13942 case $ac_cv_c_inline in
13945 case $ac_cv_c_inline in
13947 *) ac_val
=$ac_cv_c_inline;;
13949 cat >>confdefs.h
<<_ACEOF
13950 #ifndef __cplusplus
13951 #define inline $ac_val
13957 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13958 if test "x$ac_cv_type_mode_t" = xyes
; then :
13960 cat >>confdefs.h
<<_ACEOF
13961 #define HAVE_MODE_T 1
13966 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13967 if test "x$ac_cv_type_off_t" = xyes
; then :
13969 cat >>confdefs.h
<<_ACEOF
13970 #define HAVE_OFF_T 1
13975 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13976 if test "x$ac_cv_type_pid_t" = xyes
; then :
13978 cat >>confdefs.h
<<_ACEOF
13979 #define HAVE_PID_T 1
13984 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13985 if test "x$ac_cv_type_size_t" = xyes
; then :
13987 cat >>confdefs.h
<<_ACEOF
13988 #define HAVE_SIZE_T 1
13993 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13994 if test "x$ac_cv_type_ssize_t" = xyes
; then :
13996 cat >>confdefs.h
<<_ACEOF
13997 #define HAVE_SSIZE_T 1
14002 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14003 if test "x$ac_cv_type_long_long" = xyes
; then :
14005 cat >>confdefs.h
<<_ACEOF
14006 #define HAVE_LONG_LONG 1
14011 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14012 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
14014 cat >>confdefs.h
<<_ACEOF
14015 #define HAVE_FSBLKCNT_T 1
14020 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14021 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
14023 cat >>confdefs.h
<<_ACEOF
14024 #define HAVE_FSFILCNT_T 1
14030 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14031 #include <signal.h>
14033 if test "x$ac_cv_type_sigset_t" = xyes
; then :
14035 cat >>confdefs.h
<<_ACEOF
14036 #define HAVE_SIGSET_T 1
14042 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14044 if test "x$ac_cv_type_request_sense" = xyes
; then :
14046 cat >>confdefs.h
<<_ACEOF
14047 #define HAVE_REQUEST_SENSE 1
14054 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14055 #ifdef HAVE_SYS_SOCKET_H
14056 #include <sys/socket.h>
14058 #ifdef HAVE_SYS_SOCKETVAR_H
14059 #include <sys/socketvar.h>
14061 #ifdef HAVE_NET_ROUTE_H
14062 #include <net/route.h>
14064 #ifdef HAVE_NETINET_IN_H
14065 #include <netinet/in.h>
14067 #ifdef HAVE_NETINET_IN_SYSTM_H
14068 #include <netinet/in_systm.h>
14070 #ifdef HAVE_NETINET_IP_H
14071 #include <netinet/ip.h>
14073 #ifdef HAVE_NETINET_IN_PCB_H
14074 #include <netinet/in_pcb.h>
14077 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
14079 cat >>confdefs.h
<<_ACEOF
14080 #define HAVE_STRUCT_XINPGEN 1
14087 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14088 #include <linux/input.h>
14091 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
14093 cat >>confdefs.h
<<_ACEOF
14094 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14102 $as_echo_n "checking for sigaddset... " >&6; }
14103 if ${wine_cv_have_sigaddset+:} false
; then :
14104 $as_echo_n "(cached) " >&6
14106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14108 #include <signal.h>
14112 sigset_t set; sigaddset(&set,SIGTERM);
14117 if ac_fn_c_try_link
"$LINENO"; then :
14118 wine_cv_have_sigaddset
=yes
14120 wine_cv_have_sigaddset
=no
14122 rm -f core conftest.err conftest.
$ac_objext \
14123 conftest
$ac_exeext conftest.
$ac_ext
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14126 $as_echo "$wine_cv_have_sigaddset" >&6; }
14127 if test "$wine_cv_have_sigaddset" = "yes"
14130 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14136 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14137 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
14138 $as_echo_n "(cached) " >&6
14140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14141 /* end confdefs.h. */
14149 struct hostent *result;
14156 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14157 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14163 if ac_fn_c_try_link
"$LINENO"; then :
14164 wine_cv_linux_gethostbyname_r_6
=yes
14166 wine_cv_linux_gethostbyname_r_6
=no
14169 rm -f core conftest.err conftest.
$ac_objext \
14170 conftest
$ac_exeext conftest.
$ac_ext
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14174 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14175 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14178 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14182 if test "$ac_cv_header_linux_joystick_h" = "yes"
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14185 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14186 if ${wine_cv_linux_joystick_22_api+:} false
; then :
14187 $as_echo_n "(cached) " >&6
14189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14190 /* end confdefs.h. */
14192 #include <sys/ioctl.h>
14193 #include <sys/types.h>
14194 #include <linux/joystick.h>
14196 struct js_event blub;
14197 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14198 #error "no 2.2 header"
14209 if ac_fn_c_try_compile
"$LINENO"; then :
14210 wine_cv_linux_joystick_22_api
=yes
14212 wine_cv_linux_joystick_22_api
=no
14214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14218 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14219 if test "$wine_cv_linux_joystick_22_api" = "yes"
14222 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14228 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14229 #ifdef HAVE_SYS_PARAM_H
14230 # include <sys/param.h>
14232 #ifdef HAVE_SYS_MOUNT_H
14233 # include <sys/mount.h>
14235 #ifdef HAVE_SYS_VFS_H
14236 # include <sys/vfs.h>
14238 #ifdef HAVE_SYS_STATFS_H
14239 # include <sys/statfs.h>
14242 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
14244 cat >>confdefs.h
<<_ACEOF
14245 #define HAVE_STRUCT_STATFS_F_BFREE 1
14250 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
14251 #ifdef HAVE_SYS_PARAM_H
14252 # include <sys/param.h>
14254 #ifdef HAVE_SYS_MOUNT_H
14255 # include <sys/mount.h>
14257 #ifdef HAVE_SYS_VFS_H
14258 # include <sys/vfs.h>
14260 #ifdef HAVE_SYS_STATFS_H
14261 # include <sys/statfs.h>
14264 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
14266 cat >>confdefs.h
<<_ACEOF
14267 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
14272 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
14273 #ifdef HAVE_SYS_PARAM_H
14274 # include <sys/param.h>
14276 #ifdef HAVE_SYS_MOUNT_H
14277 # include <sys/mount.h>
14279 #ifdef HAVE_SYS_VFS_H
14280 # include <sys/vfs.h>
14282 #ifdef HAVE_SYS_STATFS_H
14283 # include <sys/statfs.h>
14286 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
14288 cat >>confdefs.h
<<_ACEOF
14289 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
14294 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
14295 #ifdef HAVE_SYS_PARAM_H
14296 # include <sys/param.h>
14298 #ifdef HAVE_SYS_MOUNT_H
14299 # include <sys/mount.h>
14301 #ifdef HAVE_SYS_VFS_H
14302 # include <sys/vfs.h>
14304 #ifdef HAVE_SYS_STATFS_H
14305 # include <sys/statfs.h>
14308 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
14310 cat >>confdefs.h
<<_ACEOF
14311 #define HAVE_STRUCT_STATFS_F_FFREE 1
14316 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
14317 #ifdef HAVE_SYS_PARAM_H
14318 # include <sys/param.h>
14320 #ifdef HAVE_SYS_MOUNT_H
14321 # include <sys/mount.h>
14323 #ifdef HAVE_SYS_VFS_H
14324 # include <sys/vfs.h>
14326 #ifdef HAVE_SYS_STATFS_H
14327 # include <sys/statfs.h>
14330 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
14332 cat >>confdefs.h
<<_ACEOF
14333 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
14338 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
14339 #ifdef HAVE_SYS_PARAM_H
14340 # include <sys/param.h>
14342 #ifdef HAVE_SYS_MOUNT_H
14343 # include <sys/mount.h>
14345 #ifdef HAVE_SYS_VFS_H
14346 # include <sys/vfs.h>
14348 #ifdef HAVE_SYS_STATFS_H
14349 # include <sys/statfs.h>
14352 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
14354 cat >>confdefs.h
<<_ACEOF
14355 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14362 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14363 #include <sys/statvfs.h>
14366 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
14368 cat >>confdefs.h
<<_ACEOF
14369 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14376 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14377 #include <dirent.h>
14380 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
14382 cat >>confdefs.h
<<_ACEOF
14383 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14390 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14391 #ifdef HAVE_SYS_SOCKET_H
14392 # include <sys/socket.h>
14394 #ifdef HAVE_SYS_UN_H
14395 # include <sys/un.h>
14398 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
14400 cat >>confdefs.h
<<_ACEOF
14401 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14406 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14407 #ifdef HAVE_SYS_SOCKET_H
14408 # include <sys/socket.h>
14410 #ifdef HAVE_SYS_UN_H
14411 # include <sys/un.h>
14414 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
14416 cat >>confdefs.h
<<_ACEOF
14417 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14422 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14423 #ifdef HAVE_SYS_SOCKET_H
14424 # include <sys/socket.h>
14426 #ifdef HAVE_SYS_UN_H
14427 # include <sys/un.h>
14430 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
14432 cat >>confdefs.h
<<_ACEOF
14433 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14440 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14441 #ifdef HAVE_SCSI_SG_H
14442 #include <scsi/sg.h>
14445 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
14447 cat >>confdefs.h
<<_ACEOF
14448 #define HAVE_SCSIREQ_T_CMD 1
14453 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>
14454 #ifdef HAVE_SCSI_SG_H
14455 #include <scsi/sg.h>
14458 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
14460 cat >>confdefs.h
<<_ACEOF
14461 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14468 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14470 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
14472 cat >>confdefs.h
<<_ACEOF
14473 #define HAVE_SIGINFO_T_SI_FD 1
14480 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14481 #ifdef HAVE_SYS_MTIO_H
14482 #include <sys/mtio.h>
14485 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
14487 cat >>confdefs.h
<<_ACEOF
14488 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14493 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14494 #ifdef HAVE_SYS_MTIO_H
14495 #include <sys/mtio.h>
14498 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
14500 cat >>confdefs.h
<<_ACEOF
14501 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14506 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14507 #ifdef HAVE_SYS_MTIO_H
14508 #include <sys/mtio.h>
14511 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
14513 cat >>confdefs.h
<<_ACEOF
14514 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14521 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14522 #include <getopt.h>
14525 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
14527 cat >>confdefs.h
<<_ACEOF
14528 #define HAVE_STRUCT_OPTION_NAME 1
14535 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14536 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
14538 cat >>confdefs.h
<<_ACEOF
14539 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14544 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14545 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
14547 cat >>confdefs.h
<<_ACEOF
14548 #define HAVE_STRUCT_STAT_ST_MTIM 1
14553 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14554 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
14556 cat >>confdefs.h
<<_ACEOF
14557 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14562 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14563 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
14565 cat >>confdefs.h
<<_ACEOF
14566 #define HAVE_STRUCT_STAT_ST_CTIM 1
14571 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14572 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
14574 cat >>confdefs.h
<<_ACEOF
14575 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14580 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14581 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
14583 cat >>confdefs.h
<<_ACEOF
14584 #define HAVE_STRUCT_STAT_ST_ATIM 1
14589 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14590 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
14592 cat >>confdefs.h
<<_ACEOF
14593 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14598 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14599 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
14601 cat >>confdefs.h
<<_ACEOF
14602 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14607 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14608 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
14610 cat >>confdefs.h
<<_ACEOF
14611 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14616 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14617 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
14619 cat >>confdefs.h
<<_ACEOF
14620 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14625 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14626 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
14628 cat >>confdefs.h
<<_ACEOF
14629 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14634 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14635 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
14637 cat >>confdefs.h
<<_ACEOF
14638 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14645 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
14646 #include <sys/types.h>
14648 #ifdef HAVE_NETINET_IN_H
14649 #include <netinet/in.h>
14652 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
14654 cat >>confdefs.h
<<_ACEOF
14655 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14662 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14663 #include <sys/types.h>
14665 #ifdef HAVE_NETINET_IN_H
14666 # include <netinet/in.h>
14668 #ifdef HAVE_ARPA_NAMESER_H
14669 # include <arpa/nameser.h>
14672 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
14674 cat >>confdefs.h
<<_ACEOF
14675 #define HAVE_NS_MSG__MSG_PTR 1
14682 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14683 #include <sys/types.h>
14685 #ifdef HAVE_NETINET_IP_H
14686 #include <netinet/ip.h>
14688 #ifdef HAVE_NETINET_IP_ICMP_H
14689 #include <netinet/ip_icmp.h>
14691 #ifdef HAVE_NETINET_ICMP_VAR_H
14692 #include <netinet/icmp_var.h>
14695 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
14697 cat >>confdefs.h
<<_ACEOF
14698 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14705 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14706 #include <sys/types.h>
14708 #ifdef HAVE_ALIAS_H
14711 #ifdef HAVE_SYS_SOCKET_H
14712 #include <sys/socket.h>
14714 #ifdef HAVE_SYS_SOCKETVAR_H
14715 #include <sys/socketvar.h>
14717 #ifdef HAVE_SYS_TIMEOUT_H
14718 #include <sys/timeout.h>
14720 #ifdef HAVE_NETINET_IN_H
14721 #include <netinet/in.h>
14723 #ifdef HAVE_NETINET_IN_SYSTM_H
14724 #include <netinet/in_systm.h>
14726 #ifdef HAVE_NETINET_IP_H
14727 #include <netinet/ip.h>
14729 #ifdef HAVE_NETINET_IP_VAR_H
14730 #include <netinet/ip_var.h>
14732 #ifdef HAVE_NETINET_IP_ICMP_H
14733 #include <netinet/ip_icmp.h>
14735 #ifdef HAVE_NETINET_ICMP_VAR_H
14736 #include <netinet/icmp_var.h>
14739 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
14741 cat >>confdefs.h
<<_ACEOF
14742 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14749 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14750 #include <sys/types.h>
14752 #ifdef HAVE_SYS_SOCKETVAR_H
14753 #include <sys/socketvar.h>
14755 #ifdef HAVE_NETINET_IN_H
14756 #include <netinet/in.h>
14758 #ifdef HAVE_NETINET_IP_VAR_H
14759 #include <netinet/ip_var.h>
14762 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
14764 cat >>confdefs.h
<<_ACEOF
14765 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14772 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
14773 #include <netinet/ip_var.h>
14776 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
14778 cat >>confdefs.h
<<_ACEOF
14779 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14786 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14787 #include <sys/types.h>
14789 #ifdef HAVE_SYS_SOCKETVAR_H
14790 #include <sys/socketvar.h>
14792 #ifdef HAVE_NETINET_IN_H
14793 #include <netinet/in.h>
14795 #ifdef HAVE_NETINET_TCP_H
14796 #include <netinet/tcp.h>
14798 #ifdef HAVE_NETINET_TCP_VAR_H
14799 #include <netinet/tcp_var.h>
14802 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
14804 cat >>confdefs.h
<<_ACEOF
14805 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14812 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
14813 #include <netinet/tcp_var.h>
14816 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
14818 cat >>confdefs.h
<<_ACEOF
14819 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14826 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
14827 #include <sys/types.h>
14829 #ifdef HAVE_NETINET_IN_H
14830 #include <netinet/in.h>
14832 #ifdef HAVE_NETINET_IP_VAR_H
14833 #include <netinet/ip_var.h>
14835 #ifdef HAVE_NETINET_UDP_H
14836 #include <netinet/udp.h>
14838 #ifdef HAVE_NETINET_UDP_VAR_H
14839 #include <netinet/udp_var.h>
14842 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
14844 cat >>confdefs.h
<<_ACEOF
14845 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14852 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14853 #include <sys/types.h>
14855 #ifdef HAVE_NET_IF_H
14856 # include <net/if.h>
14859 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
14861 cat >>confdefs.h
<<_ACEOF
14862 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14870 $as_echo_n "checking for timezone variable... " >&6; }
14871 if ${ac_cv_have_timezone+:} false
; then :
14872 $as_echo_n "(cached) " >&6
14874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14875 /* end confdefs.h. */
14885 if ac_fn_c_try_link
"$LINENO"; then :
14886 ac_cv_have_timezone
="yes"
14888 ac_cv_have_timezone
="no"
14890 rm -f core conftest.err conftest.
$ac_objext \
14891 conftest
$ac_exeext conftest.
$ac_ext
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14894 $as_echo "$ac_cv_have_timezone" >&6; }
14895 if test "$ac_cv_have_timezone" = "yes"
14898 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14902 $as_echo_n "checking for daylight variable... " >&6; }
14903 if ${ac_cv_have_daylight+:} false
; then :
14904 $as_echo_n "(cached) " >&6
14906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14917 if ac_fn_c_try_link
"$LINENO"; then :
14918 ac_cv_have_daylight
="yes"
14920 ac_cv_have_daylight
="no"
14922 rm -f core conftest.err conftest.
$ac_objext \
14923 conftest
$ac_exeext conftest.
$ac_ext
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14926 $as_echo "$ac_cv_have_daylight" >&6; }
14927 if test "$ac_cv_have_daylight" = "yes"
14930 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14934 ac_save_LIBS
="$LIBS"
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14937 $as_echo_n "checking for isinf... " >&6; }
14938 if ${ac_cv_have_isinf+:} false
; then :
14939 $as_echo_n "(cached) " >&6
14941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14942 /* end confdefs.h. */
14947 float f = 0.0; return isinf(f)
14952 if ac_fn_c_try_link
"$LINENO"; then :
14953 ac_cv_have_isinf
="yes"
14955 ac_cv_have_isinf
="no"
14957 rm -f core conftest.err conftest.
$ac_objext \
14958 conftest
$ac_exeext conftest.
$ac_ext
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14961 $as_echo "$ac_cv_have_isinf" >&6; }
14962 if test "$ac_cv_have_isinf" = "yes"
14965 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14970 $as_echo_n "checking for isnan... " >&6; }
14971 if ${ac_cv_have_isnan+:} false
; then :
14972 $as_echo_n "(cached) " >&6
14974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14975 /* end confdefs.h. */
14980 float f = 0.0; return isnan(f)
14985 if ac_fn_c_try_link
"$LINENO"; then :
14986 ac_cv_have_isnan
="yes"
14988 ac_cv_have_isnan
="no"
14990 rm -f core conftest.err conftest.
$ac_objext \
14991 conftest
$ac_exeext conftest.
$ac_ext
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14994 $as_echo "$ac_cv_have_isnan" >&6; }
14995 if test "$ac_cv_have_isnan" = "yes"
14998 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15001 LIBS
="$ac_save_LIBS"
15005 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15006 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15007 if ${ac_cv_cpp_def___i386__+:} false
; then :
15008 $as_echo_n "(cached) " >&6
15010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15011 /* end confdefs.h. */
15016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15017 $EGREP "yes" >/dev
/null
2>&1; then :
15018 ac_cv_cpp_def___i386__
=yes
15020 ac_cv_cpp_def___i386__
=no
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15026 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15027 if test $ac_cv_cpp_def___i386__ = yes; then :
15028 CFLAGS
="$CFLAGS -D__i386__"
15029 LINTFLAGS
="$LINTFLAGS -D__i386__"
15031 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15032 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15033 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
15034 $as_echo_n "(cached) " >&6
15036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15037 /* end confdefs.h. */
15042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15043 $EGREP "yes" >/dev
/null
2>&1; then :
15044 ac_cv_cpp_def___x86_64__
=yes
15046 ac_cv_cpp_def___x86_64__
=no
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15052 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15053 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15054 CFLAGS
="$CFLAGS -D__x86_64__"
15055 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
15057 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15058 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15059 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
15060 $as_echo_n "(cached) " >&6
15062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15063 /* end confdefs.h. */
15064 #ifndef __sparc64__
15068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15069 $EGREP "yes" >/dev
/null
2>&1; then :
15070 ac_cv_cpp_def___sparc64__
=yes
15072 ac_cv_cpp_def___sparc64__
=no
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15078 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15079 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15080 CFLAGS
="$CFLAGS -D__sparc64__"
15081 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
15083 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15084 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15085 if ${ac_cv_cpp_def___sparc__+:} false
; then :
15086 $as_echo_n "(cached) " >&6
15088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15089 /* end confdefs.h. */
15094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15095 $EGREP "yes" >/dev
/null
2>&1; then :
15096 ac_cv_cpp_def___sparc__
=yes
15098 ac_cv_cpp_def___sparc__
=no
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15104 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15105 if test $ac_cv_cpp_def___sparc__ = yes; then :
15106 CFLAGS
="$CFLAGS -D__sparc__"
15107 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15109 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15110 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15111 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
15112 $as_echo_n "(cached) " >&6
15114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15115 /* end confdefs.h. */
15116 #ifndef __powerpc64__
15120 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15121 $EGREP "yes" >/dev
/null
2>&1; then :
15122 ac_cv_cpp_def___powerpc64__
=yes
15124 ac_cv_cpp_def___powerpc64__
=no
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15130 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15131 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15132 CFLAGS
="$CFLAGS -D__powerpc64__"
15133 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
15135 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15136 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15137 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
15138 $as_echo_n "(cached) " >&6
15140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15141 /* end confdefs.h. */
15142 #ifndef __powerpc__
15146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15147 $EGREP "yes" >/dev
/null
2>&1; then :
15148 ac_cv_cpp_def___powerpc__
=yes
15150 ac_cv_cpp_def___powerpc__
=no
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15156 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15157 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15158 CFLAGS
="$CFLAGS -D__powerpc__"
15159 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
15161 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15162 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15163 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
15164 $as_echo_n "(cached) " >&6
15166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h. */
15168 #ifndef __aarch64__
15172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15173 $EGREP "yes" >/dev
/null
2>&1; then :
15174 ac_cv_cpp_def___aarch64__
=yes
15176 ac_cv_cpp_def___aarch64__
=no
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15182 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15183 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15184 CFLAGS
="$CFLAGS -D__aarch64__"
15185 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
15187 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15188 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15189 if ${ac_cv_cpp_def___arm__+:} false
; then :
15190 $as_echo_n "(cached) " >&6
15192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15193 /* end confdefs.h. */
15198 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15199 $EGREP "yes" >/dev
/null
2>&1; then :
15200 ac_cv_cpp_def___arm__
=yes
15202 ac_cv_cpp_def___arm__
=no
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15208 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15209 if test $ac_cv_cpp_def___arm__ = yes; then :
15210 CFLAGS
="$CFLAGS -D__arm__"
15211 LINTFLAGS
="$LINTFLAGS -D__arm__"
15215 case $host_vendor in
15216 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
15217 $as_echo_n "checking whether we need to define __sun__... " >&6; }
15218 if ${ac_cv_cpp_def___sun__+:} false
; then :
15219 $as_echo_n "(cached) " >&6
15221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15228 $EGREP "yes" >/dev
/null
2>&1; then :
15229 ac_cv_cpp_def___sun__
=yes
15231 ac_cv_cpp_def___sun__
=no
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
15237 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
15238 if test $ac_cv_cpp_def___sun__ = yes; then :
15239 CFLAGS
="$CFLAGS -D__sun__"
15240 LINTFLAGS
="$LINTFLAGS -D__sun__"
15248 ac_config_commands
="$ac_config_commands include/stamp-h"
15251 ALL_MAKEFILE_DEPENDS
="
15252 # Rules automatically generated by configure
15257 Makefile: Makefile.in Make.vars.in Make.rules config.status
15258 @./config.status Make.tmp Makefile"
15261 ALL_TEST_RESOURCES
=""
15264 wine_fn_append_file
()
15266 as_fn_append
$1 " \\$as_nl $2"
15269 wine_fn_append_rule
()
15271 as_fn_append
$1 "$as_nl$2"
15274 wine_fn_has_flag
()
15276 expr ",$2," : ".*,$1,.*" >/dev
/null
15279 wine_fn_all_dir_rules
()
15283 ac_makedep
="\$(MAKEDEP)"
15284 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
15285 if test $ac_dir != tools
15287 ac_alldeps
="$2 $ac_makedep"
15289 ac_alldeps
="$2 include/config.h"
15292 *.
in) ac_input
=$ac_input:$2 ;;
15293 *) ac_makedep
="$2 $ac_makedep" ;;
15296 wine_fn_append_file ALL_DIRS
$ac_dir
15297 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15298 "__clean__: $ac_dir/__clean__
15299 .PHONY: $ac_dir/__clean__
15300 $ac_dir/__clean__: $ac_dir/Makefile
15301 @cd $ac_dir && \$(MAKE) clean
15302 \$(RM) $ac_dir/Makefile
15303 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
15304 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
15305 depend: $ac_dir/__depend__
15306 .PHONY: $ac_dir/__depend__
15307 $ac_dir/__depend__: $ac_makedep dummy
15308 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
15311 wine_fn_pot_rules
()
15316 test "x$with_gettextpo" = xyes ||
return
15318 if wine_fn_has_flag mc
$ac_flags
15320 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
15321 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15322 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
15323 @cd $ac_dir && \$(MAKE) msg.pot
15324 $ac_dir/msg.pot: tools/wmc include"
15326 if wine_fn_has_flag po
$ac_flags
15328 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
15329 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15330 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
15331 @cd $ac_dir && \$(MAKE) rsrc.pot
15332 $ac_dir/rsrc.pot: tools/wrc include"
15336 wine_fn_config_makefile
()
15342 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15346 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
15347 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15350 $ac_dir: $ac_dir/Makefile dummy
15351 @cd $ac_dir && \$(MAKE)"
15353 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
15355 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15356 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15357 $ac_dir/__install__:: $ac_dir
15358 @cd $ac_dir && \$(MAKE) install
15359 $ac_dir/__uninstall__:: $ac_dir/Makefile
15360 @cd $ac_dir && \$(MAKE) uninstall
15361 install:: $ac_dir/__install__
15362 __uninstall__: $ac_dir/__uninstall__"
15364 if wine_fn_has_flag install-lib
$ac_flags
15366 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15367 ".PHONY: $ac_dir/__install-lib__
15368 $ac_dir/__install-lib__:: $ac_dir
15369 @cd $ac_dir && \$(MAKE) install-lib
15370 install-lib:: $ac_dir/__install-lib__"
15373 if wine_fn_has_flag install-dev
$ac_flags
15375 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15376 ".PHONY: $ac_dir/__install-dev
15377 $ac_dir/__install-dev__:: $ac_dir
15378 @cd $ac_dir && \$(MAKE) install-dev
15379 install-dev:: $ac_dir/__install-dev__"
15383 wine_fn_config_lib
()
15387 ac_dir
=dlls
/$ac_name
15388 wine_fn_config_makefile
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
15390 if wine_fn_has_flag install-dev
$ac_flags
15393 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15394 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15395 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15396 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15397 $ac_dir/__uninstall__::
15398 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15399 install install-dev:: $ac_dir/__install__
15400 __uninstall__: $ac_dir/__uninstall__"
15403 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: $ac_dir"
15404 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: tools/widl tools/winebuild tools/winegcc include"
15407 wine_fn_config_dll
()
15410 ac_dir
=dlls
/$ac_name
15413 ac_implib
=${4:-$ac_name}
15414 ac_file
=$ac_dir/lib
$ac_implib
15416 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
15420 *16) ac_implibflags
=" -m16" ;;
15422 *) ac_dll
=$ac_dll.dll
;;
15425 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
15427 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15428 test "$ac_enable" != enable_win16 ||
return 0
15429 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
15431 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15432 "$ac_dir: __builddeps__
15433 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15434 @cd $ac_dir && \$(MAKE) \$@"
15436 if wine_fn_has_flag install-lib
$ac_flags
15439 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15440 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15441 install install-lib:: $ac_dir/__install-lib__
15442 __uninstall__: $ac_dir/__uninstall__"
15443 if test -n "$DLLEXT"
15445 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15446 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15447 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
15448 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15449 $ac_dir/__uninstall__::
15450 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15452 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15453 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15454 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15455 $ac_dir/__uninstall__::
15456 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15460 wine_fn_pot_rules
$ac_dir $ac_flags
15463 if wine_fn_has_flag staticimplib
$ac_flags
15465 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15466 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15467 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15468 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15469 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15470 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15471 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15472 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15473 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15474 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15475 $ac_dir/__uninstall__::
15476 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15477 install install-dev:: $ac_dir/__install-dev__
15478 __uninstall__: $ac_dir/__uninstall__"
15480 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15482 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15483 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15484 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15485 $ac_dir/__uninstall__::
15486 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15489 if test "x$CROSSTEST_DISABLE" = x
15491 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15492 "__builddeps__: $ac_file.cross.a
15493 $ac_file.cross.a: $ac_dir/Makefile dummy
15494 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15497 elif wine_fn_has_flag implib
$ac_flags
15499 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15500 "__builddeps__: $ac_file.$IMPLIBEXT
15501 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15502 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15503 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15504 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15505 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15506 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15507 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15508 $ac_dir/__uninstall__::
15509 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15510 install install-dev:: $ac_dir/__install-dev__
15511 __uninstall__: $ac_dir/__uninstall__"
15512 if test "x$CROSSTEST_DISABLE" = x
15514 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15515 "__builddeps__: $ac_file.cross.a
15516 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15517 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15520 if test "$ac_name" != "$ac_implib"
15522 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15523 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15524 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15525 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15527 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15528 if test "x$CROSSTEST_DISABLE" = x
15530 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15531 "__builddeps__: dlls/lib$ac_implib.cross.a
15532 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15533 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15539 wine_fn_config_program
()
15542 ac_dir
=programs
/$ac_name
15545 ac_program
=$ac_name
15549 *) ac_program
=$ac_program.exe
;;
15552 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
15554 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15557 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15558 "$ac_dir: __builddeps__"
15560 wine_fn_pot_rules
$ac_dir $ac_flags
15562 wine_fn_has_flag
install $ac_flags ||
return
15563 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15564 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15565 install install-lib:: $ac_dir/__install__
15566 __uninstall__: $ac_dir/__uninstall__"
15568 if test -n "$DLLEXT"
15570 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15571 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15572 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15573 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15574 $ac_dir/__uninstall__::
15575 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15577 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
15579 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15580 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15581 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15582 $ac_dir/__uninstall__::
15583 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15586 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15587 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15588 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15589 $ac_dir/__uninstall__::
15590 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15593 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
15595 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15596 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15597 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15598 $ac_dir/__uninstall__::
15599 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15604 wine_fn_config_test
()
15609 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
15610 wine_fn_all_dir_rules
$ac_dir Maketest.rules
15612 if test "x$enable_tests" = xno
; then :
15615 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15618 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15619 @cd $ac_dir && \$(MAKE)
15620 programs/winetest: $ac_dir
15621 check test: $ac_dir/__test__
15622 .PHONY: $ac_dir/__test__
15623 $ac_dir/__test__: dummy
15624 @cd $ac_dir && \$(MAKE) test
15626 \$(RM) $ac_dir/*.ok"
15628 if test "x$CROSSTEST_DISABLE" = x
15630 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15631 "crosstest: $ac_dir/__crosstest__
15632 .PHONY: $ac_dir/__crosstest__
15633 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15634 @cd $ac_dir && \$(MAKE) crosstest"
15639 wine_fn_config_tool
()
15643 if test "x$enable_tools" = xno
; then :
15647 wine_fn_config_makefile
$ac_dir enable_tools
$ac_flags
15649 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__tooldeps__: $ac_dir"
15650 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: libs/port"
15652 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
15656 wine_fn_config_makerules
()
15660 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15661 "$ac_rules: $ac_rules.in $ac_deps config.status
15662 @./config.status $ac_rules
15667 wine_fn_config_symlink
()
15670 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15672 @./config.status $ac_link
15677 if test "x$CROSSTEST_DISABLE" != x
15679 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15681 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15683 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15684 wine_fn_config_symlink dlls
/shell32
/AUTHORS
15685 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15686 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
15687 if test "x$enable_fonts" != xno
; then
15688 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15689 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
15691 if test "x$enable_fonts" != xno
; then
15692 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15693 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
15695 if test "x$enable_fonts" != xno
; then
15696 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15697 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
15699 if test "x$enable_fonts" != xno
; then
15700 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15701 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
15703 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
15704 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
15705 if test "x$enable_tools" != xno
; then
15706 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15707 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
15709 ac_config_links
="$ac_config_links wine:tools/winewrapper"
15710 wine_fn_config_symlink wine
15711 if test "x$enable_win64" != xno
; then
15712 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
15713 wine_fn_config_symlink wine64
15716 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
15718 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
15720 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
15722 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
15724 ac_config_commands
="$ac_config_commands dlls/user32/resources"
15726 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
15728 ac_config_commands
="$ac_config_commands include/wine"
15731 wine_fn_config_makerules Make.rules
15732 MAKE_RULES
=Make.rules
15733 ac_config_files
="$ac_config_files Make.rules"
15735 wine_fn_config_makerules Maketest.rules Make.rules
15736 MAKE_TEST_RULES
=Maketest.rules
15737 ac_config_files
="$ac_config_files Maketest.rules"
15739 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
15740 MAKE_DLL_RULES
=dlls
/Makedll.rules
15741 ac_config_files
="$ac_config_files dlls/Makedll.rules"
15743 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
15744 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
15745 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
15747 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
15748 MAKE_PROG_RULES
=programs
/Makeprog.rules
15749 ac_config_files
="$ac_config_files programs/Makeprog.rules"
15752 wine_fn_config_dll acledit enable_acledit
15753 wine_fn_config_dll aclui enable_aclui implib
15754 wine_fn_config_dll activeds enable_activeds implib
15755 wine_fn_config_dll actxprxy enable_actxprxy
15756 wine_fn_config_lib adsiid
15757 wine_fn_config_dll advapi32 enable_advapi32 implib
15758 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
15759 wine_fn_config_dll advpack enable_advpack implib
15760 wine_fn_config_test dlls
/advpack
/tests advpack_test
15761 wine_fn_config_dll amstream enable_amstream
15762 wine_fn_config_test dlls
/amstream
/tests amstream_test
15763 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15764 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15765 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15766 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15767 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15768 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15769 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15770 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15771 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15772 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15773 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15774 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15775 wine_fn_config_dll apphelp enable_apphelp
15776 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
15777 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15778 wine_fn_config_dll atl enable_atl implib
15779 wine_fn_config_test dlls
/atl
/tests atl_test
15780 wine_fn_config_dll atl100 enable_atl100 implib
15781 wine_fn_config_test dlls
/atl100
/tests atl100_test
15782 wine_fn_config_dll atl80 enable_atl80 implib
15783 wine_fn_config_test dlls
/atl80
/tests atl80_test
15784 wine_fn_config_dll authz enable_authz
15785 wine_fn_config_dll avicap32 enable_avicap32 implib
15786 wine_fn_config_dll avifil32 enable_avifil32 implib
,po
15787 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
15788 wine_fn_config_dll avifile.dll16 enable_win16
15789 wine_fn_config_dll avrt enable_avrt implib
15790 wine_fn_config_dll bcrypt enable_bcrypt
15791 wine_fn_config_dll browseui enable_browseui po
15792 wine_fn_config_test dlls
/browseui
/tests browseui_test
15793 wine_fn_config_dll cabinet enable_cabinet implib
15794 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
15795 wine_fn_config_dll capi2032 enable_capi2032 implib
15796 wine_fn_config_dll cards enable_cards implib
15797 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15798 wine_fn_config_dll clusapi enable_clusapi implib
15799 wine_fn_config_dll comcat enable_comcat
15800 wine_fn_config_test dlls
/comcat
/tests comcat_test
15801 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
15802 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
15803 wine_fn_config_dll comdlg32 enable_comdlg32 implib
,po
15804 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
15805 wine_fn_config_dll
comm.drv16 enable_win16
15806 wine_fn_config_dll commdlg.dll16 enable_win16
15807 wine_fn_config_dll compobj.dll16 enable_win16
15808 wine_fn_config_dll compstui enable_compstui implib
15809 wine_fn_config_dll credui enable_credui implib
,po
15810 wine_fn_config_test dlls
/credui
/tests credui_test
15811 wine_fn_config_dll crtdll enable_crtdll implib
15812 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
15813 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
15814 wine_fn_config_dll cryptdlg enable_cryptdlg po
15815 wine_fn_config_dll cryptdll enable_cryptdll implib
15816 wine_fn_config_dll cryptnet enable_cryptnet implib
15817 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
15818 wine_fn_config_dll cryptui enable_cryptui implib
,po
15819 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
15820 wine_fn_config_dll ctapi32 enable_ctapi32
15821 wine_fn_config_dll ctl3d.dll16 enable_win16
15822 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15823 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15824 wine_fn_config_dll d3d10 enable_d3d10 implib
15825 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
15826 wine_fn_config_dll d3d10core enable_d3d10core implib
15827 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
15828 wine_fn_config_dll d3d11 enable_d3d11
15829 wine_fn_config_dll d3d8 enable_d3d8 implib
15830 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
15831 wine_fn_config_dll d3d9 enable_d3d9 implib
15832 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
15833 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15834 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15835 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15836 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15837 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15838 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15839 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15840 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15841 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15842 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15843 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15844 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
15845 wine_fn_config_dll d3dim enable_d3dim implib
15846 wine_fn_config_dll d3drm enable_d3drm implib
15847 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
15848 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15849 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15850 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15851 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15852 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15853 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15854 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15855 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15856 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15857 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15858 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15859 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15860 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15861 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15862 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15863 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15864 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15865 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15866 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15867 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15868 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15869 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15870 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15871 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15872 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
15873 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15874 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15875 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15876 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15877 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15878 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15879 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15880 wine_fn_config_dll d3dxof enable_d3dxof implib
15881 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
15882 wine_fn_config_dll dbgeng enable_dbgeng implib
15883 wine_fn_config_dll dbghelp enable_dbghelp implib
15884 wine_fn_config_dll dciman32 enable_dciman32 implib
15885 wine_fn_config_dll ddeml.dll16 enable_win16
15886 wine_fn_config_dll ddraw enable_ddraw implib
15887 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
15888 wine_fn_config_dll ddrawex enable_ddrawex
15889 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
15890 wine_fn_config_dll devenum enable_devenum po
15891 wine_fn_config_test dlls
/devenum
/tests devenum_test
15892 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15893 wine_fn_config_dll dinput enable_dinput implib
,po
,staticimplib
15894 wine_fn_config_test dlls
/dinput
/tests dinput_test
15895 wine_fn_config_dll dinput8 enable_dinput8 implib
15896 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
15897 wine_fn_config_dll dispdib.dll16 enable_win16
15898 wine_fn_config_dll dispex enable_dispex
15899 wine_fn_config_test dlls
/dispex
/tests dispex_test
15900 wine_fn_config_dll display.drv16 enable_win16
15901 wine_fn_config_dll dmband enable_dmband
15902 wine_fn_config_test dlls
/dmband
/tests dmband_test
15903 wine_fn_config_dll dmcompos enable_dmcompos
15904 wine_fn_config_dll dmime enable_dmime
15905 wine_fn_config_test dlls
/dmime
/tests dmime_test
15906 wine_fn_config_dll dmloader enable_dmloader
15907 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
15908 wine_fn_config_dll dmscript enable_dmscript
15909 wine_fn_config_dll dmstyle enable_dmstyle
15910 wine_fn_config_dll dmsynth enable_dmsynth
15911 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
15912 wine_fn_config_dll dmusic enable_dmusic
15913 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
15914 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15915 wine_fn_config_dll dnsapi enable_dnsapi implib
15916 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
15917 wine_fn_config_dll dplay enable_dplay implib
15918 wine_fn_config_dll dplayx enable_dplayx implib
15919 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
15920 wine_fn_config_dll dpnaddr enable_dpnaddr
15921 wine_fn_config_dll dpnet enable_dpnet implib
15922 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
15923 wine_fn_config_dll dpnhpast enable_dpnhpast
15924 wine_fn_config_dll dpnlobby enable_dpnlobby
15925 wine_fn_config_dll dpwsockx enable_dpwsockx
15926 wine_fn_config_dll drmclien enable_drmclien
15927 wine_fn_config_dll dsound enable_dsound implib
15928 wine_fn_config_test dlls
/dsound
/tests dsound_test
15929 wine_fn_config_dll dssenh enable_dssenh
15930 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
15931 wine_fn_config_dll dswave enable_dswave
15932 wine_fn_config_dll dwmapi enable_dwmapi implib
15933 wine_fn_config_dll dwrite enable_dwrite implib
15934 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
15935 wine_fn_config_dll dxdiagn enable_dxdiagn po
15936 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
15937 wine_fn_config_lib dxerr8
15938 wine_fn_config_lib dxerr9
15939 wine_fn_config_dll dxgi enable_dxgi implib
15940 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
15941 wine_fn_config_lib dxguid
15942 wine_fn_config_dll explorerframe enable_explorerframe
15943 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
15944 wine_fn_config_dll faultrep enable_faultrep implib
15945 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
15946 wine_fn_config_dll fltlib enable_fltlib
15947 wine_fn_config_dll fusion enable_fusion
15948 wine_fn_config_test dlls
/fusion
/tests fusion_test
15949 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15950 wine_fn_config_dll gameux enable_gameux
15951 wine_fn_config_test dlls
/gameux
/tests gameux_test
15952 wine_fn_config_dll gdi.exe16 enable_win16
15953 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
15954 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
15955 wine_fn_config_dll gdiplus enable_gdiplus implib
15956 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
15957 wine_fn_config_dll glu32 enable_glu32 implib
15958 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15959 wine_fn_config_dll gpkcsp enable_gpkcsp
15960 wine_fn_config_dll hal enable_hal
15961 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib
,po htmlhelp
15962 wine_fn_config_dll hid enable_hid implib
15963 wine_fn_config_dll hlink enable_hlink implib
15964 wine_fn_config_test dlls
/hlink
/tests hlink_test
15965 wine_fn_config_dll hnetcfg enable_hnetcfg
15966 wine_fn_config_dll httpapi enable_httpapi
15967 wine_fn_config_dll iccvid enable_iccvid po
15968 wine_fn_config_dll icmp enable_icmp
15969 wine_fn_config_dll ieframe enable_ieframe implib
,po
15970 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
15971 wine_fn_config_dll ifsmgr.vxd enable_win16
15972 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15973 wine_fn_config_dll imagehlp enable_imagehlp implib
15974 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
15975 wine_fn_config_dll imm.dll16 enable_win16
15976 wine_fn_config_dll imm32 enable_imm32 implib
15977 wine_fn_config_test dlls
/imm32
/tests imm32_test
15978 wine_fn_config_dll inetcomm enable_inetcomm implib
15979 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
15980 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15981 wine_fn_config_dll inetmib1 enable_inetmib1
15982 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
15983 wine_fn_config_dll infosoft enable_infosoft
15984 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
15985 wine_fn_config_dll initpki enable_initpki
15986 wine_fn_config_dll inkobj enable_inkobj
15987 wine_fn_config_dll inseng enable_inseng
15988 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15989 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
15990 wine_fn_config_dll itircl enable_itircl
15991 wine_fn_config_dll itss enable_itss
15992 wine_fn_config_test dlls
/itss
/tests itss_test
15993 wine_fn_config_dll joy.cpl enable_joy_cpl po
15994 wine_fn_config_dll jscript enable_jscript po
15995 wine_fn_config_test dlls
/jscript
/tests jscript_test
15996 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
15997 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
15998 wine_fn_config_dll keyboard.drv16 enable_win16
15999 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16000 wine_fn_config_dll ktmw32 enable_ktmw32
16001 wine_fn_config_dll loadperf enable_loadperf implib
16002 wine_fn_config_dll localspl enable_localspl po
16003 wine_fn_config_test dlls
/localspl
/tests localspl_test
16004 wine_fn_config_dll localui enable_localui po
16005 wine_fn_config_test dlls
/localui
/tests localui_test
16006 wine_fn_config_dll lz32 enable_lz32 implib
16007 wine_fn_config_test dlls
/lz32
/tests lz32_test
16008 wine_fn_config_dll lzexpand.dll16 enable_win16
16009 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16010 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16011 wine_fn_config_dll mapistub enable_mapistub
16012 wine_fn_config_dll mciavi32 enable_mciavi32
16013 wine_fn_config_dll mcicda enable_mcicda
16014 wine_fn_config_dll mciqtz32 enable_mciqtz32
16015 wine_fn_config_dll mciseq enable_mciseq
16016 wine_fn_config_dll mciwave enable_mciwave
16017 wine_fn_config_dll mgmtapi enable_mgmtapi
16018 wine_fn_config_dll midimap enable_midimap
16019 wine_fn_config_dll mlang enable_mlang implib
16020 wine_fn_config_test dlls
/mlang
/tests mlang_test
16021 wine_fn_config_dll mmcndmgr enable_mmcndmgr
16022 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16023 wine_fn_config_dll mmdevapi enable_mmdevapi
16024 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16025 wine_fn_config_dll mmdevldr.vxd enable_win16
16026 wine_fn_config_dll mmsystem.dll16 enable_win16
16027 wine_fn_config_dll monodebg.vxd enable_win16
16028 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16029 wine_fn_config_dll mouse.drv16 enable_win16
16030 wine_fn_config_dll mpr enable_mpr implib
,po
16031 wine_fn_config_test dlls
/mpr
/tests mpr_test
16032 wine_fn_config_dll mprapi enable_mprapi implib
16033 wine_fn_config_dll msacm.dll16 enable_win16
16034 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16035 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16036 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16037 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16038 wine_fn_config_dll mscat32 enable_mscat32
16039 wine_fn_config_dll mscms enable_mscms implib
16040 wine_fn_config_test dlls
/mscms
/tests mscms_test
16041 wine_fn_config_dll mscoree enable_mscoree
16042 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16043 wine_fn_config_dll msctf enable_msctf
16044 wine_fn_config_test dlls
/msctf
/tests msctf_test
16045 wine_fn_config_dll msdaps enable_msdaps
16046 wine_fn_config_dll msdmo enable_msdmo implib
16047 wine_fn_config_dll msftedit enable_msftedit
16048 wine_fn_config_dll msg711.acm enable_msg711_acm
16049 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16050 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
16051 wine_fn_config_dll mshtml enable_mshtml implib
,po
16052 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
16053 wine_fn_config_dll msi enable_msi implib
,po
16054 wine_fn_config_test dlls
/msi
/tests msi_test
16055 wine_fn_config_dll msident enable_msident
16056 wine_fn_config_dll msimg32 enable_msimg32 implib
16057 wine_fn_config_dll msimsg enable_msimsg
16058 wine_fn_config_dll msimtf enable_msimtf
16059 wine_fn_config_dll msisip enable_msisip
16060 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16061 wine_fn_config_dll msls31 enable_msls31
16062 wine_fn_config_dll msnet32 enable_msnet32
16063 wine_fn_config_dll mspatcha enable_mspatcha
16064 wine_fn_config_dll msrle32 enable_msrle32 po
16065 wine_fn_config_dll mssign32 enable_mssign32
16066 wine_fn_config_dll mssip32 enable_mssip32
16067 wine_fn_config_dll mstask enable_mstask
16068 wine_fn_config_test dlls
/mstask
/tests mstask_test
16069 wine_fn_config_dll msvcirt enable_msvcirt
16070 wine_fn_config_dll msvcm80 enable_msvcm80
16071 wine_fn_config_dll msvcm90 enable_msvcm90
16072 wine_fn_config_dll msvcp100 enable_msvcp100
16073 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16074 wine_fn_config_dll msvcp110 enable_msvcp110
16075 wine_fn_config_dll msvcp60 enable_msvcp60
16076 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16077 wine_fn_config_dll msvcp70 enable_msvcp70
16078 wine_fn_config_dll msvcp71 enable_msvcp71
16079 wine_fn_config_dll msvcp80 enable_msvcp80
16080 wine_fn_config_dll msvcp90 enable_msvcp90
16081 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16082 wine_fn_config_dll msvcr100 enable_msvcr100
16083 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16084 wine_fn_config_dll msvcr110 enable_msvcr110
16085 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16086 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16087 wine_fn_config_dll msvcr80 enable_msvcr80
16088 wine_fn_config_dll msvcr90 enable_msvcr90
16089 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16090 wine_fn_config_dll msvcrt enable_msvcrt implib
16091 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16092 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16093 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16094 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16095 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
16096 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
16097 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
16098 wine_fn_config_dll msvidc32 enable_msvidc32 po
16099 wine_fn_config_dll msvideo.dll16 enable_win16
16100 wine_fn_config_dll mswsock enable_mswsock implib
16101 wine_fn_config_dll msxml enable_msxml
16102 wine_fn_config_dll msxml2 enable_msxml2
16103 wine_fn_config_dll msxml3 enable_msxml3
16104 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
16105 wine_fn_config_dll msxml4 enable_msxml4
16106 wine_fn_config_dll msxml6 enable_msxml6
16107 wine_fn_config_dll nddeapi enable_nddeapi implib
16108 wine_fn_config_dll netapi32 enable_netapi32 implib
16109 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
16110 wine_fn_config_dll newdev enable_newdev implib
16111 wine_fn_config_dll normaliz enable_normaliz implib
16112 wine_fn_config_dll npmshtml enable_npmshtml
16113 wine_fn_config_dll ntdll enable_ntdll implib
16114 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
16115 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16116 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
16117 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16118 wine_fn_config_dll ntprint enable_ntprint
16119 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
16120 wine_fn_config_dll objsel enable_objsel
16121 wine_fn_config_dll odbc32 enable_odbc32 implib
16122 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16123 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
16124 wine_fn_config_dll odbccu32 enable_odbccu32
16125 wine_fn_config_dll ole2.dll16 enable_win16
16126 wine_fn_config_dll ole2conv.dll16 enable_win16
16127 wine_fn_config_dll ole2disp.dll16 enable_win16
16128 wine_fn_config_dll ole2nls.dll16 enable_win16
16129 wine_fn_config_dll ole2prox.dll16 enable_win16
16130 wine_fn_config_dll ole2thk.dll16 enable_win16
16131 wine_fn_config_dll ole32 enable_ole32 implib
16132 wine_fn_config_test dlls
/ole32
/tests ole32_test
16133 wine_fn_config_dll oleacc enable_oleacc implib
,po
16134 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
16135 wine_fn_config_dll oleaut32 enable_oleaut32 implib
,po
16136 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
16137 wine_fn_config_dll olecli.dll16 enable_win16
16138 wine_fn_config_dll olecli32 enable_olecli32 implib
16139 wine_fn_config_dll oledb32 enable_oledb32
16140 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
16141 wine_fn_config_dll oledlg enable_oledlg implib
,po
16142 wine_fn_config_dll olepro32 enable_olepro32 implib
16143 wine_fn_config_dll olesvr.dll16 enable_win16
16144 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16145 wine_fn_config_dll olethk32 enable_olethk32
16146 wine_fn_config_dll openal32 enable_openal32
16147 wine_fn_config_dll opencl enable_opencl
16148 wine_fn_config_dll opengl32 enable_opengl32 implib
16149 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
16150 wine_fn_config_dll pdh enable_pdh implib
16151 wine_fn_config_test dlls
/pdh
/tests pdh_test
16152 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16153 wine_fn_config_dll pidgen enable_pidgen
16154 wine_fn_config_dll powrprof enable_powrprof implib
16155 wine_fn_config_dll printui enable_printui
16156 wine_fn_config_dll propsys enable_propsys implib
16157 wine_fn_config_test dlls
/propsys
/tests propsys_test
16158 wine_fn_config_dll psapi enable_psapi implib
16159 wine_fn_config_test dlls
/psapi
/tests psapi_test
16160 wine_fn_config_dll pstorec enable_pstorec
16161 wine_fn_config_dll qcap enable_qcap
16162 wine_fn_config_dll qedit enable_qedit
16163 wine_fn_config_test dlls
/qedit
/tests qedit_test
16164 wine_fn_config_dll qmgr enable_qmgr
16165 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
16166 wine_fn_config_dll qmgrprxy enable_qmgrprxy
16167 wine_fn_config_dll quartz enable_quartz implib
16168 wine_fn_config_test dlls
/quartz
/tests quartz_test
16169 wine_fn_config_dll query enable_query
16170 wine_fn_config_dll rasapi16.dll16 enable_win16
16171 wine_fn_config_dll rasapi32 enable_rasapi32 implib
16172 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
16173 wine_fn_config_dll rasdlg enable_rasdlg implib
16174 wine_fn_config_dll regapi enable_regapi
16175 wine_fn_config_dll resutils enable_resutils implib
16176 wine_fn_config_dll riched20 enable_riched20 implib
16177 wine_fn_config_test dlls
/riched20
/tests riched20_test
16178 wine_fn_config_dll riched32 enable_riched32
16179 wine_fn_config_test dlls
/riched32
/tests riched32_test
16180 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
16181 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
16182 wine_fn_config_dll rsabase enable_rsabase
16183 wine_fn_config_dll rsaenh enable_rsaenh implib
16184 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
16185 wine_fn_config_dll rstrtmgr enable_rstrtmgr
16186 wine_fn_config_dll rtutils enable_rtutils implib
16187 wine_fn_config_dll samlib enable_samlib
16188 wine_fn_config_dll sane.ds enable_sane_ds po
16189 wine_fn_config_dll scarddlg enable_scarddlg
16190 wine_fn_config_dll sccbase enable_sccbase
16191 wine_fn_config_dll schannel enable_schannel
16192 wine_fn_config_test dlls
/schannel
/tests schannel_test
16193 wine_fn_config_dll scrrun enable_scrrun
16194 wine_fn_config_test dlls
/scrrun
/tests scrrun_test
16195 wine_fn_config_dll scsiport.sys enable_scsiport_sys
16196 wine_fn_config_dll secur32 enable_secur32 implib
16197 wine_fn_config_test dlls
/secur32
/tests secur32_test
16198 wine_fn_config_dll security enable_security
16199 wine_fn_config_dll sensapi enable_sensapi implib
16200 wine_fn_config_dll serialui enable_serialui implib
,po
16201 wine_fn_config_test dlls
/serialui
/tests serialui_test
16202 wine_fn_config_dll setupapi enable_setupapi implib
,po
16203 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
16204 wine_fn_config_dll setupx.dll16 enable_win16
16205 wine_fn_config_dll sfc enable_sfc implib
16206 wine_fn_config_dll sfc_os enable_sfc_os implib
16207 wine_fn_config_dll shdoclc enable_shdoclc po
16208 wine_fn_config_dll shdocvw enable_shdocvw implib
16209 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
16210 wine_fn_config_dll shell.dll16 enable_win16
16211 wine_fn_config_dll shell32 enable_shell32 implib
,po
16212 wine_fn_config_test dlls
/shell32
/tests shell32_test
16213 wine_fn_config_dll shfolder enable_shfolder implib
16214 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
16215 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
16216 wine_fn_config_dll slbcsp enable_slbcsp
16217 wine_fn_config_dll slc enable_slc implib
16218 wine_fn_config_dll snmpapi enable_snmpapi implib
16219 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
16220 wine_fn_config_dll softpub enable_softpub
16221 wine_fn_config_dll sound.drv16 enable_win16
16222 wine_fn_config_dll spoolss enable_spoolss implib
16223 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
16224 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
16225 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
16226 wine_fn_config_dll sti enable_sti implib
16227 wine_fn_config_test dlls
/sti
/tests sti_test
16228 wine_fn_config_dll storage.dll16 enable_win16
16229 wine_fn_config_dll stress.dll16 enable_win16
16230 wine_fn_config_lib strmbase
16231 wine_fn_config_lib strmiids
16232 wine_fn_config_dll svrapi enable_svrapi
16233 wine_fn_config_dll sxs enable_sxs implib
16234 wine_fn_config_test dlls
/sxs
/tests sxs_test
16235 wine_fn_config_dll system.drv16 enable_win16
16236 wine_fn_config_dll t2embed enable_t2embed
16237 wine_fn_config_dll tapi32 enable_tapi32 implib
16238 wine_fn_config_dll toolhelp.dll16 enable_win16
16239 wine_fn_config_dll traffic enable_traffic
16240 wine_fn_config_dll twain.dll16 enable_win16
16241 wine_fn_config_dll twain_32 enable_twain_32
16242 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
16243 wine_fn_config_dll typelib.dll16 enable_win16
16244 wine_fn_config_dll unicows enable_unicows implib
16245 wine_fn_config_dll updspapi enable_updspapi
16246 wine_fn_config_dll url enable_url implib
16247 wine_fn_config_dll urlmon enable_urlmon implib
,po
16248 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
16249 wine_fn_config_dll usbd.sys enable_usbd_sys implib
16250 wine_fn_config_dll user.exe16 enable_win16
16251 wine_fn_config_dll user32 enable_user32 implib
,po
16252 wine_fn_config_test dlls
/user32
/tests user32_test
16253 wine_fn_config_dll userenv enable_userenv implib
16254 wine_fn_config_test dlls
/userenv
/tests userenv_test
16255 wine_fn_config_dll usp10 enable_usp10 implib
16256 wine_fn_config_test dlls
/usp10
/tests usp10_test
16257 wine_fn_config_lib uuid
16258 wine_fn_config_dll uxtheme enable_uxtheme implib
16259 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
16260 wine_fn_config_dll vbscript enable_vbscript
16261 wine_fn_config_test dlls
/vbscript
/tests vbscript_test
16262 wine_fn_config_dll vcomp enable_vcomp
16263 wine_fn_config_dll vcomp100 enable_vcomp100
16264 wine_fn_config_dll vcomp90 enable_vcomp90
16265 wine_fn_config_dll vdhcp.vxd enable_win16
16266 wine_fn_config_dll vdmdbg enable_vdmdbg implib
16267 wine_fn_config_dll ver.dll16 enable_win16
16268 wine_fn_config_dll version enable_version implib
16269 wine_fn_config_test dlls
/version
/tests version_test
16270 wine_fn_config_dll vmm.vxd enable_win16
16271 wine_fn_config_dll vnbt.vxd enable_win16
16272 wine_fn_config_dll vnetbios.vxd enable_win16
16273 wine_fn_config_dll vtdapi.vxd enable_win16
16274 wine_fn_config_dll vwin32.vxd enable_win16
16275 wine_fn_config_dll w32skrnl enable_win16
16276 wine_fn_config_dll w32sys.dll16 enable_win16
16277 wine_fn_config_dll wbemprox enable_wbemprox
16278 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
16279 wine_fn_config_dll webservices enable_webservices implib
16280 wine_fn_config_dll wer enable_wer implib
16281 wine_fn_config_test dlls
/wer
/tests wer_test
16282 wine_fn_config_dll wevtapi enable_wevtapi
16283 wine_fn_config_dll wiaservc enable_wiaservc
16284 wine_fn_config_dll win32s16.dll16 enable_win16
16285 wine_fn_config_dll win87em.dll16 enable_win16
16286 wine_fn_config_dll winaspi.dll16 enable_win16
16287 wine_fn_config_dll windebug.dll16 enable_win16
16288 wine_fn_config_dll windowscodecs enable_windowscodecs implib
16289 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
16290 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
16291 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
16292 wine_fn_config_dll winealsa.drv enable_winealsa_drv
16293 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
16294 wine_fn_config_lib winecrt0
16295 wine_fn_config_dll wined3d enable_wined3d implib
16296 wine_fn_config_dll winegstreamer enable_winegstreamer
16297 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
16298 wine_fn_config_dll winemac.drv enable_winemac_drv
16299 wine_fn_config_dll winemapi enable_winemapi
16300 wine_fn_config_dll winemp3.acm enable_winemp3_acm
16301 wine_fn_config_dll wineoss.drv enable_wineoss_drv
16302 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
16303 wine_fn_config_dll wineps16.drv16 enable_win16
16304 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
16305 wine_fn_config_dll winex11.drv enable_winex11_drv
16306 wine_fn_config_dll wing.dll16 enable_win16
16307 wine_fn_config_dll wing32 enable_wing32
16308 wine_fn_config_dll winhttp enable_winhttp implib
16309 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
16310 wine_fn_config_dll wininet enable_wininet implib
,po
16311 wine_fn_config_test dlls
/wininet
/tests wininet_test
16312 wine_fn_config_dll winmm enable_winmm implib
,po
16313 wine_fn_config_test dlls
/winmm
/tests winmm_test
16314 wine_fn_config_dll winnls.dll16 enable_win16
16315 wine_fn_config_dll winnls32 enable_winnls32 implib
16316 wine_fn_config_dll winscard enable_winscard implib
16317 wine_fn_config_dll winsock.dll16 enable_win16
16318 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
16319 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
16320 wine_fn_config_dll winsta enable_winsta
16321 wine_fn_config_dll wintab.dll16 enable_win16
16322 wine_fn_config_dll wintab32 enable_wintab32 implib
16323 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
16324 wine_fn_config_dll wintrust enable_wintrust implib
16325 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
16326 wine_fn_config_dll wlanapi enable_wlanapi
16327 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
16328 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
16329 wine_fn_config_dll wmi enable_wmi
16330 wine_fn_config_dll wmiutils enable_wmiutils
16331 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
16332 wine_fn_config_dll wmvcore enable_wmvcore
16333 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
16334 wine_fn_config_dll wow32 enable_win16 implib
16335 wine_fn_config_dll ws2_32 enable_ws2_32 implib
16336 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
16337 wine_fn_config_dll wshom.ocx enable_wshom_ocx
16338 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test
16339 wine_fn_config_dll wsnmp32 enable_wsnmp32
16340 wine_fn_config_dll wsock32 enable_wsock32 implib
16341 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
16342 wine_fn_config_dll wuapi enable_wuapi
16343 wine_fn_config_dll wuaueng enable_wuaueng
16344 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
16345 wine_fn_config_dll xinput1_1 enable_xinput1_1
16346 wine_fn_config_dll xinput1_2 enable_xinput1_2
16347 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
16348 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
16349 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
16350 wine_fn_config_dll xmllite enable_xmllite
16351 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
16352 wine_fn_config_dll xolehlp enable_xolehlp
16353 wine_fn_config_dll xpsprint enable_xpsprint
16354 wine_fn_config_dll xpssvcs enable_xpssvcs
16355 wine_fn_config_makefile documentation enable_documentation
16356 wine_fn_config_makefile fonts enable_fonts install-lib
16357 wine_fn_config_makefile include enable_include install-dev
16358 wine_fn_config_makefile libs
/port enable_libs_port
16359 wine_fn_config_makefile libs
/wine enable_libs_wine install-dev
,install-lib
16360 wine_fn_config_makefile libs
/wpp enable_libs_wpp
16361 wine_fn_config_makefile loader enable_loader install-lib
,manpage
16362 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
16363 wine_fn_config_program attrib enable_attrib
install,po
16364 wine_fn_config_program cabarc enable_cabarc
install
16365 wine_fn_config_program cacls enable_cacls
install
16366 wine_fn_config_program
clock enable_clock
install,po
16367 wine_fn_config_program cmd enable_cmd
install,po
16368 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
16369 wine_fn_config_program conhost enable_conhost
install
16370 wine_fn_config_program control enable_control
install
16371 wine_fn_config_program cscript enable_cscript
install
16372 wine_fn_config_program dxdiag enable_dxdiag
install,po
16373 wine_fn_config_program eject enable_eject
install
16374 wine_fn_config_program
expand enable_expand
install
16375 wine_fn_config_program explorer enable_explorer
install,po
16376 wine_fn_config_program extrac32 enable_extrac32
install
16377 wine_fn_config_program findstr enable_findstr
install
16378 wine_fn_config_program hh enable_hh
install
16379 wine_fn_config_program hostname enable_hostname
install,po
16380 wine_fn_config_program icinfo enable_icinfo
install
16381 wine_fn_config_program iexplore enable_iexplore
install
16382 wine_fn_config_program ipconfig enable_ipconfig
install,po
16383 wine_fn_config_program lodctr enable_lodctr
install
16384 wine_fn_config_program mofcomp enable_mofcomp
install
16385 wine_fn_config_program mshta enable_mshta
install
16386 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
16387 wine_fn_config_program net enable_net
install,po
16388 wine_fn_config_program netsh enable_netsh
install
16389 wine_fn_config_program netstat enable_netstat
install,po
16390 wine_fn_config_program ngen enable_ngen
install
16391 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
16392 wine_fn_config_program oleview enable_oleview
install,po
16393 wine_fn_config_program
ping enable_ping
install
16394 wine_fn_config_program plugplay enable_plugplay
install
16395 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
16396 wine_fn_config_program progman enable_progman
install,po
16397 wine_fn_config_program reg enable_reg
install,po
16398 wine_fn_config_program regasm enable_regasm
install
16399 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
16400 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
16401 wine_fn_config_program regsvcs enable_regsvcs
install
16402 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
16403 wine_fn_config_program rpcss enable_rpcss
install
16404 wine_fn_config_program rundll.exe16 enable_win16
install
16405 wine_fn_config_program rundll32 enable_rundll32
install
16406 wine_fn_config_program sc enable_sc
install
16407 wine_fn_config_program schtasks enable_schtasks
install
16408 wine_fn_config_program secedit enable_secedit
install
16409 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
16410 wine_fn_config_program services enable_services
install
16411 wine_fn_config_test programs
/services
/tests services.exe_test
16412 wine_fn_config_program spoolsv enable_spoolsv
install
16413 wine_fn_config_program start enable_start
install,po
16414 wine_fn_config_program svchost enable_svchost
install
16415 wine_fn_config_program taskkill enable_taskkill
install,po
16416 wine_fn_config_program taskmgr enable_taskmgr
install,po
16417 wine_fn_config_program termsv enable_termsv
install
16418 wine_fn_config_program uninstaller enable_uninstaller
install,po
16419 wine_fn_config_program unlodctr enable_unlodctr
install
16420 wine_fn_config_program view enable_view
install,po
16421 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
16422 wine_fn_config_program winebrowser enable_winebrowser
install
16423 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
16424 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
16425 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
16426 wine_fn_config_program winedevice enable_winedevice
install
16427 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
16428 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
16429 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
16430 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
16431 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
16432 wine_fn_config_program winetest enable_winetest
16433 wine_fn_config_program winevdm enable_win16
install
16434 wine_fn_config_program winhelp.exe16 enable_win16
install
16435 wine_fn_config_program winhlp32 enable_winhlp32
install,po
16436 wine_fn_config_program winoldap.mod16 enable_win16
install
16437 wine_fn_config_program winver enable_winver
install
16438 wine_fn_config_program wmic enable_wmic
install,po
16439 wine_fn_config_program wordpad enable_wordpad
install,po
16440 wine_fn_config_program
write enable_write
install,po
16441 wine_fn_config_program wscript enable_wscript
install
16442 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
16443 wine_fn_config_program wusa enable_wusa
install
16444 wine_fn_config_program xcopy enable_xcopy
install,po
16445 wine_fn_config_makefile server enable_server install-lib
,manpage
16446 wine_fn_config_tool tools install-dev
,install-lib
,manpage
16447 wine_fn_config_tool tools
/widl install-dev
,manpage
16448 wine_fn_config_tool tools
/winebuild install-dev
,manpage
16449 wine_fn_config_tool tools
/winedump install-dev
,manpage
16450 wine_fn_config_tool tools
/winegcc install-dev
,manpage
16451 wine_fn_config_tool tools
/wmc install-dev
,manpage
16452 wine_fn_config_tool tools
/wrc install-dev
,manpage
16502 ac_config_commands
="$ac_config_commands Makefile"
16505 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16509 if test "x$enable_maintainer_mode" = xyes
16511 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(srcdir)/configure: configure.ac aclocal.m4
16512 cd \$(srcdir) && autoconf --warnings=all
16513 \$(srcdir)/include/config.h.in: include/stamp-h.in
16514 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16515 cd \$(srcdir) && autoheader --warnings=all
16516 @echo timestamp > \$@"
16519 if test "x$with_gettextpo" = xyes
16521 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16522 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"ALL_POT_FILES =$ALL_POT_FILES
16523 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16524 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16525 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16526 msgcat -o \$@ \$(ALL_POT_FILES)"
16529 if test "$MSGFMT" != false
16531 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
16533 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: \$(ALL_MO_FILES)"
16538 if test "x$enable_tools" != xno
16540 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(MAKEDEP): tools/Makefile
16542 \$(RM) tools/makedep\$(EXEEXT)"
16545 if test -n "$with_wine64"
16547 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16548 fonts server tools:
16549 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16550 $with_wine64/loader/wine:
16551 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16552 $with_wine64/loader/wine-preloader:
16553 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16555 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16558 cat >confcache
<<\_ACEOF
16559 # This file is a shell script that caches the results of configure
16560 # tests run on this system so they can be shared between configure
16561 # scripts and configure runs, see configure's option --config-cache.
16562 # It is not useful on other systems. If it contains results you don't
16563 # want to keep, you may remove or edit it.
16565 # config.status only pays attention to the cache file if you give it
16566 # the --recheck option to rerun configure.
16568 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16569 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16570 # following values.
16574 # The following way of writing the cache mishandles newlines in values,
16575 # but we know of no workaround that is simple, portable, and efficient.
16576 # So, we kill variables containing newlines.
16577 # Ultrix sh set writes to stderr and can't be redirected directly,
16578 # and sets the high bit in the cache file unless we assign to the vars.
16580 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16581 eval ac_val
=\$
$ac_var
16585 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16586 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16589 _ | IFS | as_nl
) ;; #(
16590 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16591 *) { eval $ac_var=; unset $ac_var;} ;;
16597 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16598 *${as_nl}ac_space
=\
*)
16599 # `set' does not quote correctly, so add quotes: double-quote
16600 # substitution turns \\\\ into \\, and sed turns \\ into \.
16603 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16606 # `set' quotes correctly as required by POSIX, so do not add quotes.
16607 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16616 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16618 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16620 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16621 if test -w "$cache_file"; then
16622 if test "x$cache_file" != "x/dev/null"; then
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16624 $as_echo "$as_me: updating cache $cache_file" >&6;}
16625 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16626 cat confcache
>"$cache_file"
16628 case $cache_file in #(
16630 mv -f confcache
"$cache_file"$$
&&
16631 mv -f "$cache_file"$$
"$cache_file" ;; #(
16633 mv -f confcache
"$cache_file" ;;
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16639 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16644 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16645 # Let make expand exec_prefix.
16646 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16648 DEFS
=-DHAVE_CONFIG_H
16653 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16654 # 1. Remove the extension, and $U if already installed.
16655 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16656 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16657 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16658 # will be set to the directory where LIBOBJS objects are built.
16659 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16660 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16662 LIBOBJS
=$ac_libobjs
16664 LTLIBOBJS
=$ac_ltlibobjs
16668 : "${CONFIG_STATUS=./config.status}"
16670 ac_clean_files_save
=$ac_clean_files
16671 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16673 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16675 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16677 # Generated by $as_me.
16678 # Run this file to recreate the current configuration.
16679 # Compiler output produced by configure, useful for debugging
16680 # configure, is in config.log if it exists.
16683 ac_cs_recheck=false
16686 SHELL=\${CONFIG_SHELL-$SHELL}
16689 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16690 ## -------------------- ##
16691 ## M4sh Initialization. ##
16692 ## -------------------- ##
16694 # Be more Bourne compatible
16695 DUALCASE
=1; export DUALCASE
# for MKS sh
16696 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16699 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16700 # is contrary to our usage. Disable this feature.
16701 alias -g '${1+"$@"}'='"$@"'
16702 setopt NO_GLOB_SUBST
16704 case `(set -o) 2>/dev/null` in #(
16716 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16717 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16718 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16719 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16720 # Prefer a ksh shell builtin over an external printf program on Solaris,
16721 # but without wasting forks for bash or zsh.
16722 if test -z "$BASH_VERSION$ZSH_VERSION" \
16723 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16724 as_echo='print
-r --'
16725 as_echo_n='print
-rn --'
16726 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16727 as_echo='printf %s
\n'
16728 as_echo_n='printf %s
'
16730 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16731 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16732 as_echo_n='/usr
/ucb
/echo -n'
16734 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16735 as_echo_n_body='eval
16739 expr "X$arg" : "X\\(.*\\)$as_nl";
16740 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16742 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16744 export as_echo_n_body
16745 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16747 export as_echo_body
16748 as_echo='sh
-c $as_echo_body as_echo
'
16751 # The user is always right.
16752 if test "${PATH_SEPARATOR+set}" != set; then
16754 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16755 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16762 # We need space, tab and new line, in precisely that order. Quoting is
16763 # there to prevent editors from complaining about space-tab.
16764 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16765 # splitting by setting IFS to empty value.)
16768 # Find who we are. Look in the path if we contain no directory separator.
16771 *[\\/]* ) as_myself=$0 ;;
16772 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16773 for as_dir in $PATH
16776 test -z "$as_dir" && as_dir=.
16777 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16783 # We did not find ourselves, most probably we were run as `sh COMMAND'
16784 # in which case we are not to be found in the path.
16785 if test "x$as_myself" = x
; then
16788 if test ! -f "$as_myself"; then
16789 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16793 # Unset variables that we do not need and which cause bugs (e.g. in
16794 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16795 # suppresses any "Segmentation fault" message there. '((' could
16796 # trigger a bug in pdksh 5.2.14.
16797 for as_var
in BASH_ENV ENV MAIL MAILPATH
16798 do eval test x\
${$as_var+set} = xset \
16799 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16812 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16815 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16816 # ----------------------------------------
16817 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16818 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16819 # script with STATUS, using 1 if that was 0.
16822 as_status
=$1; test $as_status -eq 0 && as_status
=1
16824 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16825 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16827 $as_echo "$as_me: error: $2" >&2
16828 as_fn_exit
$as_status
16832 # as_fn_set_status STATUS
16833 # -----------------------
16834 # Set $? to STATUS, without forking.
16835 as_fn_set_status
()
16838 } # as_fn_set_status
16840 # as_fn_exit STATUS
16841 # -----------------
16842 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16846 as_fn_set_status
$1
16852 # Portably unset VAR.
16855 { eval $1=; unset $1;}
16857 as_unset
=as_fn_unset
16858 # as_fn_append VAR VALUE
16859 # ----------------------
16860 # Append the text in VALUE to the end of the definition contained in VAR. Take
16861 # advantage of any shell optimizations that allow amortized linear growth over
16862 # repeated appends, instead of the typical quadratic growth present in naive
16864 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16865 eval 'as_fn_append ()
16876 # as_fn_arith ARG...
16877 # ------------------
16878 # Perform arithmetic evaluation on the ARGs, and store the result in the
16879 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16880 # must be portable across $(()) and expr.
16881 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16882 eval 'as_fn_arith ()
16889 as_val
=`expr "$@" || test $? -eq 1`
16894 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16895 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16901 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16902 as_basename
=basename
16907 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16913 as_me
=`$as_basename -- "$0" ||
16914 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16915 X"$0" : 'X\(//\)$' \| \
16916 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16918 sed '/^.*\/\([^/][^/]*\)\/*$/{
16932 # Avoid depending upon Character Ranges.
16933 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16934 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16935 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16936 as_cr_digits
='0123456789'
16937 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16939 ECHO_C
= ECHO_N
= ECHO_T
=
16940 case `echo -n x` in #(((((
16942 case `echo 'xy\c'` in
16943 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16945 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16952 rm -f conf$$ conf$$.exe conf$$.
file
16953 if test -d conf$$.dir
; then
16954 rm -f conf$$.dir
/conf$$.
file
16957 mkdir conf$$.dir
2>/dev
/null
16959 if (echo >conf$$.
file) 2>/dev
/null
; then
16960 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16962 # ... but there are two gotchas:
16963 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16964 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16965 # In both cases, we have to default to `cp -pR'.
16966 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16968 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16976 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16977 rmdir conf$$.dir
2>/dev
/null
16982 # Create "$as_dir" as a directory, including parents if necessary.
16987 -*) as_dir
=.
/$as_dir;;
16989 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16993 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16994 *) as_qdir
=$as_dir;;
16996 as_dirs
="'$as_qdir' $as_dirs"
16997 as_dir
=`$as_dirname -- "$as_dir" ||
16998 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16999 X"$as_dir" : 'X\(//\)[^/]' \| \
17000 X"$as_dir" : 'X\(//\)$' \| \
17001 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17002 $as_echo X"$as_dir" |
17003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17007 /^X\(\/\/\)[^/].*/{
17020 test -d "$as_dir" && break
17022 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17023 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17027 if mkdir
-p .
2>/dev
/null
; then
17028 as_mkdir_p
='mkdir -p "$as_dir"'
17030 test -d .
/-p && rmdir .
/-p
17035 # as_fn_executable_p FILE
17036 # -----------------------
17037 # Test if FILE is an executable regular file.
17038 as_fn_executable_p
()
17040 test -f "$1" && test -x "$1"
17041 } # as_fn_executable_p
17042 as_test_x
='test -x'
17043 as_executable_p
=as_fn_executable_p
17045 # Sed expression to map a string onto a valid CPP name.
17046 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17048 # Sed expression to map a string onto a valid variable name.
17049 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17053 ## ----------------------------------- ##
17054 ## Main body of $CONFIG_STATUS script. ##
17055 ## ----------------------------------- ##
17057 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17060 # Save the log message, to keep $0 and so on meaningful, and to
17061 # report actual input values of CONFIG_FILES etc. instead of their
17062 # values after options handling.
17064 This file was extended by Wine $as_me 1.5.29, which was
17065 generated by GNU Autoconf 2.69. Invocation command line was
17067 CONFIG_FILES = $CONFIG_FILES
17068 CONFIG_HEADERS = $CONFIG_HEADERS
17069 CONFIG_LINKS = $CONFIG_LINKS
17070 CONFIG_COMMANDS = $CONFIG_COMMANDS
17073 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17078 case $ac_config_files in *"
17079 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17082 case $ac_config_headers in *"
17083 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17088 # Files that config.status was made for.
17089 config_files="$ac_config_files"
17090 config_headers="$ac_config_headers"
17091 config_links="$ac_config_links"
17092 config_commands="$ac_config_commands"
17096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17098 \`$as_me' instantiates files and other configuration actions
17099 from templates according to the current configuration. Unless the files
17100 and actions are specified as TAGs, all are instantiated by default.
17102 Usage: $0 [OPTION]... [TAG]...
17104 -h, --help print this help, then exit
17105 -V, --version print version number and configuration settings, then exit
17106 --config print configuration, then exit
17107 -q, --quiet, --silent
17108 do not print progress messages
17109 -d, --debug don't remove temporary files
17110 --recheck update $as_me by reconfiguring in the same conditions
17111 --file=FILE[:TEMPLATE]
17112 instantiate the configuration file FILE
17113 --header=FILE[:TEMPLATE]
17114 instantiate the configuration header FILE
17116 Configuration files:
17119 Configuration headers:
17122 Configuration links:
17125 Configuration commands:
17128 Report bugs to <wine-devel@winehq.org>.
17129 Wine home page: <http://www.winehq.org>."
17132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17133 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17135 Wine config.status 1.5.29
17136 configured by $0, generated by GNU Autoconf 2.69,
17137 with options \\"\$ac_cs_config\\"
17139 Copyright (C) 2012 Free Software Foundation, Inc.
17140 This config.status script is free software; the Free Software Foundation
17141 gives unlimited permission to copy, distribute and modify it."
17146 test -n "\$AWK" || AWK=awk
17149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17150 # The default lists apply if the user does not specify any file.
17156 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17157 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17161 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17173 # Handling of the options.
17174 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17176 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17177 $as_echo "$ac_cs_version"; exit ;;
17178 --config |
--confi |
--conf |
--con |
--co |
--c )
17179 $as_echo "$ac_cs_config"; exit ;;
17180 --debug |
--debu |
--deb |
--de |
--d |
-d )
17182 --file |
--fil |
--fi |
--f )
17185 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17186 '') as_fn_error $?
"missing file argument" ;;
17188 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17189 ac_need_defaults
=false
;;
17190 --header |
--heade |
--head |
--hea )
17193 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17195 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17196 ac_need_defaults
=false
;;
17198 # Conflict between --help and --header
17199 as_fn_error $?
"ambiguous option: \`$1'
17200 Try \`$0 --help' for more information.";;
17201 --help |
--hel |
-h )
17202 $as_echo "$ac_cs_usage"; exit ;;
17203 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17204 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17207 # This is an error.
17208 -*) as_fn_error $?
"unrecognized option: \`$1'
17209 Try \`$0 --help' for more information." ;;
17211 *) as_fn_append ac_config_targets
" $1"
17212 ac_need_defaults
=false
;;
17218 ac_configure_extra_args
=
17220 if $ac_cs_silent; then
17222 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17227 if \$ac_cs_recheck; then
17228 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17230 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17231 CONFIG_SHELL='$SHELL'
17232 export CONFIG_SHELL
17237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17241 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17242 ## Running $as_me. ##
17248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17252 wine_fn_output_makefile ()
17254 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
17255 $ALL_MAKEFILE_DEPENDS
17257 as_fn_error $? "could not create Makefile" "$LINENO" 5
17262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17264 # Handling of arguments.
17265 for ac_config_target
in $ac_config_targets
17267 case $ac_config_target in
17268 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
17269 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
17270 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
17271 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
17272 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17273 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17274 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17275 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
17276 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
17277 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
17278 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
17279 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
17280 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
17281 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17282 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
17283 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
17284 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
17285 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17286 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
17287 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
17288 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
17289 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
17290 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
17291 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
17292 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
17293 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
17295 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17300 # If the user did not use the arguments to specify the items to instantiate,
17301 # then the envvar interface is used. Set only those that are not.
17302 # We use the long form for the default assignment because of an extremely
17303 # bizarre bug on SunOS 4.1.3.
17304 if $ac_need_defaults; then
17305 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17306 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17307 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
17308 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17311 # Have a temporary directory for convenience. Make it in the build tree
17312 # simply because there is no reason against having it here, and in addition,
17313 # creating and moving files from /tmp can sometimes cause problems.
17314 # Hook for its removal unless debugging.
17315 # Note that there is a small window in which the directory will not be cleaned:
17316 # after its creation but before its name has been assigned to `$tmp'.
17320 trap 'exit_status=$?
17321 : "${ac_tmp:=$tmp}"
17322 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17324 trap 'as_fn_exit 1' 1 2 13 15
17326 # Create a (secure) tmp directory for tmp files.
17329 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17333 tmp
=.
/conf$$
-$RANDOM
17334 (umask 077 && mkdir
"$tmp")
17335 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17338 # Set up the scripts for CONFIG_FILES section.
17339 # No need to generate them if there are no CONFIG_FILES.
17340 # This happens for instance with `./config.status config.h'.
17341 if test -n "$CONFIG_FILES"; then
17343 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
17344 ac_cs_awk_getline
=:
17345 ac_cs_awk_pipe_init
=
17346 ac_cs_awk_read_file
='
17347 while ((getline aline < (F[key])) > 0)
17350 ac_cs_awk_pipe_fini
=
17352 ac_cs_awk_getline
=false
17353 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
17354 ac_cs_awk_read_file
='
17356 print "cat " F[key] " &&"
17357 '$ac_cs_awk_pipe_init
17358 # The final `:' finishes the AND list.
17359 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
17361 ac_cr
=`echo X | tr X '\015'`
17362 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17363 # But we know of no other shell where ac_cr would be empty at this
17364 # point, so we can use a bashism as a fallback.
17365 if test "x$ac_cr" = x
; then
17366 eval ac_cr
=\$
\'\\r
\'
17368 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17369 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17372 ac_cs_awk_cr
=$ac_cr
17375 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17378 # Create commands to substitute file output variables.
17380 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17381 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17382 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
17385 } >conf$
$files.sh
&&
17386 . .
/conf$
$files.sh ||
17387 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
17388 rm -f conf$
$files.sh
17391 echo "cat >conf$$subs.awk <<_ACEOF" &&
17392 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17394 } >conf$$subs.sh ||
17395 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17396 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17398 for ac_last_try in false false false false false :; do
17399 . ./conf$$subs.sh ||
17400 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17402 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17403 if test $ac_delim_n = $ac_delim_num; then
17405 elif $ac_last_try; then
17406 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17408 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17411 rm -f conf$$subs.sh
17413 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17414 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17418 s/^/S["/; s
/!.
*/"]=/
17428 s/\(.\{148\}\)..*/\1/
17430 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17435 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17442 s/\(.\{148\}\)..*/\1/
17444 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17448 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17453 ' <conf$$subs.awk | sed '
17458 ' >>$CONFIG_STATUS || ac_write_fail=1
17459 rm -f conf$$subs.awk
17460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17462 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17463 for (key in S) S_is_set[key] = 1
17465 \$ac_cs_awk_pipe_init
17469 nfields = split(line, field, "@
")
17471 len = length(field[1])
17472 for (i = 2; i < nfields; i++) {
17474 keylen = length(key)
17475 if (S_is_set[key]) {
17477 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17478 len += length(value) + length(field[++i])
17483 if (nfields == 3 && !substed) {
17485 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17486 \$ac_cs_awk_read_file
17492 \$ac_cs_awk_pipe_fini
17495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17496 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17497 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17500 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17501 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17504 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17505 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17506 # trailing colons and then remove the whole line if VPATH becomes empty
17507 # (actually we leave an empty line to preserve line numbers).
17508 if test "x
$srcdir" = x.; then
17509 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17528 fi # test -n "$CONFIG_FILES"
17530 # Set up the scripts for CONFIG_HEADERS section.
17531 # No need to generate them if there are no CONFIG_HEADERS.
17532 # This happens for instance with `./config.status Makefile'.
17533 if test -n "$CONFIG_HEADERS"; then
17534 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17538 # Transform confdefs.h into an awk script `defines.awk', embedded as
17539 # here-document in config.status, that substitutes the proper values into
17540 # config.h.in to produce config.h.
17542 # Create a delimiter string that does not exist in confdefs.h, to ease
17543 # handling of long lines.
17545 for ac_last_try in false false :; do
17546 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17547 if test -z "$ac_tt"; then
17549 elif $ac_last_try; then
17550 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17552 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17556 # For the awk script, D is an array of macro values keyed by name,
17557 # likewise P contains macro parameters if any. Preserve backslash
17558 # newline sequences.
17560 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17562 s/.\{148\}/&'"$ac_delim"'/g
17565 s/^[ ]*#[ ]*define[ ][ ]*/ /
17572 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17574 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17578 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17579 D["\
1"]=" \
3\\\\\\n
"\\/p
17581 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17586 s/.\{148\}/&'"$ac_delim"'/g
17591 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17594 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17596 ' <confdefs.h | sed '
17597 s/'"$ac_delim"'/"\\\
17598 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17601 for (key in D) D_is_set[key] = 1
17604 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17606 split(line, arg, " ")
17607 if (arg[1] == "#") {
17611 defundef
= substr
(arg
[1], 2)
17614 split(mac1
, mac2
, "(") #)
17616 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17617 if (D_is_set
[macro
]) {
17618 # Preserve the white space surrounding the "#".
17619 print prefix
"define", macro P
[macro
] D
[macro
]
17622 # Replace #undef with comments. This is necessary, for example,
17623 # in the case of _POSIX_SOURCE, which is predefined and required
17624 # on some systems where configure will not decide to define it.
17625 if (defundef
== "undef") {
17626 print
"/*", prefix defundef
, macro
, "*/"
17634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17635 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17636 fi # test -n "$CONFIG_HEADERS"
17639 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17644 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17646 case $ac_mode$ac_tag in
17648 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17649 :[FH
]-) ac_tag
=-:-;;
17650 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17667 -) ac_f
="$ac_tmp/stdin";;
17668 *) # Look for the file first in the build tree, then in the source tree
17669 # (if the path is not absolute). The absolute path cannot be DOS-style,
17670 # because $ac_f cannot contain `:'.
17674 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17676 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17678 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17679 as_fn_append ac_file_inputs
" '$ac_f'"
17682 # Let's still pretend it is `configure' which instantiates (i.e., don't
17683 # use $as_me), people would be surprised to read:
17684 # /* config.h. Generated by config.status. */
17685 configure_input
='Generated from '`
17686 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17688 if test x
"$ac_file" != x-
; then
17689 configure_input
="$ac_file. $configure_input"
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17691 $as_echo "$as_me: creating $ac_file" >&6;}
17693 # Neutralize special characters interpreted by sed in replacement strings.
17694 case $configure_input in #(
17695 *\
&* |
*\|
* |
*\\* )
17696 ac_sed_conf_input
=`$as_echo "$configure_input" |
17697 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17698 *) ac_sed_conf_input
=$configure_input;;
17702 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17703 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17708 ac_dir
=`$as_dirname -- "$ac_file" ||
17709 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17710 X"$ac_file" : 'X\(//\)[^/]' \| \
17711 X"$ac_file" : 'X\(//\)$' \| \
17712 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17713 $as_echo X"$ac_file" |
17714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17718 /^X\(\/\/\)[^/].*/{
17731 as_dir
="$ac_dir"; as_fn_mkdir_p
17735 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17737 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17738 # A ".." for each directory in $ac_dir_suffix.
17739 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17740 case $ac_top_builddir_sub in
17741 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17742 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17745 ac_abs_top_builddir
=$ac_pwd
17746 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17747 # for backward compatibility:
17748 ac_top_builddir
=$ac_top_build_prefix
17751 .
) # We are building in place.
17753 ac_top_srcdir
=$ac_top_builddir_sub
17754 ac_abs_top_srcdir
=$ac_pwd ;;
17755 [\\/]* | ?
:[\\/]* ) # Absolute name.
17756 ac_srcdir
=$srcdir$ac_dir_suffix;
17757 ac_top_srcdir
=$srcdir
17758 ac_abs_top_srcdir
=$srcdir ;;
17759 *) # Relative name.
17760 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17761 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17762 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17764 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17774 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17775 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17780 # If the template does not know about datarootdir, expand it.
17781 # FIXME: This hack should be removed a few years after 2.60.
17782 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17793 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17794 *datarootdir
*) ac_datarootdir_seen
=yes;;
17795 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17797 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17800 ac_datarootdir_hack='
17801 s&@datadir@&$datadir&g
17802 s&@docdir@&$docdir&g
17803 s&@infodir@&$infodir&g
17804 s&@localedir@&$localedir&g
17805 s&@mandir@&$mandir&g
17806 s&\\\${datarootdir}&$datarootdir&g' ;;
17810 # Neutralize VPATH when `$srcdir' = `.'.
17811 # Shell code in configure.ac might set extrasub.
17812 # FIXME: do we really want to maintain this feature?
17813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17814 ac_sed_extra="$ac_vpsub
17817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17819 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17820 s|@configure_input@|
$ac_sed_conf_input|
;t t
17821 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17822 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17823 s
&@srcdir@
&$ac_srcdir&;t t
17824 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17825 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17826 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17827 s
&@builddir@
&$ac_builddir&;t t
17828 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17829 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17830 s
&@INSTALL@
&$ac_INSTALL&;t t
17831 $ac_datarootdir_hack
17833 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17834 if $ac_cs_awk_getline; then
17835 $AWK -f "$ac_tmp/subs.
awk"
17837 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
17839 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17841 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17842 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17843 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17844 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17846 which seems to be undefined. Please make sure it is defined" >&5
17847 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17848 which seems to be undefined. Please make sure it is defined" >&2;}
17850 rm -f "$ac_tmp/stdin"
17852 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17853 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17855 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17861 if test x"$ac_file" != x-; then
17863 $as_echo "/* $configure_input */" \
17864 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17865 } >"$ac_tmp/config.h" \
17866 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17867 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17869 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17872 mv "$ac_tmp/config.h" "$ac_file" \
17873 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17876 $as_echo "/* $configure_input */" \
17877 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17878 || as_fn_error $? "could not create -" "$LINENO" 5
17886 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
17889 # Prefer the file from the source tree if names are identical.
17890 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17891 ac_source=$srcdir/$ac_source
17894 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17895 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17897 if test ! -r "$ac_source"; then
17898 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17902 # Try a relative symlink, then a hard link, then a copy.
17904 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17905 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17907 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17908 ln "$ac_source" "$ac_file" 2>/dev/null ||
17909 cp -p "$ac_source" "$ac_file" ||
17910 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17913 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17914 $as_echo "$as_me: executing $ac_file commands" >&6;}
17919 case $ac_file$ac_mode in
17920 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17921 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17922 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17923 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17924 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17925 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17926 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17927 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17928 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17929 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17930 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17931 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17932 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17933 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17934 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17935 "Makefile":C) wine_fn_output_makefile Makefile ;;
17943 ac_clean_files=$ac_clean_files_save
17945 test $ac_write_fail = 0 ||
17946 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17949 # configure is writing to config.log, and then calls config.status.
17950 # config.status does its own redirection, appending to config.log.
17951 # Unfortunately, on DOS this fails, as config.log is still kept open
17952 # by configure, so config.status won't be able to
write to it
; its
17953 # output is simply discarded. So we exec the FD to /dev/null,
17954 # effectively closing config.log, so it can be properly (re)opened and
17955 # appended to by config.status. When coming back to configure, we
17956 # need to make the FD available again.
17957 if test "$no_create" != yes; then
17959 ac_config_status_args
=
17960 test "$silent" = yes &&
17961 ac_config_status_args
="$ac_config_status_args --quiet"
17963 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17965 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17966 # would make configure fail if this is the last instruction.
17967 $ac_cs_success || as_fn_exit
1
17969 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17971 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17975 if test "$no_create" = "yes"
17981 if test "x$wine_notices != "x
; then
17984 for msg
in $wine_notices; do
17986 if test -n "$msg"; then
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17988 $as_echo "$as_me: $msg" >&6;}
17993 for msg
in $wine_warnings; do
17995 if test -n "$msg"; then
17997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17998 $as_echo "$as_me: WARNING: $msg" >&2;}
18004 $as_me: Finished. Do '${ac_make}' to compile Wine.