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
692 APPLICATIONSERVICESLIB
781 program_transform_name
792 ac_subst_files
='MAKE_RULES
798 enable_option_checking
802 enable_maintainer_mode
851 ac_precious_vars
='build_alias
880 # Initialize some variables set by options.
882 ac_init_version
=false
883 ac_unrecognized_opts
=
885 # The variables have the same names as the options, with
886 # dashes changed to underlines.
894 program_transform_name
=s
,x
,x
,
902 # Installation directory options.
903 # These are left unexpanded so users can "make install exec_prefix=/foo"
904 # and all the variables that are supposed to be based on exec_prefix
905 # by default will actually change.
906 # Use braces instead of parens because sh, perl, etc. also accept them.
907 # (The list follows the same order as the GNU Coding Standards.)
908 bindir
='${exec_prefix}/bin'
909 sbindir
='${exec_prefix}/sbin'
910 libexecdir
='${exec_prefix}/libexec'
911 datarootdir
='${prefix}/share'
912 datadir
='${datarootdir}'
913 sysconfdir
='${prefix}/etc'
914 sharedstatedir
='${prefix}/com'
915 localstatedir
='${prefix}/var'
916 includedir
='${prefix}/include'
917 oldincludedir
='/usr/include'
918 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
919 infodir
='${datarootdir}/info'
924 libdir
='${exec_prefix}/lib'
925 localedir
='${datarootdir}/locale'
926 mandir
='${datarootdir}/man'
932 # If the previous option needs an argument, assign it.
933 if test -n "$ac_prev"; then
934 eval $ac_prev=\
$ac_option
940 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
945 # Accept the important Cygnus configure options, so we can diagnose typos.
947 case $ac_dashdash$ac_option in
951 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
953 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
956 -build |
--build |
--buil |
--bui |
--bu)
957 ac_prev
=build_alias
;;
958 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
959 build_alias
=$ac_optarg ;;
961 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
962 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
963 ac_prev
=cache_file
;;
964 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
965 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
966 cache_file
=$ac_optarg ;;
969 cache_file
=config.cache
;;
971 -datadir |
--datadir |
--datadi |
--datad)
973 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
974 datadir
=$ac_optarg ;;
976 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
977 |
--dataroo |
--dataro |
--datar)
978 ac_prev
=datarootdir
;;
979 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
980 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
981 datarootdir
=$ac_optarg ;;
983 -disable-* |
--disable-*)
984 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
985 # Reject names that are not valid shell variable names.
986 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
987 as_fn_error $?
"invalid feature name: $ac_useropt"
988 ac_useropt_orig
=$ac_useropt
989 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
990 case $ac_user_opts in
994 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
995 ac_unrecognized_sep
=', ';;
997 eval enable_
$ac_useropt=no
;;
999 -docdir |
--docdir |
--docdi |
--doc |
--do)
1001 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1002 docdir
=$ac_optarg ;;
1004 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1006 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1007 dvidir
=$ac_optarg ;;
1009 -enable-* |
--enable-*)
1010 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1013 as_fn_error $?
"invalid feature name: $ac_useropt"
1014 ac_useropt_orig
=$ac_useropt
1015 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1016 case $ac_user_opts in
1018 "enable_
$ac_useropt"
1020 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1021 ac_unrecognized_sep
=', ';;
1023 eval enable_
$ac_useropt=\
$ac_optarg ;;
1025 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1026 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1027 |
--exec |
--exe |
--ex)
1028 ac_prev
=exec_prefix
;;
1029 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1030 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1031 |
--exec=* |
--exe=* |
--ex=*)
1032 exec_prefix
=$ac_optarg ;;
1034 -gas |
--gas |
--ga |
--g)
1035 # Obsolete; use --with-gas.
1038 -help |
--help |
--hel |
--he |
-h)
1039 ac_init_help
=long
;;
1040 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1041 ac_init_help
=recursive
;;
1042 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1043 ac_init_help
=short
;;
1045 -host |
--host |
--hos |
--ho)
1046 ac_prev
=host_alias
;;
1047 -host=* |
--host=* |
--hos=* |
--ho=*)
1048 host_alias
=$ac_optarg ;;
1050 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1052 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1054 htmldir
=$ac_optarg ;;
1056 -includedir |
--includedir |
--includedi |
--included |
--include \
1057 |
--includ |
--inclu |
--incl |
--inc)
1058 ac_prev
=includedir
;;
1059 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1060 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1061 includedir
=$ac_optarg ;;
1063 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1065 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1066 infodir
=$ac_optarg ;;
1068 -libdir |
--libdir |
--libdi |
--libd)
1070 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1071 libdir
=$ac_optarg ;;
1073 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1074 |
--libexe |
--libex |
--libe)
1075 ac_prev
=libexecdir
;;
1076 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1077 |
--libexe=* |
--libex=* |
--libe=*)
1078 libexecdir
=$ac_optarg ;;
1080 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1081 ac_prev
=localedir
;;
1082 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1083 localedir
=$ac_optarg ;;
1085 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1086 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1087 ac_prev
=localstatedir
;;
1088 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1089 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1090 localstatedir
=$ac_optarg ;;
1092 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1094 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1095 mandir
=$ac_optarg ;;
1097 -nfp |
--nfp |
--nf)
1098 # Obsolete; use --without-fp.
1101 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1102 |
--no-cr |
--no-c |
-n)
1105 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1106 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1109 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1110 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1111 |
--oldin |
--oldi |
--old |
--ol |
--o)
1112 ac_prev
=oldincludedir
;;
1113 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1114 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1115 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1116 oldincludedir
=$ac_optarg ;;
1118 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1120 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1121 prefix
=$ac_optarg ;;
1123 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1124 |
--program-pre |
--program-pr |
--program-p)
1125 ac_prev
=program_prefix
;;
1126 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1127 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1128 program_prefix
=$ac_optarg ;;
1130 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1131 |
--program-suf |
--program-su |
--program-s)
1132 ac_prev
=program_suffix
;;
1133 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1134 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1135 program_suffix
=$ac_optarg ;;
1137 -program-transform-name |
--program-transform-name \
1138 |
--program-transform-nam |
--program-transform-na \
1139 |
--program-transform-n |
--program-transform- \
1140 |
--program-transform |
--program-transfor \
1141 |
--program-transfo |
--program-transf \
1142 |
--program-trans |
--program-tran \
1143 |
--progr-tra |
--program-tr |
--program-t)
1144 ac_prev
=program_transform_name
;;
1145 -program-transform-name=* |
--program-transform-name=* \
1146 |
--program-transform-nam=* |
--program-transform-na=* \
1147 |
--program-transform-n=* |
--program-transform-=* \
1148 |
--program-transform=* |
--program-transfor=* \
1149 |
--program-transfo=* |
--program-transf=* \
1150 |
--program-trans=* |
--program-tran=* \
1151 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1152 program_transform_name
=$ac_optarg ;;
1154 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1156 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1157 pdfdir
=$ac_optarg ;;
1159 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1161 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1164 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1165 |
-silent |
--silent |
--silen |
--sile |
--sil)
1168 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1170 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1172 sbindir
=$ac_optarg ;;
1174 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1175 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1176 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1178 ac_prev
=sharedstatedir
;;
1179 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1180 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1181 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1183 sharedstatedir
=$ac_optarg ;;
1185 -site |
--site |
--sit)
1187 -site=* |
--site=* |
--sit=*)
1190 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1192 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1193 srcdir
=$ac_optarg ;;
1195 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1196 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1197 ac_prev
=sysconfdir
;;
1198 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1199 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1200 sysconfdir
=$ac_optarg ;;
1202 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1203 ac_prev
=target_alias
;;
1204 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1205 target_alias
=$ac_optarg ;;
1207 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1210 -version |
--version |
--versio |
--versi |
--vers |
-V)
1211 ac_init_version
=: ;;
1214 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1215 # Reject names that are not valid shell variable names.
1216 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1217 as_fn_error $?
"invalid package name: $ac_useropt"
1218 ac_useropt_orig
=$ac_useropt
1219 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1220 case $ac_user_opts in
1224 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1225 ac_unrecognized_sep
=', ';;
1227 eval with_
$ac_useropt=\
$ac_optarg ;;
1229 -without-* |
--without-*)
1230 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1233 as_fn_error $?
"invalid package name: $ac_useropt"
1234 ac_useropt_orig
=$ac_useropt
1235 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236 case $ac_user_opts in
1240 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1241 ac_unrecognized_sep
=', ';;
1243 eval with_
$ac_useropt=no
;;
1246 # Obsolete; use --with-x.
1249 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1250 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1251 ac_prev
=x_includes
;;
1252 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1253 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1254 x_includes
=$ac_optarg ;;
1256 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1257 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1258 ac_prev
=x_libraries
;;
1259 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1260 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1261 x_libraries
=$ac_optarg ;;
1263 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1264 Try \`$0 --help' for more information"
1268 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1269 # Reject names that are not valid shell variable names.
1270 case $ac_envvar in #(
1271 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1272 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1274 eval $ac_envvar=\
$ac_optarg
1275 export $ac_envvar ;;
1278 # FIXME: should be removed in autoconf 3.0.
1279 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1280 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1281 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1282 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1288 if test -n "$ac_prev"; then
1289 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1290 as_fn_error $?
"missing argument to $ac_option"
1293 if test -n "$ac_unrecognized_opts"; then
1294 case $enable_option_checking in
1296 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1297 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1301 # Check all directory arguments for consistency.
1302 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1303 datadir sysconfdir sharedstatedir localstatedir includedir \
1304 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1305 libdir localedir mandir
1307 eval ac_val
=\$
$ac_var
1308 # Remove trailing slashes.
1311 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1312 eval $ac_var=\
$ac_val;;
1314 # Be sure to have absolute directory names.
1316 [\\/$
]* | ?
:[\\/]* ) continue;;
1317 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1319 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1322 # There might be people who depend on the old broken behavior: `$host'
1323 # used to hold the argument of --host etc.
1324 # FIXME: To remove some day.
1327 target
=$target_alias
1329 # FIXME: To remove some day.
1330 if test "x$host_alias" != x
; then
1331 if test "x$build_alias" = x
; then
1332 cross_compiling
=maybe
1333 elif test "x$build_alias" != "x$host_alias"; then
1339 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1341 test "$silent" = yes && exec 6>/dev
/null
1344 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1345 ac_ls_di
=`ls -di .` &&
1346 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1347 as_fn_error $?
"working directory cannot be determined"
1348 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1349 as_fn_error $?
"pwd does not report name of working directory"
1352 # Find the source files, if location was not specified.
1353 if test -z "$srcdir"; then
1354 ac_srcdir_defaulted
=yes
1355 # Try the directory containing this script, then the parent directory.
1356 ac_confdir
=`$as_dirname -- "$as_myself" ||
1357 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1358 X"$as_myself" : 'X\(//\)[^/]' \| \
1359 X"$as_myself" : 'X\(//\)$' \| \
1360 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1361 $as_echo X"$as_myself" |
1362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1380 if test ! -r "$srcdir/$ac_unique_file"; then
1384 ac_srcdir_defaulted
=no
1386 if test ! -r "$srcdir/$ac_unique_file"; then
1387 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1388 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1390 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1392 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1394 # When building in place, set srcdir=.
1395 if test "$ac_abs_confdir" = "$ac_pwd"; then
1398 # Remove unnecessary trailing slashes from srcdir.
1399 # Double slashes in file names in object file debugging info
1400 # mess up M-x gdb in Emacs.
1402 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1404 for ac_var
in $ac_precious_vars; do
1405 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1406 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1407 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1408 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1412 # Report the --help message.
1414 if test "$ac_init_help" = "long"; then
1415 # Omit some internal or obsolete options to make the list less imposing.
1416 # This message is too long to be a string in the A/UX 3.1 sh.
1418 \`configure' configures Wine 1.5.29 to adapt to many kinds of systems.
1420 Usage: $0 [OPTION]... [VAR=VALUE]...
1422 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1423 VAR=VALUE. See below for descriptions of some of the useful variables.
1425 Defaults for the options are specified in brackets.
1428 -h, --help display this help and exit
1429 --help=short display options specific to this package
1430 --help=recursive display the short help of all the included packages
1431 -V, --version display version information and exit
1432 -q, --quiet, --silent do not print \`checking ...' messages
1433 --cache-file=FILE cache test results in FILE [disabled]
1434 -C, --config-cache alias for \`--cache-file=config.cache'
1435 -n, --no-create do not create output files
1436 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1438 Installation directories:
1439 --prefix=PREFIX install architecture-independent files in PREFIX
1440 [$ac_default_prefix]
1441 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1444 By default, \`make install' will install all the files in
1445 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1446 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1447 for instance \`--prefix=\$HOME'.
1449 For better control, use the options below.
1451 Fine tuning of the installation directories:
1452 --bindir=DIR user executables [EPREFIX/bin]
1453 --sbindir=DIR system admin executables [EPREFIX/sbin]
1454 --libexecdir=DIR program executables [EPREFIX/libexec]
1455 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1456 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1457 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1458 --libdir=DIR object code libraries [EPREFIX/lib]
1459 --includedir=DIR C header files [PREFIX/include]
1460 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1461 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1462 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1463 --infodir=DIR info documentation [DATAROOTDIR/info]
1464 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1465 --mandir=DIR man documentation [DATAROOTDIR/man]
1466 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1467 --htmldir=DIR html documentation [DOCDIR]
1468 --dvidir=DIR dvi documentation [DOCDIR]
1469 --pdfdir=DIR pdf documentation [DOCDIR]
1470 --psdir=DIR ps documentation [DOCDIR]
1476 --x-includes=DIR X include files are
in DIR
1477 --x-libraries=DIR X library files are
in DIR
1480 --build=BUILD configure
for building on BUILD
[guessed
]
1481 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1485 if test -n "$ac_init_help"; then
1486 case $ac_init_help in
1487 short | recursive
) echo "Configuration of Wine 1.5.29:";;
1492 --disable-option-checking ignore unrecognized
--enable/--with options
1493 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1494 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1495 --disable-win16 do not include Win16 support
1496 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1498 --disable-tests do not build the regression tests
1499 --enable-maintainer-mode
1500 enable maintainer-specific build rules
1501 --disable-largefile omit support for large files
1504 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1505 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1506 --without-alsa do not use the Alsa sound support
1507 --without-capi do not use CAPI (ISDN support)
1508 --without-cms do not use CMS (color management support)
1509 --without-coreaudio do not use the CoreAudio sound support
1510 --without-cups do not use CUPS
1511 --without-curses do not use (n)curses
1512 --without-dbus do not use DBus (dynamic device support)
1513 --without-fontconfig do not use fontconfig
1514 --without-freetype do not use the FreeType library
1515 --without-gettext do not use gettext
1516 --with-gettextpo use the GetTextPO library to rebuild po files
1517 --without-gphoto do not use gphoto (Digital Camera support)
1518 --without-glu do not use the GLU library
1519 --without-gnutls do not use GnuTLS (schannel support)
1520 --without-gsm do not use libgsm (GSM 06.10 codec support)
1521 --without-gstreamer do not use GStreamer (codecs support)
1522 --without-hal do not use HAL (dynamic device support)
1523 --without-jpeg do not use JPEG
1524 --without-ldap do not use LDAP
1525 --without-mpg123 do not use the mpg123 library
1526 --without-openal do not use OpenAL
1527 --without-opencl do not use OpenCL
1528 --without-opengl do not use OpenGL
1529 --without-osmesa do not use the OSMesa library
1530 --without-oss do not use the OSS sound support
1531 --without-png do not use PNG
1532 --without-pthread do not use the pthread library
1533 --without-sane do not use SANE (scanner support)
1534 --without-tiff do not use TIFF
1535 --without-v4l do not use v4l1 (v4l support)
1536 --without-xcomposite do not use the Xcomposite extension
1537 --without-xcursor do not use the Xcursor extension
1538 --without-xinerama do not use Xinerama (multi-monitor support)
1539 --without-xinput do not use the Xinput extension
1540 --without-xinput2 do not use the Xinput 2 extension
1541 --without-xml do not use XML
1542 --without-xrandr do not use Xrandr (resolution changes)
1543 --without-xrender do not use the Xrender extension
1544 --without-xshape do not use the Xshape extension
1545 --without-xshm do not use XShm (shared memory extension)
1546 --without-xslt do not use XSLT
1547 --without-xxf86vm do not use XFree video mode extension
1548 --without-zlib do not use Zlib (data compression)
1549 --with-wine-tools=DIR use Wine tools from directory DIR
1550 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1551 --with-x use the X Window System
1553 Some influential environment variables:
1554 CC C compiler command
1555 CFLAGS C compiler flags
1556 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1557 nonstandard directory <lib dir>
1558 LIBS libraries to pass to the linker, e.g. -l<library>
1559 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1560 you have headers in a nonstandard directory <include dir>
1561 CXX C++ compiler command
1562 CXXFLAGS C++ compiler flags
1564 XMKMF Path to xmkmf, Makefile generator for X Window System
1565 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
1566 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
1567 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
1568 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
1569 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
1570 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
1571 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
1572 HAL_LIBS Linker flags for hal, overriding pkg-config
1574 C compiler flags for gnutls, overriding pkg-config
1575 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
1576 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
1577 SANE_LIBS Linker flags for libsane, overriding pkg-config
1579 C compiler flags for libgphoto2, overriding pkg-config
1581 Linker flags for libgphoto2, overriding pkg-config
1583 Use these variables to override the choices made by `configure' or to
help
1584 it to
find libraries and programs with nonstandard names
/locations.
1586 Report bugs to
<wine-devel@winehq.org
>.
1587 Wine home page
: <http
://www.winehq.org
>.
1592 if test "$ac_init_help" = "recursive"; then
1593 # If there are subdirs, report their specific --help.
1594 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1595 test -d "$ac_dir" ||
1596 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1601 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1603 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1604 # A ".." for each directory in $ac_dir_suffix.
1605 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1606 case $ac_top_builddir_sub in
1607 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1608 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1611 ac_abs_top_builddir
=$ac_pwd
1612 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1613 # for backward compatibility:
1614 ac_top_builddir
=$ac_top_build_prefix
1617 .
) # We are building in place.
1619 ac_top_srcdir
=$ac_top_builddir_sub
1620 ac_abs_top_srcdir
=$ac_pwd ;;
1621 [\\/]* | ?
:[\\/]* ) # Absolute name.
1622 ac_srcdir
=$srcdir$ac_dir_suffix;
1623 ac_top_srcdir
=$srcdir
1624 ac_abs_top_srcdir
=$srcdir ;;
1626 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1627 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1628 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1630 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1632 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1633 # Check for guested configure.
1634 if test -f "$ac_srcdir/configure.gnu"; then
1636 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1637 elif test -f "$ac_srcdir/configure"; then
1639 $SHELL "$ac_srcdir/configure" --help=recursive
1641 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1643 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1647 test -n "$ac_init_help" && exit $ac_status
1648 if $ac_init_version; then
1650 Wine configure
1.5.29
1651 generated by GNU Autoconf
2.69
1653 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1654 This configure
script is free software
; the Free Software Foundation
1655 gives unlimited permission to copy
, distribute and modify it.
1660 ## ------------------------ ##
1661 ## Autoconf initialization. ##
1662 ## ------------------------ ##
1664 # ac_fn_c_try_compile LINENO
1665 # --------------------------
1666 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1667 ac_fn_c_try_compile
()
1669 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1670 rm -f conftest.
$ac_objext
1671 if { { ac_try
="$ac_compile"
1673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1674 *) ac_try_echo=$ac_try;;
1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 $as_echo "$ac_try_echo"; } >&5
1678 (eval "$ac_compile") 2>conftest.err
1680 if test -s conftest.err; then
1681 grep -v '^ *+' conftest.err >conftest.er1
1682 cat conftest.er1 >&5
1683 mv -f conftest.er1 conftest.err
1685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686 test $ac_status = 0; } && {
1687 test -z "$ac_c_werror_flag" ||
1688 test ! -s conftest.err
1689 } && test -s conftest.$ac_objext; then :
1692 $as_echo "$as_me: failed program was:" >&5
1693 sed 's/^/| /' conftest.$ac_ext >&5
1697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698 as_fn_set_status $ac_retval
1700 } # ac_fn_c_try_compile
1702 # ac_fn_cxx_try_compile LINENO
1703 # ----------------------------
1704 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1705 ac_fn_cxx_try_compile ()
1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708 rm -f conftest.$ac_objext
1709 if { { ac_try="$ac_compile"
1711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1712 *) ac_try_echo
=$ac_try;;
1714 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715 $as_echo "$ac_try_echo"; } >&5
1716 (eval "$ac_compile") 2>conftest.err
1718 if test -s conftest.err
; then
1719 grep -v '^ *+' conftest.err
>conftest.er1
1720 cat conftest.er1
>&5
1721 mv -f conftest.er1 conftest.err
1723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724 test $ac_status = 0; } && {
1725 test -z "$ac_cxx_werror_flag" ||
1726 test ! -s conftest.err
1727 } && test -s conftest.
$ac_objext; then :
1730 $as_echo "$as_me: failed program was:" >&5
1731 sed 's/^/| /' conftest.
$ac_ext >&5
1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736 as_fn_set_status
$ac_retval
1738 } # ac_fn_cxx_try_compile
1740 # ac_fn_c_try_link LINENO
1741 # -----------------------
1742 # Try to link conftest.$ac_ext, and return whether this succeeded.
1745 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1746 rm -f conftest.
$ac_objext conftest
$ac_exeext
1747 if { { ac_try
="$ac_link"
1749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1750 *) ac_try_echo=$ac_try;;
1752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1753 $as_echo "$ac_try_echo"; } >&5
1754 (eval "$ac_link") 2>conftest.err
1756 if test -s conftest.err; then
1757 grep -v '^ *+' conftest.err >conftest.er1
1758 cat conftest.er1 >&5
1759 mv -f conftest.er1 conftest.err
1761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1762 test $ac_status = 0; } && {
1763 test -z "$ac_c_werror_flag" ||
1764 test ! -s conftest.err
1765 } && test -s conftest$ac_exeext && {
1766 test "$cross_compiling" = yes ||
1767 test -x conftest$ac_exeext
1771 $as_echo "$as_me: failed program was:" >&5
1772 sed 's/^/| /' conftest.$ac_ext >&5
1776 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1777 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1778 # interfere with the next link command; also delete a directory that is
1779 # left behind by Apple's compiler. We do this before executing the actions.
1780 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1781 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1782 as_fn_set_status $ac_retval
1784 } # ac_fn_c_try_link
1786 # ac_fn_c_try_cpp LINENO
1787 # ----------------------
1788 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792 if { { ac_try="$ac_cpp conftest.$ac_ext"
1794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1795 *) ac_try_echo
=$ac_try;;
1797 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1801 if test -s conftest.err
; then
1802 grep -v '^ *+' conftest.err
>conftest.er1
1803 cat conftest.er1
>&5
1804 mv -f conftest.er1 conftest.err
1806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1807 test $ac_status = 0; } > conftest.i
&& {
1808 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1809 test ! -s conftest.err
1813 $as_echo "$as_me: failed program was:" >&5
1814 sed 's/^/| /' conftest.
$ac_ext >&5
1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1819 as_fn_set_status
$ac_retval
1823 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1824 # -------------------------------------------------------
1825 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1826 # the include files in INCLUDES and setting the cache variable VAR
1828 ac_fn_c_check_header_mongrel
()
1830 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1831 if eval \
${$3+:} false
; then :
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1833 $as_echo_n "checking for $2... " >&6; }
1834 if eval \
${$3+:} false
; then :
1835 $as_echo_n "(cached) " >&6
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1839 $as_echo "$ac_res" >&6; }
1841 # Is the header compilable?
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1843 $as_echo_n "checking $2 usability... " >&6; }
1844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1845 /* end confdefs.h. */
1849 if ac_fn_c_try_compile
"$LINENO"; then :
1850 ac_header_compiler
=yes
1852 ac_header_compiler
=no
1854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1856 $as_echo "$ac_header_compiler" >&6; }
1858 # Is the header present?
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1860 $as_echo_n "checking $2 presence... " >&6; }
1861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1862 /* end confdefs.h. */
1865 if ac_fn_c_try_cpp
"$LINENO"; then :
1866 ac_header_preproc
=yes
1868 ac_header_preproc
=no
1870 rm -f conftest.err conftest.i conftest.
$ac_ext
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1872 $as_echo "$ac_header_preproc" >&6; }
1874 # So? What about this header?
1875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1878 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1880 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1884 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1886 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1888 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1890 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1892 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1893 ( $as_echo "## ------------------------------------ ##
1894 ## Report this to wine-devel@winehq.org ##
1895 ## ------------------------------------ ##"
1896 ) |
sed "s/^/$as_me: WARNING: /" >&2
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900 $as_echo_n "checking for $2... " >&6; }
1901 if eval \
${$3+:} false
; then :
1902 $as_echo_n "(cached) " >&6
1904 eval "$3=\$ac_header_compiler"
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1908 $as_echo "$ac_res" >&6; }
1910 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1912 } # ac_fn_c_check_header_mongrel
1914 # ac_fn_c_try_run LINENO
1915 # ----------------------
1916 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1917 # that executables *can* be run.
1920 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1921 if { { ac_try
="$ac_link"
1923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1924 *) ac_try_echo=$ac_try;;
1926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1927 $as_echo "$ac_try_echo"; } >&5
1928 (eval "$ac_link") 2>&5
1930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1932 { { case "(($ac_try" in
1933 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1934 *) ac_try_echo
=$ac_try;;
1936 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1937 $as_echo "$ac_try_echo"; } >&5
1938 (eval "$ac_try") 2>&5
1940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1941 test $ac_status = 0; }; }; then :
1944 $as_echo "$as_me: program exited with status $ac_status" >&5
1945 $as_echo "$as_me: failed program was:" >&5
1946 sed 's/^/| /' conftest.
$ac_ext >&5
1948 ac_retval
=$ac_status
1950 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1952 as_fn_set_status
$ac_retval
1956 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1957 # -------------------------------------------------------
1958 # Tests whether HEADER exists and can be compiled using the include files in
1959 # INCLUDES, setting the cache variable VAR accordingly.
1960 ac_fn_c_check_header_compile
()
1962 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1964 $as_echo_n "checking for $2... " >&6; }
1965 if eval \
${$3+:} false
; then :
1966 $as_echo_n "(cached) " >&6
1968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1969 /* end confdefs.h. */
1973 if ac_fn_c_try_compile
"$LINENO"; then :
1978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1982 $as_echo "$ac_res" >&6; }
1983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1985 } # ac_fn_c_check_header_compile
1987 # ac_fn_c_check_func LINENO FUNC VAR
1988 # ----------------------------------
1989 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1990 ac_fn_c_check_func
()
1992 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1994 $as_echo_n "checking for $2... " >&6; }
1995 if eval \
${$3+:} false
; then :
1996 $as_echo_n "(cached) " >&6
1998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1999 /* end confdefs.h. */
2000 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2002 #define $2 innocuous_$2
2004 /* System header to define __stub macros and hopefully few prototypes,
2005 which can conflict with char $2 (); below.
2006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2007 <limits.h> exists even on freestanding compilers. */
2010 # include <limits.h>
2012 # include <assert.h>
2017 /* Override any GCC internal prototype to avoid an error.
2018 Use char because int might match the return type of a GCC
2019 builtin and then its argument prototype would still apply. */
2024 /* The GNU C library defines this for functions which it implements
2025 to always fail with ENOSYS. Some functions are actually named
2026 something starting with __ and the normal name is an alias. */
2027 #if defined __stub_$2 || defined __stub___$2
2039 if ac_fn_c_try_link
"$LINENO"; then :
2044 rm -f core conftest.err conftest.
$ac_objext \
2045 conftest
$ac_exeext conftest.
$ac_ext
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2049 $as_echo "$ac_res" >&6; }
2050 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2052 } # ac_fn_c_check_func
2054 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2055 # ----------------------------------------------------
2056 # Tries to find if the field MEMBER exists in type AGGR, after including
2057 # INCLUDES, setting cache variable VAR accordingly.
2058 ac_fn_c_check_member
()
2060 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2062 $as_echo_n "checking for $2.$3... " >&6; }
2063 if eval \
${$4+:} false
; then :
2064 $as_echo_n "(cached) " >&6
2066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2067 /* end confdefs.h. */
2079 if ac_fn_c_try_compile
"$LINENO"; then :
2082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2083 /* end confdefs.h. */
2089 if (sizeof ac_aggr.$3)
2095 if ac_fn_c_try_compile
"$LINENO"; then :
2100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2106 $as_echo "$ac_res" >&6; }
2107 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2109 } # ac_fn_c_check_member
2111 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2112 # -------------------------------------------
2113 # Tests whether TYPE exists after having included INCLUDES, setting cache
2114 # variable VAR accordingly.
2115 ac_fn_c_check_type
()
2117 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2119 $as_echo_n "checking for $2... " >&6; }
2120 if eval \
${$3+:} false
; then :
2121 $as_echo_n "(cached) " >&6
2124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2125 /* end confdefs.h. */
2136 if ac_fn_c_try_compile
"$LINENO"; then :
2137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2138 /* end confdefs.h. */
2149 if ac_fn_c_try_compile
"$LINENO"; then :
2154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2156 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2160 $as_echo "$ac_res" >&6; }
2161 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2163 } # ac_fn_c_check_type
2164 cat >config.log
<<_ACEOF
2165 This file contains any messages produced by compilers while
2166 running configure, to aid debugging if configure makes a mistake.
2168 It was created by Wine $as_me 1.5.29, which was
2169 generated by GNU Autoconf 2.69. Invocation command line was
2181 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2182 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2183 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2184 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2185 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2187 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2188 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2190 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2191 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2192 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2193 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2194 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2195 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2196 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2204 test -z "$as_dir" && as_dir
=.
2205 $as_echo "PATH: $as_dir"
2221 # Keep a trace of the command line.
2222 # Strip out --no-create and --no-recursion so they do not pile up.
2223 # Strip out --silent because we don't want to record it for future runs.
2224 # Also quote any args containing shell meta-characters.
2225 # Make two passes to allow for proper duplicate-argument suppression.
2229 ac_must_keep_next
=false
2235 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2236 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2237 |
-silent |
--silent |
--silen |
--sile |
--sil)
2240 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2243 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2245 as_fn_append ac_configure_args1
" '$ac_arg'"
2246 if test $ac_must_keep_next = true
; then
2247 ac_must_keep_next
=false
# Got value, back to normal.
2250 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2251 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2252 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2253 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2254 case "$ac_configure_args0 " in
2255 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2258 -* ) ac_must_keep_next
=true
;;
2261 as_fn_append ac_configure_args
" '$ac_arg'"
2266 { ac_configure_args0
=; unset ac_configure_args0
;}
2267 { ac_configure_args1
=; unset ac_configure_args1
;}
2269 # When interrupted or exit'd, cleanup temporary files, and complete
2270 # config.log. We remove comments because anyway the quotes in there
2271 # would cause problems or look ugly.
2272 # WARNING: Use '\'' to represent an apostrophe within the trap.
2273 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2274 trap 'exit_status=$?
2275 # Save into config.log some information that might help in debugging.
2279 $as_echo "## ---------------- ##
2280 ## Cache variables. ##
2281 ## ---------------- ##"
2283 # The following way of writing the cache mishandles newlines in values,
2285 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2286 eval ac_val=\$$ac_var
2290 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2291 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2294 _ | IFS | as_nl) ;; #(
2295 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2296 *) { eval $ac_var=; unset $ac_var;} ;;
2301 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2302 *${as_nl}ac_space=\ *)
2304 "s/'\''/'\''\\\\'\'''\''/g;
2305 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2308 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2315 $as_echo "## ----------------- ##
2316 ## Output variables. ##
2317 ## ----------------- ##"
2319 for ac_var in $ac_subst_vars
2321 eval ac_val=\$$ac_var
2323 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2325 $as_echo "$ac_var='\''$ac_val'\''"
2329 if test -n "$ac_subst_files"; then
2330 $as_echo "## ------------------- ##
2331 ## File substitutions. ##
2332 ## ------------------- ##"
2334 for ac_var
in $ac_subst_files
2336 eval ac_val
=\$
$ac_var
2338 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2340 $as_echo "$ac_var='\''$ac_val'\''"
2345 if test -s confdefs.h; then
2346 $as_echo "## ----------- ##
2353 test "$ac_signal" != 0 &&
2354 $as_echo "$as_me: caught signal $ac_signal"
2355 $as_echo "$as_me: exit $exit_status"
2357 rm -f core *.core core.conftest.* &&
2358 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2361 for ac_signal
in 1 2 13 15; do
2362 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2366 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2367 rm -f -r conftest
* confdefs.h
2369 $as_echo "/* confdefs.h */" > confdefs.h
2371 # Predefined preprocessor variables.
2373 cat >>confdefs.h
<<_ACEOF
2374 #define PACKAGE_NAME "$PACKAGE_NAME"
2377 cat >>confdefs.h
<<_ACEOF
2378 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2381 cat >>confdefs.h
<<_ACEOF
2382 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2385 cat >>confdefs.h
<<_ACEOF
2386 #define PACKAGE_STRING "$PACKAGE_STRING"
2389 cat >>confdefs.h
<<_ACEOF
2390 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2393 cat >>confdefs.h
<<_ACEOF
2394 #define PACKAGE_URL "$PACKAGE_URL"
2398 # Let the site file select an alternate cache file if it wants to.
2399 # Prefer an explicitly selected file to automatically selected ones.
2402 if test -n "$CONFIG_SITE"; then
2403 # We do not want a PATH search for config.site.
2404 case $CONFIG_SITE in #((
2405 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2406 */*) ac_site_file1
=$CONFIG_SITE;;
2407 *) ac_site_file1
=.
/$CONFIG_SITE;;
2409 elif test "x$prefix" != xNONE
; then
2410 ac_site_file1
=$prefix/share
/config.site
2411 ac_site_file2
=$prefix/etc
/config.site
2413 ac_site_file1
=$ac_default_prefix/share
/config.site
2414 ac_site_file2
=$ac_default_prefix/etc
/config.site
2416 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2418 test "x$ac_site_file" = xNONE
&& continue
2419 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2421 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2422 sed 's/^/| /' "$ac_site_file" >&5
2424 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2426 as_fn_error $?
"failed to load site script $ac_site_file
2427 See \`config.log' for more details" "$LINENO" 5; }
2431 if test -r "$cache_file"; then
2432 # Some versions of bash will fail to source /dev/null (special files
2433 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2434 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2436 $as_echo "$as_me: loading cache $cache_file" >&6;}
2438 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2439 *) .
"./$cache_file";;
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2444 $as_echo "$as_me: creating cache $cache_file" >&6;}
2448 # Check that the precious variables saved in the cache have kept the same
2450 ac_cache_corrupted
=false
2451 for ac_var
in $ac_precious_vars; do
2452 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2453 eval ac_new_set
=\
$ac_env_${ac_var}_set
2454 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2455 eval ac_new_val
=\
$ac_env_${ac_var}_value
2456 case $ac_old_set,$ac_new_set in
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2459 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2460 ac_cache_corrupted
=: ;;
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2463 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2464 ac_cache_corrupted
=: ;;
2467 if test "x$ac_old_val" != "x$ac_new_val"; then
2468 # differences in whitespace do not lead to failure.
2469 ac_old_val_w
=`echo x $ac_old_val`
2470 ac_new_val_w
=`echo x $ac_new_val`
2471 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2473 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2474 ac_cache_corrupted
=:
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2477 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2478 eval $ac_var=\
$ac_old_val
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2481 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2483 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2486 # Pass precious variables to config.status.
2487 if test "$ac_new_set" = set; then
2489 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2490 *) ac_arg
=$ac_var=$ac_new_val ;;
2492 case " $ac_configure_args " in
2493 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2494 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2498 if $ac_cache_corrupted; then
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2502 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2503 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2505 ## -------------------- ##
2506 ## Main body of script. ##
2507 ## -------------------- ##
2510 ac_cpp
='$CPP $CPPFLAGS'
2511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2517 ac_config_headers
="$ac_config_headers include/config.h"
2520 for ac_dir
in tools
"$srcdir"/tools
; do
2521 if test -f "$ac_dir/install-sh"; then
2523 ac_install_sh
="$ac_aux_dir/install-sh -c"
2525 elif test -f "$ac_dir/install.sh"; then
2527 ac_install_sh
="$ac_aux_dir/install.sh -c"
2529 elif test -f "$ac_dir/shtool"; then
2531 ac_install_sh
="$ac_aux_dir/shtool install -c"
2535 if test -z "$ac_aux_dir"; then
2536 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2539 # These three variables are undocumented and unsupported,
2540 # and are intended to be withdrawn in a future Autoconf release.
2541 # They can cause serious problems if a builder's source tree is in a directory
2542 # whose full name contains unusual characters.
2543 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2544 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2545 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2551 # Check whether --enable-win16 was given.
2552 if test "${enable_win16+set}" = set; then :
2553 enableval
=$enable_win16;
2556 # Check whether --enable-win64 was given.
2557 if test "${enable_win64+set}" = set; then :
2558 enableval
=$enable_win64;
2561 # Check whether --enable-tests was given.
2562 if test "${enable_tests+set}" = set; then :
2563 enableval
=$enable_tests;
2566 # Check whether --enable-maintainer-mode was given.
2567 if test "${enable_maintainer_mode+set}" = set; then :
2568 enableval
=$enable_maintainer_mode;
2573 # Check whether --with-alsa was given.
2574 if test "${with_alsa+set}" = set; then :
2575 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2579 # Check whether --with-capi was given.
2580 if test "${with_capi+set}" = set; then :
2581 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2585 # Check whether --with-cms was given.
2586 if test "${with_cms+set}" = set; then :
2587 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
2591 # Check whether --with-coreaudio was given.
2592 if test "${with_coreaudio+set}" = set; then :
2593 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2597 # Check whether --with-cups was given.
2598 if test "${with_cups+set}" = set; then :
2603 # Check whether --with-curses was given.
2604 if test "${with_curses+set}" = set; then :
2605 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2609 # Check whether --with-dbus was given.
2610 if test "${with_dbus+set}" = set; then :
2615 # Check whether --with-fontconfig was given.
2616 if test "${with_fontconfig+set}" = set; then :
2617 withval
=$with_fontconfig;
2621 # Check whether --with-freetype was given.
2622 if test "${with_freetype+set}" = set; then :
2623 withval
=$with_freetype;
2627 # Check whether --with-gettext was given.
2628 if test "${with_gettext+set}" = set; then :
2629 withval
=$with_gettext;
2633 # Check whether --with-gettextpo was given.
2634 if test "${with_gettextpo+set}" = set; then :
2635 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
2639 # Check whether --with-gphoto was given.
2640 if test "${with_gphoto+set}" = set; then :
2641 withval
=$with_gphoto;
2645 # Check whether --with-glu was given.
2646 if test "${with_glu+set}" = set; then :
2651 # Check whether --with-gnutls was given.
2652 if test "${with_gnutls+set}" = set; then :
2653 withval
=$with_gnutls;
2657 # Check whether --with-gsm was given.
2658 if test "${with_gsm+set}" = set; then :
2659 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2663 # Check whether --with-gstreamer was given.
2664 if test "${with_gstreamer+set}" = set; then :
2665 withval
=$with_gstreamer;
2669 # Check whether --with-hal was given.
2670 if test "${with_hal+set}" = set; then :
2675 # Check whether --with-jpeg was given.
2676 if test "${with_jpeg+set}" = set; then :
2677 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2681 # Check whether --with-ldap was given.
2682 if test "${with_ldap+set}" = set; then :
2683 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2687 # Check whether --with-mpg123 was given.
2688 if test "${with_mpg123+set}" = set; then :
2689 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2693 # Check whether --with-openal was given.
2694 if test "${with_openal+set}" = set; then :
2695 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2699 # Check whether --with-opencl was given.
2700 if test "${with_opencl+set}" = set; then :
2701 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
2705 # Check whether --with-opengl was given.
2706 if test "${with_opengl+set}" = set; then :
2707 withval
=$with_opengl;
2711 # Check whether --with-osmesa was given.
2712 if test "${with_osmesa+set}" = set; then :
2713 withval
=$with_osmesa;
2717 # Check whether --with-oss was given.
2718 if test "${with_oss+set}" = set; then :
2723 # Check whether --with-png was given.
2724 if test "${with_png+set}" = set; then :
2725 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2729 # Check whether --with-pthread was given.
2730 if test "${with_pthread+set}" = set; then :
2731 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2735 # Check whether --with-sane was given.
2736 if test "${with_sane+set}" = set; then :
2741 # Check whether --with-tiff was given.
2742 if test "${with_tiff+set}" = set; then :
2743 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2747 # Check whether --with-v4l was given.
2748 if test "${with_v4l+set}" = set; then :
2753 # Check whether --with-xcomposite was given.
2754 if test "${with_xcomposite+set}" = set; then :
2755 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2759 # Check whether --with-xcursor was given.
2760 if test "${with_xcursor+set}" = set; then :
2761 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2765 # Check whether --with-xinerama was given.
2766 if test "${with_xinerama+set}" = set; then :
2767 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2771 # Check whether --with-xinput was given.
2772 if test "${with_xinput+set}" = set; then :
2773 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2777 # Check whether --with-xinput2 was given.
2778 if test "${with_xinput2+set}" = set; then :
2779 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
2783 # Check whether --with-xml was given.
2784 if test "${with_xml+set}" = set; then :
2789 # Check whether --with-xrandr was given.
2790 if test "${with_xrandr+set}" = set; then :
2791 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2795 # Check whether --with-xrender was given.
2796 if test "${with_xrender+set}" = set; then :
2797 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2801 # Check whether --with-xshape was given.
2802 if test "${with_xshape+set}" = set; then :
2803 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2807 # Check whether --with-xshm was given.
2808 if test "${with_xshm+set}" = set; then :
2809 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2813 # Check whether --with-xslt was given.
2814 if test "${with_xslt+set}" = set; then :
2819 # Check whether --with-xxf86vm was given.
2820 if test "${with_xxf86vm+set}" = set; then :
2821 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
2825 # Check whether --with-zlib was given.
2826 if test "${with_zlib+set}" = set; then :
2827 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
2832 # Check whether --with-wine-tools was given.
2833 if test "${with_wine_tools+set}" = set; then :
2834 withval
=$with_wine_tools;
2838 # Check whether --with-wine64 was given.
2839 if test "${with_wine64+set}" = set; then :
2840 withval
=$with_wine64;
2844 # Make sure we can run config.sub.
2845 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2846 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2849 $as_echo_n "checking build system type... " >&6; }
2850 if ${ac_cv_build+:} false
; then :
2851 $as_echo_n "(cached) " >&6
2853 ac_build_alias
=$build_alias
2854 test "x$ac_build_alias" = x
&&
2855 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2856 test "x$ac_build_alias" = x
&&
2857 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2858 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2859 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2863 $as_echo "$ac_cv_build" >&6; }
2864 case $ac_cv_build in
2866 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2869 ac_save_IFS
=$IFS; IFS
='-'
2875 # Remember, the first character of IFS is used to create $*,
2876 # except with old shells:
2879 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2883 $as_echo_n "checking host system type... " >&6; }
2884 if ${ac_cv_host+:} false
; then :
2885 $as_echo_n "(cached) " >&6
2887 if test "x$host_alias" = x
; then
2888 ac_cv_host
=$ac_cv_build
2890 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2891 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2896 $as_echo "$ac_cv_host" >&6; }
2899 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2902 ac_save_IFS
=$IFS; IFS
='-'
2908 # Remember, the first character of IFS is used to create $*,
2909 # except with old shells:
2912 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2918 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2919 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2920 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2926 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2928 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2929 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2930 $as_echo_n "(cached) " >&6
2932 cat >conftest.
make <<\_ACEOF
2935 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2937 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2938 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2940 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2942 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2946 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2948 $as_echo "yes" >&6; }
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2952 $as_echo "no" >&6; }
2953 SET_MAKE
="MAKE=${MAKE-make}"
2957 ac_cpp
='$CPP $CPPFLAGS'
2958 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2959 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2960 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2961 if test -n "$ac_tool_prefix"; then
2962 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2963 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2965 $as_echo_n "checking for $ac_word... " >&6; }
2966 if ${ac_cv_prog_CC+:} false
; then :
2967 $as_echo_n "(cached) " >&6
2969 if test -n "$CC"; then
2970 ac_cv_prog_CC
="$CC" # Let the user override the test.
2972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2976 test -z "$as_dir" && as_dir
=.
2977 for ac_exec_ext
in '' $ac_executable_extensions; do
2978 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2979 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2990 if test -n "$CC"; then
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2992 $as_echo "$CC" >&6; }
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2995 $as_echo "no" >&6; }
3000 if test -z "$ac_cv_prog_CC"; then
3002 # Extract the first word of "gcc", so it can be a program name with args.
3003 set dummy gcc
; ac_word
=$2
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3005 $as_echo_n "checking for $ac_word... " >&6; }
3006 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3007 $as_echo_n "(cached) " >&6
3009 if test -n "$ac_ct_CC"; then
3010 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3016 test -z "$as_dir" && as_dir
=.
3017 for ac_exec_ext
in '' $ac_executable_extensions; do
3018 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3019 ac_cv_prog_ac_ct_CC
="gcc"
3020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3029 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3030 if test -n "$ac_ct_CC"; then
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3032 $as_echo "$ac_ct_CC" >&6; }
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3035 $as_echo "no" >&6; }
3038 if test "x$ac_ct_CC" = x
; then
3041 case $cross_compiling:$ac_tool_warned in
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3045 ac_tool_warned
=yes ;;
3053 if test -z "$CC"; then
3054 if test -n "$ac_tool_prefix"; then
3055 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3056 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058 $as_echo_n "checking for $ac_word... " >&6; }
3059 if ${ac_cv_prog_CC+:} false
; then :
3060 $as_echo_n "(cached) " >&6
3062 if test -n "$CC"; then
3063 ac_cv_prog_CC
="$CC" # Let the user override the test.
3065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3069 test -z "$as_dir" && as_dir
=.
3070 for ac_exec_ext
in '' $ac_executable_extensions; do
3071 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3072 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083 if test -n "$CC"; then
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3085 $as_echo "$CC" >&6; }
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3088 $as_echo "no" >&6; }
3094 if test -z "$CC"; then
3095 # Extract the first word of "cc", so it can be a program name with args.
3096 set dummy cc
; ac_word
=$2
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098 $as_echo_n "checking for $ac_word... " >&6; }
3099 if ${ac_cv_prog_CC+:} false
; then :
3100 $as_echo_n "(cached) " >&6
3102 if test -n "$CC"; then
3103 ac_cv_prog_CC
="$CC" # Let the user override the test.
3106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3110 test -z "$as_dir" && as_dir
=.
3111 for ac_exec_ext
in '' $ac_executable_extensions; do
3112 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3113 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3114 ac_prog_rejected
=yes
3118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3125 if test $ac_prog_rejected = yes; then
3126 # We found a bogon in the path, so make sure we never use it.
3127 set dummy
$ac_cv_prog_CC
3129 if test $# != 0; then
3130 # We chose a different compiler from the bogus one.
3131 # However, it has the same basename, so the bogon will be chosen
3132 # first if we set CC to just the basename; use the full file name.
3134 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3140 if test -n "$CC"; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3142 $as_echo "$CC" >&6; }
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145 $as_echo "no" >&6; }
3150 if test -z "$CC"; then
3151 if test -n "$ac_tool_prefix"; then
3152 for ac_prog
in cl.exe
3154 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3155 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157 $as_echo_n "checking for $ac_word... " >&6; }
3158 if ${ac_cv_prog_CC+:} false
; then :
3159 $as_echo_n "(cached) " >&6
3161 if test -n "$CC"; then
3162 ac_cv_prog_CC
="$CC" # Let the user override the test.
3164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3168 test -z "$as_dir" && as_dir
=.
3169 for ac_exec_ext
in '' $ac_executable_extensions; do
3170 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3171 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3182 if test -n "$CC"; then
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3184 $as_echo "$CC" >&6; }
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3191 test -n "$CC" && break
3194 if test -z "$CC"; then
3196 for ac_prog
in cl.exe
3198 # Extract the first word of "$ac_prog", so it can be a program name with args.
3199 set dummy
$ac_prog; ac_word
=$2
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3201 $as_echo_n "checking for $ac_word... " >&6; }
3202 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3203 $as_echo_n "(cached) " >&6
3205 if test -n "$ac_ct_CC"; then
3206 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3212 test -z "$as_dir" && as_dir
=.
3213 for ac_exec_ext
in '' $ac_executable_extensions; do
3214 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3215 ac_cv_prog_ac_ct_CC
="$ac_prog"
3216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3225 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3226 if test -n "$ac_ct_CC"; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3228 $as_echo "$ac_ct_CC" >&6; }
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3231 $as_echo "no" >&6; }
3235 test -n "$ac_ct_CC" && break
3238 if test "x$ac_ct_CC" = x
; then
3241 case $cross_compiling:$ac_tool_warned in
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3245 ac_tool_warned
=yes ;;
3254 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3256 as_fn_error $?
"no acceptable C compiler found in \$PATH
3257 See \`config.log' for more details" "$LINENO" 5; }
3259 # Provide some information about the compiler.
3260 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3263 for ac_option
in --version -v -V -qversion; do
3264 { { ac_try
="$ac_compiler $ac_option >&5"
3266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3267 *) ac_try_echo=$ac_try;;
3269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3270 $as_echo "$ac_try_echo"; } >&5
3271 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3273 if test -s conftest.err; then
3275 ... rest of stderr output deleted ...
3276 10q' conftest.err >conftest.er1
3277 cat conftest.er1 >&5
3279 rm -f conftest.er1 conftest.err
3280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3281 test $ac_status = 0; }
3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3295 ac_clean_files_save=$ac_clean_files
3296 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3297 # Try to create an executable without -o first, disregard a.out.
3298 # It will help us diagnose broken compilers, and finding out an intuition
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3301 $as_echo_n "checking whether the C compiler works... " >&6; }
3302 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3304 # The possible output files:
3305 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3308 for ac_file in $ac_files
3311 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3312 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3317 if { { ac_try="$ac_link_default"
3319 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3320 *) ac_try_echo
=$ac_try;;
3322 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3323 $as_echo "$ac_try_echo"; } >&5
3324 (eval "$ac_link_default") 2>&5
3326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3327 test $ac_status = 0; }; then :
3328 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3329 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3330 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3331 # so that the user can short-circuit this test for compilers unknown to
3333 for ac_file
in $ac_files ''
3335 test -f "$ac_file" ||
continue
3337 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3340 # We found the default executable, but exeext='' is most
3344 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3346 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3348 # We set ac_cv_exeext here because the later test for it is not
3349 # safe: cross compilers may not add the suffix if given an `-o'
3350 # argument, so we may need to know it at that point already.
3351 # Even if this section looks crufty: it has the advantage of
3358 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3363 if test -z "$ac_file"; then :
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3365 $as_echo "no" >&6; }
3366 $as_echo "$as_me: failed program was:" >&5
3367 sed 's/^/| /' conftest.
$ac_ext >&5
3369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3371 as_fn_error
77 "C compiler cannot create executables
3372 See \`config.log' for more details" "$LINENO" 5; }
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3375 $as_echo "yes" >&6; }
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3378 $as_echo_n "checking for C compiler default output file name... " >&6; }
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3380 $as_echo "$ac_file" >&6; }
3381 ac_exeext
=$ac_cv_exeext
3383 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3384 ac_clean_files
=$ac_clean_files_save
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3386 $as_echo_n "checking for suffix of executables... " >&6; }
3387 if { { ac_try
="$ac_link"
3389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3390 *) ac_try_echo=$ac_try;;
3392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3393 $as_echo "$ac_try_echo"; } >&5
3394 (eval "$ac_link") 2>&5
3396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3397 test $ac_status = 0; }; then :
3398 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3399 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3400 # work properly (i.e., refer to `conftest.exe'), while it won't with
3402 for ac_file
in conftest.exe conftest conftest.
*; do
3403 test -f "$ac_file" ||
continue
3405 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3406 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3414 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3415 See \`config.log' for more details" "$LINENO" 5; }
3417 rm -f conftest conftest
$ac_cv_exeext
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3419 $as_echo "$ac_cv_exeext" >&6; }
3421 rm -f conftest.
$ac_ext
3422 EXEEXT
=$ac_cv_exeext
3424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h. */
3430 FILE *f = fopen ("conftest.out", "w");
3431 return ferror (f) || fclose (f) != 0;
3437 ac_clean_files
="$ac_clean_files conftest.out"
3438 # Check that the compiler produces executables we can run. If not, either
3439 # the compiler is broken, or we cross compile.
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3441 $as_echo_n "checking whether we are cross compiling... " >&6; }
3442 if test "$cross_compiling" != yes; then
3443 { { ac_try
="$ac_link"
3445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3446 *) ac_try_echo=$ac_try;;
3448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3449 $as_echo "$ac_try_echo"; } >&5
3450 (eval "$ac_link") 2>&5
3452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3453 test $ac_status = 0; }
3454 if { ac_try='./conftest$ac_cv_exeext'
3455 { { case "(($ac_try" in
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_try") 2>&5
3463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3464 test $ac_status = 0; }; }; then
3467 if test "$cross_compiling" = maybe
; then
3470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3472 as_fn_error $?
"cannot run C compiled programs.
3473 If you meant to cross compile, use \`--host'.
3474 See \`config.log' for more details" "$LINENO" 5; }
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3479 $as_echo "$cross_compiling" >&6; }
3481 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3482 ac_clean_files
=$ac_clean_files_save
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3484 $as_echo_n "checking for suffix of object files... " >&6; }
3485 if ${ac_cv_objext+:} false
; then :
3486 $as_echo_n "(cached) " >&6
3488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3489 /* end confdefs.h. */
3499 rm -f conftest.o conftest.obj
3500 if { { ac_try
="$ac_compile"
3502 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3503 *) ac_try_echo=$ac_try;;
3505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3506 $as_echo "$ac_try_echo"; } >&5
3507 (eval "$ac_compile") 2>&5
3509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3510 test $ac_status = 0; }; then :
3511 for ac_file in conftest.o conftest.obj conftest.*; do
3512 test -f "$ac_file" || continue;
3514 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3515 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3520 $as_echo "$as_me: failed program was:" >&5
3521 sed 's/^/| /' conftest.$ac_ext >&5
3523 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3525 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3526 See \
`config.log' for more details" "$LINENO" 5; }
3528 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3531 $as_echo "$ac_cv_objext" >&6; }
3532 OBJEXT=$ac_cv_objext
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3535 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3536 if ${ac_cv_c_compiler_gnu+:} false; then :
3537 $as_echo_n "(cached) " >&6
3539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3540 /* end confdefs.h. */
3553 if ac_fn_c_try_compile "$LINENO"; then :
3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3563 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3564 if test $ac_compiler_gnu = yes; then
3569 ac_test_CFLAGS=${CFLAGS+set}
3570 ac_save_CFLAGS=$CFLAGS
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3572 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3573 if ${ac_cv_prog_cc_g+:} false; then :
3574 $as_echo_n "(cached) " >&6
3576 ac_save_c_werror_flag=$ac_c_werror_flag
3577 ac_c_werror_flag=yes
3580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3581 /* end confdefs.h. */
3591 if ac_fn_c_try_compile "$LINENO"; then :
3595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3596 /* end confdefs.h. */
3606 if ac_fn_c_try_compile "$LINENO"; then :
3609 ac_c_werror_flag=$ac_save_c_werror_flag
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612 /* end confdefs.h. */
3622 if ac_fn_c_try_compile "$LINENO"; then :
3625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3630 ac_c_werror_flag=$ac_save_c_werror_flag
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3633 $as_echo "$ac_cv_prog_cc_g" >&6; }
3634 if test "$ac_test_CFLAGS" = set; then
3635 CFLAGS=$ac_save_CFLAGS
3636 elif test $ac_cv_prog_cc_g = yes; then
3637 if test "$GCC" = yes; then
3643 if test "$GCC" = yes; then
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3650 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3651 if ${ac_cv_prog_cc_c89+:} false; then :
3652 $as_echo_n "(cached) " >&6
3654 ac_cv_prog_cc_c89=no
3656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3657 /* end confdefs.h. */
3661 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3662 struct buf { int x; };
3663 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3664 static char *e (p, i)
3670 static char *f (char * (*g) (char **, int), char **p, ...)
3675 s = g (p, va_arg (v,int));
3680 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3681 function prototypes and stuff, but not '\xHH' hex character constants.
3682 These don't provoke an error unfortunately, instead are silently treated
3683 as 'x'. The following induces an error, until -std is added to get
3684 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3685 array size at least. It's necessary to write '\x00'==0 to get something
3686 that's true only with -std. */
3687 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3689 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3690 inside strings and character constants. */
3692 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3694 int test (int i, double x);
3695 struct s1 {int (*f) (int a);};
3696 struct s2 {int (*f) (double a);};
3697 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3703 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3708 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3709 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3711 CC="$ac_save_CC $ac_arg"
3712 if ac_fn_c_try_compile "$LINENO"; then :
3713 ac_cv_prog_cc_c89=$ac_arg
3715 rm -f core conftest.err conftest.$ac_objext
3716 test "x$ac_cv_prog_cc_c89" != "xno" && break
3718 rm -f conftest.$ac_ext
3723 case "x$ac_cv_prog_cc_c89" in
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3726 $as_echo "none needed" >&6; } ;;
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3729 $as_echo "unsupported" >&6; } ;;
3731 CC="$CC $ac_cv_prog_cc_c89"
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3733 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3735 if test "x$ac_cv_prog_cc_c89" != xno; then :
3740 ac_cpp='$CPP $CPPFLAGS'
3741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3746 ac_cpp='$CXXCPP $CPPFLAGS'
3747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3750 if test -z "$CXX"; then
3751 if test -n "$CCC"; then
3754 if test -n "$ac_tool_prefix"; then
3755 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3757 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3758 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3760 $as_echo_n "checking for $ac_word... " >&6; }
3761 if ${ac_cv_prog_CXX+:} false; then :
3762 $as_echo_n "(cached) " >&6
3764 if test -n "$CXX"; then
3765 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3771 test -z "$as_dir" && as_dir=.
3772 for ac_exec_ext in '' $ac_executable_extensions; do
3773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3774 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3785 if test -n "$CXX"; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3787 $as_echo "$CXX" >&6; }
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790 $as_echo "no" >&6; }
3794 test -n "$CXX" && break
3797 if test -z "$CXX"; then
3799 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3801 # Extract the first word of "$ac_prog", so it can be a program name with args.
3802 set dummy $ac_prog; ac_word=$2
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3804 $as_echo_n "checking for $ac_word... " >&6; }
3805 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3806 $as_echo_n "(cached) " >&6
3808 if test -n "$ac_ct_CXX"; then
3809 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3815 test -z "$as_dir" && as_dir=.
3816 for ac_exec_ext in '' $ac_executable_extensions; do
3817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3818 ac_cv_prog_ac_ct_CXX="$ac_prog"
3819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3828 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3829 if test -n "$ac_ct_CXX"; then
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3831 $as_echo "$ac_ct_CXX" >&6; }
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3834 $as_echo "no" >&6; }
3838 test -n "$ac_ct_CXX" && break
3841 if test "x$ac_ct_CXX" = x; then
3844 case $cross_compiling:$ac_tool_warned in
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3848 ac_tool_warned=yes ;;
3856 # Provide some information about the compiler.
3857 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3860 for ac_option in --version -v -V -qversion; do
3861 { { ac_try="$ac_compiler $ac_option >&5"
3863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3864 *) ac_try_echo
=$ac_try;;
3866 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3867 $as_echo "$ac_try_echo"; } >&5
3868 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3870 if test -s conftest.err
; then
3872 ... rest of stderr output deleted ...
3873 10q' conftest.err
>conftest.er1
3874 cat conftest.er1
>&5
3876 rm -f conftest.er1 conftest.err
3877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3878 test $ac_status = 0; }
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3882 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3883 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3884 $as_echo_n "(cached) " >&6
3886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3900 if ac_fn_cxx_try_compile
"$LINENO"; then :
3905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3906 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3910 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3911 if test $ac_compiler_gnu = yes; then
3916 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3917 ac_save_CXXFLAGS
=$CXXFLAGS
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3919 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3920 if ${ac_cv_prog_cxx_g+:} false
; then :
3921 $as_echo_n "(cached) " >&6
3923 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3924 ac_cxx_werror_flag
=yes
3927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3928 /* end confdefs.h. */
3938 if ac_fn_cxx_try_compile
"$LINENO"; then :
3939 ac_cv_prog_cxx_g
=yes
3942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3943 /* end confdefs.h. */
3953 if ac_fn_cxx_try_compile
"$LINENO"; then :
3956 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3959 /* end confdefs.h. */
3969 if ac_fn_cxx_try_compile
"$LINENO"; then :
3970 ac_cv_prog_cxx_g
=yes
3972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3977 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3980 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3981 if test "$ac_test_CXXFLAGS" = set; then
3982 CXXFLAGS
=$ac_save_CXXFLAGS
3983 elif test $ac_cv_prog_cxx_g = yes; then
3984 if test "$GXX" = yes; then
3990 if test "$GXX" = yes; then
3997 ac_cpp
='$CPP $CPPFLAGS'
3998 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3999 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4000 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4002 if test -n "$ac_tool_prefix"; then
4003 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4004 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4006 $as_echo_n "checking for $ac_word... " >&6; }
4007 if ${ac_cv_prog_CPPBIN+:} false
; then :
4008 $as_echo_n "(cached) " >&6
4010 if test -n "$CPPBIN"; then
4011 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4017 test -z "$as_dir" && as_dir
=.
4018 for ac_exec_ext
in '' $ac_executable_extensions; do
4019 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4020 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4030 CPPBIN
=$ac_cv_prog_CPPBIN
4031 if test -n "$CPPBIN"; then
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4033 $as_echo "$CPPBIN" >&6; }
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4036 $as_echo "no" >&6; }
4041 if test -z "$ac_cv_prog_CPPBIN"; then
4042 ac_ct_CPPBIN
=$CPPBIN
4043 # Extract the first word of "cpp", so it can be a program name with args.
4044 set dummy cpp
; ac_word
=$2
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4046 $as_echo_n "checking for $ac_word... " >&6; }
4047 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4048 $as_echo_n "(cached) " >&6
4050 if test -n "$ac_ct_CPPBIN"; then
4051 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4057 test -z "$as_dir" && as_dir
=.
4058 for ac_exec_ext
in '' $ac_executable_extensions; do
4059 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4060 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4070 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4071 if test -n "$ac_ct_CPPBIN"; then
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4073 $as_echo "$ac_ct_CPPBIN" >&6; }
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4076 $as_echo "no" >&6; }
4079 if test "x$ac_ct_CPPBIN" = x
; then
4082 case $cross_compiling:$ac_tool_warned in
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4086 ac_tool_warned
=yes ;;
4088 CPPBIN
=$ac_ct_CPPBIN
4091 CPPBIN
="$ac_cv_prog_CPPBIN"
4095 cat >>confdefs.h
<<_ACEOF
4096 #define EXEEXT "$ac_exeext"
4102 if test "x$enable_win64" = "xyes"
4107 notice_platform
="64-bit "
4114 notice_platform
="32-bit "
4117 enable_win16
=${enable_win16:-yes}
4119 with_fontconfig
=${with_fontconfig:-no}
4122 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4127 $as_echo_n "checking whether $CC works... " >&6; }
4129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4140 if ac_fn_c_try_link
"$LINENO"; then :
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4142 $as_echo "yes" >&6; }
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4145 $as_echo "no" >&6; }
4146 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4148 rm -f core conftest.err conftest.
$ac_objext \
4149 conftest
$ac_exeext conftest.
$ac_ext
4151 notice_platform
="32-bit "
4154 enable_win16
=${enable_win16:-yes}
4156 if test "x${GCC}" = "xyes"
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4159 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4166 void func(__builtin_ms_va_list *args);
4171 if ac_fn_c_try_compile
"$LINENO"; then :
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4173 $as_echo "yes" >&6; }
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4176 $as_echo "no" >&6; }
4177 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4187 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h. */
4190 int ac_test(int i) { return i; }
4194 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4199 if ac_fn_c_try_link
"$LINENO"; then :
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4201 $as_echo "yes" >&6; }
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4204 $as_echo "no" >&6; }
4205 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4207 rm -f core conftest.err conftest.
$ac_objext \
4208 conftest
$ac_exeext conftest.
$ac_ext
4209 CFLAGS
="$CFLAGS -marm"
4211 *-mingw32*|
*-cygwin*)
4212 enable_win16
=${enable_win16:-no}
4213 CFLAGS
="$CFLAGS -D_WIN32"
4216 enable_win16
=${enable_win16:-yes}
4220 enable_win16
=${enable_win16:-no}
4221 enable_win64
=${enable_win64:-no}
4223 enable_winetest
=${enable_winetest:-$enable_tests}
4225 if test -n "$with_wine64"
4227 if test "x$enable_win64" = "xyes"
4229 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4230 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4234 enable_fonts
=${enable_fonts:-no}
4235 enable_server
=${enable_server:-no}
4236 enable_tools
=${enable_tools:-no}
4237 elif test "x$enable_win64" = "xyes"
4239 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4243 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4244 if ${wine_cv_toolsdir+:} false
; then :
4245 $as_echo_n "(cached) " >&6
4247 wine_cv_toolsdir
="$with_wine_tools"
4248 if test -z "$with_wine_tools"; then
4249 if test "$cross_compiling" = "yes"; then
4250 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4251 elif test -n "$with_wine64"; then
4252 wine_cv_toolsdir
="$with_wine64"
4255 if test -z "$wine_cv_toolsdir"; then
4256 wine_cv_toolsdir
="\$(top_builddir)"
4257 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4258 case "$wine_cv_toolsdir" in
4260 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4263 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4267 $as_echo "$wine_cv_toolsdir" >&6; }
4268 TOOLSDIR
=$wine_cv_toolsdir
4270 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4272 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4278 # Extract the first word of "$ac_prog", so it can be a program name with args.
4279 set dummy
$ac_prog; ac_word
=$2
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4281 $as_echo_n "checking for $ac_word... " >&6; }
4282 if ${ac_cv_prog_FLEX+:} false
; then :
4283 $as_echo_n "(cached) " >&6
4285 if test -n "$FLEX"; then
4286 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4292 test -z "$as_dir" && as_dir
=.
4293 for ac_exec_ext
in '' $ac_executable_extensions; do
4294 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4295 ac_cv_prog_FLEX
="$ac_prog"
4296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4305 FLEX
=$ac_cv_prog_FLEX
4306 if test -n "$FLEX"; then
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4308 $as_echo "$FLEX" >&6; }
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4311 $as_echo "no" >&6; }
4315 test -n "$FLEX" && break
4317 test -n "$FLEX" || FLEX
="none"
4319 if test "$FLEX" = "none"
4321 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4324 $as_echo_n "checking whether flex is recent enough... " >&6; }
4325 cat >conftest.l
<<EOF
4327 #include "prediluvian.h"
4331 if $FLEX -t conftest.l
>/dev
/null
2>&5
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4334 $as_echo "yes" >&6; }
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4337 $as_echo "no" >&6; }
4338 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4341 for ac_prog
in bison
4343 # Extract the first word of "$ac_prog", so it can be a program name with args.
4344 set dummy
$ac_prog; ac_word
=$2
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4346 $as_echo_n "checking for $ac_word... " >&6; }
4347 if ${ac_cv_prog_BISON+:} false
; then :
4348 $as_echo_n "(cached) " >&6
4350 if test -n "$BISON"; then
4351 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4357 test -z "$as_dir" && as_dir
=.
4358 for ac_exec_ext
in '' $ac_executable_extensions; do
4359 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4360 ac_cv_prog_BISON
="$ac_prog"
4361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4370 BISON
=$ac_cv_prog_BISON
4371 if test -n "$BISON"; then
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4373 $as_echo "$BISON" >&6; }
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4376 $as_echo "no" >&6; }
4380 test -n "$BISON" && break
4382 test -n "$BISON" || BISON
="none"
4384 if test "$BISON" = "none"
4386 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4389 if test -n "$ac_tool_prefix"; then
4390 for ac_prog
in ar gar
4392 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4393 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4395 $as_echo_n "checking for $ac_word... " >&6; }
4396 if ${ac_cv_prog_AR+:} false
; then :
4397 $as_echo_n "(cached) " >&6
4399 if test -n "$AR"; then
4400 ac_cv_prog_AR
="$AR" # Let the user override the test.
4402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4406 test -z "$as_dir" && as_dir
=.
4407 for ac_exec_ext
in '' $ac_executable_extensions; do
4408 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4409 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 if test -n "$AR"; then
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4422 $as_echo "$AR" >&6; }
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4429 test -n "$AR" && break
4432 if test -z "$AR"; then
4434 for ac_prog
in ar gar
4436 # Extract the first word of "$ac_prog", so it can be a program name with args.
4437 set dummy
$ac_prog; ac_word
=$2
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4439 $as_echo_n "checking for $ac_word... " >&6; }
4440 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4441 $as_echo_n "(cached) " >&6
4443 if test -n "$ac_ct_AR"; then
4444 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4450 test -z "$as_dir" && as_dir
=.
4451 for ac_exec_ext
in '' $ac_executable_extensions; do
4452 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4453 ac_cv_prog_ac_ct_AR
="$ac_prog"
4454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4463 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4464 if test -n "$ac_ct_AR"; then
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4466 $as_echo "$ac_ct_AR" >&6; }
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4469 $as_echo "no" >&6; }
4473 test -n "$ac_ct_AR" && break
4476 if test "x$ac_ct_AR" = x
; then
4479 case $cross_compiling:$ac_tool_warned in
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4483 ac_tool_warned
=yes ;;
4491 if test -n "$ac_tool_prefix"; then
4492 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4493 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4495 $as_echo_n "checking for $ac_word... " >&6; }
4496 if ${ac_cv_prog_RANLIB+:} false
; then :
4497 $as_echo_n "(cached) " >&6
4499 if test -n "$RANLIB"; then
4500 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4506 test -z "$as_dir" && as_dir
=.
4507 for ac_exec_ext
in '' $ac_executable_extensions; do
4508 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4509 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4519 RANLIB
=$ac_cv_prog_RANLIB
4520 if test -n "$RANLIB"; then
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4522 $as_echo "$RANLIB" >&6; }
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4525 $as_echo "no" >&6; }
4530 if test -z "$ac_cv_prog_RANLIB"; then
4531 ac_ct_RANLIB
=$RANLIB
4532 # Extract the first word of "ranlib", so it can be a program name with args.
4533 set dummy ranlib
; ac_word
=$2
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4535 $as_echo_n "checking for $ac_word... " >&6; }
4536 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4537 $as_echo_n "(cached) " >&6
4539 if test -n "$ac_ct_RANLIB"; then
4540 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4546 test -z "$as_dir" && as_dir
=.
4547 for ac_exec_ext
in '' $ac_executable_extensions; do
4548 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4549 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4559 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4560 if test -n "$ac_ct_RANLIB"; then
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4562 $as_echo "$ac_ct_RANLIB" >&6; }
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4565 $as_echo "no" >&6; }
4568 if test "x$ac_ct_RANLIB" = x
; then
4571 case $cross_compiling:$ac_tool_warned in
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4574 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4575 ac_tool_warned
=yes ;;
4577 RANLIB
=$ac_ct_RANLIB
4580 RANLIB
="$ac_cv_prog_RANLIB"
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4584 $as_echo_n "checking whether ln -s works... " >&6; }
4586 if test "$LN_S" = "ln -s"; then
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4588 $as_echo "yes" >&6; }
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4591 $as_echo "no, using $LN_S" >&6; }
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4595 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4596 if ${ac_cv_path_GREP+:} false
; then :
4597 $as_echo_n "(cached) " >&6
4599 if test -z "$GREP"; then
4600 ac_path_GREP_found
=false
4601 # Loop through the user's path and test for each of PROGNAME-LIST
4602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4603 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4606 test -z "$as_dir" && as_dir
=.
4607 for ac_prog
in grep ggrep
; do
4608 for ac_exec_ext
in '' $ac_executable_extensions; do
4609 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4610 as_fn_executable_p
"$ac_path_GREP" ||
continue
4611 # Check for GNU ac_path_GREP and select it if it is found.
4612 # Check for GNU $ac_path_GREP
4613 case `"$ac_path_GREP" --version 2>&1` in
4615 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4618 $as_echo_n 0123456789 >"conftest.in"
4621 cat "conftest.in" "conftest.in" >"conftest.tmp"
4622 mv "conftest.tmp" "conftest.in"
4623 cp "conftest.in" "conftest.nl"
4624 $as_echo 'GREP' >> "conftest.nl"
4625 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4626 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4627 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4628 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4629 # Best one so far, save it but keep looking for a better one
4630 ac_cv_path_GREP
="$ac_path_GREP"
4631 ac_path_GREP_max
=$ac_count
4633 # 10*(2^10) chars as input seems more than enough
4634 test $ac_count -gt 10 && break
4636 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4639 $ac_path_GREP_found && break 3
4644 if test -z "$ac_cv_path_GREP"; then
4645 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4648 ac_cv_path_GREP
=$GREP
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4653 $as_echo "$ac_cv_path_GREP" >&6; }
4654 GREP
="$ac_cv_path_GREP"
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4658 $as_echo_n "checking for egrep... " >&6; }
4659 if ${ac_cv_path_EGREP+:} false
; then :
4660 $as_echo_n "(cached) " >&6
4662 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4663 then ac_cv_path_EGREP
="$GREP -E"
4665 if test -z "$EGREP"; then
4666 ac_path_EGREP_found
=false
4667 # Loop through the user's path and test for each of PROGNAME-LIST
4668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4669 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4672 test -z "$as_dir" && as_dir
=.
4673 for ac_prog
in egrep; do
4674 for ac_exec_ext
in '' $ac_executable_extensions; do
4675 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4676 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4677 # Check for GNU ac_path_EGREP and select it if it is found.
4678 # Check for GNU $ac_path_EGREP
4679 case `"$ac_path_EGREP" --version 2>&1` in
4681 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4684 $as_echo_n 0123456789 >"conftest.in"
4687 cat "conftest.in" "conftest.in" >"conftest.tmp"
4688 mv "conftest.tmp" "conftest.in"
4689 cp "conftest.in" "conftest.nl"
4690 $as_echo 'EGREP' >> "conftest.nl"
4691 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4692 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4693 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4694 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4695 # Best one so far, save it but keep looking for a better one
4696 ac_cv_path_EGREP
="$ac_path_EGREP"
4697 ac_path_EGREP_max
=$ac_count
4699 # 10*(2^10) chars as input seems more than enough
4700 test $ac_count -gt 10 && break
4702 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4705 $ac_path_EGREP_found && break 3
4710 if test -z "$ac_cv_path_EGREP"; then
4711 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4714 ac_cv_path_EGREP
=$EGREP
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4720 $as_echo "$ac_cv_path_EGREP" >&6; }
4721 EGREP
="$ac_cv_path_EGREP"
4724 # Extract the first word of "ldconfig", so it can be a program name with args.
4725 set dummy ldconfig
; ac_word
=$2
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4727 $as_echo_n "checking for $ac_word... " >&6; }
4728 if ${ac_cv_path_LDCONFIG+:} false
; then :
4729 $as_echo_n "(cached) " >&6
4733 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4737 for as_dir
in /sbin
/usr
/sbin
$PATH
4740 test -z "$as_dir" && as_dir
=.
4741 for ac_exec_ext
in '' $ac_executable_extensions; do
4742 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4743 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4751 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4755 LDCONFIG
=$ac_cv_path_LDCONFIG
4756 if test -n "$LDCONFIG"; then
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4758 $as_echo "$LDCONFIG" >&6; }
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4761 $as_echo "no" >&6; }
4765 # Find a good install program. We prefer a C program (faster),
4766 # so one script is as good as another. But avoid the broken or
4767 # incompatible versions:
4768 # SysV /etc/install, /usr/sbin/install
4769 # SunOS /usr/etc/install
4770 # IRIX /sbin/install
4772 # AmigaOS /C/install, which installs bootblocks on floppy discs
4773 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4774 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4775 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4776 # OS/2's system install, which has a completely different semantic
4777 # ./install, which can be erroneously created by make from ./install.sh.
4778 # Reject install programs that cannot install multiple files.
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4780 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4781 if test -z "$INSTALL"; then
4782 if ${ac_cv_path_install+:} false
; then :
4783 $as_echo_n "(cached) " >&6
4785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4789 test -z "$as_dir" && as_dir
=.
4790 # Account for people who put trailing slashes in PATH elements.
4791 case $as_dir/ in #((
4792 .
/ | .
// |
/[cC
]/* | \
4793 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4794 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4797 # OSF1 and SCO ODT 3.0 have their own names for install.
4798 # Don't use installbsd from OSF since it installs stuff as root
4800 for ac_prog
in ginstall scoinst
install; do
4801 for ac_exec_ext
in '' $ac_executable_extensions; do
4802 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4803 if test $ac_prog = install &&
4804 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4805 # AIX install. It has an incompatible calling convention.
4807 elif test $ac_prog = install &&
4808 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4809 # program-specific install script used by HP pwplus--don't use.
4812 rm -rf conftest.one conftest.two conftest.dir
4813 echo one
> conftest.one
4814 echo two
> conftest.two
4816 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4817 test -s conftest.one
&& test -s conftest.two
&&
4818 test -s conftest.dir
/conftest.one
&&
4819 test -s conftest.dir
/conftest.two
4821 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4834 rm -rf conftest.one conftest.two conftest.dir
4837 if test "${ac_cv_path_install+set}" = set; then
4838 INSTALL
=$ac_cv_path_install
4840 # As a last resort, use the slow shell script. Don't cache a
4841 # value for INSTALL within a source directory, because that will
4842 # break other packages using the cache if that directory is
4843 # removed, or if the value is a relative name.
4844 INSTALL
=$ac_install_sh
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4848 $as_echo "$INSTALL" >&6; }
4850 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4851 # It thinks the first close brace ends the variable substitution.
4852 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4854 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4856 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4859 [\\/$
]* | ?
:[\\/]* ) ;;
4860 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4863 for ac_prog
in lclint lint
4865 # Extract the first word of "$ac_prog", so it can be a program name with args.
4866 set dummy
$ac_prog; ac_word
=$2
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 $as_echo_n "checking for $ac_word... " >&6; }
4869 if ${ac_cv_prog_LINT+:} false
; then :
4870 $as_echo_n "(cached) " >&6
4872 if test -n "$LINT"; then
4873 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4879 test -z "$as_dir" && as_dir
=.
4880 for ac_exec_ext
in '' $ac_executable_extensions; do
4881 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4882 ac_cv_prog_LINT
="$ac_prog"
4883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4892 LINT
=$ac_cv_prog_LINT
4893 if test -n "$LINT"; then
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4895 $as_echo "$LINT" >&6; }
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898 $as_echo "no" >&6; }
4902 test -n "$LINT" && break
4905 if test "$LINT" = "lint"
4907 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4911 for ac_prog
in fontforge
4913 # Extract the first word of "$ac_prog", so it can be a program name with args.
4914 set dummy
$ac_prog; ac_word
=$2
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4916 $as_echo_n "checking for $ac_word... " >&6; }
4917 if ${ac_cv_prog_FONTFORGE+:} false
; then :
4918 $as_echo_n "(cached) " >&6
4920 if test -n "$FONTFORGE"; then
4921 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4927 test -z "$as_dir" && as_dir
=.
4928 for ac_exec_ext
in '' $ac_executable_extensions; do
4929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4930 ac_cv_prog_FONTFORGE
="$ac_prog"
4931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 FONTFORGE
=$ac_cv_prog_FONTFORGE
4941 if test -n "$FONTFORGE"; then
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4943 $as_echo "$FONTFORGE" >&6; }
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946 $as_echo "no" >&6; }
4950 test -n "$FONTFORGE" && break
4952 test -n "$FONTFORGE" || FONTFORGE
="false"
4956 # Extract the first word of "$ac_prog", so it can be a program name with args.
4957 set dummy
$ac_prog; ac_word
=$2
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4959 $as_echo_n "checking for $ac_word... " >&6; }
4960 if ${ac_cv_prog_RSVG+:} false
; then :
4961 $as_echo_n "(cached) " >&6
4963 if test -n "$RSVG"; then
4964 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
4966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4970 test -z "$as_dir" && as_dir
=.
4971 for ac_exec_ext
in '' $ac_executable_extensions; do
4972 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4973 ac_cv_prog_RSVG
="$ac_prog"
4974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4983 RSVG
=$ac_cv_prog_RSVG
4984 if test -n "$RSVG"; then
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
4986 $as_echo "$RSVG" >&6; }
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4993 test -n "$RSVG" && break
4995 test -n "$RSVG" || RSVG
="false"
4997 for ac_prog
in convert
4999 # Extract the first word of "$ac_prog", so it can be a program name with args.
5000 set dummy
$ac_prog; ac_word
=$2
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5002 $as_echo_n "checking for $ac_word... " >&6; }
5003 if ${ac_cv_prog_CONVERT+:} false
; then :
5004 $as_echo_n "(cached) " >&6
5006 if test -n "$CONVERT"; then
5007 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5013 test -z "$as_dir" && as_dir
=.
5014 for ac_exec_ext
in '' $ac_executable_extensions; do
5015 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5016 ac_cv_prog_CONVERT
="$ac_prog"
5017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5026 CONVERT
=$ac_cv_prog_CONVERT
5027 if test -n "$CONVERT"; then
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5029 $as_echo "$CONVERT" >&6; }
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5032 $as_echo "no" >&6; }
5036 test -n "$CONVERT" && break
5038 test -n "$CONVERT" || CONVERT
="false"
5040 for ac_prog
in icotool
5042 # Extract the first word of "$ac_prog", so it can be a program name with args.
5043 set dummy
$ac_prog; ac_word
=$2
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045 $as_echo_n "checking for $ac_word... " >&6; }
5046 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5047 $as_echo_n "(cached) " >&6
5049 if test -n "$ICOTOOL"; then
5050 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5056 test -z "$as_dir" && as_dir
=.
5057 for ac_exec_ext
in '' $ac_executable_extensions; do
5058 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5059 ac_cv_prog_ICOTOOL
="$ac_prog"
5060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 ICOTOOL
=$ac_cv_prog_ICOTOOL
5070 if test -n "$ICOTOOL"; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5072 $as_echo "$ICOTOOL" >&6; }
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5079 test -n "$ICOTOOL" && break
5081 test -n "$ICOTOOL" || ICOTOOL
="false"
5083 for ac_prog
in msgfmt
5085 # Extract the first word of "$ac_prog", so it can be a program name with args.
5086 set dummy
$ac_prog; ac_word
=$2
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5088 $as_echo_n "checking for $ac_word... " >&6; }
5089 if ${ac_cv_prog_MSGFMT+:} false
; then :
5090 $as_echo_n "(cached) " >&6
5092 if test -n "$MSGFMT"; then
5093 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5099 test -z "$as_dir" && as_dir
=.
5100 for ac_exec_ext
in '' $ac_executable_extensions; do
5101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5102 ac_cv_prog_MSGFMT
="$ac_prog"
5103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5112 MSGFMT
=$ac_cv_prog_MSGFMT
5113 if test -n "$MSGFMT"; then
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5115 $as_echo "$MSGFMT" >&6; }
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5118 $as_echo "no" >&6; }
5122 test -n "$MSGFMT" && break
5124 test -n "$MSGFMT" || MSGFMT
="false"
5127 if test "x$enable_maintainer_mode" != "xyes"
5132 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5133 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5135 if test "$CONVERT" = false
5137 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5140 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5141 convert_version
=`convert --version | head -n1`
5142 if test "x$convert_version" != "x"
5144 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5145 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5146 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5151 if test "$CONVERT" = false
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5154 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5155 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5158 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5162 if test "$ICOTOOL" = false
5164 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5167 $as_echo_n "checking for recent enough icotool... " >&6; }
5168 icotool_version
=`icotool --version | head -n1`
5169 if test "x$icotool_version" != "x"
5171 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5172 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5173 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5176 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5179 if test "$ICOTOOL" = false
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5182 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5183 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5186 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5192 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5195 test "x$with_gettext" != xno || MSGFMT
=false
5196 if test "$MSGFMT" != "false"
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5199 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5200 cat >conftest.po
<<EOF
5206 if $MSGFMT -o /dev
/null conftest.po
2>&5
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5209 $as_echo "yes" >&6; }
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5212 $as_echo "no" >&6; }
5216 if test "$MSGFMT" = false
; then :
5217 case "x$with_gettext" in
5218 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5220 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5221 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5227 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5228 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5229 $as_echo_n "(cached) " >&6
5231 ac_check_lib_save_LIBS
=$LIBS
5233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5234 /* end confdefs.h. */
5236 /* Override any GCC internal prototype to avoid an error.
5237 Use char because int might match the return type of a GCC
5238 builtin and then its argument prototype would still apply. */
5242 char i386_set_ldt ();
5246 return i386_set_ldt ();
5251 if ac_fn_c_try_link
"$LINENO"; then :
5252 ac_cv_lib_i386_i386_set_ldt
=yes
5254 ac_cv_lib_i386_i386_set_ldt
=no
5256 rm -f core conftest.err conftest.
$ac_objext \
5257 conftest
$ac_exeext conftest.
$ac_ext
5258 LIBS
=$ac_check_lib_save_LIBS
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5261 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5262 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5263 cat >>confdefs.h
<<_ACEOF
5264 #define HAVE_LIBI386 1
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5272 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5273 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5274 $as_echo_n "(cached) " >&6
5276 ac_check_lib_save_LIBS
=$LIBS
5277 LIBS
="-lossaudio $LIBS"
5278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5279 /* end confdefs.h. */
5281 /* Override any GCC internal prototype to avoid an error.
5282 Use char because int might match the return type of a GCC
5283 builtin and then its argument prototype would still apply. */
5291 return _oss_ioctl ();
5296 if ac_fn_c_try_link
"$LINENO"; then :
5297 ac_cv_lib_ossaudio__oss_ioctl
=yes
5299 ac_cv_lib_ossaudio__oss_ioctl
=no
5301 rm -f core conftest.err conftest.
$ac_objext \
5302 conftest
$ac_exeext conftest.
$ac_ext
5303 LIBS
=$ac_check_lib_save_LIBS
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5306 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5307 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5308 cat >>confdefs.h
<<_ACEOF
5309 #define HAVE_LIBOSSAUDIO 1
5312 LIBS
="-lossaudio $LIBS"
5323 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
5325 # Check whether --enable-largefile was given.
5326 if test "${enable_largefile+set}" = set; then :
5327 enableval
=$enable_largefile;
5330 if test "$enable_largefile" != no
; then
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5333 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5334 if ${ac_cv_sys_largefile_CC+:} false
; then :
5335 $as_echo_n "(cached) " >&6
5337 ac_cv_sys_largefile_CC
=no
5338 if test "$GCC" != yes; then
5341 # IRIX 6.2 and later do not support large files by default,
5342 # so use the C compiler's -n32 option if that helps.
5343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5344 /* end confdefs.h. */
5345 #include <sys/types.h>
5346 /* Check that off_t can represent 2**63 - 1 correctly.
5347 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5348 since some C++ compilers masquerading as C compilers
5349 incorrectly reject 9223372036854775807. */
5350 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5351 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5352 && LARGE_OFF_T % 2147483647 == 1)
5362 if ac_fn_c_try_compile
"$LINENO"; then :
5365 rm -f core conftest.err conftest.
$ac_objext
5367 if ac_fn_c_try_compile
"$LINENO"; then :
5368 ac_cv_sys_largefile_CC
=' -n32'; break
5370 rm -f core conftest.err conftest.
$ac_objext
5374 rm -f conftest.
$ac_ext
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5378 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5379 if test "$ac_cv_sys_largefile_CC" != no
; then
5380 CC
=$CC$ac_cv_sys_largefile_CC
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5384 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5385 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5386 $as_echo_n "(cached) " >&6
5389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5390 /* end confdefs.h. */
5391 #include <sys/types.h>
5392 /* Check that off_t can represent 2**63 - 1 correctly.
5393 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5394 since some C++ compilers masquerading as C compilers
5395 incorrectly reject 9223372036854775807. */
5396 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5397 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5398 && LARGE_OFF_T % 2147483647 == 1)
5408 if ac_fn_c_try_compile
"$LINENO"; then :
5409 ac_cv_sys_file_offset_bits
=no
; break
5411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5413 /* end confdefs.h. */
5414 #define _FILE_OFFSET_BITS 64
5415 #include <sys/types.h>
5416 /* Check that off_t can represent 2**63 - 1 correctly.
5417 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5418 since some C++ compilers masquerading as C compilers
5419 incorrectly reject 9223372036854775807. */
5420 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5421 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5422 && LARGE_OFF_T % 2147483647 == 1)
5432 if ac_fn_c_try_compile
"$LINENO"; then :
5433 ac_cv_sys_file_offset_bits
=64; break
5435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5436 ac_cv_sys_file_offset_bits
=unknown
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5441 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5442 case $ac_cv_sys_file_offset_bits in #(
5445 cat >>confdefs.h
<<_ACEOF
5446 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5451 if test $ac_cv_sys_file_offset_bits = unknown
; then
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5453 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5454 if ${ac_cv_sys_large_files+:} false
; then :
5455 $as_echo_n "(cached) " >&6
5458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5459 /* end confdefs.h. */
5460 #include <sys/types.h>
5461 /* Check that off_t can represent 2**63 - 1 correctly.
5462 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5463 since some C++ compilers masquerading as C compilers
5464 incorrectly reject 9223372036854775807. */
5465 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5466 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5467 && LARGE_OFF_T % 2147483647 == 1)
5477 if ac_fn_c_try_compile
"$LINENO"; then :
5478 ac_cv_sys_large_files
=no
; break
5480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5482 /* end confdefs.h. */
5483 #define _LARGE_FILES 1
5484 #include <sys/types.h>
5485 /* Check that off_t can represent 2**63 - 1 correctly.
5486 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5487 since some C++ compilers masquerading as C compilers
5488 incorrectly reject 9223372036854775807. */
5489 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5490 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5491 && LARGE_OFF_T % 2147483647 == 1)
5501 if ac_fn_c_try_compile
"$LINENO"; then :
5502 ac_cv_sys_large_files
=1; break
5504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5505 ac_cv_sys_large_files
=unknown
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5510 $as_echo "$ac_cv_sys_large_files" >&6; }
5511 case $ac_cv_sys_large_files in #(
5514 cat >>confdefs.h
<<_ACEOF
5515 #define _LARGE_FILES $ac_cv_sys_large_files
5527 ac_cpp
='$CPP $CPPFLAGS'
5528 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5529 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5530 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5532 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5533 # On Suns, sometimes $CPP names a directory.
5534 if test -n "$CPP" && test -d "$CPP"; then
5537 if test -z "$CPP"; then
5538 if ${ac_cv_prog_CPP+:} false
; then :
5539 $as_echo_n "(cached) " >&6
5541 # Double quotes because CPP needs to be expanded
5542 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5545 for ac_c_preproc_warn_flag
in '' yes
5547 # Use a header file that comes with gcc, so configuring glibc
5548 # with a fresh cross-compiler works.
5549 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5550 # <limits.h> exists even on freestanding compilers.
5551 # On the NeXT, cc -E runs the code through the compiler's parser,
5552 # not just through cpp. "Syntax error" is here to catch this case.
5553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5556 # include <limits.h>
5558 # include <assert.h>
5562 if ac_fn_c_try_cpp
"$LINENO"; then :
5565 # Broken: fails on valid input.
5568 rm -f conftest.err conftest.i conftest.
$ac_ext
5570 # OK, works on sane cases. Now check whether nonexistent headers
5571 # can be detected and how.
5572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5573 /* end confdefs.h. */
5574 #include <ac_nonexistent.h>
5576 if ac_fn_c_try_cpp
"$LINENO"; then :
5577 # Broken: success on invalid input.
5580 # Passes both tests.
5584 rm -f conftest.err conftest.i conftest.
$ac_ext
5587 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5588 rm -f conftest.i conftest.err conftest.
$ac_ext
5589 if $ac_preproc_ok; then :
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5602 $as_echo "$CPP" >&6; }
5604 for ac_c_preproc_warn_flag
in '' yes
5606 # Use a header file that comes with gcc, so configuring glibc
5607 # with a fresh cross-compiler works.
5608 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5609 # <limits.h> exists even on freestanding compilers.
5610 # On the NeXT, cc -E runs the code through the compiler's parser,
5611 # not just through cpp. "Syntax error" is here to catch this case.
5612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5613 /* end confdefs.h. */
5615 # include <limits.h>
5617 # include <assert.h>
5621 if ac_fn_c_try_cpp
"$LINENO"; then :
5624 # Broken: fails on valid input.
5627 rm -f conftest.err conftest.i conftest.
$ac_ext
5629 # OK, works on sane cases. Now check whether nonexistent headers
5630 # can be detected and how.
5631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5632 /* end confdefs.h. */
5633 #include <ac_nonexistent.h>
5635 if ac_fn_c_try_cpp
"$LINENO"; then :
5636 # Broken: success on invalid input.
5639 # Passes both tests.
5643 rm -f conftest.err conftest.i conftest.
$ac_ext
5646 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5647 rm -f conftest.i conftest.err conftest.
$ac_ext
5648 if $ac_preproc_ok; then :
5651 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5653 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5654 See \`config.log' for more details" "$LINENO" 5; }
5658 ac_cpp
='$CPP $CPPFLAGS'
5659 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5660 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5661 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5665 $as_echo_n "checking for ANSI C header files... " >&6; }
5666 if ${ac_cv_header_stdc+:} false
; then :
5667 $as_echo_n "(cached) " >&6
5669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5670 /* end confdefs.h. */
5684 if ac_fn_c_try_compile
"$LINENO"; then :
5685 ac_cv_header_stdc
=yes
5687 ac_cv_header_stdc
=no
5689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5691 if test $ac_cv_header_stdc = yes; then
5692 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5694 /* end confdefs.h. */
5698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5699 $EGREP "memchr" >/dev
/null
2>&1; then :
5702 ac_cv_header_stdc
=no
5708 if test $ac_cv_header_stdc = yes; then
5709 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5711 /* end confdefs.h. */
5715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5716 $EGREP "free" >/dev
/null
2>&1; then :
5719 ac_cv_header_stdc
=no
5725 if test $ac_cv_header_stdc = yes; then
5726 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5727 if test "$cross_compiling" = yes; then :
5730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5731 /* end confdefs.h. */
5734 #if ((' ' & 0x0FF) == 0x020)
5735 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5736 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5738 # define ISLOWER(c) \
5739 (('a' <= (c) && (c) <= 'i') \
5740 || ('j' <= (c) && (c) <= 'r') \
5741 || ('s' <= (c) && (c) <= 'z'))
5742 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5745 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5750 for (i = 0; i < 256; i++)
5751 if (XOR (islower (i), ISLOWER (i))
5752 || toupper (i) != TOUPPER (i))
5757 if ac_fn_c_try_run
"$LINENO"; then :
5760 ac_cv_header_stdc
=no
5762 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5763 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5769 $as_echo "$ac_cv_header_stdc" >&6; }
5770 if test $ac_cv_header_stdc = yes; then
5772 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5776 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5777 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5778 inttypes.h stdint.h unistd.h
5780 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5781 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5783 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5784 cat >>confdefs.h
<<_ACEOF
5785 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5795 ApplicationServices
/ApplicationServices.h \
5796 AudioToolbox
/AudioConverter.h \
5797 AudioUnit
/AudioUnit.h \
5798 AudioUnit
/AudioComponent.h \
5801 CoreAudio
/CoreAudio.h \
5802 CoreServices
/CoreServices.h \
5803 DiskArbitration
/DiskArbitration.h \
5805 IOKit
/hid
/IOHIDLib.h \
5808 QuickTime
/ImageCompression.h \
5809 Security
/Security.h \
5823 fontconfig
/fontconfig.h \
5864 netinet
/in_systm.h \
5925 valgrind
/memcheck.h \
5926 valgrind
/valgrind.h \
5930 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5931 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5932 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5933 cat >>confdefs.h
<<_ACEOF
5934 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5942 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5943 if ${ac_cv_header_stat_broken+:} false
; then :
5944 $as_echo_n "(cached) " >&6
5946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5947 /* end confdefs.h. */
5948 #include <sys/types.h>
5949 #include <sys/stat.h>
5951 #if defined S_ISBLK && defined S_IFDIR
5952 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5955 #if defined S_ISBLK && defined S_IFCHR
5956 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5959 #if defined S_ISLNK && defined S_IFREG
5960 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5963 #if defined S_ISSOCK && defined S_IFREG
5964 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5968 if ac_fn_c_try_compile
"$LINENO"; then :
5969 ac_cv_header_stat_broken
=no
5971 ac_cv_header_stat_broken
=yes
5973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5976 $as_echo "$ac_cv_header_stat_broken" >&6; }
5977 if test $ac_cv_header_stat_broken = yes; then
5979 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5985 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
5987 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5988 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5989 #ifdef HAVE_SYS_PARAM_H
5990 # include <sys/param.h>
5993 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5994 cat >>confdefs.h
<<_ACEOF
5995 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6010 netinet
/if_ether.h \
6011 netinet
/if_inarp.h \
6020 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6021 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6022 #ifdef HAVE_SYS_SOCKET_H
6023 # include <sys/socket.h>
6025 #ifdef HAVE_SYS_SOCKETVAR_H
6026 # include <sys/socketvar.h>
6028 #ifdef HAVE_NET_ROUTE_H
6029 # include <net/route.h>
6031 #ifdef HAVE_NETINET_IN_H
6032 # include <netinet/in.h>
6034 #ifdef HAVE_NETINET_IN_SYSTM_H
6035 # include <netinet/in_systm.h>
6037 #ifdef HAVE_NET_IF_H
6038 # include <net/if.h>
6040 #ifdef HAVE_NETINET_IP_H
6041 # include <netinet/ip.h>
6044 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6045 cat >>confdefs.h
<<_ACEOF
6046 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6054 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6056 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6057 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6061 #ifdef HAVE_SYS_SOCKET_H
6062 # include <sys/socket.h>
6064 #ifdef HAVE_SYS_SOCKETVAR_H
6065 # include <sys/socketvar.h>
6067 #ifdef HAVE_SYS_TIMEOUT_H
6068 # include <sys/timeout.h>
6070 #ifdef HAVE_NETINET_IN_H
6071 # include <netinet/in.h>
6073 #ifdef HAVE_NETINET_IN_SYSTM_H
6074 # include <netinet/in_systm.h>
6076 #ifdef HAVE_NETINET_IP_H
6077 # include <netinet/ip.h>
6079 #ifdef HAVE_NETINET_IP_VAR_H
6080 # include <netinet/ip_var.h>
6082 #ifdef HAVE_NETINET_IP_ICMP_H
6083 # include <netinet/ip_icmp.h>
6085 #ifdef HAVE_NETINET_UDP_H
6086 # include <netinet/udp.h>
6088 #ifdef HAVE_NETINET_TCP_H
6089 # include <netinet/tcp.h>
6091 #ifdef HAVE_NETINET_TCP_TIMER_H
6092 #include <netinet/tcp_timer.h>
6095 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6096 cat >>confdefs.h
<<_ACEOF
6097 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6105 for ac_header
in linux
/ipx.h linux
/irda.h
6107 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6108 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6109 #ifdef HAVE_ASM_TYPES_H
6110 # include <asm/types.h>
6112 #ifdef HAVE_SYS_SOCKET_H
6113 # include <sys/socket.h>
6115 #ifdef HAVE_LINUX_TYPES_H
6116 # include <linux/types.h>
6119 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6120 cat >>confdefs.h
<<_ACEOF
6121 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6129 for ac_header
in mach-o
/dyld_images.h
6131 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6132 # include <stdbool.h>
6134 #ifdef HAVE_STDINT_H
6135 # include <stdint.h>
6138 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6139 cat >>confdefs.h
<<_ACEOF
6140 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6148 for ac_header
in resolv.h
6150 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6151 #ifdef HAVE_SYS_SOCKET_H
6152 # include <sys/socket.h>
6154 #ifdef HAVE_NETINET_IN_H
6155 # include <netinet/in.h>
6157 #ifdef HAVE_ARPA_NAMESER_H
6158 # include <arpa/nameser.h>
6161 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6162 cat >>confdefs.h
<<_ACEOF
6163 #define HAVE_RESOLV_H 1
6171 for ac_header
in ifaddrs.h
6173 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6175 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6176 cat >>confdefs.h
<<_ACEOF
6177 #define HAVE_IFADDRS_H 1
6185 for ac_header
in ucontext.h
6187 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6189 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6190 cat >>confdefs.h
<<_ACEOF
6191 #define HAVE_UCONTEXT_H 1
6199 for ac_header
in sys
/thr.h
6201 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6202 #ifdef HAVE_UCONTEXT_H
6203 #include <ucontext.h>
6206 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6207 cat >>confdefs.h
<<_ACEOF
6208 #define HAVE_SYS_THR_H 1
6216 for ac_header
in pthread_np.h
6218 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6219 #include <pthread.h>
6222 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6223 cat >>confdefs.h
<<_ACEOF
6224 #define HAVE_PTHREAD_NP_H 1
6232 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6234 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6235 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6236 #include <sys/time.h>
6238 #include <sys/types.h>
6239 #ifdef HAVE_ASM_TYPES_H
6240 #include <asm/types.h>
6243 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6244 cat >>confdefs.h
<<_ACEOF
6245 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6253 for ac_header
in linux
/capi.h
6255 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6257 if test "x$ac_cv_header_linux_capi_h" = xyes
; then :
6258 cat >>confdefs.h
<<_ACEOF
6259 #define HAVE_LINUX_CAPI_H 1
6270 DLLFLAGS
="-D_REENTRANT"
6281 STATIC_IMPLIBEXT
="def.a"
6282 # Extract the first word of "ldd", so it can be a program name with args.
6283 set dummy ldd
; ac_word
=$2
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6285 $as_echo_n "checking for $ac_word... " >&6; }
6286 if ${ac_cv_path_LDD+:} false
; then :
6287 $as_echo_n "(cached) " >&6
6291 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6295 as_dummy
="/sbin:/usr/sbin:$PATH"
6296 for as_dir
in $as_dummy
6299 test -z "$as_dir" && as_dir
=.
6300 for ac_exec_ext
in '' $ac_executable_extensions; do
6301 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6302 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6310 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6315 if test -n "$LDD"; then
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6317 $as_echo "$LDD" >&6; }
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6320 $as_echo "no" >&6; }
6324 if test -n "$ac_tool_prefix"; then
6325 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6326 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6328 $as_echo_n "checking for $ac_word... " >&6; }
6329 if ${ac_cv_prog_READELF+:} false
; then :
6330 $as_echo_n "(cached) " >&6
6332 if test -n "$READELF"; then
6333 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6339 test -z "$as_dir" && as_dir
=.
6340 for ac_exec_ext
in '' $ac_executable_extensions; do
6341 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6342 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6352 READELF
=$ac_cv_prog_READELF
6353 if test -n "$READELF"; then
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6355 $as_echo "$READELF" >&6; }
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6358 $as_echo "no" >&6; }
6363 if test -z "$ac_cv_prog_READELF"; then
6364 ac_ct_READELF
=$READELF
6365 # Extract the first word of "readelf", so it can be a program name with args.
6366 set dummy readelf
; ac_word
=$2
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6368 $as_echo_n "checking for $ac_word... " >&6; }
6369 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
6370 $as_echo_n "(cached) " >&6
6372 if test -n "$ac_ct_READELF"; then
6373 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
6375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6379 test -z "$as_dir" && as_dir
=.
6380 for ac_exec_ext
in '' $ac_executable_extensions; do
6381 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6382 ac_cv_prog_ac_ct_READELF
="readelf"
6383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6392 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
6393 if test -n "$ac_ct_READELF"; then
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6395 $as_echo "$ac_ct_READELF" >&6; }
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6398 $as_echo "no" >&6; }
6401 if test "x$ac_ct_READELF" = x
; then
6404 case $cross_compiling:$ac_tool_warned in
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6408 ac_tool_warned
=yes ;;
6410 READELF
=$ac_ct_READELF
6413 READELF
="$ac_cv_prog_READELF"
6419 if test -n "$ac_tool_prefix"; then
6420 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6421 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6423 $as_echo_n "checking for $ac_word... " >&6; }
6424 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6425 $as_echo_n "(cached) " >&6
6427 if test -n "$DLLTOOL"; then
6428 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6434 test -z "$as_dir" && as_dir
=.
6435 for ac_exec_ext
in '' $ac_executable_extensions; do
6436 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6437 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6447 DLLTOOL
=$ac_cv_prog_DLLTOOL
6448 if test -n "$DLLTOOL"; then
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6450 $as_echo "$DLLTOOL" >&6; }
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6453 $as_echo "no" >&6; }
6458 if test -z "$ac_cv_prog_DLLTOOL"; then
6459 ac_ct_DLLTOOL
=$DLLTOOL
6460 # Extract the first word of "dlltool", so it can be a program name with args.
6461 set dummy dlltool
; ac_word
=$2
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6463 $as_echo_n "checking for $ac_word... " >&6; }
6464 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6465 $as_echo_n "(cached) " >&6
6467 if test -n "$ac_ct_DLLTOOL"; then
6468 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6474 test -z "$as_dir" && as_dir
=.
6475 for ac_exec_ext
in '' $ac_executable_extensions; do
6476 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6477 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6487 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6488 if test -n "$ac_ct_DLLTOOL"; then
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6490 $as_echo "$ac_ct_DLLTOOL" >&6; }
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6493 $as_echo "no" >&6; }
6496 if test "x$ac_ct_DLLTOOL" = x
; then
6499 case $cross_compiling:$ac_tool_warned in
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6503 ac_tool_warned
=yes ;;
6505 DLLTOOL
=$ac_ct_DLLTOOL
6508 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6511 if test -n "$ac_tool_prefix"; then
6512 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6513 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515 $as_echo_n "checking for $ac_word... " >&6; }
6516 if ${ac_cv_prog_DLLWRAP+:} false
; then :
6517 $as_echo_n "(cached) " >&6
6519 if test -n "$DLLWRAP"; then
6520 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
6522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6526 test -z "$as_dir" && as_dir
=.
6527 for ac_exec_ext
in '' $ac_executable_extensions; do
6528 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6529 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
6530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6539 DLLWRAP
=$ac_cv_prog_DLLWRAP
6540 if test -n "$DLLWRAP"; then
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6542 $as_echo "$DLLWRAP" >&6; }
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6545 $as_echo "no" >&6; }
6550 if test -z "$ac_cv_prog_DLLWRAP"; then
6551 ac_ct_DLLWRAP
=$DLLWRAP
6552 # Extract the first word of "dllwrap", so it can be a program name with args.
6553 set dummy dllwrap
; ac_word
=$2
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6555 $as_echo_n "checking for $ac_word... " >&6; }
6556 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false
; then :
6557 $as_echo_n "(cached) " >&6
6559 if test -n "$ac_ct_DLLWRAP"; then
6560 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
6562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6566 test -z "$as_dir" && as_dir
=.
6567 for ac_exec_ext
in '' $ac_executable_extensions; do
6568 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6569 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
6570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6579 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
6580 if test -n "$ac_ct_DLLWRAP"; then
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6582 $as_echo "$ac_ct_DLLWRAP" >&6; }
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6585 $as_echo "no" >&6; }
6588 if test "x$ac_ct_DLLWRAP" = x
; then
6591 case $cross_compiling:$ac_tool_warned in
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6595 ac_tool_warned
=yes ;;
6597 DLLWRAP
=$ac_ct_DLLWRAP
6600 DLLWRAP
="$ac_cv_prog_DLLWRAP"
6603 if test "$DLLWRAP" = "false"; then
6604 as_fn_error $?
"dllwrap is needed to build a dll for Windows" "$LINENO" 5
6608 STATIC_IMPLIBEXT
="a"
6609 enable_iphlpapi
=${enable_iphlpapi:-no}
6610 enable_kernel32
=${enable_kernel32:-no}
6611 enable_msvcrt
=${enable_msvcrt:-no}
6612 enable_ntdll
=${enable_ntdll:-no}
6613 enable_ws2_32
=${enable_ws2_32:-no}
6614 enable_loader
=${enable_loader:-no}
6615 enable_server
=${enable_server:-no}
6616 with_x
=${with_x:-no}
6617 with_pthread
=${with_pthread:-no}
6623 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
6628 all: libwine.dll libwine.a
6631 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
6633 libwine.dll: \$(OBJS) wine.def Makefile.in
6634 \$(DLLWRAP) --def \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
6636 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
6637 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
6639 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
6640 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
6643 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
6646 \$(RM) libwine.dll version.c
6654 DLLFLAGS
="$DLLFLAGS -fPIC"
6655 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6656 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6657 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6658 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
6659 COREFOUNDATIONLIB
="-framework CoreFoundation"
6661 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6663 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
6665 CORESERVICESLIB
="-framework CoreServices"
6669 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"
6672 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6675 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6677 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6680 if test "$ac_cv_header_Security_Security_h" = "yes"
6682 SECURITYLIB
="-framework Security -framework CoreFoundation"
6684 ac_save_LIBS
="$LIBS"
6685 LIBS
="$LIBS $SECURITYLIB"
6686 for ac_func
in SSLCopyPeerCertificates
6688 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6689 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
6690 cat >>confdefs.h
<<_ACEOF
6691 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6697 LIBS
="$ac_save_LIBS"
6698 with_gnutls
=${with_gnutls:-no}
6700 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6702 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6704 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6707 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6710 ac_save_LIBS
="$LIBS"
6711 LIBS
="$LIBS $COREAUDIO"
6712 for ac_func
in AUGraphAddNode
6714 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6715 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
6716 cat >>confdefs.h
<<_ACEOF
6717 #define HAVE_AUGRAPHADDNODE 1
6723 LIBS
="$ac_save_LIBS"
6725 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6727 FRAMEWORK_OPENAL
="-framework OpenAL"
6730 cat >>confdefs.h
<<_ACEOF
6731 #define HAVE_OPENAL 1
6734 ac_cv_lib_openal
=yes
6736 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6738 LIBOPENCL
="-framework OpenCL"
6740 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6742 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6744 ac_save_LIBS
="$LIBS"
6745 LIBS
="$LIBS $IOKITLIB"
6746 for ac_func
in IOHIDManagerCreate
6748 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6749 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
6750 cat >>confdefs.h
<<_ACEOF
6751 #define HAVE_IOHIDMANAGERCREATE 1
6757 LIBS
="$ac_save_LIBS"
6761 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6763 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6765 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6767 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6769 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6771 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6773 CARBONLIB
="-framework Carbon"
6777 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6779 ac_save_LIBS
="$LIBS"
6780 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
6781 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6782 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
6783 enable_winemac_drv
=${enable_winemac_drv:-yes}
6786 LIBS
="$ac_save_LIBS"
6789 if test "x$enable_win16" = "xyes"
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6792 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6793 if test "$cross_compiling" = yes; then :
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6795 $as_echo "cross-compiling, assuming yes" >&6; }
6797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6798 /* end confdefs.h. */
6801 "good:\tnop;nop\n\t"
6802 ".globl _testfunc\n"
6803 "_testfunc:\tcallw good");
6804 extern void testfunc();
6808 unsigned short *p = (unsigned short *)testfunc;
6809 return p[0] != 0xe866 || p[1] != 0xfffa
6814 if ac_fn_c_try_run
"$LINENO"; then :
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6816 $as_echo "yes" >&6; }
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6819 $as_echo "no" >&6; }
6820 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
6822 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6823 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6831 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
6832 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
6834 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
6835 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
6837 libwine.dylib: libwine.\$(SOVERSION).dylib
6838 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
6840 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
6841 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
6842 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6844 install install-dev:: \$(DESTDIR)\$(libdir) dummy
6845 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
6848 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6851 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
6857 DLLFLAGS
="$DLLFLAGS -fPIC"
6859 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6861 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6862 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
6863 $as_echo_n "(cached) " >&6
6865 ac_wine_try_cflags_saved
=$CFLAGS
6866 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6868 /* end confdefs.h. */
6869 int main(int argc, char **argv) { return 0; }
6871 if ac_fn_c_try_link
"$LINENO"; then :
6872 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6874 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6876 rm -f core conftest.err conftest.
$ac_objext \
6877 conftest
$ac_exeext conftest.
$ac_ext
6878 CFLAGS
=$ac_wine_try_cflags_saved
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6881 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6882 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6883 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6885 { $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
6886 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6887 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
6888 $as_echo_n "(cached) " >&6
6890 ac_wine_try_cflags_saved
=$CFLAGS
6891 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6893 /* end confdefs.h. */
6894 int main(int argc, char **argv) { return 0; }
6896 if ac_fn_c_try_link
"$LINENO"; then :
6897 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6899 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6901 rm -f core conftest.err conftest.
$ac_objext \
6902 conftest
$ac_exeext conftest.
$ac_ext
6903 CFLAGS
=$ac_wine_try_cflags_saved
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6906 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6907 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6908 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6911 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6912 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
6913 $as_echo_n "(cached) " >&6
6915 ac_wine_try_cflags_saved
=$CFLAGS
6916 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6918 /* end confdefs.h. */
6919 int main(int argc, char **argv) { return 0; }
6921 if ac_fn_c_try_link
"$LINENO"; then :
6922 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6924 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6926 rm -f core conftest.err conftest.
$ac_objext \
6927 conftest
$ac_exeext conftest.
$ac_ext
6928 CFLAGS
=$ac_wine_try_cflags_saved
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6931 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6932 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6933 LDEXECFLAGS
="-Wl,--export-dynamic"
6936 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6938 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6939 if eval \
${$as_ac_var+:} false
; then :
6940 $as_echo_n "(cached) " >&6
6942 ac_wine_try_cflags_saved
=$CFLAGS
6943 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6945 /* end confdefs.h. */
6946 int main(int argc, char **argv) { return 0; }
6948 if ac_fn_c_try_link
"$LINENO"; then :
6949 eval "$as_ac_var=yes"
6951 eval "$as_ac_var=no"
6953 rm -f core conftest.err conftest.
$ac_objext \
6954 conftest
$ac_exeext conftest.
$ac_ext
6955 CFLAGS
=$ac_wine_try_cflags_saved
6957 eval ac_res
=\$
$as_ac_var
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6959 $as_echo "$ac_res" >&6; }
6960 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6961 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6962 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6964 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6966 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6967 if eval \
${$as_ac_var+:} false
; then :
6968 $as_echo_n "(cached) " >&6
6970 ac_wine_try_cflags_saved
=$CFLAGS
6971 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6973 /* end confdefs.h. */
6974 int main(int argc, char **argv) { return 0; }
6976 if ac_fn_c_try_link
"$LINENO"; then :
6977 eval "$as_ac_var=yes"
6979 eval "$as_ac_var=no"
6981 rm -f core conftest.err conftest.
$ac_objext \
6982 conftest
$ac_exeext conftest.
$ac_ext
6983 CFLAGS
=$ac_wine_try_cflags_saved
6985 eval ac_res
=\$
$as_ac_var
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6987 $as_echo "$ac_res" >&6; }
6988 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6989 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6990 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6995 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6996 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
6997 $as_echo_n "(cached) " >&6
6999 ac_wine_try_cflags_saved
=$CFLAGS
7000 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7002 /* end confdefs.h. */
7003 int main(int argc, char **argv) { return 0; }
7005 if ac_fn_c_try_link
"$LINENO"; then :
7006 ac_cv_cflags__Wl___enable_new_dtags
=yes
7008 ac_cv_cflags__Wl___enable_new_dtags
=no
7010 rm -f core conftest.err conftest.
$ac_objext \
7011 conftest
$ac_exeext conftest.
$ac_ext
7012 CFLAGS
=$ac_wine_try_cflags_saved
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7015 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7016 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7017 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7021 *i
[3456789]86* | x86_64
)
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7023 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7024 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7025 $as_echo_n "(cached) " >&6
7027 ac_wine_try_cflags_saved
=$CFLAGS
7028 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7030 /* end confdefs.h. */
7031 int main(int argc, char **argv) { return 0; }
7033 if ac_fn_c_try_link
"$LINENO"; then :
7034 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7036 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7038 rm -f core conftest.err conftest.
$ac_objext \
7039 conftest
$ac_exeext conftest.
$ac_ext
7040 CFLAGS
=$ac_wine_try_cflags_saved
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7043 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7044 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7045 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7053 libwine.so: \$(OBJS) Makefile.in
7054 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7056 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7057 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7060 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7063 \$(RM) libwine.so version.c
7069 DLLFLAGS
="$DLLFLAGS -fPIC"
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7072 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7073 if ${ac_cv_c_dll_gnuelf+:} false
; then :
7074 $as_echo_n "(cached) " >&6
7076 ac_wine_try_cflags_saved
=$CFLAGS
7077 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7079 /* end confdefs.h. */
7082 if ac_fn_c_try_link
"$LINENO"; then :
7083 ac_cv_c_dll_gnuelf
="yes"
7085 ac_cv_c_dll_gnuelf
="no"
7087 rm -f core conftest.err conftest.
$ac_objext \
7088 conftest
$ac_exeext conftest.
$ac_ext
7089 CFLAGS
=$ac_wine_try_cflags_saved
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7092 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7093 if test "$ac_cv_c_dll_gnuelf" = "yes"
7095 LDSHARED
="\$(CC) -shared"
7096 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7098 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7099 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
7100 $as_echo_n "(cached) " >&6
7102 ac_wine_try_cflags_saved
=$CFLAGS
7103 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7105 /* end confdefs.h. */
7106 int main(int argc, char **argv) { return 0; }
7108 if ac_fn_c_try_link
"$LINENO"; then :
7109 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
7111 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
7113 rm -f core conftest.err conftest.
$ac_objext \
7114 conftest
$ac_exeext conftest.
$ac_ext
7115 CFLAGS
=$ac_wine_try_cflags_saved
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7118 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7119 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7120 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7123 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7124 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
7125 $as_echo_n "(cached) " >&6
7127 ac_wine_try_cflags_saved
=$CFLAGS
7128 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7130 /* end confdefs.h. */
7131 int main(int argc, char **argv) { return 0; }
7133 if ac_fn_c_try_link
"$LINENO"; then :
7134 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
7136 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
7138 rm -f core conftest.err conftest.
$ac_objext \
7139 conftest
$ac_exeext conftest.
$ac_ext
7140 CFLAGS
=$ac_wine_try_cflags_saved
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7143 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7144 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7145 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
7150 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
7151 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
7152 $as_echo_n "(cached) " >&6
7154 ac_wine_try_cflags_saved
=$CFLAGS
7155 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
7156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7157 /* end confdefs.h. */
7158 int main(int argc, char **argv) { return 0; }
7160 if ac_fn_c_try_link
"$LINENO"; then :
7161 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
7163 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
7165 rm -f core conftest.err conftest.
$ac_objext \
7166 conftest
$ac_exeext conftest.
$ac_ext
7167 CFLAGS
=$ac_wine_try_cflags_saved
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
7170 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
7171 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
7172 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
7175 { $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
7176 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
7177 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
7178 $as_echo_n "(cached) " >&6
7180 ac_wine_try_cflags_saved
=$CFLAGS
7181 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
7182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7183 /* end confdefs.h. */
7184 int main(int argc, char **argv) { return 0; }
7186 if ac_fn_c_try_link
"$LINENO"; then :
7187 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
7189 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
7191 rm -f core conftest.err conftest.
$ac_objext \
7192 conftest
$ac_exeext conftest.
$ac_ext
7193 CFLAGS
=$ac_wine_try_cflags_saved
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
7196 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
7197 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
7198 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
7201 echo '{ global: *; };' >conftest.map
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7203 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7204 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
7205 $as_echo_n "(cached) " >&6
7207 ac_wine_try_cflags_saved
=$CFLAGS
7208 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7210 /* end confdefs.h. */
7211 int main(int argc, char **argv) { return 0; }
7213 if ac_fn_c_try_link
"$LINENO"; then :
7214 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
7216 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
7218 rm -f core conftest.err conftest.
$ac_objext \
7219 conftest
$ac_exeext conftest.
$ac_ext
7220 CFLAGS
=$ac_wine_try_cflags_saved
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7223 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7224 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7225 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7230 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7231 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7232 $as_echo_n "(cached) " >&6
7234 ac_wine_try_cflags_saved
=$CFLAGS
7235 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7237 /* end confdefs.h. */
7238 int main(int argc, char **argv) { return 0; }
7240 if ac_fn_c_try_link
"$LINENO"; then :
7241 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7243 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7245 rm -f core conftest.err conftest.
$ac_objext \
7246 conftest
$ac_exeext conftest.
$ac_ext
7247 CFLAGS
=$ac_wine_try_cflags_saved
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7250 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7251 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7252 LDEXECFLAGS
="-Wl,--export-dynamic"
7256 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7258 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7259 if eval \
${$as_ac_var+:} false
; then :
7260 $as_echo_n "(cached) " >&6
7262 ac_wine_try_cflags_saved
=$CFLAGS
7263 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7265 /* end confdefs.h. */
7266 int main(int argc, char **argv) { return 0; }
7268 if ac_fn_c_try_link
"$LINENO"; then :
7269 eval "$as_ac_var=yes"
7271 eval "$as_ac_var=no"
7273 rm -f core conftest.err conftest.
$ac_objext \
7274 conftest
$ac_exeext conftest.
$ac_ext
7275 CFLAGS
=$ac_wine_try_cflags_saved
7277 eval ac_res
=\$
$as_ac_var
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7279 $as_echo "$ac_res" >&6; }
7280 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7281 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7282 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7284 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7286 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7287 if eval \
${$as_ac_var+:} false
; then :
7288 $as_echo_n "(cached) " >&6
7290 ac_wine_try_cflags_saved
=$CFLAGS
7291 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7293 /* end confdefs.h. */
7294 int main(int argc, char **argv) { return 0; }
7296 if ac_fn_c_try_link
"$LINENO"; then :
7297 eval "$as_ac_var=yes"
7299 eval "$as_ac_var=no"
7301 rm -f core conftest.err conftest.
$ac_objext \
7302 conftest
$ac_exeext conftest.
$ac_ext
7303 CFLAGS
=$ac_wine_try_cflags_saved
7305 eval ac_res
=\$
$as_ac_var
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7307 $as_echo "$ac_res" >&6; }
7308 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7309 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7310 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7315 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7316 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7317 $as_echo_n "(cached) " >&6
7319 ac_wine_try_cflags_saved
=$CFLAGS
7320 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7322 /* end confdefs.h. */
7323 int main(int argc, char **argv) { return 0; }
7325 if ac_fn_c_try_link
"$LINENO"; then :
7326 ac_cv_cflags__Wl___enable_new_dtags
=yes
7328 ac_cv_cflags__Wl___enable_new_dtags
=no
7330 rm -f core conftest.err conftest.
$ac_objext \
7331 conftest
$ac_exeext conftest.
$ac_ext
7332 CFLAGS
=$ac_wine_try_cflags_saved
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7335 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7336 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7337 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7341 *i
[3456789]86* | x86_64
)
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7343 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7344 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7345 $as_echo_n "(cached) " >&6
7347 ac_wine_try_cflags_saved
=$CFLAGS
7348 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7350 /* end confdefs.h. */
7351 int main(int argc, char **argv) { return 0; }
7353 if ac_fn_c_try_link
"$LINENO"; then :
7354 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7356 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7358 rm -f core conftest.err conftest.
$ac_objext \
7359 conftest
$ac_exeext conftest.
$ac_ext
7360 CFLAGS
=$ac_wine_try_cflags_saved
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7363 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7364 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7366 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7367 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7371 # Extract the first word of "prelink", so it can be a program name with args.
7372 set dummy prelink
; ac_word
=$2
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7374 $as_echo_n "checking for $ac_word... " >&6; }
7375 if ${ac_cv_path_PRELINK+:} false
; then :
7376 $as_echo_n "(cached) " >&6
7380 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7384 for as_dir
in /sbin
/usr
/sbin
$PATH
7387 test -z "$as_dir" && as_dir
=.
7388 for ac_exec_ext
in '' $ac_executable_extensions; do
7389 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7390 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7402 PRELINK
=$ac_cv_path_PRELINK
7403 if test -n "$PRELINK"; then
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7405 $as_echo "$PRELINK" >&6; }
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7408 $as_echo "no" >&6; }
7412 if test "x$PRELINK" = xfalse
7414 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7421 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7422 if ${ac_cv_c_dll_unixware+:} false
; then :
7423 $as_echo_n "(cached) " >&6
7425 ac_wine_try_cflags_saved
=$CFLAGS
7426 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7428 /* end confdefs.h. */
7431 if ac_fn_c_try_link
"$LINENO"; then :
7432 ac_cv_c_dll_unixware
="yes"
7434 ac_cv_c_dll_unixware
="no"
7436 rm -f core conftest.err conftest.
$ac_objext \
7437 conftest
$ac_exeext conftest.
$ac_ext
7438 CFLAGS
=$ac_wine_try_cflags_saved
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7441 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7442 if test "$ac_cv_c_dll_unixware" = "yes"
7444 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7445 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
7451 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7452 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7454 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7455 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7457 libwine.so: libwine.so.\$(SOVERSION)
7458 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7460 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
7461 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
7462 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7464 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7465 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
7468 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7471 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
7477 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7478 enable_winemac_drv
=${enable_winemac_drv:-no}
7480 CROSSTEST_DISABLE
=\
#
7482 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7486 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
7489 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 " ;;
7491 ac_prefix_list
="" ;;
7493 for ac_prog
in $ac_prefix_list
7495 # Extract the first word of "$ac_prog", so it can be a program name with args.
7496 set dummy
$ac_prog; ac_word
=$2
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7498 $as_echo_n "checking for $ac_word... " >&6; }
7499 if ${ac_cv_prog_CROSSCC+:} false
; then :
7500 $as_echo_n "(cached) " >&6
7502 if test -n "$CROSSCC"; then
7503 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7509 test -z "$as_dir" && as_dir
=.
7510 for ac_exec_ext
in '' $ac_executable_extensions; do
7511 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7512 ac_cv_prog_CROSSCC
="$ac_prog"
7513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7522 CROSSCC
=$ac_cv_prog_CROSSCC
7523 if test -n "$CROSSCC"; then
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7525 $as_echo "$CROSSCC" >&6; }
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7528 $as_echo "no" >&6; }
7532 test -n "$CROSSCC" && break
7534 test -n "$CROSSCC" || CROSSCC
="false"
7536 if test "$CROSSCC" != "false"
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7541 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7543 /* end confdefs.h. */
7553 if ac_fn_c_try_compile
"$LINENO"; then :
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7555 $as_echo "yes" >&6; }
7562 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7566 if test -n "$target"
7568 CROSSTEST_DISABLE
=""
7569 CROSSTARGET
="$target"
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7574 $as_echo "no" >&6; }
7576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7582 if test "$ac_cv_header_pthread_h" = "yes"
7584 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7585 if test "x$ac_cv_func_pthread_create" = xyes
; then :
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7589 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7590 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
7591 $as_echo_n "(cached) " >&6
7593 ac_check_lib_save_LIBS
=$LIBS
7594 LIBS
="-lpthread $LIBS"
7595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7596 /* end confdefs.h. */
7598 /* Override any GCC internal prototype to avoid an error.
7599 Use char because int might match the return type of a GCC
7600 builtin and then its argument prototype would still apply. */
7604 char pthread_create ();
7608 return pthread_create ();
7613 if ac_fn_c_try_link
"$LINENO"; then :
7614 ac_cv_lib_pthread_pthread_create
=yes
7616 ac_cv_lib_pthread_pthread_create
=no
7618 rm -f core conftest.err conftest.
$ac_objext \
7619 conftest
$ac_exeext conftest.
$ac_ext
7620 LIBS
=$ac_check_lib_save_LIBS
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7623 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7624 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
7625 LIBPTHREAD
="-lpthread"
7632 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
7633 case "x$with_pthread" in
7635 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7636 Wine cannot support threads without libpthread.
7637 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7643 $as_echo_n "checking for X... " >&6; }
7646 # Check whether --with-x was given.
7647 if test "${with_x+set}" = set; then :
7651 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7652 if test "x$with_x" = xno
; then
7653 # The user explicitly disabled X.
7656 case $x_includes,$x_libraries in #(
7657 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
7658 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
7659 $as_echo_n "(cached) " >&6
7661 # One or both of the vars are not set, and there is no cached value.
7662 ac_x_includes
=no ac_x_libraries
=no
7663 rm -f -r conftest.dir
7664 if mkdir conftest.dir
; then
7666 cat >Imakefile
<<'_ACEOF'
7668 @echo incroot='${INCROOT}'
7670 @echo usrlibdir='${USRLIBDIR}'
7672 @echo libdir='${LIBDIR}'
7674 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7675 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7676 for ac_var
in incroot usrlibdir libdir
; do
7677 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7679 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7680 for ac_extension
in a so sl dylib la dll
; do
7681 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7682 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7683 ac_im_usrlibdir
=$ac_im_libdir; break
7686 # Screen out bogus values from the imake configuration. They are
7687 # bogus both because they are the default anyway, and because
7688 # using them would break gcc on systems where it needs fixed includes.
7689 case $ac_im_incroot in
7690 /usr
/include
) ac_x_includes
= ;;
7691 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7693 case $ac_im_usrlibdir in
7694 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7695 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7699 rm -f -r conftest.dir
7702 # Standard set of common directories for X headers.
7703 # Check X11 before X11Rn because it is often a symlink to the current release.
7717 /usr/local/X11/include
7718 /usr/local/X11R7/include
7719 /usr/local/X11R6/include
7720 /usr/local/X11R5/include
7721 /usr/local/X11R4/include
7723 /usr/local/include/X11
7724 /usr/local/include/X11R7
7725 /usr/local/include/X11R6
7726 /usr/local/include/X11R5
7727 /usr/local/include/X11R4
7731 /usr/XFree86/include/X11
7735 /usr/unsupported/include
7737 /usr/local/x11r5/include
7738 /usr/lpp/Xamples/include
7740 /usr/openwin/include
7741 /usr/openwin/share/include'
7743 if test "$ac_x_includes" = no
; then
7744 # Guess where to find include files, by looking for Xlib.h.
7745 # First, try using that file with no special directory specified.
7746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7747 /* end confdefs.h. */
7748 #include <X11/Xlib.h>
7750 if ac_fn_c_try_cpp
"$LINENO"; then :
7751 # We can compile using X headers with no special include directory.
7754 for ac_dir
in $ac_x_header_dirs; do
7755 if test -r "$ac_dir/X11/Xlib.h"; then
7756 ac_x_includes
=$ac_dir
7761 rm -f conftest.err conftest.i conftest.
$ac_ext
7762 fi # $ac_x_includes = no
7764 if test "$ac_x_libraries" = no
; then
7765 # Check for the libraries.
7766 # See if we find them without any special options.
7767 # Don't add to $LIBS permanently.
7770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7771 /* end confdefs.h. */
7772 #include <X11/Xlib.h>
7781 if ac_fn_c_try_link
"$LINENO"; then :
7783 # We can link X programs with no special library path.
7787 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7789 # Don't even attempt the hair of trying to link an X program!
7790 for ac_extension
in a so sl dylib la dll
; do
7791 if test -r "$ac_dir/libX11.$ac_extension"; then
7792 ac_x_libraries
=$ac_dir
7798 rm -f core conftest.err conftest.
$ac_objext \
7799 conftest
$ac_exeext conftest.
$ac_ext
7800 fi # $ac_x_libraries = no
7802 case $ac_x_includes,$ac_x_libraries in #(
7804 # Didn't find X, or a directory has "'" in its name.
7805 ac_cv_have_x
="have_x=no";; #(
7807 # Record where we found X for the cache.
7808 ac_cv_have_x
="have_x=yes\
7809 ac_x_includes='$ac_x_includes'\
7810 ac_x_libraries='$ac_x_libraries'"
7816 eval "$ac_cv_have_x"
7819 if test "$have_x" != yes; then
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7821 $as_echo "$have_x" >&6; }
7824 # If each of the values was on the command line, it overrides each guess.
7825 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7826 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7827 # Update the cache value to reflect the command line values.
7828 ac_cv_have_x
="have_x=yes\
7829 ac_x_includes='$x_includes'\
7830 ac_x_libraries='$x_libraries'"
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7832 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7835 if test "$no_x" = yes; then
7836 # Not all programs may use this symbol, but it does not hurt to define it.
7838 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7840 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7842 if test -n "$x_includes"; then
7843 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7846 # It would also be nice to do this for all -L options, not just this one.
7847 if test -n "$x_libraries"; then
7848 X_LIBS
="$X_LIBS -L$x_libraries"
7849 # For Solaris; some versions of Sun CC require a space after -R and
7850 # others require no space. Words are not sufficient . . . .
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7852 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7853 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7854 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7855 ac_c_werror_flag
=yes
7856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7857 /* end confdefs.h. */
7867 if ac_fn_c_try_link
"$LINENO"; then :
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7869 $as_echo "no" >&6; }
7870 X_LIBS
="$X_LIBS -R$x_libraries"
7872 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7874 /* end confdefs.h. */
7884 if ac_fn_c_try_link
"$LINENO"; then :
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7886 $as_echo "yes" >&6; }
7887 X_LIBS
="$X_LIBS -R $x_libraries"
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7890 $as_echo "neither works" >&6; }
7892 rm -f core conftest.err conftest.
$ac_objext \
7893 conftest
$ac_exeext conftest.
$ac_ext
7895 rm -f core conftest.err conftest.
$ac_objext \
7896 conftest
$ac_exeext conftest.
$ac_ext
7897 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7901 # Check for system-dependent libraries X programs must link with.
7902 # Do this before checking for the system-independent R6 libraries
7903 # (-lICE), since we may need -lsocket or whatever for X linking.
7905 if test "$ISC" = yes; then
7906 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7908 # Martyn Johnson says this is needed for Ultrix, if the X
7909 # libraries were built with DECnet support. And Karl Berry says
7910 # the Alpha needs dnet_stub (dnet does not exist).
7911 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7913 /* end confdefs.h. */
7915 /* Override any GCC internal prototype to avoid an error.
7916 Use char because int might match the return type of a GCC
7917 builtin and then its argument prototype would still apply. */
7921 char XOpenDisplay ();
7925 return XOpenDisplay ();
7930 if ac_fn_c_try_link
"$LINENO"; then :
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7934 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7935 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
7936 $as_echo_n "(cached) " >&6
7938 ac_check_lib_save_LIBS
=$LIBS
7940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7941 /* end confdefs.h. */
7943 /* Override any GCC internal prototype to avoid an error.
7944 Use char because int might match the return type of a GCC
7945 builtin and then its argument prototype would still apply. */
7953 return dnet_ntoa ();
7958 if ac_fn_c_try_link
"$LINENO"; then :
7959 ac_cv_lib_dnet_dnet_ntoa
=yes
7961 ac_cv_lib_dnet_dnet_ntoa
=no
7963 rm -f core conftest.err conftest.
$ac_objext \
7964 conftest
$ac_exeext conftest.
$ac_ext
7965 LIBS
=$ac_check_lib_save_LIBS
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7968 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7969 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
7970 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7973 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7975 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7976 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
7977 $as_echo_n "(cached) " >&6
7979 ac_check_lib_save_LIBS
=$LIBS
7980 LIBS
="-ldnet_stub $LIBS"
7981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7982 /* end confdefs.h. */
7984 /* Override any GCC internal prototype to avoid an error.
7985 Use char because int might match the return type of a GCC
7986 builtin and then its argument prototype would still apply. */
7994 return dnet_ntoa ();
7999 if ac_fn_c_try_link
"$LINENO"; then :
8000 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8002 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8004 rm -f core conftest.err conftest.
$ac_objext \
8005 conftest
$ac_exeext conftest.
$ac_ext
8006 LIBS
=$ac_check_lib_save_LIBS
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8009 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8010 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8011 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8016 rm -f core conftest.err conftest.
$ac_objext \
8017 conftest
$ac_exeext conftest.
$ac_ext
8018 LIBS
="$ac_xsave_LIBS"
8020 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8021 # to get the SysV transport functions.
8022 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8024 # The nsl library prevents programs from opening the X display
8025 # on Irix 5.2, according to T.E. Dickey.
8026 # The functions gethostbyname, getservbyname, and inet_addr are
8027 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8028 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8029 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8033 if test $ac_cv_func_gethostbyname = no
; then
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8035 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8036 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8037 $as_echo_n "(cached) " >&6
8039 ac_check_lib_save_LIBS
=$LIBS
8041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8042 /* end confdefs.h. */
8044 /* Override any GCC internal prototype to avoid an error.
8045 Use char because int might match the return type of a GCC
8046 builtin and then its argument prototype would still apply. */
8050 char gethostbyname ();
8054 return gethostbyname ();
8059 if ac_fn_c_try_link
"$LINENO"; then :
8060 ac_cv_lib_nsl_gethostbyname
=yes
8062 ac_cv_lib_nsl_gethostbyname
=no
8064 rm -f core conftest.err conftest.
$ac_objext \
8065 conftest
$ac_exeext conftest.
$ac_ext
8066 LIBS
=$ac_check_lib_save_LIBS
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8069 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8070 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8071 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8074 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8076 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8077 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8078 $as_echo_n "(cached) " >&6
8080 ac_check_lib_save_LIBS
=$LIBS
8082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8083 /* end confdefs.h. */
8085 /* Override any GCC internal prototype to avoid an error.
8086 Use char because int might match the return type of a GCC
8087 builtin and then its argument prototype would still apply. */
8091 char gethostbyname ();
8095 return gethostbyname ();
8100 if ac_fn_c_try_link
"$LINENO"; then :
8101 ac_cv_lib_bsd_gethostbyname
=yes
8103 ac_cv_lib_bsd_gethostbyname
=no
8105 rm -f core conftest.err conftest.
$ac_objext \
8106 conftest
$ac_exeext conftest.
$ac_ext
8107 LIBS
=$ac_check_lib_save_LIBS
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8110 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8111 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
8112 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8118 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8119 # socket/setsockopt and other routines are undefined under SCO ODT
8120 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8121 # on later versions), says Simon Leinen: it contains gethostby*
8122 # variants that don't use the name server (or something). -lsocket
8123 # must be given before -lnsl if both are needed. We assume that
8124 # if connect needs -lnsl, so does gethostbyname.
8125 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
8126 if test "x$ac_cv_func_connect" = xyes
; then :
8130 if test $ac_cv_func_connect = no
; then
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8132 $as_echo_n "checking for connect in -lsocket... " >&6; }
8133 if ${ac_cv_lib_socket_connect+:} false
; then :
8134 $as_echo_n "(cached) " >&6
8136 ac_check_lib_save_LIBS
=$LIBS
8137 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8139 /* end confdefs.h. */
8141 /* Override any GCC internal prototype to avoid an error.
8142 Use char because int might match the return type of a GCC
8143 builtin and then its argument prototype would still apply. */
8156 if ac_fn_c_try_link
"$LINENO"; then :
8157 ac_cv_lib_socket_connect
=yes
8159 ac_cv_lib_socket_connect
=no
8161 rm -f core conftest.err conftest.
$ac_objext \
8162 conftest
$ac_exeext conftest.
$ac_ext
8163 LIBS
=$ac_check_lib_save_LIBS
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8166 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8167 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
8168 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8173 # Guillermo Gomez says -lposix is necessary on A/UX.
8174 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
8175 if test "x$ac_cv_func_remove" = xyes
; then :
8179 if test $ac_cv_func_remove = no
; then
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8181 $as_echo_n "checking for remove in -lposix... " >&6; }
8182 if ${ac_cv_lib_posix_remove+:} false
; then :
8183 $as_echo_n "(cached) " >&6
8185 ac_check_lib_save_LIBS
=$LIBS
8186 LIBS
="-lposix $LIBS"
8187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8188 /* end confdefs.h. */
8190 /* Override any GCC internal prototype to avoid an error.
8191 Use char because int might match the return type of a GCC
8192 builtin and then its argument prototype would still apply. */
8205 if ac_fn_c_try_link
"$LINENO"; then :
8206 ac_cv_lib_posix_remove
=yes
8208 ac_cv_lib_posix_remove
=no
8210 rm -f core conftest.err conftest.
$ac_objext \
8211 conftest
$ac_exeext conftest.
$ac_ext
8212 LIBS
=$ac_check_lib_save_LIBS
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8215 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8216 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
8217 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8222 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8223 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
8224 if test "x$ac_cv_func_shmat" = xyes
; then :
8228 if test $ac_cv_func_shmat = no
; then
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8230 $as_echo_n "checking for shmat in -lipc... " >&6; }
8231 if ${ac_cv_lib_ipc_shmat+:} false
; then :
8232 $as_echo_n "(cached) " >&6
8234 ac_check_lib_save_LIBS
=$LIBS
8236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8237 /* end confdefs.h. */
8239 /* Override any GCC internal prototype to avoid an error.
8240 Use char because int might match the return type of a GCC
8241 builtin and then its argument prototype would still apply. */
8254 if ac_fn_c_try_link
"$LINENO"; then :
8255 ac_cv_lib_ipc_shmat
=yes
8257 ac_cv_lib_ipc_shmat
=no
8259 rm -f core conftest.err conftest.
$ac_objext \
8260 conftest
$ac_exeext conftest.
$ac_ext
8261 LIBS
=$ac_check_lib_save_LIBS
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8264 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8265 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
8266 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8272 # Check for libraries that X11R6 Xt/Xaw programs need.
8273 ac_save_LDFLAGS
=$LDFLAGS
8274 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8275 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8276 # check for ICE first), but we must link in the order -lSM -lICE or
8277 # we get undefined symbols. So assume we have SM if we have ICE.
8278 # These have to be linked with before -lX11, unlike the other
8279 # libraries we check for below, so use a different variable.
8280 # John Interrante, Karl Berry
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8282 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8283 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
8284 $as_echo_n "(cached) " >&6
8286 ac_check_lib_save_LIBS
=$LIBS
8287 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8289 /* end confdefs.h. */
8291 /* Override any GCC internal prototype to avoid an error.
8292 Use char because int might match the return type of a GCC
8293 builtin and then its argument prototype would still apply. */
8297 char IceConnectionNumber ();
8301 return IceConnectionNumber ();
8306 if ac_fn_c_try_link
"$LINENO"; then :
8307 ac_cv_lib_ICE_IceConnectionNumber
=yes
8309 ac_cv_lib_ICE_IceConnectionNumber
=no
8311 rm -f core conftest.err conftest.
$ac_objext \
8312 conftest
$ac_exeext conftest.
$ac_ext
8313 LIBS
=$ac_check_lib_save_LIBS
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8316 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8317 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
8318 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8321 LDFLAGS
=$ac_save_LDFLAGS
8326 if test "$have_x" = "yes"
8329 ac_save_CPPFLAGS
="$CPPFLAGS"
8330 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8333 $as_echo_n "checking for -lX11... " >&6; }
8334 if ${ac_cv_lib_soname_X11+:} false
; then :
8335 $as_echo_n "(cached) " >&6
8337 ac_check_soname_save_LIBS
=$LIBS
8338 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8342 /* Override any GCC internal prototype to avoid an error.
8343 Use char because int might match the return type of a GCC
8344 builtin and then its argument prototype would still apply. */
8348 char XCreateWindow ();
8352 return XCreateWindow ();
8357 if ac_fn_c_try_link
"$LINENO"; then :
8359 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8360 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'` ;;
8361 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8362 if test "x$ac_cv_lib_soname_X11" = x
; then :
8363 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8367 rm -f core conftest.err conftest.
$ac_objext \
8368 conftest
$ac_exeext conftest.
$ac_ext
8369 LIBS
=$ac_check_soname_save_LIBS
8371 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8373 $as_echo "not found" >&6; }
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8377 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8379 cat >>confdefs.h
<<_ACEOF
8380 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8386 $as_echo_n "checking for -lXext... " >&6; }
8387 if ${ac_cv_lib_soname_Xext+:} false
; then :
8388 $as_echo_n "(cached) " >&6
8390 ac_check_soname_save_LIBS
=$LIBS
8391 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8393 /* end confdefs.h. */
8395 /* Override any GCC internal prototype to avoid an error.
8396 Use char because int might match the return type of a GCC
8397 builtin and then its argument prototype would still apply. */
8401 char XextCreateExtension ();
8405 return XextCreateExtension ();
8410 if ac_fn_c_try_link
"$LINENO"; then :
8412 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8413 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'` ;;
8414 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8415 if test "x$ac_cv_lib_soname_Xext" = x
; then :
8416 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8420 rm -f core conftest.err conftest.
$ac_objext \
8421 conftest
$ac_exeext conftest.
$ac_ext
8422 LIBS
=$ac_check_soname_save_LIBS
8424 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8426 $as_echo "not found" >&6; }
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8430 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8432 cat >>confdefs.h
<<_ACEOF
8433 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8439 for ac_header
in X11
/Xlib.h \
8442 X11
/Xcursor
/Xcursor.h \
8443 X11
/extensions
/shape.h \
8444 X11
/extensions
/XInput.h \
8445 X11
/extensions
/XInput2.h \
8446 X11
/extensions
/XShm.h \
8447 X11
/extensions
/Xcomposite.h \
8448 X11
/extensions
/Xinerama.h \
8449 X11
/extensions
/Xrandr.h \
8450 X11
/extensions
/Xrender.h \
8451 X11
/extensions
/xf86vmode.h \
8452 X11
/extensions
/xf86vmproto.h
8454 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8455 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8456 # include <X11/Xlib.h>
8458 #ifdef HAVE_X11_XUTIL_H
8459 # include <X11/Xutil.h>
8462 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8463 cat >>confdefs.h
<<_ACEOF
8464 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8472 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8475 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8476 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
8477 $as_echo_n "(cached) " >&6
8479 ac_check_lib_save_LIBS
=$LIBS
8480 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8484 /* Override any GCC internal prototype to avoid an error.
8485 Use char because int might match the return type of a GCC
8486 builtin and then its argument prototype would still apply. */
8490 char XkbQueryExtension ();
8494 return XkbQueryExtension ();
8499 if ac_fn_c_try_link
"$LINENO"; then :
8500 ac_cv_lib_X11_XkbQueryExtension
=yes
8502 ac_cv_lib_X11_XkbQueryExtension
=no
8504 rm -f core conftest.err conftest.
$ac_objext \
8505 conftest
$ac_exeext conftest.
$ac_ext
8506 LIBS
=$ac_check_lib_save_LIBS
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8509 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8510 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
8512 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8518 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8521 $as_echo_n "checking for -lXcursor... " >&6; }
8522 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
8523 $as_echo_n "(cached) " >&6
8525 ac_check_soname_save_LIBS
=$LIBS
8526 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8528 /* end confdefs.h. */
8530 /* Override any GCC internal prototype to avoid an error.
8531 Use char because int might match the return type of a GCC
8532 builtin and then its argument prototype would still apply. */
8536 char XcursorImageLoadCursor ();
8540 return XcursorImageLoadCursor ();
8545 if ac_fn_c_try_link
"$LINENO"; then :
8547 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8548 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'` ;;
8549 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8550 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
8551 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8555 rm -f core conftest.err conftest.
$ac_objext \
8556 conftest
$ac_exeext conftest.
$ac_ext
8557 LIBS
=$ac_check_soname_save_LIBS
8559 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8561 $as_echo "not found" >&6; }
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8565 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8567 cat >>confdefs.h
<<_ACEOF
8568 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8574 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8575 case "x$with_xcursor" in
8576 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8578 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8579 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8583 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8586 $as_echo_n "checking for -lXi... " >&6; }
8587 if ${ac_cv_lib_soname_Xi+:} false
; then :
8588 $as_echo_n "(cached) " >&6
8590 ac_check_soname_save_LIBS
=$LIBS
8591 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8593 /* end confdefs.h. */
8595 /* Override any GCC internal prototype to avoid an error.
8596 Use char because int might match the return type of a GCC
8597 builtin and then its argument prototype would still apply. */
8601 char XOpenDevice ();
8605 return XOpenDevice ();
8610 if ac_fn_c_try_link
"$LINENO"; then :
8612 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8613 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'` ;;
8614 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8615 if test "x$ac_cv_lib_soname_Xi" = x
; then :
8616 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8620 rm -f core conftest.err conftest.
$ac_objext \
8621 conftest
$ac_exeext conftest.
$ac_ext
8622 LIBS
=$ac_check_soname_save_LIBS
8624 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8626 $as_echo "not found" >&6; }
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8630 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8632 cat >>confdefs.h
<<_ACEOF
8633 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8639 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8640 case "x$with_xinput" in
8641 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8643 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8644 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8648 if test "x$ac_cv_lib_soname_Xi" != x
8650 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8651 case "x$with_xinput2" in
8652 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8654 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
8655 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8660 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8663 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8664 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
8665 $as_echo_n "(cached) " >&6
8667 ac_check_lib_save_LIBS
=$LIBS
8668 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8670 /* end confdefs.h. */
8672 /* Override any GCC internal prototype to avoid an error.
8673 Use char because int might match the return type of a GCC
8674 builtin and then its argument prototype would still apply. */
8678 char XShmQueryExtension ();
8682 return XShmQueryExtension ();
8687 if ac_fn_c_try_link
"$LINENO"; then :
8688 ac_cv_lib_Xext_XShmQueryExtension
=yes
8690 ac_cv_lib_Xext_XShmQueryExtension
=no
8692 rm -f core conftest.err conftest.
$ac_objext \
8693 conftest
$ac_exeext conftest.
$ac_ext
8694 LIBS
=$ac_check_lib_save_LIBS
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8697 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8698 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
8700 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8705 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8706 case "x$with_xshm" in
8707 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8709 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8710 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8714 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8717 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8718 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
8719 $as_echo_n "(cached) " >&6
8721 ac_check_lib_save_LIBS
=$LIBS
8722 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8724 /* end confdefs.h. */
8726 /* Override any GCC internal prototype to avoid an error.
8727 Use char because int might match the return type of a GCC
8728 builtin and then its argument prototype would still apply. */
8732 char XShapeQueryExtension ();
8736 return XShapeQueryExtension ();
8741 if ac_fn_c_try_link
"$LINENO"; then :
8742 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8744 ac_cv_lib_Xext_XShapeQueryExtension
=no
8746 rm -f core conftest.err conftest.
$ac_objext \
8747 conftest
$ac_exeext conftest.
$ac_ext
8748 LIBS
=$ac_check_lib_save_LIBS
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8751 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8752 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
8754 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8759 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8760 case "x$with_xshape" in
8761 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8763 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8764 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8768 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8771 $as_echo_n "checking for -lXxf86vm... " >&6; }
8772 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
8773 $as_echo_n "(cached) " >&6
8775 ac_check_soname_save_LIBS
=$LIBS
8776 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8778 /* end confdefs.h. */
8780 /* Override any GCC internal prototype to avoid an error.
8781 Use char because int might match the return type of a GCC
8782 builtin and then its argument prototype would still apply. */
8786 char XF86VidModeQueryExtension ();
8790 return XF86VidModeQueryExtension ();
8795 if ac_fn_c_try_link
"$LINENO"; then :
8797 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8798 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'` ;;
8799 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8800 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
8801 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8805 rm -f core conftest.err conftest.
$ac_objext \
8806 conftest
$ac_exeext conftest.
$ac_ext
8807 LIBS
=$ac_check_soname_save_LIBS
8809 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8811 $as_echo "not found" >&6; }
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8815 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8817 cat >>confdefs.h
<<_ACEOF
8818 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8824 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8825 case "x$with_xxf86vm" in
8826 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8828 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8829 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8833 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"
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8836 $as_echo_n "checking for -lXrender... " >&6; }
8837 if ${ac_cv_lib_soname_Xrender+:} false
; then :
8838 $as_echo_n "(cached) " >&6
8840 ac_check_soname_save_LIBS
=$LIBS
8841 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8843 /* end confdefs.h. */
8845 /* Override any GCC internal prototype to avoid an error.
8846 Use char because int might match the return type of a GCC
8847 builtin and then its argument prototype would still apply. */
8851 char XRenderQueryExtension ();
8855 return XRenderQueryExtension ();
8860 if ac_fn_c_try_link
"$LINENO"; then :
8862 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8863 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'` ;;
8864 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8865 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
8866 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8870 rm -f core conftest.err conftest.
$ac_objext \
8871 conftest
$ac_exeext conftest.
$ac_ext
8872 LIBS
=$ac_check_soname_save_LIBS
8874 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8876 $as_echo "not found" >&6; }
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8880 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8882 cat >>confdefs.h
<<_ACEOF
8883 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8887 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8888 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
8889 $as_echo_n "(cached) " >&6
8891 ac_check_lib_save_LIBS
=$LIBS
8892 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8894 /* end confdefs.h. */
8896 /* Override any GCC internal prototype to avoid an error.
8897 Use char because int might match the return type of a GCC
8898 builtin and then its argument prototype would still apply. */
8902 char XRenderSetPictureTransform ();
8906 return XRenderSetPictureTransform ();
8911 if ac_fn_c_try_link
"$LINENO"; then :
8912 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8914 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8916 rm -f core conftest.err conftest.
$ac_objext \
8917 conftest
$ac_exeext conftest.
$ac_ext
8918 LIBS
=$ac_check_lib_save_LIBS
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8921 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8922 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
8924 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8929 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8930 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
8931 $as_echo_n "(cached) " >&6
8933 ac_check_lib_save_LIBS
=$LIBS
8934 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8936 /* end confdefs.h. */
8938 /* Override any GCC internal prototype to avoid an error.
8939 Use char because int might match the return type of a GCC
8940 builtin and then its argument prototype would still apply. */
8944 char XRenderCreateLinearGradient ();
8948 return XRenderCreateLinearGradient ();
8953 if ac_fn_c_try_link
"$LINENO"; then :
8954 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
8956 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
8958 rm -f core conftest.err conftest.
$ac_objext \
8959 conftest
$ac_exeext conftest.
$ac_ext
8960 LIBS
=$ac_check_lib_save_LIBS
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8963 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8964 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
8966 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8973 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8974 case "x$with_xrender" in
8975 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8977 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8978 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8982 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8985 /* end confdefs.h. */
8986 #include <X11/Xlib.h>
8987 #include <X11/extensions/Xrandr.h>
8991 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8996 if ac_fn_c_try_compile
"$LINENO"; then :
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8998 $as_echo_n "checking for -lXrandr... " >&6; }
8999 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9000 $as_echo_n "(cached) " >&6
9002 ac_check_soname_save_LIBS
=$LIBS
9003 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9005 /* end confdefs.h. */
9007 /* Override any GCC internal prototype to avoid an error.
9008 Use char because int might match the return type of a GCC
9009 builtin and then its argument prototype would still apply. */
9013 char XRRQueryExtension ();
9017 return XRRQueryExtension ();
9022 if ac_fn_c_try_link
"$LINENO"; then :
9024 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9025 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'` ;;
9026 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9027 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
9028 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9032 rm -f core conftest.err conftest.
$ac_objext \
9033 conftest
$ac_exeext conftest.
$ac_ext
9034 LIBS
=$ac_check_soname_save_LIBS
9036 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9038 $as_echo "not found" >&6; }
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9042 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9044 cat >>confdefs.h
<<_ACEOF
9045 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9049 /* end confdefs.h. */
9050 #include <X11/Xlib.h>
9051 #include <X11/extensions/Xrandr.h>
9055 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9060 if ac_fn_c_try_compile
"$LINENO"; then :
9062 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9070 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9071 case "x$with_xrandr" in
9072 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9074 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9075 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9079 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9082 /* end confdefs.h. */
9083 #include <X11/Xlib.h>
9084 #include <X11/extensions/Xinerama.h>
9088 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9093 if ac_fn_c_try_compile
"$LINENO"; then :
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9095 $as_echo_n "checking for -lXinerama... " >&6; }
9096 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
9097 $as_echo_n "(cached) " >&6
9099 ac_check_soname_save_LIBS
=$LIBS
9100 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9102 /* end confdefs.h. */
9104 /* Override any GCC internal prototype to avoid an error.
9105 Use char because int might match the return type of a GCC
9106 builtin and then its argument prototype would still apply. */
9110 char XineramaQueryScreens ();
9114 return XineramaQueryScreens ();
9119 if ac_fn_c_try_link
"$LINENO"; then :
9121 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9122 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'` ;;
9123 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9124 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
9125 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9129 rm -f core conftest.err conftest.
$ac_objext \
9130 conftest
$ac_exeext conftest.
$ac_ext
9131 LIBS
=$ac_check_soname_save_LIBS
9133 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9135 $as_echo "not found" >&6; }
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9139 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9141 cat >>confdefs.h
<<_ACEOF
9142 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9150 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9151 case "x$with_xinerama" in
9152 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9154 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9155 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9159 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9162 $as_echo_n "checking for -lXcomposite... " >&6; }
9163 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
9164 $as_echo_n "(cached) " >&6
9166 ac_check_soname_save_LIBS
=$LIBS
9167 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9169 /* end confdefs.h. */
9171 /* Override any GCC internal prototype to avoid an error.
9172 Use char because int might match the return type of a GCC
9173 builtin and then its argument prototype would still apply. */
9177 char XCompositeRedirectWindow ();
9181 return XCompositeRedirectWindow ();
9186 if ac_fn_c_try_link
"$LINENO"; then :
9188 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9189 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'` ;;
9190 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9191 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
9192 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9196 rm -f core conftest.err conftest.
$ac_objext \
9197 conftest
$ac_exeext conftest.
$ac_ext
9198 LIBS
=$ac_check_soname_save_LIBS
9200 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9202 $as_echo "not found" >&6; }
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9206 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9208 cat >>confdefs.h
<<_ACEOF
9209 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9215 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9216 case "x$with_xcomposite" in
9217 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9219 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9220 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9224 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9225 #include <X11/Xlib.h>
9228 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
9230 cat >>confdefs.h
<<_ACEOF
9231 #define HAVE_XICCALLBACK_CALLBACK 1
9236 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9237 #include <X11/Xlib.h>
9240 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
9242 cat >>confdefs.h
<<_ACEOF
9243 #define HAVE_XEVENT_XCOOKIE 1
9252 if test "x$with_opengl" != "xno"
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9255 $as_echo_n "checking for -lGL... " >&6; }
9256 if ${ac_cv_lib_soname_GL+:} false
; then :
9257 $as_echo_n "(cached) " >&6
9259 ac_check_soname_save_LIBS
=$LIBS
9260 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9262 /* end confdefs.h. */
9264 /* Override any GCC internal prototype to avoid an error.
9265 Use char because int might match the return type of a GCC
9266 builtin and then its argument prototype would still apply. */
9270 char glXCreateContext ();
9274 return glXCreateContext ();
9279 if ac_fn_c_try_link
"$LINENO"; then :
9281 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9282 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'` ;;
9283 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9284 if test "x$ac_cv_lib_soname_GL" = x
; then :
9285 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9289 rm -f core conftest.err conftest.
$ac_objext \
9290 conftest
$ac_exeext conftest.
$ac_ext
9291 LIBS
=$ac_check_soname_save_LIBS
9293 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9295 $as_echo "not found" >&6; }
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9297 $as_echo_n "checking for -lGL... " >&6; }
9298 if ${ac_cv_lib_soname_GL+:} false
; then :
9299 $as_echo_n "(cached) " >&6
9301 ac_check_soname_save_LIBS
=$LIBS
9302 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"
9303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9304 /* end confdefs.h. */
9306 /* Override any GCC internal prototype to avoid an error.
9307 Use char because int might match the return type of a GCC
9308 builtin and then its argument prototype would still apply. */
9312 char glXCreateContext ();
9316 return glXCreateContext ();
9321 if ac_fn_c_try_link
"$LINENO"; then :
9323 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9324 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'` ;;
9325 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9326 if test "x$ac_cv_lib_soname_GL" = x
; then :
9327 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9331 rm -f core conftest.err conftest.
$ac_objext \
9332 conftest
$ac_exeext conftest.
$ac_ext
9333 LIBS
=$ac_check_soname_save_LIBS
9335 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9337 $as_echo "not found" >&6; }
9338 if test -f /usr
/X11R
6/lib
/libGL.a
9340 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
9341 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9343 opengl_msg
="No OpenGL library found on this system."
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9347 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9349 cat >>confdefs.h
<<_ACEOF
9350 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9353 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"
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9357 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9359 cat >>confdefs.h
<<_ACEOF
9360 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9365 if test "x$with_glu" != "xno"
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9368 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9369 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9370 $as_echo_n "(cached) " >&6
9372 ac_check_lib_save_LIBS
=$LIBS
9373 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9375 /* end confdefs.h. */
9377 /* Override any GCC internal prototype to avoid an error.
9378 Use char because int might match the return type of a GCC
9379 builtin and then its argument prototype would still apply. */
9387 return gluLookAt ();
9392 if ac_fn_c_try_link
"$LINENO"; then :
9393 ac_cv_lib_GLU_gluLookAt
=yes
9395 ac_cv_lib_GLU_gluLookAt
=no
9397 rm -f core conftest.err conftest.
$ac_objext \
9398 conftest
$ac_exeext conftest.
$ac_ext
9399 LIBS
=$ac_check_lib_save_LIBS
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9402 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9403 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
9407 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
9408 case "x$with_glu" in
9409 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9411 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9412 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9417 if test "x$with_osmesa" != "xno"
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9420 $as_echo_n "checking for -lOSMesa... " >&6; }
9421 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9422 $as_echo_n "(cached) " >&6
9424 ac_check_soname_save_LIBS
=$LIBS
9425 LIBS
="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9427 /* end confdefs.h. */
9429 /* Override any GCC internal prototype to avoid an error.
9430 Use char because int might match the return type of a GCC
9431 builtin and then its argument prototype would still apply. */
9444 if ac_fn_c_try_link
"$LINENO"; then :
9446 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9447 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'` ;;
9448 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9449 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
9450 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9454 rm -f core conftest.err conftest.
$ac_objext \
9455 conftest
$ac_exeext conftest.
$ac_ext
9456 LIBS
=$ac_check_soname_save_LIBS
9458 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9460 $as_echo "not found" >&6; }
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9464 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9466 cat >>confdefs.h
<<_ACEOF
9467 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9472 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9473 case "x$with_osmesa" in
9474 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9476 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9477 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9482 if test -n "$opengl_msg"; then :
9483 case "x$with_opengl" in
9484 x
) as_fn_append wine_warnings
"|$opengl_msg
9485 OpenGL and Direct3D won't be supported." ;;
9487 *) as_fn_error $?
"$opengl_msg
9488 OpenGL and Direct3D won't be supported.
9489 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9493 CPPFLAGS
="$ac_save_CPPFLAGS"
9498 enable_winex11_drv
=${enable_winex11_drv:-no}
9500 if test "x$XLIB" = "x"; then :
9503 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
9504 without X support, which probably isn't what you want. You will need
9505 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9506 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9510 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
9512 if test "$ac_cv_header_CL_cl_h" = "yes"
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9515 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9516 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
9517 $as_echo_n "(cached) " >&6
9519 ac_check_lib_save_LIBS
=$LIBS
9520 LIBS
="-lOpenCL $LIBS"
9521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9522 /* end confdefs.h. */
9524 /* Override any GCC internal prototype to avoid an error.
9525 Use char because int might match the return type of a GCC
9526 builtin and then its argument prototype would still apply. */
9530 char clGetPlatformInfo ();
9534 return clGetPlatformInfo ();
9539 if ac_fn_c_try_link
"$LINENO"; then :
9540 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9542 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9544 rm -f core conftest.err conftest.
$ac_objext \
9545 conftest
$ac_exeext conftest.
$ac_ext
9546 LIBS
=$ac_check_lib_save_LIBS
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9549 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9550 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
9551 LIBOPENCL
="-lOpenCL"
9556 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9557 case "x$with_opencl" in
9558 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9560 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9561 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9564 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9567 if test "x$with_xml" != "xno"
9569 ac_save_CPPFLAGS
="$CPPFLAGS"
9570 if test -n "$ac_tool_prefix"; then
9571 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9572 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9574 $as_echo_n "checking for $ac_word... " >&6; }
9575 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
9576 $as_echo_n "(cached) " >&6
9578 if test -n "$PKG_CONFIG"; then
9579 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
9581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9585 test -z "$as_dir" && as_dir
=.
9586 for ac_exec_ext
in '' $ac_executable_extensions; do
9587 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9588 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
9589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9598 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
9599 if test -n "$PKG_CONFIG"; then
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9601 $as_echo "$PKG_CONFIG" >&6; }
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9604 $as_echo "no" >&6; }
9609 if test -z "$ac_cv_prog_PKG_CONFIG"; then
9610 ac_ct_PKG_CONFIG
=$PKG_CONFIG
9611 # Extract the first word of "pkg-config", so it can be a program name with args.
9612 set dummy pkg-config
; ac_word
=$2
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9614 $as_echo_n "checking for $ac_word... " >&6; }
9615 if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false
; then :
9616 $as_echo_n "(cached) " >&6
9618 if test -n "$ac_ct_PKG_CONFIG"; then
9619 ac_cv_prog_ac_ct_PKG_CONFIG
="$ac_ct_PKG_CONFIG" # Let the user override the test.
9621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9625 test -z "$as_dir" && as_dir
=.
9626 for ac_exec_ext
in '' $ac_executable_extensions; do
9627 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9628 ac_cv_prog_ac_ct_PKG_CONFIG
="pkg-config"
9629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9638 ac_ct_PKG_CONFIG
=$ac_cv_prog_ac_ct_PKG_CONFIG
9639 if test -n "$ac_ct_PKG_CONFIG"; then
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
9641 $as_echo "$ac_ct_PKG_CONFIG" >&6; }
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9644 $as_echo "no" >&6; }
9647 if test "x$ac_ct_PKG_CONFIG" = x
; then
9650 case $cross_compiling:$ac_tool_warned in
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9654 ac_tool_warned
=yes ;;
9656 PKG_CONFIG
=$ac_ct_PKG_CONFIG
9659 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
9662 if test -n "$XML2_CFLAGS"; then :
9664 elif test -n "$PKG_CONFIG"; then :
9665 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
9667 XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
9668 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
9669 if test -n "$XML2_LIBS"; then :
9671 elif test -n "$PKG_CONFIG"; then :
9672 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
9674 XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
9675 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
9676 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
9678 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9679 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9680 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9681 cat >>confdefs.h
<<_ACEOF
9682 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9689 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"
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9692 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9693 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
9694 $as_echo_n "(cached) " >&6
9696 ac_check_lib_save_LIBS
=$LIBS
9697 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9699 /* end confdefs.h. */
9701 /* Override any GCC internal prototype to avoid an error.
9702 Use char because int might match the return type of a GCC
9703 builtin and then its argument prototype would still apply. */
9707 char xmlParseMemory ();
9711 return xmlParseMemory ();
9716 if ac_fn_c_try_link
"$LINENO"; then :
9717 ac_cv_lib_xml2_xmlParseMemory
=yes
9719 ac_cv_lib_xml2_xmlParseMemory
=no
9721 rm -f core conftest.err conftest.
$ac_objext \
9722 conftest
$ac_exeext conftest.
$ac_ext
9723 LIBS
=$ac_check_lib_save_LIBS
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9726 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9727 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
9729 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9736 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9737 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
9738 $as_echo_n "(cached) " >&6
9740 ac_check_lib_save_LIBS
=$LIBS
9741 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9743 /* end confdefs.h. */
9745 /* Override any GCC internal prototype to avoid an error.
9746 Use char because int might match the return type of a GCC
9747 builtin and then its argument prototype would still apply. */
9751 char xmlReadMemory ();
9755 return xmlReadMemory ();
9760 if ac_fn_c_try_link
"$LINENO"; then :
9761 ac_cv_lib_xml2_xmlReadMemory
=yes
9763 ac_cv_lib_xml2_xmlReadMemory
=no
9765 rm -f core conftest.err conftest.
$ac_objext \
9766 conftest
$ac_exeext conftest.
$ac_ext
9767 LIBS
=$ac_check_lib_save_LIBS
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9770 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9771 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
9773 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9778 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9779 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
9780 $as_echo_n "(cached) " >&6
9782 ac_check_lib_save_LIBS
=$LIBS
9783 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9785 /* end confdefs.h. */
9787 /* Override any GCC internal prototype to avoid an error.
9788 Use char because int might match the return type of a GCC
9789 builtin and then its argument prototype would still apply. */
9793 char xmlNewDocPI ();
9797 return xmlNewDocPI ();
9802 if ac_fn_c_try_link
"$LINENO"; then :
9803 ac_cv_lib_xml2_xmlNewDocPI
=yes
9805 ac_cv_lib_xml2_xmlNewDocPI
=no
9807 rm -f core conftest.err conftest.
$ac_objext \
9808 conftest
$ac_exeext conftest.
$ac_ext
9809 LIBS
=$ac_check_lib_save_LIBS
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9812 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9813 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
9815 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9820 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9821 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
9822 $as_echo_n "(cached) " >&6
9824 ac_check_lib_save_LIBS
=$LIBS
9825 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9827 /* end confdefs.h. */
9829 /* Override any GCC internal prototype to avoid an error.
9830 Use char because int might match the return type of a GCC
9831 builtin and then its argument prototype would still apply. */
9835 char xmlSchemaSetParserStructuredErrors ();
9839 return xmlSchemaSetParserStructuredErrors ();
9844 if ac_fn_c_try_link
"$LINENO"; then :
9845 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9847 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9849 rm -f core conftest.err conftest.
$ac_objext \
9850 conftest
$ac_exeext conftest.
$ac_ext
9851 LIBS
=$ac_check_lib_save_LIBS
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9854 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9855 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
9857 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9862 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9863 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
9864 $as_echo_n "(cached) " >&6
9866 ac_check_lib_save_LIBS
=$LIBS
9867 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9869 /* end confdefs.h. */
9871 /* Override any GCC internal prototype to avoid an error.
9872 Use char because int might match the return type of a GCC
9873 builtin and then its argument prototype would still apply. */
9877 char xmlSchemaSetValidStructuredErrors ();
9881 return xmlSchemaSetValidStructuredErrors ();
9886 if ac_fn_c_try_link
"$LINENO"; then :
9887 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9889 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9891 rm -f core conftest.err conftest.
$ac_objext \
9892 conftest
$ac_exeext conftest.
$ac_ext
9893 LIBS
=$ac_check_lib_save_LIBS
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9896 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9897 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
9899 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9904 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9905 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
9906 $as_echo_n "(cached) " >&6
9908 ac_check_lib_save_LIBS
=$LIBS
9909 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9911 /* end confdefs.h. */
9913 /* Override any GCC internal prototype to avoid an error.
9914 Use char because int might match the return type of a GCC
9915 builtin and then its argument prototype would still apply. */
9919 char xmlFirstElementChild ();
9923 return xmlFirstElementChild ();
9928 if ac_fn_c_try_link
"$LINENO"; then :
9929 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9931 ac_cv_lib_xml2_xmlFirstElementChild
=no
9933 rm -f core conftest.err conftest.
$ac_objext \
9934 conftest
$ac_exeext conftest.
$ac_ext
9935 LIBS
=$ac_check_lib_save_LIBS
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9938 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9939 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
9941 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9945 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9947 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
9949 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9957 CPPFLAGS
="$ac_save_CPPFLAGS"
9959 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9960 case "x$with_xml" in
9961 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9963 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9964 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9968 if test "x$with_xslt" != "xno"
9970 ac_save_CPPFLAGS
="$CPPFLAGS"
9971 if test -n "$XSLT_CFLAGS"; then :
9973 elif test -n "$PKG_CONFIG"; then :
9974 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
9976 XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
9977 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
9978 if test -n "$XSLT_LIBS"; then :
9980 elif test -n "$PKG_CONFIG"; then :
9981 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
9983 XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
9984 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
9985 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9987 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9988 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9989 # include <libxslt/pattern.h>
9992 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9993 cat >>confdefs.h
<<_ACEOF
9994 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10001 CPPFLAGS
="$ac_save_CPPFLAGS"
10002 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10005 $as_echo_n "checking for -lxslt... " >&6; }
10006 if ${ac_cv_lib_soname_xslt+:} false
; then :
10007 $as_echo_n "(cached) " >&6
10009 ac_check_soname_save_LIBS
=$LIBS
10010 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10012 /* end confdefs.h. */
10014 /* Override any GCC internal prototype to avoid an error.
10015 Use char because int might match the return type of a GCC
10016 builtin and then its argument prototype would still apply. */
10020 char xsltCompilePattern ();
10024 return xsltCompilePattern ();
10029 if ac_fn_c_try_link
"$LINENO"; then :
10031 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10032 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'` ;;
10033 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10034 if test "x$ac_cv_lib_soname_xslt" = x
; then :
10035 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10039 rm -f core conftest.err conftest.
$ac_objext \
10040 conftest
$ac_exeext conftest.
$ac_ext
10041 LIBS
=$ac_check_soname_save_LIBS
10043 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10045 $as_echo "not found" >&6; }
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10049 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10051 cat >>confdefs.h
<<_ACEOF
10052 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10061 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10062 case "x$with_xslt" in
10063 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10065 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10066 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10070 if test "x$with_dbus" != "xno"
10072 ac_save_CPPFLAGS
="$CPPFLAGS"
10073 if test -n "$DBUS_CFLAGS"; then :
10075 elif test -n "$PKG_CONFIG"; then :
10076 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10079 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10080 if test -n "$DBUS_LIBS"; then :
10082 elif test -n "$PKG_CONFIG"; then :
10083 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10087 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10088 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10090 $as_echo_n "checking for -ldbus-1... " >&6; }
10091 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10092 $as_echo_n "(cached) " >&6
10094 ac_check_soname_save_LIBS
=$LIBS
10095 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10097 /* end confdefs.h. */
10099 /* Override any GCC internal prototype to avoid an error.
10100 Use char because int might match the return type of a GCC
10101 builtin and then its argument prototype would still apply. */
10105 char dbus_connection_close ();
10109 return dbus_connection_close ();
10114 if ac_fn_c_try_link
"$LINENO"; then :
10116 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10117 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'` ;;
10118 *) 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'`
10119 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
10120 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10124 rm -f core conftest.err conftest.
$ac_objext \
10125 conftest
$ac_exeext conftest.
$ac_ext
10126 LIBS
=$ac_check_soname_save_LIBS
10128 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10130 $as_echo "not found" >&6; }
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10134 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10136 cat >>confdefs.h
<<_ACEOF
10137 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10147 CPPFLAGS
="$ac_save_CPPFLAGS"
10149 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10150 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10151 case "x$with_dbus" in
10152 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10154 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10155 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10159 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10161 ac_save_CPPFLAGS
="$CPPFLAGS"
10162 if test -n "$HAL_CFLAGS"; then :
10164 elif test -n "$PKG_CONFIG"; then :
10165 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
10168 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
10169 if test -n "$HAL_LIBS"; then :
10171 elif test -n "$PKG_CONFIG"; then :
10172 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
10175 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
10176 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10177 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10179 $as_echo_n "checking for -lhal... " >&6; }
10180 if ${ac_cv_lib_soname_hal+:} false
; then :
10181 $as_echo_n "(cached) " >&6
10183 ac_check_soname_save_LIBS
=$LIBS
10184 LIBS
="-lhal $HAL_LIBS $LIBS"
10185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10186 /* end confdefs.h. */
10188 /* Override any GCC internal prototype to avoid an error.
10189 Use char because int might match the return type of a GCC
10190 builtin and then its argument prototype would still apply. */
10194 char libhal_ctx_new ();
10198 return libhal_ctx_new ();
10203 if ac_fn_c_try_link
"$LINENO"; then :
10205 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10206 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'` ;;
10207 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10208 if test "x$ac_cv_lib_soname_hal" = x
; then :
10209 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10213 rm -f core conftest.err conftest.
$ac_objext \
10214 conftest
$ac_exeext conftest.
$ac_ext
10215 LIBS
=$ac_check_soname_save_LIBS
10217 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10219 $as_echo "not found" >&6; }
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10223 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10225 cat >>confdefs.h
<<_ACEOF
10226 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10236 CPPFLAGS
="$ac_save_CPPFLAGS"
10237 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10238 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10239 case "x$with_hal" in
10240 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10242 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
10243 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10248 if test "x$with_gnutls" != "xno"
10250 ac_save_CPPFLAGS
="$CPPFLAGS"
10251 if test -n "$GNUTLS_CFLAGS"; then :
10253 elif test -n "$PKG_CONFIG"; then :
10254 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10257 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
10258 if test -n "$GNUTLS_LIBS"; then :
10260 elif test -n "$PKG_CONFIG"; then :
10261 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10265 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10266 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
10267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10268 /* end confdefs.h. */
10269 #include <gnutls/gnutls.h>
10273 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10278 if ac_fn_c_try_compile
"$LINENO"; then :
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10280 $as_echo_n "checking for -lgnutls... " >&6; }
10281 if ${ac_cv_lib_soname_gnutls+:} false
; then :
10282 $as_echo_n "(cached) " >&6
10284 ac_check_soname_save_LIBS
=$LIBS
10285 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
10286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10287 /* end confdefs.h. */
10289 /* Override any GCC internal prototype to avoid an error.
10290 Use char because int might match the return type of a GCC
10291 builtin and then its argument prototype would still apply. */
10295 char gnutls_global_init ();
10299 return gnutls_global_init ();
10304 if ac_fn_c_try_link
"$LINENO"; then :
10306 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10307 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'` ;;
10308 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10309 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
10310 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10314 rm -f core conftest.err conftest.
$ac_objext \
10315 conftest
$ac_exeext conftest.
$ac_ext
10316 LIBS
=$ac_check_soname_save_LIBS
10318 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10320 $as_echo "not found" >&6; }
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10324 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10326 cat >>confdefs.h
<<_ACEOF
10327 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10339 CPPFLAGS
="$ac_save_CPPFLAGS"
10341 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10342 case "x$with_gnutls" in
10343 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10345 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
10346 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10351 if test "$ac_cv_header_ncurses_h" = "yes"
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10354 $as_echo_n "checking for -lncurses... " >&6; }
10355 if ${ac_cv_lib_soname_ncurses+:} false
; then :
10356 $as_echo_n "(cached) " >&6
10358 ac_check_soname_save_LIBS
=$LIBS
10359 LIBS
="-lncurses $LIBS"
10360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10361 /* end confdefs.h. */
10363 /* Override any GCC internal prototype to avoid an error.
10364 Use char because int might match the return type of a GCC
10365 builtin and then its argument prototype would still apply. */
10378 if ac_fn_c_try_link
"$LINENO"; then :
10380 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10381 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'` ;;
10382 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10383 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
10384 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10388 rm -f core conftest.err conftest.
$ac_objext \
10389 conftest
$ac_exeext conftest.
$ac_ext
10390 LIBS
=$ac_check_soname_save_LIBS
10392 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10394 $as_echo "not found" >&6; }
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10398 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10400 cat >>confdefs.h
<<_ACEOF
10401 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10404 CURSESLIBS
="-lncurses"
10406 elif test "$ac_cv_header_curses_h" = "yes"
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10409 $as_echo_n "checking for -lcurses... " >&6; }
10410 if ${ac_cv_lib_soname_curses+:} false
; then :
10411 $as_echo_n "(cached) " >&6
10413 ac_check_soname_save_LIBS
=$LIBS
10414 LIBS
="-lcurses $LIBS"
10415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10416 /* end confdefs.h. */
10418 /* Override any GCC internal prototype to avoid an error.
10419 Use char because int might match the return type of a GCC
10420 builtin and then its argument prototype would still apply. */
10433 if ac_fn_c_try_link
"$LINENO"; then :
10435 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10436 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'` ;;
10437 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10438 if test "x$ac_cv_lib_soname_curses" = x
; then :
10439 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10443 rm -f core conftest.err conftest.
$ac_objext \
10444 conftest
$ac_exeext conftest.
$ac_ext
10445 LIBS
=$ac_check_soname_save_LIBS
10447 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10449 $as_echo "not found" >&6; }
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10453 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10455 cat >>confdefs.h
<<_ACEOF
10456 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10459 CURSESLIBS
="-lcurses"
10462 ac_save_LIBS
="$LIBS"
10463 LIBS
="$LIBS $CURSESLIBS"
10464 for ac_func
in mousemask
10466 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
10467 if test "x$ac_cv_func_mousemask" = xyes
; then :
10468 cat >>confdefs.h
<<_ACEOF
10469 #define HAVE_MOUSEMASK 1
10475 LIBS
="$ac_save_LIBS"
10476 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10477 case "x$with_curses" in
10478 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10480 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10481 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10485 if test "x$with_sane" != "xno"
10487 ac_save_CPPFLAGS
="$CPPFLAGS"
10488 if test -n "$SANE_CFLAGS"; then :
10490 elif test -n "$PKG_CONFIG"; then :
10491 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10493 SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10494 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
10495 if test -n "$SANE_LIBS"; then :
10497 elif test -n "$PKG_CONFIG"; then :
10498 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
10500 SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10502 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10503 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10505 $as_echo_n "checking for -lsane... " >&6; }
10506 if ${ac_cv_lib_soname_sane+:} false
; then :
10507 $as_echo_n "(cached) " >&6
10509 ac_check_soname_save_LIBS
=$LIBS
10510 LIBS
="-lsane $SANE_LIBS $LIBS"
10511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10512 /* end confdefs.h. */
10514 /* Override any GCC internal prototype to avoid an error.
10515 Use char because int might match the return type of a GCC
10516 builtin and then its argument prototype would still apply. */
10524 return sane_init ();
10529 if ac_fn_c_try_link
"$LINENO"; then :
10531 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10532 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'` ;;
10533 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10534 if test "x$ac_cv_lib_soname_sane" = x
; then :
10535 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10539 rm -f core conftest.err conftest.
$ac_objext \
10540 conftest
$ac_exeext conftest.
$ac_ext
10541 LIBS
=$ac_check_soname_save_LIBS
10543 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10545 $as_echo "not found" >&6; }
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10549 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10551 cat >>confdefs.h
<<_ACEOF
10552 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10561 CPPFLAGS
="$ac_save_CPPFLAGS"
10563 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10564 case "x$with_sane" in
10565 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10567 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
10568 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10572 if test "x$with_v4l" != "xno"
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10575 $as_echo_n "checking for -lv4l1... " >&6; }
10576 if ${ac_cv_lib_soname_v4l1+:} false
; then :
10577 $as_echo_n "(cached) " >&6
10579 ac_check_soname_save_LIBS
=$LIBS
10580 LIBS
="-lv4l1 $LIBS"
10581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10582 /* end confdefs.h. */
10584 /* Override any GCC internal prototype to avoid an error.
10585 Use char because int might match the return type of a GCC
10586 builtin and then its argument prototype would still apply. */
10594 return v4l1_open ();
10599 if ac_fn_c_try_link
"$LINENO"; then :
10601 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10602 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'` ;;
10603 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10604 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
10605 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10609 rm -f core conftest.err conftest.
$ac_objext \
10610 conftest
$ac_exeext conftest.
$ac_ext
10611 LIBS
=$ac_check_soname_save_LIBS
10613 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10615 $as_echo "not found" >&6; }
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10619 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10621 cat >>confdefs.h
<<_ACEOF
10622 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10628 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10629 case "x$with_v4l" in
10630 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
10632 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
10633 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10637 if test "x$with_gphoto" != "xno"
10639 ac_save_CPPFLAGS
="$CPPFLAGS"
10640 if test -n "$GPHOTO2_CFLAGS"; then :
10642 elif test -n "$PKG_CONFIG"; then :
10643 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
10645 GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`(gphoto2-config --cflags || gphoto2-port-config --cflags) 2>/dev/null`}
10646 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
10647 if test -n "$GPHOTO2_LIBS"; then :
10649 elif test -n "$PKG_CONFIG"; then :
10650 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
10652 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`(gphoto2-config --libs || gphoto2-port-config --libs) 2>/dev/null`}
10653 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
10654 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10655 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10657 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10658 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
10659 $as_echo_n "(cached) " >&6
10661 ac_check_lib_save_LIBS
=$LIBS
10662 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
10663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10664 /* end confdefs.h. */
10666 /* Override any GCC internal prototype to avoid an error.
10667 Use char because int might match the return type of a GCC
10668 builtin and then its argument prototype would still apply. */
10672 char gp_camera_new ();
10676 return gp_camera_new ();
10681 if ac_fn_c_try_link
"$LINENO"; then :
10682 ac_cv_lib_gphoto2_gp_camera_new
=yes
10684 ac_cv_lib_gphoto2_gp_camera_new
=no
10686 rm -f core conftest.err conftest.
$ac_objext \
10687 conftest
$ac_exeext conftest.
$ac_ext
10688 LIBS
=$ac_check_lib_save_LIBS
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10691 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10692 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
10694 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10697 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
10701 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
10705 CPPFLAGS
="$ac_save_CPPFLAGS"
10707 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10708 case "x$with_gphoto" in
10709 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10711 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10712 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10717 if test "$ac_cv_header_resolv_h" = "yes"
10719 ac_save_LIBS
="$LIBS"
10720 for lib
in '' -lresolv
10722 LIBS
="$lib $ac_save_LIBS"
10723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10724 /* end confdefs.h. */
10725 #ifdef HAVE_NETINET_IN_H
10726 #include <netinet/in.h>
10728 #include <resolv.h>
10732 res_query("foo",ns_c_in,0,0,0);
10737 if ac_fn_c_try_link
"$LINENO"; then :
10739 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10744 rm -f core conftest.err conftest.
$ac_objext \
10745 conftest
$ac_exeext conftest.
$ac_ext
10746 if test "${RESOLVLIBS+set}" = set; then
10750 LIBS
="$ac_save_LIBS"
10755 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10758 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10759 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false
; then :
10760 $as_echo_n "(cached) " >&6
10762 ac_check_lib_save_LIBS
=$LIBS
10763 LIBS
="-llcms $LIBS"
10764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10765 /* end confdefs.h. */
10767 /* Override any GCC internal prototype to avoid an error.
10768 Use char because int might match the return type of a GCC
10769 builtin and then its argument prototype would still apply. */
10773 char cmsOpenProfileFromFile ();
10777 return cmsOpenProfileFromFile ();
10782 if ac_fn_c_try_link
"$LINENO"; then :
10783 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10785 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10787 rm -f core conftest.err conftest.
$ac_objext \
10788 conftest
$ac_exeext conftest.
$ac_ext
10789 LIBS
=$ac_check_lib_save_LIBS
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10792 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10793 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes
; then :
10795 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10801 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10802 case "x$with_cms" in
10803 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10805 *) as_fn_error $?
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10806 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10810 if test "x$with_freetype" != "xno"
10812 if test "$PKG_CONFIG" != "false"
10814 ac_freetype_incl
="`$PKG_CONFIG --cflags freetype2 2>/dev/null`"
10815 ac_freetype_libs
="`$PKG_CONFIG --libs freetype2 2>/dev/null`"
10817 for ac_prog
in freetype-config freetype2-config
10819 # Extract the first word of "$ac_prog", so it can be a program name with args.
10820 set dummy
$ac_prog; ac_word
=$2
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10822 $as_echo_n "checking for $ac_word... " >&6; }
10823 if ${ac_cv_prog_ft_devel+:} false
; then :
10824 $as_echo_n "(cached) " >&6
10826 if test -n "$ft_devel"; then
10827 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10830 for as_dir
in $PATH
10833 test -z "$as_dir" && as_dir
=.
10834 for ac_exec_ext
in '' $ac_executable_extensions; do
10835 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10836 ac_cv_prog_ft_devel
="$ac_prog"
10837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10846 ft_devel
=$ac_cv_prog_ft_devel
10847 if test -n "$ft_devel"; then
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10849 $as_echo "$ft_devel" >&6; }
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10852 $as_echo "no" >&6; }
10856 test -n "$ft_devel" && break
10858 test -n "$ft_devel" || ft_devel
="no"
10860 if test "$ft_devel" != "no"
10862 ac_freetype_incl
=`$ft_devel --cflags`
10863 ac_freetype_libs
=`$ft_devel --libs`
10866 ac_freetype_libs
=${ac_freetype_libs:-"-lfreetype"}
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10868 $as_echo_n "checking for -lfreetype... " >&6; }
10869 if ${ac_cv_lib_soname_freetype+:} false
; then :
10870 $as_echo_n "(cached) " >&6
10872 ac_check_soname_save_LIBS
=$LIBS
10873 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
10874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10875 /* end confdefs.h. */
10877 /* Override any GCC internal prototype to avoid an error.
10878 Use char because int might match the return type of a GCC
10879 builtin and then its argument prototype would still apply. */
10883 char FT_Init_FreeType ();
10887 return FT_Init_FreeType ();
10892 if ac_fn_c_try_link
"$LINENO"; then :
10894 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10895 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'` ;;
10896 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10897 if test "x$ac_cv_lib_soname_freetype" = x
; then :
10898 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10902 rm -f core conftest.err conftest.
$ac_objext \
10903 conftest
$ac_exeext conftest.
$ac_ext
10904 LIBS
=$ac_check_soname_save_LIBS
10906 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10908 $as_echo "not found" >&6; }
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10912 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10914 cat >>confdefs.h
<<_ACEOF
10915 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10920 if test "$ft_lib" = "yes"
10922 ac_save_CPPFLAGS
="$CPPFLAGS"
10923 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
10924 for ac_header
in ft2build.h \
10925 freetype
/freetype.h \
10926 freetype
/ftglyph.h \
10927 freetype
/fttypes.h \
10928 freetype
/tttables.h \
10929 freetype
/ftsnames.h \
10930 freetype
/ttnameid.h \
10931 freetype
/ftoutln.h \
10932 freetype
/ftwinfnt.h \
10933 freetype
/ftmodapi.h \
10934 freetype
/ftlcdfil.h
10936 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10937 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10938 # include <ft2build.h>
10941 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10942 cat >>confdefs.h
<<_ACEOF
10943 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10951 /* end confdefs.h. */
10952 #include <ft2build.h>
10953 #include <freetype/fttrigon.h>
10955 if ac_fn_c_try_cpp
"$LINENO"; then :
10957 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10959 wine_cv_fttrigon
=yes
10961 wine_cv_fttrigon
=no
10963 rm -f conftest.err conftest.i conftest.
$ac_ext
10964 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10966 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
10968 cat >>confdefs.h
<<_ACEOF
10969 #define HAVE_FT_TRUETYPEENGINETYPE 1
10975 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10978 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10980 FREETYPELIBS
="$ac_freetype_libs"
10982 FREETYPEINCL
="$ac_freetype_incl"
10987 if test "x$FREETYPELIBS" = "x"; then :
10988 case "x$with_freetype" in
10990 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10991 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10994 test "x$FREETYPELIBS" = "x" && enable_fonts
=${enable_fonts:-no}
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10997 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10998 if ${ac_cv_c_ppdev+:} false
; then :
10999 $as_echo_n "(cached) " >&6
11001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11002 /* end confdefs.h. */
11003 #ifdef HAVE_SYS_IOCTL_H
11004 # include <sys/ioctl.h>
11006 #include <linux/ppdev.h>
11010 ioctl (1,PPCLAIM,0)
11015 if ac_fn_c_try_compile
"$LINENO"; then :
11016 ac_cv_c_ppdev
="yes"
11020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11023 $as_echo "$ac_cv_c_ppdev" >&6; }
11024 if test "$ac_cv_c_ppdev" = "yes"
11027 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11031 ac_wine_check_funcs_save_LIBS
="$LIBS"
11032 LIBS
="$LIBS $LIBPTHREAD"
11034 pthread_attr_get_np \
11035 pthread_getattr_np \
11036 pthread_getthreadid_np \
11037 pthread_get_stackaddr_np \
11038 pthread_get_stacksize_np
11040 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11041 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11042 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11043 cat >>confdefs.h
<<_ACEOF
11044 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11050 LIBS
="$ac_wine_check_funcs_save_LIBS"
11052 if test "$ac_cv_header_zlib_h" = "yes"
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11055 $as_echo_n "checking for inflate in -lz... " >&6; }
11056 if ${ac_cv_lib_z_inflate+:} false
; then :
11057 $as_echo_n "(cached) " >&6
11059 ac_check_lib_save_LIBS
=$LIBS
11061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11062 /* end confdefs.h. */
11064 /* Override any GCC internal prototype to avoid an error.
11065 Use char because int might match the return type of a GCC
11066 builtin and then its argument prototype would still apply. */
11079 if ac_fn_c_try_link
"$LINENO"; then :
11080 ac_cv_lib_z_inflate
=yes
11082 ac_cv_lib_z_inflate
=no
11084 rm -f core conftest.err conftest.
$ac_objext \
11085 conftest
$ac_exeext conftest.
$ac_ext
11086 LIBS
=$ac_check_lib_save_LIBS
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11089 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11090 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
11092 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11099 if test "x$ZLIB" = "x"; then :
11100 case "x$with_zlib" in
11101 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11103 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
11104 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11108 if test "x$enable_tools" != xno
11110 if test "$ac_cv_header_gettext_po_h" = "yes"
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11113 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11114 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
11115 $as_echo_n "(cached) " >&6
11117 ac_check_lib_save_LIBS
=$LIBS
11118 LIBS
="-lgettextpo $LIBS"
11119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11120 /* end confdefs.h. */
11122 /* Override any GCC internal prototype to avoid an error.
11123 Use char because int might match the return type of a GCC
11124 builtin and then its argument prototype would still apply. */
11128 char po_message_msgctxt ();
11132 return po_message_msgctxt ();
11137 if ac_fn_c_try_link
"$LINENO"; then :
11138 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
11140 ac_cv_lib_gettextpo_po_message_msgctxt
=no
11142 rm -f core conftest.err conftest.
$ac_objext \
11143 conftest
$ac_exeext conftest.
$ac_ext
11144 LIBS
=$ac_check_lib_save_LIBS
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11147 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11148 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
11150 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11152 LIBGETTEXTPO
="-lgettextpo"
11157 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
11158 case "x$with_gettextpo" in
11159 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11161 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11162 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11167 if test "x$with_gstreamer" != "xno"
11169 ac_save_CPPFLAGS
="$CPPFLAGS"
11170 if test "$PKG_CONFIG" != "false"; then
11172 for i
in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11175 -I*) ac_gst_incl
="$ac_gst_incl $i";;
11178 ac_gst_libs
="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
11179 CPPFLAGS
="$CPPFLAGS $ac_gst_incl"
11180 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11181 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
11182 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11183 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11185 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11187 /* end confdefs.h. */
11188 #include <gst/app/gstappsink.h>
11192 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11197 if ac_fn_c_try_compile
"$LINENO"; then :
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11199 $as_echo "yes" >&6; }
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11201 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11202 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
11203 $as_echo_n "(cached) " >&6
11205 ac_check_lib_save_LIBS
=$LIBS
11206 LIBS
="-lgstreamer-0.10 $LIBS"
11207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11208 /* end confdefs.h. */
11210 /* Override any GCC internal prototype to avoid an error.
11211 Use char because int might match the return type of a GCC
11212 builtin and then its argument prototype would still apply. */
11216 char gst_pad_get_caps_reffed ();
11220 return gst_pad_get_caps_reffed ();
11225 if ac_fn_c_try_link
"$LINENO"; then :
11226 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
11228 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
11230 rm -f core conftest.err conftest.
$ac_objext \
11231 conftest
$ac_exeext conftest.
$ac_ext
11232 LIBS
=$ac_check_lib_save_LIBS
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11235 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11236 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11238 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11239 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
11240 $as_echo_n "(cached) " >&6
11242 ac_check_lib_save_LIBS
=$LIBS
11243 LIBS
="-lgstapp-0.10 $ac_gst_libs $LIBS"
11244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11245 /* end confdefs.h. */
11247 /* Override any GCC internal prototype to avoid an error.
11248 Use char because int might match the return type of a GCC
11249 builtin and then its argument prototype would still apply. */
11253 char gst_app_buffer_new ();
11257 return gst_app_buffer_new ();
11262 if ac_fn_c_try_link
"$LINENO"; then :
11263 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
11265 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
11267 rm -f core conftest.err conftest.
$ac_objext \
11268 conftest
$ac_exeext conftest.
$ac_ext
11269 LIBS
=$ac_check_lib_save_LIBS
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11272 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11273 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
11274 GSTREAMER_LIBS
="$ac_gst_libs"
11276 GSTREAMER_INCL
="$ac_gst_incl"
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11284 $as_echo "no" >&6; }
11286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11294 CPPFLAGS
="$ac_save_CPPFLAGS"
11296 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
11297 case "x$with_gstreamer" in
11298 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11300 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11301 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11304 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
11308 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11311 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11312 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
11313 $as_echo_n "(cached) " >&6
11315 ac_check_lib_save_LIBS
=$LIBS
11316 LIBS
="-lasound $LIBS"
11317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11318 /* end confdefs.h. */
11320 /* Override any GCC internal prototype to avoid an error.
11321 Use char because int might match the return type of a GCC
11322 builtin and then its argument prototype would still apply. */
11326 char snd_pcm_hw_params_get_access_mask ();
11330 return snd_pcm_hw_params_get_access_mask ();
11335 if ac_fn_c_try_link
"$LINENO"; then :
11336 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
11338 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
11340 rm -f core conftest.err conftest.
$ac_objext \
11341 conftest
$ac_exeext conftest.
$ac_ext
11342 LIBS
=$ac_check_lib_save_LIBS
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11345 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11346 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
11347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11348 /* end confdefs.h. */
11349 #ifdef HAVE_ALSA_ASOUNDLIB_H
11350 #include <alsa/asoundlib.h>
11351 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11352 #include <sys/asoundlib.h>
11357 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11362 if ac_fn_c_try_compile
"$LINENO"; then :
11363 ALSALIBS
="-lasound"
11365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11370 if test "x$with_oss" != xno
11372 ac_save_CPPFLAGS
="$CPPFLAGS"
11373 if test -f /etc
/oss.conf
11377 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11378 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
11379 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11380 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
11381 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11383 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
11385 cat >>confdefs.h
<<_ACEOF
11386 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11389 OSS4INCL
="$ac_oss_incl"
11396 CPPFLAGS
="$ac_save_CPPFLAGS"
11397 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11399 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11404 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11407 $as_echo_n "checking for -lcapi20... " >&6; }
11408 if ${ac_cv_lib_soname_capi20+:} false
; then :
11409 $as_echo_n "(cached) " >&6
11411 ac_check_soname_save_LIBS
=$LIBS
11412 LIBS
="-lcapi20 $LIBS"
11413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11416 /* Override any GCC internal prototype to avoid an error.
11417 Use char because int might match the return type of a GCC
11418 builtin and then its argument prototype would still apply. */
11422 char capi20_register ();
11426 return capi20_register ();
11431 if ac_fn_c_try_link
"$LINENO"; then :
11433 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11434 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'` ;;
11435 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11436 if test "x$ac_cv_lib_soname_capi20" = x
; then :
11437 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11441 rm -f core conftest.err conftest.
$ac_objext \
11442 conftest
$ac_exeext conftest.
$ac_ext
11443 LIBS
=$ac_check_soname_save_LIBS
11445 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11447 $as_echo "not found" >&6; }
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11451 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11453 cat >>confdefs.h
<<_ACEOF
11454 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11460 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11461 case "x$with_capi" in
11462 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11464 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11465 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11471 if test "x$with_cups" != "xno"
11473 ac_save_CPPFLAGS
="$CPPFLAGS"
11474 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
11475 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
11476 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
11477 for ac_header
in cups
/cups.h
11479 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11480 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
11481 cat >>confdefs.h
<<_ACEOF
11482 #define HAVE_CUPS_CUPS_H 1
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11485 $as_echo_n "checking for -lcups... " >&6; }
11486 if ${ac_cv_lib_soname_cups+:} false
; then :
11487 $as_echo_n "(cached) " >&6
11489 ac_check_soname_save_LIBS
=$LIBS
11490 LIBS
="-lcups $ac_cups_libs $LIBS"
11491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11492 /* end confdefs.h. */
11494 /* Override any GCC internal prototype to avoid an error.
11495 Use char because int might match the return type of a GCC
11496 builtin and then its argument prototype would still apply. */
11500 char cupsGetDefault ();
11504 return cupsGetDefault ();
11509 if ac_fn_c_try_link
"$LINENO"; then :
11511 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11512 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'` ;;
11513 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11514 if test "x$ac_cv_lib_soname_cups" = x
; then :
11515 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11519 rm -f core conftest.err conftest.
$ac_objext \
11520 conftest
$ac_exeext conftest.
$ac_ext
11521 LIBS
=$ac_check_soname_save_LIBS
11523 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11525 $as_echo "not found" >&6; }
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11529 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11531 cat >>confdefs.h
<<_ACEOF
11532 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11535 CUPSINCL
="$ac_cups_cflags"
11541 CPPFLAGS
="$ac_save_CPPFLAGS"
11543 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11544 case "x$with_cups" in
11545 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11547 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
11548 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11552 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11555 $as_echo_n "checking for -lfontconfig... " >&6; }
11556 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11557 $as_echo_n "(cached) " >&6
11559 ac_check_soname_save_LIBS
=$LIBS
11560 LIBS
="-lfontconfig $LIBS"
11561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11562 /* end confdefs.h. */
11564 /* Override any GCC internal prototype to avoid an error.
11565 Use char because int might match the return type of a GCC
11566 builtin and then its argument prototype would still apply. */
11579 if ac_fn_c_try_link
"$LINENO"; then :
11581 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11582 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'` ;;
11583 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11584 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11585 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11589 rm -f core conftest.err conftest.
$ac_objext \
11590 conftest
$ac_exeext conftest.
$ac_ext
11591 LIBS
=$ac_check_soname_save_LIBS
11593 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11595 $as_echo "not found" >&6; }
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11599 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11601 cat >>confdefs.h
<<_ACEOF
11602 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11607 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11609 ac_save_CPPFLAGS
="$CPPFLAGS"
11610 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11611 $as_unset ac_cv_header_fontconfig_fontconfig_h
11612 for ac_header
in fontconfig
/fontconfig.h
11614 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11615 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
11616 cat >>confdefs.h
<<_ACEOF
11617 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11624 CPPFLAGS
="$ac_save_CPPFLAGS"
11625 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11627 FONTCONFIGINCL
="$X_CFLAGS"
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11630 $as_echo_n "checking for -lfontconfig... " >&6; }
11631 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11632 $as_echo_n "(cached) " >&6
11634 ac_check_soname_save_LIBS
=$LIBS
11635 LIBS
="-lfontconfig $X_LIBS $LIBS"
11636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11637 /* end confdefs.h. */
11639 /* Override any GCC internal prototype to avoid an error.
11640 Use char because int might match the return type of a GCC
11641 builtin and then its argument prototype would still apply. */
11654 if ac_fn_c_try_link
"$LINENO"; then :
11656 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11657 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'` ;;
11658 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11659 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11660 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11664 rm -f core conftest.err conftest.
$ac_objext \
11665 conftest
$ac_exeext conftest.
$ac_ext
11666 LIBS
=$ac_check_soname_save_LIBS
11668 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11670 $as_echo "not found" >&6; }
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11674 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11676 cat >>confdefs.h
<<_ACEOF
11677 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11684 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11685 case "x$with_fontconfig" in
11686 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11688 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11689 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11693 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11696 $as_echo_n "checking for -lgsm... " >&6; }
11697 if ${ac_cv_lib_soname_gsm+:} false
; then :
11698 $as_echo_n "(cached) " >&6
11700 ac_check_soname_save_LIBS
=$LIBS
11702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11703 /* end confdefs.h. */
11705 /* Override any GCC internal prototype to avoid an error.
11706 Use char because int might match the return type of a GCC
11707 builtin and then its argument prototype would still apply. */
11711 char gsm_create ();
11715 return gsm_create ();
11720 if ac_fn_c_try_link
"$LINENO"; then :
11722 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11723 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'` ;;
11724 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11725 if test "x$ac_cv_lib_soname_gsm" = x
; then :
11726 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11730 rm -f core conftest.err conftest.
$ac_objext \
11731 conftest
$ac_exeext conftest.
$ac_ext
11732 LIBS
=$ac_check_soname_save_LIBS
11734 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11736 $as_echo "not found" >&6; }
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11740 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11742 cat >>confdefs.h
<<_ACEOF
11743 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11749 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11750 case "x$with_gsm" in
11751 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11753 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11754 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11758 if test "$ac_cv_header_jpeglib_h" = "yes"
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11761 $as_echo_n "checking for -ljpeg... " >&6; }
11762 if ${ac_cv_lib_soname_jpeg+:} false
; then :
11763 $as_echo_n "(cached) " >&6
11765 ac_check_soname_save_LIBS
=$LIBS
11766 LIBS
="-ljpeg $LIBS"
11767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11768 /* end confdefs.h. */
11770 /* Override any GCC internal prototype to avoid an error.
11771 Use char because int might match the return type of a GCC
11772 builtin and then its argument prototype would still apply. */
11776 char jpeg_start_decompress ();
11780 return jpeg_start_decompress ();
11785 if ac_fn_c_try_link
"$LINENO"; then :
11787 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11788 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'` ;;
11789 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11790 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
11791 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11795 rm -f core conftest.err conftest.
$ac_objext \
11796 conftest
$ac_exeext conftest.
$ac_ext
11797 LIBS
=$ac_check_soname_save_LIBS
11799 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11801 $as_echo "not found" >&6; }
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11805 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11807 cat >>confdefs.h
<<_ACEOF
11808 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11814 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11815 case "x$with_jpeg" in
11816 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11818 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11819 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11823 if test "$ac_cv_header_png_h" = "yes"
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11826 $as_echo_n "checking for -lpng... " >&6; }
11827 if ${ac_cv_lib_soname_png+:} false
; then :
11828 $as_echo_n "(cached) " >&6
11830 ac_check_soname_save_LIBS
=$LIBS
11831 LIBS
="-lpng -lm -lz $LIBS"
11832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11835 /* Override any GCC internal prototype to avoid an error.
11836 Use char because int might match the return type of a GCC
11837 builtin and then its argument prototype would still apply. */
11841 char png_create_read_struct ();
11845 return png_create_read_struct ();
11850 if ac_fn_c_try_link
"$LINENO"; then :
11852 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11853 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'` ;;
11854 *) 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'`
11855 if test "x$ac_cv_lib_soname_png" = x
; then :
11856 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11860 rm -f core conftest.err conftest.
$ac_objext \
11861 conftest
$ac_exeext conftest.
$ac_ext
11862 LIBS
=$ac_check_soname_save_LIBS
11864 if test "x$ac_cv_lib_soname_png" = "x"; then :
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11866 $as_echo "not found" >&6; }
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11870 $as_echo "$ac_cv_lib_soname_png" >&6; }
11872 cat >>confdefs.h
<<_ACEOF
11873 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11879 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11880 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11881 $as_echo_n "(cached) " >&6
11883 ac_check_lib_save_LIBS
=$LIBS
11884 LIBS
="-lpng -lm -lz $LIBS"
11885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11886 /* end confdefs.h. */
11888 /* Override any GCC internal prototype to avoid an error.
11889 Use char because int might match the return type of a GCC
11890 builtin and then its argument prototype would still apply. */
11894 char png_set_expand_gray_1_2_4_to_8 ();
11898 return png_set_expand_gray_1_2_4_to_8 ();
11903 if ac_fn_c_try_link
"$LINENO"; then :
11904 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11906 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11908 rm -f core conftest.err conftest.
$ac_objext \
11909 conftest
$ac_exeext conftest.
$ac_ext
11910 LIBS
=$ac_check_lib_save_LIBS
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11913 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11914 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11916 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11921 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11923 ac_save_CPPFLAGS
="$CPPFLAGS"
11924 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11925 $as_unset ac_cv_header_png_h
11926 for ac_header
in png.h
11928 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11929 if test "x$ac_cv_header_png_h" = xyes
; then :
11930 cat >>confdefs.h
<<_ACEOF
11931 #define HAVE_PNG_H 1
11938 CPPFLAGS
="$ac_save_CPPFLAGS"
11939 if test "$ac_cv_header_png_h" = "yes"
11941 PNGINCL
="$X_CFLAGS"
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11944 $as_echo_n "checking for -lpng... " >&6; }
11945 if ${ac_cv_lib_soname_png+:} false
; then :
11946 $as_echo_n "(cached) " >&6
11948 ac_check_soname_save_LIBS
=$LIBS
11949 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11953 /* Override any GCC internal prototype to avoid an error.
11954 Use char because int might match the return type of a GCC
11955 builtin and then its argument prototype would still apply. */
11959 char png_create_read_struct ();
11963 return png_create_read_struct ();
11968 if ac_fn_c_try_link
"$LINENO"; then :
11970 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11971 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'` ;;
11972 *) 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'`
11973 if test "x$ac_cv_lib_soname_png" = x
; then :
11974 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11978 rm -f core conftest.err conftest.
$ac_objext \
11979 conftest
$ac_exeext conftest.
$ac_ext
11980 LIBS
=$ac_check_soname_save_LIBS
11982 if test "x$ac_cv_lib_soname_png" = "x"; then :
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11984 $as_echo "not found" >&6; }
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11988 $as_echo "$ac_cv_lib_soname_png" >&6; }
11990 cat >>confdefs.h
<<_ACEOF
11991 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11997 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11998 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11999 $as_echo_n "(cached) " >&6
12001 ac_check_lib_save_LIBS
=$LIBS
12002 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
12003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12004 /* end confdefs.h. */
12006 /* Override any GCC internal prototype to avoid an error.
12007 Use char because int might match the return type of a GCC
12008 builtin and then its argument prototype would still apply. */
12012 char png_set_expand_gray_1_2_4_to_8 ();
12016 return png_set_expand_gray_1_2_4_to_8 ();
12021 if ac_fn_c_try_link
"$LINENO"; then :
12022 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
12024 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
12026 rm -f core conftest.err conftest.
$ac_objext \
12027 conftest
$ac_exeext conftest.
$ac_ext
12028 LIBS
=$ac_check_lib_save_LIBS
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
12031 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
12032 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
12033 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12039 if test "x$ac_cv_lib_soname_png" = "x"; then :
12040 case "x$with_png" in
12041 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12043 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12044 This is an error since --with-png was requested." "$LINENO" 5 ;;
12048 if test "$ac_cv_header_tiffio_h" = "yes"
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12051 $as_echo_n "checking for -ltiff... " >&6; }
12052 if ${ac_cv_lib_soname_tiff+:} false
; then :
12053 $as_echo_n "(cached) " >&6
12055 ac_check_soname_save_LIBS
=$LIBS
12056 LIBS
="-ltiff $LIBS"
12057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12058 /* end confdefs.h. */
12060 /* Override any GCC internal prototype to avoid an error.
12061 Use char because int might match the return type of a GCC
12062 builtin and then its argument prototype would still apply. */
12066 char TIFFClientOpen ();
12070 return TIFFClientOpen ();
12075 if ac_fn_c_try_link
"$LINENO"; then :
12077 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12078 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'` ;;
12079 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12080 if test "x$ac_cv_lib_soname_tiff" = x
; then :
12081 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12085 rm -f core conftest.err conftest.
$ac_objext \
12086 conftest
$ac_exeext conftest.
$ac_ext
12087 LIBS
=$ac_check_soname_save_LIBS
12089 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12091 $as_echo "not found" >&6; }
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12095 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12097 cat >>confdefs.h
<<_ACEOF
12098 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12104 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12105 case "x$with_tiff" in
12106 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12108 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
12109 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12113 if test "$ac_cv_header_mpg123_h" = "yes"
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12116 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12117 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
12118 $as_echo_n "(cached) " >&6
12120 ac_check_lib_save_LIBS
=$LIBS
12121 LIBS
="-lmpg123 $LIBS"
12122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12123 /* end confdefs.h. */
12125 /* Override any GCC internal prototype to avoid an error.
12126 Use char because int might match the return type of a GCC
12127 builtin and then its argument prototype would still apply. */
12131 char mpg123_feed ();
12135 return mpg123_feed ();
12140 if ac_fn_c_try_link
"$LINENO"; then :
12141 ac_cv_lib_mpg123_mpg123_feed
=yes
12143 ac_cv_lib_mpg123_mpg123_feed
=no
12145 rm -f core conftest.err conftest.
$ac_objext \
12146 conftest
$ac_exeext conftest.
$ac_ext
12147 LIBS
=$ac_check_lib_save_LIBS
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12150 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12151 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
12152 LIBMPG123
="-lmpg123"
12157 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
12158 case "x$with_mpg123" in
12159 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12161 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12162 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12165 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}
12167 if test "$ac_cv_header_AL_al_h" = "yes"
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12170 $as_echo_n "checking for -lopenal... " >&6; }
12171 if ${ac_cv_lib_soname_openal+:} false
; then :
12172 $as_echo_n "(cached) " >&6
12174 ac_check_soname_save_LIBS
=$LIBS
12175 LIBS
="-lopenal $LIBS"
12176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12177 /* end confdefs.h. */
12179 /* Override any GCC internal prototype to avoid an error.
12180 Use char because int might match the return type of a GCC
12181 builtin and then its argument prototype would still apply. */
12185 char alGetSource3i ();
12189 return alGetSource3i ();
12194 if ac_fn_c_try_link
"$LINENO"; then :
12196 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12197 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'` ;;
12198 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12199 if test "x$ac_cv_lib_soname_openal" = x
; then :
12200 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12204 rm -f core conftest.err conftest.
$ac_objext \
12205 conftest
$ac_exeext conftest.
$ac_ext
12206 LIBS
=$ac_check_soname_save_LIBS
12208 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12210 $as_echo "not found" >&6; }
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12214 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12216 cat >>confdefs.h
<<_ACEOF
12217 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12220 LIBOPENAL
="-lopenal"
12222 ac_cv_lib_openal
=yes
12224 cat >>confdefs.h
<<_ACEOF
12225 #define HAVE_OPENAL 1
12230 if test "x$ac_cv_lib_openal" != xyes
; then :
12231 case "x$with_openal" in
12232 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12234 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12235 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12238 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
12240 if test "$ac_cv_header_kstat_h" = "yes"
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12243 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12244 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
12245 $as_echo_n "(cached) " >&6
12247 ac_check_lib_save_LIBS
=$LIBS
12248 LIBS
="-lkstat $LIBS"
12249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12250 /* end confdefs.h. */
12252 /* Override any GCC internal prototype to avoid an error.
12253 Use char because int might match the return type of a GCC
12254 builtin and then its argument prototype would still apply. */
12258 char kstat_open ();
12262 return kstat_open ();
12267 if ac_fn_c_try_link
"$LINENO"; then :
12268 ac_cv_lib_kstat_kstat_open
=yes
12270 ac_cv_lib_kstat_kstat_open
=no
12272 rm -f core conftest.err conftest.
$ac_objext \
12273 conftest
$ac_exeext conftest.
$ac_ext
12274 LIBS
=$ac_check_lib_save_LIBS
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12277 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12278 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
12280 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12289 $as_echo_n "checking for -lodbc... " >&6; }
12290 if ${ac_cv_lib_soname_odbc+:} false
; then :
12291 $as_echo_n "(cached) " >&6
12293 ac_check_soname_save_LIBS
=$LIBS
12294 LIBS
="-lodbc $LIBS"
12295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12296 /* end confdefs.h. */
12298 /* Override any GCC internal prototype to avoid an error.
12299 Use char because int might match the return type of a GCC
12300 builtin and then its argument prototype would still apply. */
12304 char SQLConnect ();
12308 return SQLConnect ();
12313 if ac_fn_c_try_link
"$LINENO"; then :
12315 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12316 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'` ;;
12317 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12318 if test "x$ac_cv_lib_soname_odbc" = x
; then :
12319 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12323 rm -f core conftest.err conftest.
$ac_objext \
12324 conftest
$ac_exeext conftest.
$ac_ext
12325 LIBS
=$ac_check_soname_save_LIBS
12327 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12329 $as_echo "not found" >&6; }
12330 cat >>confdefs.h
<<_ACEOF
12331 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12336 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12338 cat >>confdefs.h
<<_ACEOF
12339 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12345 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12346 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
12347 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
12348 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
12350 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12351 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
12352 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12354 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
12360 if test "x${GCC}" = "xyes"
12362 EXTRACFLAGS
="-Wall -pipe"
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12365 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12366 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
12367 $as_echo_n "(cached) " >&6
12369 if test "$cross_compiling" = yes; then :
12370 ac_cv_c_gcc_strength_bug
="yes"
12372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12373 /* end confdefs.h. */
12374 int L[4] = {0,1,2,3};
12378 static int Array[3];
12379 unsigned int B = 3;
12381 for(i=0; i<B; i++) Array[i] = i - 3;
12382 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12384 return (Array[1] != -2 || L[2] != 3)
12389 if ac_fn_c_try_run
"$LINENO"; then :
12390 ac_cv_c_gcc_strength_bug
="no"
12392 ac_cv_c_gcc_strength_bug
="yes"
12394 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12395 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12400 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12401 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12403 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12407 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12408 if ${ac_cv_cflags__fno_builtin+:} false
; then :
12409 $as_echo_n "(cached) " >&6
12411 ac_wine_try_cflags_saved
=$CFLAGS
12412 CFLAGS
="$CFLAGS -fno-builtin"
12413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12414 /* end confdefs.h. */
12415 int main(int argc, char **argv) { return 0; }
12417 if ac_fn_c_try_link
"$LINENO"; then :
12418 ac_cv_cflags__fno_builtin
=yes
12420 ac_cv_cflags__fno_builtin
=no
12422 rm -f core conftest.err conftest.
$ac_objext \
12423 conftest
$ac_exeext conftest.
$ac_ext
12424 CFLAGS
=$ac_wine_try_cflags_saved
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12427 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12428 if test $ac_cv_cflags__fno_builtin = yes; then :
12429 BUILTINFLAG
="-fno-builtin"
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12433 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12434 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
12435 $as_echo_n "(cached) " >&6
12437 ac_wine_try_cflags_saved
=$CFLAGS
12438 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12440 /* end confdefs.h. */
12441 int main(int argc, char **argv) { return 0; }
12443 if ac_fn_c_try_link
"$LINENO"; then :
12444 ac_cv_cflags__fno_strict_aliasing
=yes
12446 ac_cv_cflags__fno_strict_aliasing
=no
12448 rm -f core conftest.err conftest.
$ac_objext \
12449 conftest
$ac_exeext conftest.
$ac_ext
12450 CFLAGS
=$ac_wine_try_cflags_saved
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12453 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12454 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12455 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12458 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12459 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
12460 $as_echo_n "(cached) " >&6
12462 ac_wine_try_cflags_saved
=$CFLAGS
12463 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12465 /* end confdefs.h. */
12466 int main(int argc, char **argv) { return 0; }
12468 if ac_fn_c_try_link
"$LINENO"; then :
12469 ac_cv_cflags__Wdeclaration_after_statement
=yes
12471 ac_cv_cflags__Wdeclaration_after_statement
=no
12473 rm -f core conftest.err conftest.
$ac_objext \
12474 conftest
$ac_exeext conftest.
$ac_ext
12475 CFLAGS
=$ac_wine_try_cflags_saved
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12478 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12479 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12480 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12483 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12484 if ${ac_cv_cflags__Wempty_body+:} false
; then :
12485 $as_echo_n "(cached) " >&6
12487 ac_wine_try_cflags_saved
=$CFLAGS
12488 CFLAGS
="$CFLAGS -Wempty-body"
12489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12490 /* end confdefs.h. */
12491 int main(int argc, char **argv) { return 0; }
12493 if ac_fn_c_try_link
"$LINENO"; then :
12494 ac_cv_cflags__Wempty_body
=yes
12496 ac_cv_cflags__Wempty_body
=no
12498 rm -f core conftest.err conftest.
$ac_objext \
12499 conftest
$ac_exeext conftest.
$ac_ext
12500 CFLAGS
=$ac_wine_try_cflags_saved
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12503 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12504 if test $ac_cv_cflags__Wempty_body = yes; then :
12505 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12508 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12509 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
12510 $as_echo_n "(cached) " >&6
12512 ac_wine_try_cflags_saved
=$CFLAGS
12513 CFLAGS
="$CFLAGS -Wignored-qualifiers"
12514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12515 /* end confdefs.h. */
12516 int main(int argc, char **argv) { return 0; }
12518 if ac_fn_c_try_link
"$LINENO"; then :
12519 ac_cv_cflags__Wignored_qualifiers
=yes
12521 ac_cv_cflags__Wignored_qualifiers
=no
12523 rm -f core conftest.err conftest.
$ac_objext \
12524 conftest
$ac_exeext conftest.
$ac_ext
12525 CFLAGS
=$ac_wine_try_cflags_saved
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12528 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12529 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12530 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12533 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12534 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
12535 $as_echo_n "(cached) " >&6
12537 ac_wine_try_cflags_saved
=$CFLAGS
12538 CFLAGS
="$CFLAGS -Wstrict-prototypes"
12539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12541 int main(int argc, char **argv) { return 0; }
12543 if ac_fn_c_try_link
"$LINENO"; then :
12544 ac_cv_cflags__Wstrict_prototypes
=yes
12546 ac_cv_cflags__Wstrict_prototypes
=no
12548 rm -f core conftest.err conftest.
$ac_objext \
12549 conftest
$ac_exeext conftest.
$ac_ext
12550 CFLAGS
=$ac_wine_try_cflags_saved
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12553 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12554 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12555 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12558 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12559 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
12560 $as_echo_n "(cached) " >&6
12562 ac_wine_try_cflags_saved
=$CFLAGS
12563 CFLAGS
="$CFLAGS -Wtype-limits"
12564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12565 /* end confdefs.h. */
12566 int main(int argc, char **argv) { return 0; }
12568 if ac_fn_c_try_link
"$LINENO"; then :
12569 ac_cv_cflags__Wtype_limits
=yes
12571 ac_cv_cflags__Wtype_limits
=no
12573 rm -f core conftest.err conftest.
$ac_objext \
12574 conftest
$ac_exeext conftest.
$ac_ext
12575 CFLAGS
=$ac_wine_try_cflags_saved
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12578 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12579 if test $ac_cv_cflags__Wtype_limits = yes; then :
12580 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12583 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12584 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
12585 $as_echo_n "(cached) " >&6
12587 ac_wine_try_cflags_saved
=$CFLAGS
12588 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
12589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12590 /* end confdefs.h. */
12591 int main(int argc, char **argv) { return 0; }
12593 if ac_fn_c_try_link
"$LINENO"; then :
12594 ac_cv_cflags__Wunused_but_set_parameter
=yes
12596 ac_cv_cflags__Wunused_but_set_parameter
=no
12598 rm -f core conftest.err conftest.
$ac_objext \
12599 conftest
$ac_exeext conftest.
$ac_ext
12600 CFLAGS
=$ac_wine_try_cflags_saved
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12603 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12604 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12605 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12608 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12609 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
12610 $as_echo_n "(cached) " >&6
12612 ac_wine_try_cflags_saved
=$CFLAGS
12613 CFLAGS
="$CFLAGS -Wwrite-strings"
12614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12615 /* end confdefs.h. */
12616 int main(int argc, char **argv) { return 0; }
12618 if ac_fn_c_try_link
"$LINENO"; then :
12619 ac_cv_cflags__Wwrite_strings
=yes
12621 ac_cv_cflags__Wwrite_strings
=no
12623 rm -f core conftest.err conftest.
$ac_objext \
12624 conftest
$ac_exeext conftest.
$ac_ext
12625 CFLAGS
=$ac_wine_try_cflags_saved
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12628 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12629 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12630 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12633 for ac_flag
in $CFLAGS; do
12635 -g) case $host_os in
12636 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12637 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12638 if ${ac_cv_cflags__gstabsp+:} false
; then :
12639 $as_echo_n "(cached) " >&6
12641 ac_wine_try_cflags_saved
=$CFLAGS
12642 CFLAGS
="$CFLAGS -gstabs+"
12643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12644 /* end confdefs.h. */
12645 int main(int argc, char **argv) { return 0; }
12647 if ac_fn_c_try_link
"$LINENO"; then :
12648 ac_cv_cflags__gstabsp
=yes
12650 ac_cv_cflags__gstabsp
=no
12652 rm -f core conftest.err conftest.
$ac_objext \
12653 conftest
$ac_exeext conftest.
$ac_ext
12654 CFLAGS
=$ac_wine_try_cflags_saved
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12657 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12658 if test $ac_cv_cflags__gstabsp = yes; then :
12659 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12661 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12662 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12663 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
12664 $as_echo_n "(cached) " >&6
12666 ac_wine_try_cflags_saved
=$CFLAGS
12667 CFLAGS
="$CFLAGS -gdwarf-2"
12668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12669 /* end confdefs.h. */
12670 int main(int argc, char **argv) { return 0; }
12672 if ac_fn_c_try_link
"$LINENO"; then :
12673 ac_cv_cflags__gdwarf_2
=yes
12675 ac_cv_cflags__gdwarf_2
=no
12677 rm -f core conftest.err conftest.
$ac_objext \
12678 conftest
$ac_exeext conftest.
$ac_ext
12679 CFLAGS
=$ac_wine_try_cflags_saved
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12682 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12683 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12684 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12687 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12688 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
12689 $as_echo_n "(cached) " >&6
12691 ac_wine_try_cflags_saved
=$CFLAGS
12692 CFLAGS
="$CFLAGS -gstrict-dwarf"
12693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12694 /* end confdefs.h. */
12695 int main(int argc, char **argv) { return 0; }
12697 if ac_fn_c_try_link
"$LINENO"; then :
12698 ac_cv_cflags__gstrict_dwarf
=yes
12700 ac_cv_cflags__gstrict_dwarf
=no
12702 rm -f core conftest.err conftest.
$ac_objext \
12703 conftest
$ac_exeext conftest.
$ac_ext
12704 CFLAGS
=$ac_wine_try_cflags_saved
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12707 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12708 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12709 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
12716 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12717 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12718 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
12719 $as_echo_n "(cached) " >&6
12721 ac_wine_try_cflags_saved
=$CFLAGS
12722 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
12723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12724 /* end confdefs.h. */
12725 int main(int argc, char **argv) { return 0; }
12727 if ac_fn_c_try_link
"$LINENO"; then :
12728 ac_cv_cflags__fno_omit_frame_pointer
=yes
12730 ac_cv_cflags__fno_omit_frame_pointer
=no
12732 rm -f core conftest.err conftest.
$ac_objext \
12733 conftest
$ac_exeext conftest.
$ac_ext
12734 CFLAGS
=$ac_wine_try_cflags_saved
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12737 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12738 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12739 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
12744 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12745 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12746 if ${ac_cv_cflags__Wno_format+:} false
; then :
12747 $as_echo_n "(cached) " >&6
12749 ac_wine_try_cflags_saved
=$CFLAGS
12750 CFLAGS
="$CFLAGS -Wno-format"
12751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12753 int main(int argc, char **argv) { return 0; }
12755 if ac_fn_c_try_link
"$LINENO"; then :
12756 ac_cv_cflags__Wno_format
=yes
12758 ac_cv_cflags__Wno_format
=no
12760 rm -f core conftest.err conftest.
$ac_objext \
12761 conftest
$ac_exeext conftest.
$ac_ext
12762 CFLAGS
=$ac_wine_try_cflags_saved
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12765 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12766 if test $ac_cv_cflags__Wno_format = yes; then :
12767 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
12771 saved_CFLAGS
="$CFLAGS"
12772 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12774 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12775 if ${ac_cv_c_string_h_warnings+:} false
; then :
12776 $as_echo_n "(cached) " >&6
12778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12779 /* end confdefs.h. */
12780 #include <string.h>
12789 if ac_fn_c_try_compile
"$LINENO"; then :
12790 ac_cv_c_string_h_warnings
=no
12792 ac_cv_c_string_h_warnings
=yes
12794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12797 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12798 CFLAGS
="$saved_CFLAGS"
12799 if test "$ac_cv_c_string_h_warnings" = "no"
12801 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12804 saved_CFLAGS
="$CFLAGS"
12805 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12807 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12808 if ${ac_cv_c_logicalop_noisy+:} false
; then :
12809 $as_echo_n "(cached) " >&6
12811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12812 /* end confdefs.h. */
12813 #include <string.h>
12817 char*f(const char *h,char n) {return strchr(h,n);}
12822 if ac_fn_c_try_compile
"$LINENO"; then :
12823 ac_cv_c_logicalop_noisy
=no
12825 ac_cv_c_logicalop_noisy
=yes
12827 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12830 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12831 CFLAGS
="$saved_CFLAGS"
12832 if test "$ac_cv_c_logicalop_noisy" = "no"
12834 EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12837 if test "x$enable_maintainer_mode" = "xyes"
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12840 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12841 if ${ac_cv_cflags__Werror+:} false
; then :
12842 $as_echo_n "(cached) " >&6
12844 ac_wine_try_cflags_saved
=$CFLAGS
12845 CFLAGS
="$CFLAGS -Werror"
12846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12847 /* end confdefs.h. */
12848 int main(int argc, char **argv) { return 0; }
12850 if ac_fn_c_try_link
"$LINENO"; then :
12851 ac_cv_cflags__Werror
=yes
12853 ac_cv_cflags__Werror
=no
12855 rm -f core conftest.err conftest.
$ac_objext \
12856 conftest
$ac_exeext conftest.
$ac_ext
12857 CFLAGS
=$ac_wine_try_cflags_saved
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12860 $as_echo "$ac_cv_cflags__Werror" >&6; }
12861 if test $ac_cv_cflags__Werror = yes; then :
12862 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12866 saved_CFLAGS
="$CFLAGS"
12867 CFLAGS
="$CFLAGS -Werror"
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12869 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12870 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
12871 $as_echo_n "(cached) " >&6
12873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12874 /* end confdefs.h. */
12875 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12884 if ac_fn_c_try_compile
"$LINENO"; then :
12885 ac_cv_have_ms_hook_prologue
="yes"
12887 ac_cv_have_ms_hook_prologue
="no"
12889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12892 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12893 CFLAGS
="$saved_CFLAGS"
12894 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12897 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12900 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12907 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12908 if ${ac_cv_c_fortify_enabled+:} false
; then :
12909 $as_echo_n "(cached) " >&6
12911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12912 /* end confdefs.h. */
12913 #include <string.h>
12917 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12918 #error Fortify enabled
12924 if ac_fn_c_try_compile
"$LINENO"; then :
12925 ac_cv_c_fortify_enabled
=no
12927 ac_cv_c_fortify_enabled
=yes
12929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12932 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12933 if test "$ac_cv_c_fortify_enabled" = yes
12935 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12940 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12941 if ${ac_cv_c_extern_prefix+:} false
; then :
12942 $as_echo_n "(cached) " >&6
12944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12945 /* end confdefs.h. */
12946 extern int ac_test;
12950 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12955 if ac_fn_c_try_link
"$LINENO"; then :
12956 ac_cv_c_extern_prefix
="yes"
12958 ac_cv_c_extern_prefix
="no"
12960 rm -f core conftest.err conftest.
$ac_objext \
12961 conftest
$ac_exeext conftest.
$ac_ext
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12964 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12969 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12970 if ${ac_cv_c_stdcall_suffix+:} false
; then :
12971 $as_echo_n "(cached) " >&6
12973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12974 /* end confdefs.h. */
12976 #define __stdcall __attribute__((__stdcall__))
12978 int __stdcall ac_test(int i) { return i; }
12982 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12987 if ac_fn_c_try_link
"$LINENO"; then :
12988 ac_cv_c_stdcall_suffix
="yes"
12990 ac_cv_c_stdcall_suffix
="no"
12992 rm -f core conftest.err conftest.
$ac_objext \
12993 conftest
$ac_exeext conftest.
$ac_ext
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12996 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12997 *) ac_cv_c_stdcall_suffix
="no" ;;
13001 if test "$ac_cv_c_extern_prefix" = "yes"
13003 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13005 asm_name_prefix
="_"
13007 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13013 if test "$ac_cv_c_stdcall_suffix" = "yes"
13015 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13018 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13024 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13025 if ${ac_cv_asm_func_def+:} false
; then :
13026 $as_echo_n "(cached) " >&6
13028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13029 /* end confdefs.h. */
13034 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13039 if ac_fn_c_try_link
"$LINENO"; then :
13040 ac_cv_asm_func_def
=".def"
13042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13043 /* end confdefs.h. */
13048 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13053 if ac_fn_c_try_link
"$LINENO"; then :
13054 ac_cv_asm_func_def
=".type @function"
13056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13057 /* end confdefs.h. */
13062 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13067 if ac_fn_c_try_link
"$LINENO"; then :
13068 ac_cv_asm_func_def
=".type 2"
13070 ac_cv_asm_func_def
="unknown"
13072 rm -f core conftest.err conftest.
$ac_objext \
13073 conftest
$ac_exeext conftest.
$ac_ext
13075 rm -f core conftest.err conftest.
$ac_objext \
13076 conftest
$ac_exeext conftest.
$ac_ext
13078 rm -f core conftest.err conftest.
$ac_objext \
13079 conftest
$ac_exeext conftest.
$ac_ext
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13082 $as_echo "$ac_cv_asm_func_def" >&6; }
13085 case "$ac_cv_asm_func_def" in
13087 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13089 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13091 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13093 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
13095 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13097 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
13099 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13101 asm_func_header
="" ;;
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13105 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13106 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
13107 $as_echo_n "(cached) " >&6
13109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13111 asm(".text\n\t.long 0");
13120 if ac_fn_c_try_compile
"$LINENO"; then :
13121 ac_cv_c_asm_outside_funcs
="yes"
13123 ac_cv_c_asm_outside_funcs
="no"
13125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13128 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13131 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13132 if ${ac_cv_c_dot_previous+:} false
; then :
13133 $as_echo_n "(cached) " >&6
13135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13136 /* end confdefs.h. */
13141 asm(".text\nac_test:\t.long 0\n\t.previous");
13146 if ac_fn_c_try_link
"$LINENO"; then :
13147 ac_cv_c_dot_previous
="yes"
13149 ac_cv_c_dot_previous
="no"
13151 rm -f core conftest.err conftest.
$ac_objext \
13152 conftest
$ac_exeext conftest.
$ac_ext
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13155 $as_echo "$ac_cv_c_dot_previous" >&6; }
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13158 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13159 if ${ac_cv_c_cfi_support+:} false
; then :
13160 $as_echo_n "(cached) " >&6
13162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13163 /* end confdefs.h. */
13164 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13173 if ac_fn_c_try_compile
"$LINENO"; then :
13174 ac_cv_c_cfi_support
="yes"
13176 ac_cv_c_cfi_support
="no"
13178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13181 $as_echo "$ac_cv_c_cfi_support" >&6; }
13183 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13184 asm_func_trailer
=""
13185 if test "$ac_cv_c_dot_previous" = "yes"
13187 asm_func_trailer
="\\n\\t.previous"
13189 if test "$ac_cv_c_cfi_support" = "yes"
13191 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
13192 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
13194 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13196 UNWINDFLAGS
=-fasynchronous-unwind-tables
13199 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13203 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
13206 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13208 cat >>confdefs.h
<<_ACEOF
13209 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13213 cat >>confdefs.h
<<_ACEOF
13214 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13219 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13222 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13232 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13237 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13243 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
13248 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
13250 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
13257 ac_save_CFLAGS
="$CFLAGS"
13258 CFLAGS
="$CFLAGS $BUILTINFLAG"
13332 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13333 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13334 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13335 cat >>confdefs.h
<<_ACEOF
13336 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13342 CFLAGS
="$ac_save_CFLAGS"
13344 if test "$ac_cv_func_dlopen" = no
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13347 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13348 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13349 $as_echo_n "(cached) " >&6
13351 ac_check_lib_save_LIBS
=$LIBS
13353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13354 /* end confdefs.h. */
13356 /* Override any GCC internal prototype to avoid an error.
13357 Use char because int might match the return type of a GCC
13358 builtin and then its argument prototype would still apply. */
13371 if ac_fn_c_try_link
"$LINENO"; then :
13372 ac_cv_lib_dl_dlopen
=yes
13374 ac_cv_lib_dl_dlopen
=no
13376 rm -f core conftest.err conftest.
$ac_objext \
13377 conftest
$ac_exeext conftest.
$ac_ext
13378 LIBS
=$ac_check_lib_save_LIBS
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13381 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13382 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13383 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13389 ac_wine_check_funcs_save_LIBS
="$LIBS"
13390 LIBS
="$LIBS $LIBDL"
13391 for ac_func
in dladdr
13393 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
13394 if test "x$ac_cv_func_dladdr" = xyes
; then :
13395 cat >>confdefs.h
<<_ACEOF
13396 #define HAVE_DLADDR 1
13402 LIBS
="$ac_wine_check_funcs_save_LIBS"
13404 if test "$ac_cv_func_poll" = no
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13407 $as_echo_n "checking for poll in -lpoll... " >&6; }
13408 if ${ac_cv_lib_poll_poll+:} false
; then :
13409 $as_echo_n "(cached) " >&6
13411 ac_check_lib_save_LIBS
=$LIBS
13412 LIBS
="-lpoll $LIBS"
13413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13414 /* end confdefs.h. */
13416 /* Override any GCC internal prototype to avoid an error.
13417 Use char because int might match the return type of a GCC
13418 builtin and then its argument prototype would still apply. */
13431 if ac_fn_c_try_link
"$LINENO"; then :
13432 ac_cv_lib_poll_poll
=yes
13434 ac_cv_lib_poll_poll
=no
13436 rm -f core conftest.err conftest.
$ac_objext \
13437 conftest
$ac_exeext conftest.
$ac_ext
13438 LIBS
=$ac_check_lib_save_LIBS
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13441 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13442 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
13443 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13451 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13452 if ${ac_cv_search_gethostbyname+:} false
; then :
13453 $as_echo_n "(cached) " >&6
13455 ac_func_search_save_LIBS
=$LIBS
13456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13457 /* end confdefs.h. */
13459 /* Override any GCC internal prototype to avoid an error.
13460 Use char because int might match the return type of a GCC
13461 builtin and then its argument prototype would still apply. */
13465 char gethostbyname ();
13469 return gethostbyname ();
13474 for ac_lib
in '' nsl
; do
13475 if test -z "$ac_lib"; then
13476 ac_res
="none required"
13479 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13481 if ac_fn_c_try_link
"$LINENO"; then :
13482 ac_cv_search_gethostbyname
=$ac_res
13484 rm -f core conftest.err conftest.
$ac_objext \
13486 if ${ac_cv_search_gethostbyname+:} false
; then :
13490 if ${ac_cv_search_gethostbyname+:} false
; then :
13493 ac_cv_search_gethostbyname
=no
13495 rm conftest.
$ac_ext
13496 LIBS
=$ac_func_search_save_LIBS
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13499 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13500 ac_res
=$ac_cv_search_gethostbyname
13501 if test "$ac_res" != no
; then :
13502 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13508 $as_echo_n "checking for library containing connect... " >&6; }
13509 if ${ac_cv_search_connect+:} false
; then :
13510 $as_echo_n "(cached) " >&6
13512 ac_func_search_save_LIBS
=$LIBS
13513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13514 /* end confdefs.h. */
13516 /* Override any GCC internal prototype to avoid an error.
13517 Use char because int might match the return type of a GCC
13518 builtin and then its argument prototype would still apply. */
13531 for ac_lib
in '' socket
; do
13532 if test -z "$ac_lib"; then
13533 ac_res
="none required"
13536 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13538 if ac_fn_c_try_link
"$LINENO"; then :
13539 ac_cv_search_connect
=$ac_res
13541 rm -f core conftest.err conftest.
$ac_objext \
13543 if ${ac_cv_search_connect+:} false
; then :
13547 if ${ac_cv_search_connect+:} false
; then :
13550 ac_cv_search_connect
=no
13552 rm conftest.
$ac_ext
13553 LIBS
=$ac_func_search_save_LIBS
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13556 $as_echo "$ac_cv_search_connect" >&6; }
13557 ac_res
=$ac_cv_search_connect
13558 if test "$ac_res" != no
; then :
13559 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13565 $as_echo_n "checking for library containing inet_aton... " >&6; }
13566 if ${ac_cv_search_inet_aton+:} false
; then :
13567 $as_echo_n "(cached) " >&6
13569 ac_func_search_save_LIBS
=$LIBS
13570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13571 /* end confdefs.h. */
13573 /* Override any GCC internal prototype to avoid an error.
13574 Use char because int might match the return type of a GCC
13575 builtin and then its argument prototype would still apply. */
13583 return inet_aton ();
13588 for ac_lib
in '' resolv
; do
13589 if test -z "$ac_lib"; then
13590 ac_res
="none required"
13593 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13595 if ac_fn_c_try_link
"$LINENO"; then :
13596 ac_cv_search_inet_aton
=$ac_res
13598 rm -f core conftest.err conftest.
$ac_objext \
13600 if ${ac_cv_search_inet_aton+:} false
; then :
13604 if ${ac_cv_search_inet_aton+:} false
; then :
13607 ac_cv_search_inet_aton
=no
13609 rm conftest.
$ac_ext
13610 LIBS
=$ac_func_search_save_LIBS
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13613 $as_echo "$ac_cv_search_inet_aton" >&6; }
13614 ac_res
=$ac_cv_search_inet_aton
13615 if test "$ac_res" != no
; then :
13616 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13635 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13636 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13637 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13638 cat >>confdefs.h
<<_ACEOF
13639 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
13648 $as_echo_n "checking for library containing clock_gettime... " >&6; }
13649 if ${ac_cv_search_clock_gettime+:} false
; then :
13650 $as_echo_n "(cached) " >&6
13652 ac_func_search_save_LIBS
=$LIBS
13653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13654 /* end confdefs.h. */
13656 /* Override any GCC internal prototype to avoid an error.
13657 Use char because int might match the return type of a GCC
13658 builtin and then its argument prototype would still apply. */
13662 char clock_gettime ();
13666 return clock_gettime ();
13671 for ac_lib
in '' rt
; do
13672 if test -z "$ac_lib"; then
13673 ac_res
="none required"
13676 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13678 if ac_fn_c_try_link
"$LINENO"; then :
13679 ac_cv_search_clock_gettime
=$ac_res
13681 rm -f core conftest.err conftest.
$ac_objext \
13683 if ${ac_cv_search_clock_gettime+:} false
; then :
13687 if ${ac_cv_search_clock_gettime+:} false
; then :
13690 ac_cv_search_clock_gettime
=no
13692 rm conftest.
$ac_ext
13693 LIBS
=$ac_func_search_save_LIBS
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
13696 $as_echo "$ac_cv_search_clock_gettime" >&6; }
13697 ac_res
=$ac_cv_search_clock_gettime
13698 if test "$ac_res" != no
; then :
13699 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13701 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13703 test "$ac_res" = "none required" || LIBRT
="$ac_res"
13711 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13713 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13715 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13717 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13718 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
13719 $as_echo_n "(cached) " >&6
13721 ac_check_lib_save_LIBS
=$LIBS
13722 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13724 /* end confdefs.h. */
13726 /* Override any GCC internal prototype to avoid an error.
13727 Use char because int might match the return type of a GCC
13728 builtin and then its argument prototype would still apply. */
13732 char ldap_initialize ();
13736 return ldap_initialize ();
13741 if ac_fn_c_try_link
"$LINENO"; then :
13742 ac_cv_lib_ldap_r_ldap_initialize
=yes
13744 ac_cv_lib_ldap_r_ldap_initialize
=no
13746 rm -f core conftest.err conftest.
$ac_objext \
13747 conftest
$ac_exeext conftest.
$ac_ext
13748 LIBS
=$ac_check_lib_save_LIBS
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13751 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13752 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13754 $as_echo_n "checking for ber_init in -llber... " >&6; }
13755 if ${ac_cv_lib_lber_ber_init+:} false
; then :
13756 $as_echo_n "(cached) " >&6
13758 ac_check_lib_save_LIBS
=$LIBS
13759 LIBS
="-llber $LIBPTHREAD $LIBS"
13760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13761 /* end confdefs.h. */
13763 /* Override any GCC internal prototype to avoid an error.
13764 Use char because int might match the return type of a GCC
13765 builtin and then its argument prototype would still apply. */
13773 return ber_init ();
13778 if ac_fn_c_try_link
"$LINENO"; then :
13779 ac_cv_lib_lber_ber_init
=yes
13781 ac_cv_lib_lber_ber_init
=no
13783 rm -f core conftest.err conftest.
$ac_objext \
13784 conftest
$ac_exeext conftest.
$ac_ext
13785 LIBS
=$ac_check_lib_save_LIBS
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13788 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13789 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
13791 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13793 LDAPLIBS
="-lldap_r -llber"
13800 ac_wine_check_funcs_save_LIBS
="$LIBS"
13801 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13803 ldap_count_references \
13804 ldap_first_reference \
13805 ldap_next_reference \
13806 ldap_parse_reference \
13807 ldap_parse_sort_control \
13808 ldap_parse_sortresponse_control \
13809 ldap_parse_vlv_control \
13810 ldap_parse_vlvresponse_control
13812 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13813 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13814 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13815 cat >>confdefs.h
<<_ACEOF
13816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13822 LIBS
="$ac_wine_check_funcs_save_LIBS"
13824 if test "x$LDAPLIBS" = "x"; then :
13825 case "x$with_ldap" in
13826 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13828 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13829 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13834 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13835 if ${wine_cv_one_arg_mkdir+:} false
; then :
13836 $as_echo_n "(cached) " >&6
13838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13839 /* end confdefs.h. */
13840 #include <sys/stat.h>
13849 if ac_fn_c_try_compile
"$LINENO"; then :
13850 wine_cv_one_arg_mkdir
=yes
13852 wine_cv_one_arg_mkdir
=no
13854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13857 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13858 if test "$wine_cv_one_arg_mkdir" = "yes"
13861 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13866 $as_echo_n "checking for sched_setaffinity... " >&6; }
13867 if ${wine_cv_have_sched_setaffinity+:} false
; then :
13868 $as_echo_n "(cached) " >&6
13870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13871 /* end confdefs.h. */
13872 #define _GNU_SOURCE
13877 sched_setaffinity(0, 0, 0);
13882 if ac_fn_c_try_link
"$LINENO"; then :
13883 wine_cv_have_sched_setaffinity
=yes
13885 wine_cv_have_sched_setaffinity
=no
13887 rm -f core conftest.err conftest.
$ac_objext \
13888 conftest
$ac_exeext conftest.
$ac_ext
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13891 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13892 if test "$wine_cv_have_sched_setaffinity" = "yes"
13895 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
13900 $as_echo_n "checking for fallocate... " >&6; }
13901 if ${wine_cv_have_fallocate+:} false
; then :
13902 $as_echo_n "(cached) " >&6
13904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13906 #define _GNU_SOURCE
13911 fallocate(-1, 0, 0, 0);
13916 if ac_fn_c_try_link
"$LINENO"; then :
13917 wine_cv_have_fallocate
=yes
13919 wine_cv_have_fallocate
=no
13921 rm -f core conftest.err conftest.
$ac_objext \
13922 conftest
$ac_exeext conftest.
$ac_ext
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
13925 $as_echo "$wine_cv_have_fallocate" >&6; }
13926 if test "$wine_cv_have_fallocate" = "yes"
13929 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13935 $as_echo_n "checking for inline... " >&6; }
13936 if ${ac_cv_c_inline+:} false
; then :
13937 $as_echo_n "(cached) " >&6
13940 for ac_kw
in inline __inline__ __inline
; do
13941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13942 /* end confdefs.h. */
13943 #ifndef __cplusplus
13945 static $ac_kw foo_t static_foo () {return 0; }
13946 $ac_kw foo_t foo () {return 0; }
13950 if ac_fn_c_try_compile
"$LINENO"; then :
13951 ac_cv_c_inline
=$ac_kw
13953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13954 test "$ac_cv_c_inline" != no
&& break
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13959 $as_echo "$ac_cv_c_inline" >&6; }
13961 case $ac_cv_c_inline in
13964 case $ac_cv_c_inline in
13966 *) ac_val
=$ac_cv_c_inline;;
13968 cat >>confdefs.h
<<_ACEOF
13969 #ifndef __cplusplus
13970 #define inline $ac_val
13976 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13977 if test "x$ac_cv_type_mode_t" = xyes
; then :
13979 cat >>confdefs.h
<<_ACEOF
13980 #define HAVE_MODE_T 1
13985 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13986 if test "x$ac_cv_type_off_t" = xyes
; then :
13988 cat >>confdefs.h
<<_ACEOF
13989 #define HAVE_OFF_T 1
13994 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13995 if test "x$ac_cv_type_pid_t" = xyes
; then :
13997 cat >>confdefs.h
<<_ACEOF
13998 #define HAVE_PID_T 1
14003 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14004 if test "x$ac_cv_type_size_t" = xyes
; then :
14006 cat >>confdefs.h
<<_ACEOF
14007 #define HAVE_SIZE_T 1
14012 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14013 if test "x$ac_cv_type_ssize_t" = xyes
; then :
14015 cat >>confdefs.h
<<_ACEOF
14016 #define HAVE_SSIZE_T 1
14021 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14022 if test "x$ac_cv_type_long_long" = xyes
; then :
14024 cat >>confdefs.h
<<_ACEOF
14025 #define HAVE_LONG_LONG 1
14030 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14031 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
14033 cat >>confdefs.h
<<_ACEOF
14034 #define HAVE_FSBLKCNT_T 1
14039 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14040 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
14042 cat >>confdefs.h
<<_ACEOF
14043 #define HAVE_FSFILCNT_T 1
14049 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14050 #include <signal.h>
14052 if test "x$ac_cv_type_sigset_t" = xyes
; then :
14054 cat >>confdefs.h
<<_ACEOF
14055 #define HAVE_SIGSET_T 1
14061 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14063 if test "x$ac_cv_type_request_sense" = xyes
; then :
14065 cat >>confdefs.h
<<_ACEOF
14066 #define HAVE_REQUEST_SENSE 1
14073 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14074 #ifdef HAVE_SYS_SOCKET_H
14075 #include <sys/socket.h>
14077 #ifdef HAVE_SYS_SOCKETVAR_H
14078 #include <sys/socketvar.h>
14080 #ifdef HAVE_NET_ROUTE_H
14081 #include <net/route.h>
14083 #ifdef HAVE_NETINET_IN_H
14084 #include <netinet/in.h>
14086 #ifdef HAVE_NETINET_IN_SYSTM_H
14087 #include <netinet/in_systm.h>
14089 #ifdef HAVE_NETINET_IP_H
14090 #include <netinet/ip.h>
14092 #ifdef HAVE_NETINET_IN_PCB_H
14093 #include <netinet/in_pcb.h>
14096 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
14098 cat >>confdefs.h
<<_ACEOF
14099 #define HAVE_STRUCT_XINPGEN 1
14106 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14107 #include <linux/input.h>
14110 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
14112 cat >>confdefs.h
<<_ACEOF
14113 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14121 $as_echo_n "checking for sigaddset... " >&6; }
14122 if ${wine_cv_have_sigaddset+:} false
; then :
14123 $as_echo_n "(cached) " >&6
14125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14127 #include <signal.h>
14131 sigset_t set; sigaddset(&set,SIGTERM);
14136 if ac_fn_c_try_link
"$LINENO"; then :
14137 wine_cv_have_sigaddset
=yes
14139 wine_cv_have_sigaddset
=no
14141 rm -f core conftest.err conftest.
$ac_objext \
14142 conftest
$ac_exeext conftest.
$ac_ext
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14145 $as_echo "$wine_cv_have_sigaddset" >&6; }
14146 if test "$wine_cv_have_sigaddset" = "yes"
14149 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14155 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14156 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
14157 $as_echo_n "(cached) " >&6
14159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14160 /* end confdefs.h. */
14168 struct hostent *result;
14175 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14176 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14182 if ac_fn_c_try_link
"$LINENO"; then :
14183 wine_cv_linux_gethostbyname_r_6
=yes
14185 wine_cv_linux_gethostbyname_r_6
=no
14188 rm -f core conftest.err conftest.
$ac_objext \
14189 conftest
$ac_exeext conftest.
$ac_ext
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14193 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14194 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14197 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14201 if test "$ac_cv_header_linux_joystick_h" = "yes"
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14204 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14205 if ${wine_cv_linux_joystick_22_api+:} false
; then :
14206 $as_echo_n "(cached) " >&6
14208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14211 #include <sys/ioctl.h>
14212 #include <sys/types.h>
14213 #include <linux/joystick.h>
14215 struct js_event blub;
14216 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14217 #error "no 2.2 header"
14228 if ac_fn_c_try_compile
"$LINENO"; then :
14229 wine_cv_linux_joystick_22_api
=yes
14231 wine_cv_linux_joystick_22_api
=no
14233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14237 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14238 if test "$wine_cv_linux_joystick_22_api" = "yes"
14241 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14247 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14248 #ifdef HAVE_SYS_PARAM_H
14249 # include <sys/param.h>
14251 #ifdef HAVE_SYS_MOUNT_H
14252 # include <sys/mount.h>
14254 #ifdef HAVE_SYS_VFS_H
14255 # include <sys/vfs.h>
14257 #ifdef HAVE_SYS_STATFS_H
14258 # include <sys/statfs.h>
14261 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
14263 cat >>confdefs.h
<<_ACEOF
14264 #define HAVE_STRUCT_STATFS_F_BFREE 1
14269 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
14270 #ifdef HAVE_SYS_PARAM_H
14271 # include <sys/param.h>
14273 #ifdef HAVE_SYS_MOUNT_H
14274 # include <sys/mount.h>
14276 #ifdef HAVE_SYS_VFS_H
14277 # include <sys/vfs.h>
14279 #ifdef HAVE_SYS_STATFS_H
14280 # include <sys/statfs.h>
14283 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
14285 cat >>confdefs.h
<<_ACEOF
14286 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
14291 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
14292 #ifdef HAVE_SYS_PARAM_H
14293 # include <sys/param.h>
14295 #ifdef HAVE_SYS_MOUNT_H
14296 # include <sys/mount.h>
14298 #ifdef HAVE_SYS_VFS_H
14299 # include <sys/vfs.h>
14301 #ifdef HAVE_SYS_STATFS_H
14302 # include <sys/statfs.h>
14305 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
14307 cat >>confdefs.h
<<_ACEOF
14308 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
14313 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
14314 #ifdef HAVE_SYS_PARAM_H
14315 # include <sys/param.h>
14317 #ifdef HAVE_SYS_MOUNT_H
14318 # include <sys/mount.h>
14320 #ifdef HAVE_SYS_VFS_H
14321 # include <sys/vfs.h>
14323 #ifdef HAVE_SYS_STATFS_H
14324 # include <sys/statfs.h>
14327 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
14329 cat >>confdefs.h
<<_ACEOF
14330 #define HAVE_STRUCT_STATFS_F_FFREE 1
14335 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
14336 #ifdef HAVE_SYS_PARAM_H
14337 # include <sys/param.h>
14339 #ifdef HAVE_SYS_MOUNT_H
14340 # include <sys/mount.h>
14342 #ifdef HAVE_SYS_VFS_H
14343 # include <sys/vfs.h>
14345 #ifdef HAVE_SYS_STATFS_H
14346 # include <sys/statfs.h>
14349 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
14351 cat >>confdefs.h
<<_ACEOF
14352 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
14357 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
14358 #ifdef HAVE_SYS_PARAM_H
14359 # include <sys/param.h>
14361 #ifdef HAVE_SYS_MOUNT_H
14362 # include <sys/mount.h>
14364 #ifdef HAVE_SYS_VFS_H
14365 # include <sys/vfs.h>
14367 #ifdef HAVE_SYS_STATFS_H
14368 # include <sys/statfs.h>
14371 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
14373 cat >>confdefs.h
<<_ACEOF
14374 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14381 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14382 #include <sys/statvfs.h>
14385 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
14387 cat >>confdefs.h
<<_ACEOF
14388 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14395 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14396 #include <dirent.h>
14399 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
14401 cat >>confdefs.h
<<_ACEOF
14402 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14409 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14410 #ifdef HAVE_SYS_SOCKET_H
14411 # include <sys/socket.h>
14413 #ifdef HAVE_SYS_UN_H
14414 # include <sys/un.h>
14417 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
14419 cat >>confdefs.h
<<_ACEOF
14420 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14425 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14426 #ifdef HAVE_SYS_SOCKET_H
14427 # include <sys/socket.h>
14429 #ifdef HAVE_SYS_UN_H
14430 # include <sys/un.h>
14433 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
14435 cat >>confdefs.h
<<_ACEOF
14436 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14441 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14442 #ifdef HAVE_SYS_SOCKET_H
14443 # include <sys/socket.h>
14445 #ifdef HAVE_SYS_UN_H
14446 # include <sys/un.h>
14449 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
14451 cat >>confdefs.h
<<_ACEOF
14452 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14459 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14460 #ifdef HAVE_SCSI_SG_H
14461 #include <scsi/sg.h>
14464 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
14466 cat >>confdefs.h
<<_ACEOF
14467 #define HAVE_SCSIREQ_T_CMD 1
14472 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>
14473 #ifdef HAVE_SCSI_SG_H
14474 #include <scsi/sg.h>
14477 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
14479 cat >>confdefs.h
<<_ACEOF
14480 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14487 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14489 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
14491 cat >>confdefs.h
<<_ACEOF
14492 #define HAVE_SIGINFO_T_SI_FD 1
14499 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14500 #ifdef HAVE_SYS_MTIO_H
14501 #include <sys/mtio.h>
14504 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
14506 cat >>confdefs.h
<<_ACEOF
14507 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14512 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14513 #ifdef HAVE_SYS_MTIO_H
14514 #include <sys/mtio.h>
14517 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
14519 cat >>confdefs.h
<<_ACEOF
14520 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14525 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14526 #ifdef HAVE_SYS_MTIO_H
14527 #include <sys/mtio.h>
14530 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
14532 cat >>confdefs.h
<<_ACEOF
14533 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14540 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14541 #include <getopt.h>
14544 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
14546 cat >>confdefs.h
<<_ACEOF
14547 #define HAVE_STRUCT_OPTION_NAME 1
14554 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14555 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
14557 cat >>confdefs.h
<<_ACEOF
14558 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14563 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14564 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
14566 cat >>confdefs.h
<<_ACEOF
14567 #define HAVE_STRUCT_STAT_ST_MTIM 1
14572 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14573 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
14575 cat >>confdefs.h
<<_ACEOF
14576 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14581 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14582 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
14584 cat >>confdefs.h
<<_ACEOF
14585 #define HAVE_STRUCT_STAT_ST_CTIM 1
14590 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14591 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
14593 cat >>confdefs.h
<<_ACEOF
14594 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14599 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14600 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
14602 cat >>confdefs.h
<<_ACEOF
14603 #define HAVE_STRUCT_STAT_ST_ATIM 1
14608 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14609 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
14611 cat >>confdefs.h
<<_ACEOF
14612 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14617 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14618 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
14620 cat >>confdefs.h
<<_ACEOF
14621 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14626 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14627 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
14629 cat >>confdefs.h
<<_ACEOF
14630 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14635 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14636 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
14638 cat >>confdefs.h
<<_ACEOF
14639 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14644 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14645 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
14647 cat >>confdefs.h
<<_ACEOF
14648 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14653 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14654 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
14656 cat >>confdefs.h
<<_ACEOF
14657 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14664 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
14665 #include <sys/types.h>
14667 #ifdef HAVE_NETINET_IN_H
14668 #include <netinet/in.h>
14671 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
14673 cat >>confdefs.h
<<_ACEOF
14674 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14681 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14682 #include <sys/types.h>
14684 #ifdef HAVE_NETINET_IN_H
14685 # include <netinet/in.h>
14687 #ifdef HAVE_ARPA_NAMESER_H
14688 # include <arpa/nameser.h>
14691 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
14693 cat >>confdefs.h
<<_ACEOF
14694 #define HAVE_NS_MSG__MSG_PTR 1
14701 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14702 #include <sys/types.h>
14704 #ifdef HAVE_NETINET_IP_H
14705 #include <netinet/ip.h>
14707 #ifdef HAVE_NETINET_IP_ICMP_H
14708 #include <netinet/ip_icmp.h>
14710 #ifdef HAVE_NETINET_ICMP_VAR_H
14711 #include <netinet/icmp_var.h>
14714 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
14716 cat >>confdefs.h
<<_ACEOF
14717 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14724 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14725 #include <sys/types.h>
14727 #ifdef HAVE_ALIAS_H
14730 #ifdef HAVE_SYS_SOCKET_H
14731 #include <sys/socket.h>
14733 #ifdef HAVE_SYS_SOCKETVAR_H
14734 #include <sys/socketvar.h>
14736 #ifdef HAVE_SYS_TIMEOUT_H
14737 #include <sys/timeout.h>
14739 #ifdef HAVE_NETINET_IN_H
14740 #include <netinet/in.h>
14742 #ifdef HAVE_NETINET_IN_SYSTM_H
14743 #include <netinet/in_systm.h>
14745 #ifdef HAVE_NETINET_IP_H
14746 #include <netinet/ip.h>
14748 #ifdef HAVE_NETINET_IP_VAR_H
14749 #include <netinet/ip_var.h>
14751 #ifdef HAVE_NETINET_IP_ICMP_H
14752 #include <netinet/ip_icmp.h>
14754 #ifdef HAVE_NETINET_ICMP_VAR_H
14755 #include <netinet/icmp_var.h>
14758 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
14760 cat >>confdefs.h
<<_ACEOF
14761 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14768 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14769 #include <sys/types.h>
14771 #ifdef HAVE_SYS_SOCKETVAR_H
14772 #include <sys/socketvar.h>
14774 #ifdef HAVE_NETINET_IN_H
14775 #include <netinet/in.h>
14777 #ifdef HAVE_NETINET_IP_VAR_H
14778 #include <netinet/ip_var.h>
14781 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
14783 cat >>confdefs.h
<<_ACEOF
14784 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14791 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
14792 #include <netinet/ip_var.h>
14795 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
14797 cat >>confdefs.h
<<_ACEOF
14798 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14805 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14806 #include <sys/types.h>
14808 #ifdef HAVE_SYS_SOCKETVAR_H
14809 #include <sys/socketvar.h>
14811 #ifdef HAVE_NETINET_IN_H
14812 #include <netinet/in.h>
14814 #ifdef HAVE_NETINET_TCP_H
14815 #include <netinet/tcp.h>
14817 #ifdef HAVE_NETINET_TCP_VAR_H
14818 #include <netinet/tcp_var.h>
14821 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
14823 cat >>confdefs.h
<<_ACEOF
14824 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14831 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
14832 #include <netinet/tcp_var.h>
14835 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
14837 cat >>confdefs.h
<<_ACEOF
14838 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14845 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
14846 #include <sys/types.h>
14848 #ifdef HAVE_NETINET_IN_H
14849 #include <netinet/in.h>
14851 #ifdef HAVE_NETINET_IP_VAR_H
14852 #include <netinet/ip_var.h>
14854 #ifdef HAVE_NETINET_UDP_H
14855 #include <netinet/udp.h>
14857 #ifdef HAVE_NETINET_UDP_VAR_H
14858 #include <netinet/udp_var.h>
14861 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
14863 cat >>confdefs.h
<<_ACEOF
14864 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14871 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14872 #include <sys/types.h>
14874 #ifdef HAVE_NET_IF_H
14875 # include <net/if.h>
14878 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
14880 cat >>confdefs.h
<<_ACEOF
14881 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14889 $as_echo_n "checking for timezone variable... " >&6; }
14890 if ${ac_cv_have_timezone+:} false
; then :
14891 $as_echo_n "(cached) " >&6
14893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14894 /* end confdefs.h. */
14904 if ac_fn_c_try_link
"$LINENO"; then :
14905 ac_cv_have_timezone
="yes"
14907 ac_cv_have_timezone
="no"
14909 rm -f core conftest.err conftest.
$ac_objext \
14910 conftest
$ac_exeext conftest.
$ac_ext
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14913 $as_echo "$ac_cv_have_timezone" >&6; }
14914 if test "$ac_cv_have_timezone" = "yes"
14917 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14921 $as_echo_n "checking for daylight variable... " >&6; }
14922 if ${ac_cv_have_daylight+:} false
; then :
14923 $as_echo_n "(cached) " >&6
14925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14926 /* end confdefs.h. */
14936 if ac_fn_c_try_link
"$LINENO"; then :
14937 ac_cv_have_daylight
="yes"
14939 ac_cv_have_daylight
="no"
14941 rm -f core conftest.err conftest.
$ac_objext \
14942 conftest
$ac_exeext conftest.
$ac_ext
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14945 $as_echo "$ac_cv_have_daylight" >&6; }
14946 if test "$ac_cv_have_daylight" = "yes"
14949 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14953 ac_save_LIBS
="$LIBS"
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14956 $as_echo_n "checking for isinf... " >&6; }
14957 if ${ac_cv_have_isinf+:} false
; then :
14958 $as_echo_n "(cached) " >&6
14960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14961 /* end confdefs.h. */
14966 float f = 0.0; return isinf(f)
14971 if ac_fn_c_try_link
"$LINENO"; then :
14972 ac_cv_have_isinf
="yes"
14974 ac_cv_have_isinf
="no"
14976 rm -f core conftest.err conftest.
$ac_objext \
14977 conftest
$ac_exeext conftest.
$ac_ext
14979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14980 $as_echo "$ac_cv_have_isinf" >&6; }
14981 if test "$ac_cv_have_isinf" = "yes"
14984 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14989 $as_echo_n "checking for isnan... " >&6; }
14990 if ${ac_cv_have_isnan+:} false
; then :
14991 $as_echo_n "(cached) " >&6
14993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14994 /* end confdefs.h. */
14999 float f = 0.0; return isnan(f)
15004 if ac_fn_c_try_link
"$LINENO"; then :
15005 ac_cv_have_isnan
="yes"
15007 ac_cv_have_isnan
="no"
15009 rm -f core conftest.err conftest.
$ac_objext \
15010 conftest
$ac_exeext conftest.
$ac_ext
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15013 $as_echo "$ac_cv_have_isnan" >&6; }
15014 if test "$ac_cv_have_isnan" = "yes"
15017 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15020 LIBS
="$ac_save_LIBS"
15024 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15025 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15026 if ${ac_cv_cpp_def___i386__+:} false
; then :
15027 $as_echo_n "(cached) " >&6
15029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15030 /* end confdefs.h. */
15035 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15036 $EGREP "yes" >/dev
/null
2>&1; then :
15037 ac_cv_cpp_def___i386__
=yes
15039 ac_cv_cpp_def___i386__
=no
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15045 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15046 if test $ac_cv_cpp_def___i386__ = yes; then :
15047 CFLAGS
="$CFLAGS -D__i386__"
15048 LINTFLAGS
="$LINTFLAGS -D__i386__"
15050 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15051 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15052 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
15053 $as_echo_n "(cached) " >&6
15055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15056 /* end confdefs.h. */
15061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15062 $EGREP "yes" >/dev
/null
2>&1; then :
15063 ac_cv_cpp_def___x86_64__
=yes
15065 ac_cv_cpp_def___x86_64__
=no
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15071 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15072 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15073 CFLAGS
="$CFLAGS -D__x86_64__"
15074 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
15076 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15077 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15078 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
15079 $as_echo_n "(cached) " >&6
15081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15082 /* end confdefs.h. */
15083 #ifndef __sparc64__
15087 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15088 $EGREP "yes" >/dev
/null
2>&1; then :
15089 ac_cv_cpp_def___sparc64__
=yes
15091 ac_cv_cpp_def___sparc64__
=no
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15097 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15098 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15099 CFLAGS
="$CFLAGS -D__sparc64__"
15100 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
15102 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15103 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15104 if ${ac_cv_cpp_def___sparc__+:} false
; then :
15105 $as_echo_n "(cached) " >&6
15107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15108 /* end confdefs.h. */
15113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15114 $EGREP "yes" >/dev
/null
2>&1; then :
15115 ac_cv_cpp_def___sparc__
=yes
15117 ac_cv_cpp_def___sparc__
=no
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15123 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15124 if test $ac_cv_cpp_def___sparc__ = yes; then :
15125 CFLAGS
="$CFLAGS -D__sparc__"
15126 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15128 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15129 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15130 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
15131 $as_echo_n "(cached) " >&6
15133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15134 /* end confdefs.h. */
15135 #ifndef __powerpc64__
15139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15140 $EGREP "yes" >/dev
/null
2>&1; then :
15141 ac_cv_cpp_def___powerpc64__
=yes
15143 ac_cv_cpp_def___powerpc64__
=no
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15149 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15150 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15151 CFLAGS
="$CFLAGS -D__powerpc64__"
15152 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
15154 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15155 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15156 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
15157 $as_echo_n "(cached) " >&6
15159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15161 #ifndef __powerpc__
15165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15166 $EGREP "yes" >/dev
/null
2>&1; then :
15167 ac_cv_cpp_def___powerpc__
=yes
15169 ac_cv_cpp_def___powerpc__
=no
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15175 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15176 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15177 CFLAGS
="$CFLAGS -D__powerpc__"
15178 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
15180 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15181 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15182 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
15183 $as_echo_n "(cached) " >&6
15185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15187 #ifndef __aarch64__
15191 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15192 $EGREP "yes" >/dev
/null
2>&1; then :
15193 ac_cv_cpp_def___aarch64__
=yes
15195 ac_cv_cpp_def___aarch64__
=no
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15201 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15202 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15203 CFLAGS
="$CFLAGS -D__aarch64__"
15204 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
15206 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15207 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15208 if ${ac_cv_cpp_def___arm__+:} false
; then :
15209 $as_echo_n "(cached) " >&6
15211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15212 /* end confdefs.h. */
15217 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15218 $EGREP "yes" >/dev
/null
2>&1; then :
15219 ac_cv_cpp_def___arm__
=yes
15221 ac_cv_cpp_def___arm__
=no
15226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15227 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15228 if test $ac_cv_cpp_def___arm__ = yes; then :
15229 CFLAGS
="$CFLAGS -D__arm__"
15230 LINTFLAGS
="$LINTFLAGS -D__arm__"
15234 case $host_vendor in
15235 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
15236 $as_echo_n "checking whether we need to define __sun__... " >&6; }
15237 if ${ac_cv_cpp_def___sun__+:} false
; then :
15238 $as_echo_n "(cached) " >&6
15240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15241 /* end confdefs.h. */
15246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15247 $EGREP "yes" >/dev
/null
2>&1; then :
15248 ac_cv_cpp_def___sun__
=yes
15250 ac_cv_cpp_def___sun__
=no
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
15256 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
15257 if test $ac_cv_cpp_def___sun__ = yes; then :
15258 CFLAGS
="$CFLAGS -D__sun__"
15259 LINTFLAGS
="$LINTFLAGS -D__sun__"
15267 ac_config_commands
="$ac_config_commands include/stamp-h"
15270 ALL_MAKEFILE_DEPENDS
="
15271 # Rules automatically generated by configure
15276 Makefile: Makefile.in Make.vars.in Make.rules config.status
15277 @./config.status Make.tmp Makefile"
15280 ALL_TEST_RESOURCES
=""
15283 wine_fn_append_file
()
15285 as_fn_append
$1 " \\$as_nl $2"
15288 wine_fn_append_rule
()
15290 as_fn_append
$1 "$as_nl$2"
15293 wine_fn_has_flag
()
15295 expr ",$2," : ".*,$1,.*" >/dev
/null
15298 wine_fn_all_dir_rules
()
15302 ac_makedep
="\$(MAKEDEP)"
15303 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
15304 if test $ac_dir != tools
15306 ac_alldeps
="$2 $ac_makedep"
15308 ac_alldeps
="$2 include/config.h"
15311 *.
in) ac_input
=$ac_input:$2 ;;
15312 *) ac_makedep
="$2 $ac_makedep" ;;
15315 wine_fn_append_file ALL_DIRS
$ac_dir
15316 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15317 "__clean__: $ac_dir/__clean__
15318 .PHONY: $ac_dir/__clean__
15319 $ac_dir/__clean__: $ac_dir/Makefile
15320 @cd $ac_dir && \$(MAKE) clean
15321 \$(RM) $ac_dir/Makefile
15322 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
15323 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
15324 depend: $ac_dir/__depend__
15325 .PHONY: $ac_dir/__depend__
15326 $ac_dir/__depend__: $ac_makedep dummy
15327 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
15330 wine_fn_pot_rules
()
15335 test "x$with_gettextpo" = xyes ||
return
15337 if wine_fn_has_flag mc
$ac_flags
15339 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
15340 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15341 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
15342 @cd $ac_dir && \$(MAKE) msg.pot
15343 $ac_dir/msg.pot: tools/wmc include"
15345 if wine_fn_has_flag po
$ac_flags
15347 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
15348 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15349 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
15350 @cd $ac_dir && \$(MAKE) rsrc.pot
15351 $ac_dir/rsrc.pot: tools/wrc include"
15355 wine_fn_config_makefile
()
15361 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15365 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
15366 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15369 $ac_dir: $ac_dir/Makefile dummy
15370 @cd $ac_dir && \$(MAKE)"
15372 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
15374 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15375 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15376 $ac_dir/__install__:: $ac_dir
15377 @cd $ac_dir && \$(MAKE) install
15378 $ac_dir/__uninstall__:: $ac_dir/Makefile
15379 @cd $ac_dir && \$(MAKE) uninstall
15380 install:: $ac_dir/__install__
15381 __uninstall__: $ac_dir/__uninstall__"
15383 if wine_fn_has_flag install-lib
$ac_flags
15385 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15386 ".PHONY: $ac_dir/__install-lib__
15387 $ac_dir/__install-lib__:: $ac_dir
15388 @cd $ac_dir && \$(MAKE) install-lib
15389 install-lib:: $ac_dir/__install-lib__"
15392 if wine_fn_has_flag install-dev
$ac_flags
15394 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15395 ".PHONY: $ac_dir/__install-dev
15396 $ac_dir/__install-dev__:: $ac_dir
15397 @cd $ac_dir && \$(MAKE) install-dev
15398 install-dev:: $ac_dir/__install-dev__"
15402 wine_fn_config_lib
()
15406 ac_dir
=dlls
/$ac_name
15407 wine_fn_config_makefile
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
15409 if wine_fn_has_flag install-dev
$ac_flags
15412 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15413 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15414 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15415 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15416 $ac_dir/__uninstall__::
15417 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15418 install install-dev:: $ac_dir/__install__
15419 __uninstall__: $ac_dir/__uninstall__"
15422 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: $ac_dir"
15423 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: tools/widl tools/winebuild tools/winegcc include"
15426 wine_fn_config_dll
()
15429 ac_dir
=dlls
/$ac_name
15432 ac_implib
=${4:-$ac_name}
15433 ac_file
=$ac_dir/lib
$ac_implib
15435 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
15439 *16) ac_implibflags
=" -m16" ;;
15441 *) ac_dll
=$ac_dll.dll
;;
15444 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
15446 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15447 test "$ac_enable" != enable_win16 ||
return 0
15448 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
15450 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15451 "$ac_dir: __builddeps__
15452 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15453 @cd $ac_dir && \$(MAKE) \$@"
15455 if wine_fn_has_flag install-lib
$ac_flags
15458 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15459 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15460 install install-lib:: $ac_dir/__install-lib__
15461 __uninstall__: $ac_dir/__uninstall__"
15462 if test -n "$DLLEXT"
15464 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15465 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15466 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
15467 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15468 $ac_dir/__uninstall__::
15469 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15471 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15472 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15473 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15474 $ac_dir/__uninstall__::
15475 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15479 wine_fn_pot_rules
$ac_dir $ac_flags
15482 if wine_fn_has_flag staticimplib
$ac_flags
15484 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15485 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15486 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15487 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15488 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15489 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15490 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15491 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15492 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15493 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15494 $ac_dir/__uninstall__::
15495 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15496 install install-dev:: $ac_dir/__install-dev__
15497 __uninstall__: $ac_dir/__uninstall__"
15499 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15501 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15502 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15503 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15504 $ac_dir/__uninstall__::
15505 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15508 if test "x$CROSSTEST_DISABLE" = x
15510 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15511 "__builddeps__: $ac_file.cross.a
15512 $ac_file.cross.a: $ac_dir/Makefile dummy
15513 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15516 elif wine_fn_has_flag implib
$ac_flags
15518 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15519 "__builddeps__: $ac_file.$IMPLIBEXT
15520 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15521 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15522 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15523 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15524 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15525 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15526 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15527 $ac_dir/__uninstall__::
15528 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15529 install install-dev:: $ac_dir/__install-dev__
15530 __uninstall__: $ac_dir/__uninstall__"
15531 if test "x$CROSSTEST_DISABLE" = x
15533 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15534 "__builddeps__: $ac_file.cross.a
15535 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15536 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15539 if test "$ac_name" != "$ac_implib"
15541 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15542 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15543 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15544 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15546 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15547 if test "x$CROSSTEST_DISABLE" = x
15549 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15550 "__builddeps__: dlls/lib$ac_implib.cross.a
15551 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15552 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15558 wine_fn_config_program
()
15561 ac_dir
=programs
/$ac_name
15564 ac_program
=$ac_name
15568 *) ac_program
=$ac_program.exe
;;
15571 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
15573 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15576 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15577 "$ac_dir: __builddeps__"
15579 wine_fn_pot_rules
$ac_dir $ac_flags
15581 wine_fn_has_flag
install $ac_flags ||
return
15582 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15583 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15584 install install-lib:: $ac_dir/__install__
15585 __uninstall__: $ac_dir/__uninstall__"
15587 if test -n "$DLLEXT"
15589 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15590 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15591 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15592 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15593 $ac_dir/__uninstall__::
15594 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15596 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
15598 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15599 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15600 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15601 $ac_dir/__uninstall__::
15602 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15605 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15606 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15607 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15608 $ac_dir/__uninstall__::
15609 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15612 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
15614 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15615 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15616 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15617 $ac_dir/__uninstall__::
15618 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15623 wine_fn_config_test
()
15628 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
15629 wine_fn_all_dir_rules
$ac_dir Maketest.rules
15631 if test "x$enable_tests" = xno
; then :
15634 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15637 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15638 @cd $ac_dir && \$(MAKE)
15639 programs/winetest: $ac_dir
15640 check test: $ac_dir/__test__
15641 .PHONY: $ac_dir/__test__
15642 $ac_dir/__test__: dummy
15643 @cd $ac_dir && \$(MAKE) test
15645 \$(RM) $ac_dir/*.ok"
15647 if test "x$CROSSTEST_DISABLE" = x
15649 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15650 "crosstest: $ac_dir/__crosstest__
15651 .PHONY: $ac_dir/__crosstest__
15652 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15653 @cd $ac_dir && \$(MAKE) crosstest"
15658 wine_fn_config_tool
()
15662 if test "x$enable_tools" = xno
; then :
15666 wine_fn_config_makefile
$ac_dir enable_tools
$ac_flags
15668 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__tooldeps__: $ac_dir"
15669 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: libs/port"
15671 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
15675 wine_fn_config_makerules
()
15679 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15680 "$ac_rules: $ac_rules.in $ac_deps config.status
15681 @./config.status $ac_rules
15686 wine_fn_config_symlink
()
15689 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15691 @./config.status $ac_link
15696 if test "x$CROSSTEST_DISABLE" != x
15698 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15700 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15702 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15703 wine_fn_config_symlink dlls
/shell32
/AUTHORS
15704 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15705 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
15706 if test "x$enable_fonts" != xno
; then
15707 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15708 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
15710 if test "x$enable_fonts" != xno
; then
15711 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15712 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
15714 if test "x$enable_fonts" != xno
; then
15715 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15716 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
15718 if test "x$enable_fonts" != xno
; then
15719 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15720 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
15722 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
15723 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
15724 if test "x$enable_tools" != xno
; then
15725 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15726 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
15728 ac_config_links
="$ac_config_links wine:tools/winewrapper"
15729 wine_fn_config_symlink wine
15730 if test "x$enable_win64" != xno
; then
15731 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
15732 wine_fn_config_symlink wine64
15735 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
15737 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
15739 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
15741 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
15743 ac_config_commands
="$ac_config_commands dlls/user32/resources"
15745 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
15747 ac_config_commands
="$ac_config_commands include/wine"
15750 wine_fn_config_makerules Make.rules
15751 MAKE_RULES
=Make.rules
15752 ac_config_files
="$ac_config_files Make.rules"
15754 wine_fn_config_makerules Maketest.rules Make.rules
15755 MAKE_TEST_RULES
=Maketest.rules
15756 ac_config_files
="$ac_config_files Maketest.rules"
15758 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
15759 MAKE_DLL_RULES
=dlls
/Makedll.rules
15760 ac_config_files
="$ac_config_files dlls/Makedll.rules"
15762 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
15763 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
15764 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
15766 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
15767 MAKE_PROG_RULES
=programs
/Makeprog.rules
15768 ac_config_files
="$ac_config_files programs/Makeprog.rules"
15771 wine_fn_config_dll acledit enable_acledit
15772 wine_fn_config_dll aclui enable_aclui implib
15773 wine_fn_config_dll activeds enable_activeds implib
15774 wine_fn_config_dll actxprxy enable_actxprxy
15775 wine_fn_config_lib adsiid
15776 wine_fn_config_dll advapi32 enable_advapi32 implib
15777 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
15778 wine_fn_config_dll advpack enable_advpack implib
15779 wine_fn_config_test dlls
/advpack
/tests advpack_test
15780 wine_fn_config_dll amstream enable_amstream
15781 wine_fn_config_test dlls
/amstream
/tests amstream_test
15782 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15783 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15784 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15785 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15786 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15787 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15788 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15789 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15790 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15791 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15792 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15793 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15794 wine_fn_config_dll apphelp enable_apphelp
15795 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
15796 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15797 wine_fn_config_dll atl enable_atl implib
15798 wine_fn_config_test dlls
/atl
/tests atl_test
15799 wine_fn_config_dll atl100 enable_atl100 implib
15800 wine_fn_config_test dlls
/atl100
/tests atl100_test
15801 wine_fn_config_dll atl80 enable_atl80 implib
15802 wine_fn_config_test dlls
/atl80
/tests atl80_test
15803 wine_fn_config_dll authz enable_authz
15804 wine_fn_config_dll avicap32 enable_avicap32 implib
15805 wine_fn_config_dll avifil32 enable_avifil32 implib
,po
15806 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
15807 wine_fn_config_dll avifile.dll16 enable_win16
15808 wine_fn_config_dll avrt enable_avrt implib
15809 wine_fn_config_dll bcrypt enable_bcrypt
15810 wine_fn_config_dll browseui enable_browseui po
15811 wine_fn_config_test dlls
/browseui
/tests browseui_test
15812 wine_fn_config_dll cabinet enable_cabinet implib
15813 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
15814 wine_fn_config_dll capi2032 enable_capi2032 implib
15815 wine_fn_config_dll cards enable_cards implib
15816 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15817 wine_fn_config_dll clusapi enable_clusapi implib
15818 wine_fn_config_dll comcat enable_comcat
15819 wine_fn_config_test dlls
/comcat
/tests comcat_test
15820 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
15821 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
15822 wine_fn_config_dll comdlg32 enable_comdlg32 implib
,po
15823 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
15824 wine_fn_config_dll
comm.drv16 enable_win16
15825 wine_fn_config_dll commdlg.dll16 enable_win16
15826 wine_fn_config_dll compobj.dll16 enable_win16
15827 wine_fn_config_dll compstui enable_compstui implib
15828 wine_fn_config_dll credui enable_credui implib
,po
15829 wine_fn_config_test dlls
/credui
/tests credui_test
15830 wine_fn_config_dll crtdll enable_crtdll implib
15831 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
15832 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
15833 wine_fn_config_dll cryptdlg enable_cryptdlg po
15834 wine_fn_config_dll cryptdll enable_cryptdll implib
15835 wine_fn_config_dll cryptnet enable_cryptnet implib
15836 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
15837 wine_fn_config_dll cryptui enable_cryptui implib
,po
15838 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
15839 wine_fn_config_dll ctapi32 enable_ctapi32
15840 wine_fn_config_dll ctl3d.dll16 enable_win16
15841 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15842 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15843 wine_fn_config_dll d3d10 enable_d3d10 implib
15844 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
15845 wine_fn_config_dll d3d10core enable_d3d10core implib
15846 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
15847 wine_fn_config_dll d3d11 enable_d3d11
15848 wine_fn_config_dll d3d8 enable_d3d8 implib
15849 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
15850 wine_fn_config_dll d3d9 enable_d3d9 implib
15851 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
15852 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15853 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15854 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15855 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15856 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15857 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15858 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15859 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15860 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15861 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15862 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15863 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
15864 wine_fn_config_dll d3dim enable_d3dim implib
15865 wine_fn_config_dll d3drm enable_d3drm implib
15866 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
15867 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15868 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15869 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15870 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15871 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15872 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15873 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15874 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15875 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15876 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15877 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15878 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15879 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15880 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15881 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15882 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15883 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15884 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15885 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15886 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15887 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15888 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15889 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15890 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15891 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
15892 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15893 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15894 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15895 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15896 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15897 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15898 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15899 wine_fn_config_dll d3dxof enable_d3dxof implib
15900 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
15901 wine_fn_config_dll dbgeng enable_dbgeng implib
15902 wine_fn_config_dll dbghelp enable_dbghelp implib
15903 wine_fn_config_dll dciman32 enable_dciman32 implib
15904 wine_fn_config_dll ddeml.dll16 enable_win16
15905 wine_fn_config_dll ddraw enable_ddraw implib
15906 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
15907 wine_fn_config_dll ddrawex enable_ddrawex
15908 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
15909 wine_fn_config_dll devenum enable_devenum po
15910 wine_fn_config_test dlls
/devenum
/tests devenum_test
15911 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15912 wine_fn_config_dll dinput enable_dinput implib
,po
,staticimplib
15913 wine_fn_config_test dlls
/dinput
/tests dinput_test
15914 wine_fn_config_dll dinput8 enable_dinput8 implib
15915 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
15916 wine_fn_config_dll dispdib.dll16 enable_win16
15917 wine_fn_config_dll dispex enable_dispex
15918 wine_fn_config_test dlls
/dispex
/tests dispex_test
15919 wine_fn_config_dll display.drv16 enable_win16
15920 wine_fn_config_dll dmband enable_dmband
15921 wine_fn_config_test dlls
/dmband
/tests dmband_test
15922 wine_fn_config_dll dmcompos enable_dmcompos
15923 wine_fn_config_dll dmime enable_dmime
15924 wine_fn_config_test dlls
/dmime
/tests dmime_test
15925 wine_fn_config_dll dmloader enable_dmloader
15926 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
15927 wine_fn_config_dll dmscript enable_dmscript
15928 wine_fn_config_dll dmstyle enable_dmstyle
15929 wine_fn_config_dll dmsynth enable_dmsynth
15930 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
15931 wine_fn_config_dll dmusic enable_dmusic
15932 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
15933 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15934 wine_fn_config_dll dnsapi enable_dnsapi implib
15935 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
15936 wine_fn_config_dll dplay enable_dplay implib
15937 wine_fn_config_dll dplayx enable_dplayx implib
15938 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
15939 wine_fn_config_dll dpnaddr enable_dpnaddr
15940 wine_fn_config_dll dpnet enable_dpnet implib
15941 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
15942 wine_fn_config_dll dpnhpast enable_dpnhpast
15943 wine_fn_config_dll dpnlobby enable_dpnlobby
15944 wine_fn_config_dll dpwsockx enable_dpwsockx
15945 wine_fn_config_dll drmclien enable_drmclien
15946 wine_fn_config_dll dsound enable_dsound implib
15947 wine_fn_config_test dlls
/dsound
/tests dsound_test
15948 wine_fn_config_dll dssenh enable_dssenh
15949 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
15950 wine_fn_config_dll dswave enable_dswave
15951 wine_fn_config_dll dwmapi enable_dwmapi implib
15952 wine_fn_config_dll dwrite enable_dwrite implib
15953 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
15954 wine_fn_config_dll dxdiagn enable_dxdiagn po
15955 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
15956 wine_fn_config_lib dxerr8
15957 wine_fn_config_lib dxerr9
15958 wine_fn_config_dll dxgi enable_dxgi implib
15959 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
15960 wine_fn_config_lib dxguid
15961 wine_fn_config_dll explorerframe enable_explorerframe
15962 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
15963 wine_fn_config_dll faultrep enable_faultrep implib
15964 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
15965 wine_fn_config_dll fltlib enable_fltlib
15966 wine_fn_config_dll fusion enable_fusion
15967 wine_fn_config_test dlls
/fusion
/tests fusion_test
15968 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15969 wine_fn_config_dll gameux enable_gameux
15970 wine_fn_config_test dlls
/gameux
/tests gameux_test
15971 wine_fn_config_dll gdi.exe16 enable_win16
15972 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
15973 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
15974 wine_fn_config_dll gdiplus enable_gdiplus implib
15975 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
15976 wine_fn_config_dll glu32 enable_glu32 implib
15977 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15978 wine_fn_config_dll gpkcsp enable_gpkcsp
15979 wine_fn_config_dll hal enable_hal
15980 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib
,po htmlhelp
15981 wine_fn_config_dll hid enable_hid implib
15982 wine_fn_config_dll hlink enable_hlink implib
15983 wine_fn_config_test dlls
/hlink
/tests hlink_test
15984 wine_fn_config_dll hnetcfg enable_hnetcfg
15985 wine_fn_config_dll httpapi enable_httpapi
15986 wine_fn_config_dll iccvid enable_iccvid po
15987 wine_fn_config_dll icmp enable_icmp
15988 wine_fn_config_dll ieframe enable_ieframe implib
,po
15989 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
15990 wine_fn_config_dll ifsmgr.vxd enable_win16
15991 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15992 wine_fn_config_dll imagehlp enable_imagehlp implib
15993 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
15994 wine_fn_config_dll imm.dll16 enable_win16
15995 wine_fn_config_dll imm32 enable_imm32 implib
15996 wine_fn_config_test dlls
/imm32
/tests imm32_test
15997 wine_fn_config_dll inetcomm enable_inetcomm implib
15998 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
15999 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16000 wine_fn_config_dll inetmib1 enable_inetmib1
16001 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16002 wine_fn_config_dll infosoft enable_infosoft
16003 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16004 wine_fn_config_dll initpki enable_initpki
16005 wine_fn_config_dll inkobj enable_inkobj
16006 wine_fn_config_dll inseng enable_inseng
16007 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16008 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16009 wine_fn_config_dll itircl enable_itircl
16010 wine_fn_config_dll itss enable_itss
16011 wine_fn_config_test dlls
/itss
/tests itss_test
16012 wine_fn_config_dll joy.cpl enable_joy_cpl po
16013 wine_fn_config_dll jscript enable_jscript po
16014 wine_fn_config_test dlls
/jscript
/tests jscript_test
16015 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
16016 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16017 wine_fn_config_dll keyboard.drv16 enable_win16
16018 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16019 wine_fn_config_dll ktmw32 enable_ktmw32
16020 wine_fn_config_dll loadperf enable_loadperf implib
16021 wine_fn_config_dll localspl enable_localspl po
16022 wine_fn_config_test dlls
/localspl
/tests localspl_test
16023 wine_fn_config_dll localui enable_localui po
16024 wine_fn_config_test dlls
/localui
/tests localui_test
16025 wine_fn_config_dll lz32 enable_lz32 implib
16026 wine_fn_config_test dlls
/lz32
/tests lz32_test
16027 wine_fn_config_dll lzexpand.dll16 enable_win16
16028 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16029 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16030 wine_fn_config_dll mapistub enable_mapistub
16031 wine_fn_config_dll mciavi32 enable_mciavi32
16032 wine_fn_config_dll mcicda enable_mcicda
16033 wine_fn_config_dll mciqtz32 enable_mciqtz32
16034 wine_fn_config_dll mciseq enable_mciseq
16035 wine_fn_config_dll mciwave enable_mciwave
16036 wine_fn_config_dll mgmtapi enable_mgmtapi
16037 wine_fn_config_dll midimap enable_midimap
16038 wine_fn_config_dll mlang enable_mlang implib
16039 wine_fn_config_test dlls
/mlang
/tests mlang_test
16040 wine_fn_config_dll mmcndmgr enable_mmcndmgr
16041 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16042 wine_fn_config_dll mmdevapi enable_mmdevapi
16043 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16044 wine_fn_config_dll mmdevldr.vxd enable_win16
16045 wine_fn_config_dll mmsystem.dll16 enable_win16
16046 wine_fn_config_dll monodebg.vxd enable_win16
16047 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16048 wine_fn_config_dll mouse.drv16 enable_win16
16049 wine_fn_config_dll mpr enable_mpr implib
,po
16050 wine_fn_config_test dlls
/mpr
/tests mpr_test
16051 wine_fn_config_dll mprapi enable_mprapi implib
16052 wine_fn_config_dll msacm.dll16 enable_win16
16053 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16054 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16055 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16056 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16057 wine_fn_config_dll mscat32 enable_mscat32
16058 wine_fn_config_dll mscms enable_mscms implib
16059 wine_fn_config_test dlls
/mscms
/tests mscms_test
16060 wine_fn_config_dll mscoree enable_mscoree
16061 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16062 wine_fn_config_dll msctf enable_msctf
16063 wine_fn_config_test dlls
/msctf
/tests msctf_test
16064 wine_fn_config_dll msdaps enable_msdaps
16065 wine_fn_config_dll msdmo enable_msdmo implib
16066 wine_fn_config_dll msftedit enable_msftedit
16067 wine_fn_config_dll msg711.acm enable_msg711_acm
16068 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16069 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
16070 wine_fn_config_dll mshtml enable_mshtml implib
,po
16071 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
16072 wine_fn_config_dll msi enable_msi implib
,po
16073 wine_fn_config_test dlls
/msi
/tests msi_test
16074 wine_fn_config_dll msident enable_msident
16075 wine_fn_config_dll msimg32 enable_msimg32 implib
16076 wine_fn_config_dll msimsg enable_msimsg
16077 wine_fn_config_dll msimtf enable_msimtf
16078 wine_fn_config_dll msisip enable_msisip
16079 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16080 wine_fn_config_dll msls31 enable_msls31
16081 wine_fn_config_dll msnet32 enable_msnet32
16082 wine_fn_config_dll mspatcha enable_mspatcha
16083 wine_fn_config_dll msrle32 enable_msrle32 po
16084 wine_fn_config_dll mssign32 enable_mssign32
16085 wine_fn_config_dll mssip32 enable_mssip32
16086 wine_fn_config_dll mstask enable_mstask
16087 wine_fn_config_test dlls
/mstask
/tests mstask_test
16088 wine_fn_config_dll msvcirt enable_msvcirt
16089 wine_fn_config_dll msvcm80 enable_msvcm80
16090 wine_fn_config_dll msvcm90 enable_msvcm90
16091 wine_fn_config_dll msvcp100 enable_msvcp100
16092 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16093 wine_fn_config_dll msvcp110 enable_msvcp110
16094 wine_fn_config_dll msvcp60 enable_msvcp60
16095 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16096 wine_fn_config_dll msvcp70 enable_msvcp70
16097 wine_fn_config_dll msvcp71 enable_msvcp71
16098 wine_fn_config_dll msvcp80 enable_msvcp80
16099 wine_fn_config_dll msvcp90 enable_msvcp90
16100 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16101 wine_fn_config_dll msvcr100 enable_msvcr100
16102 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16103 wine_fn_config_dll msvcr110 enable_msvcr110
16104 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16105 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16106 wine_fn_config_dll msvcr80 enable_msvcr80
16107 wine_fn_config_dll msvcr90 enable_msvcr90
16108 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16109 wine_fn_config_dll msvcrt enable_msvcrt implib
16110 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16111 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16112 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16113 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16114 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
16115 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
16116 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
16117 wine_fn_config_dll msvidc32 enable_msvidc32 po
16118 wine_fn_config_dll msvideo.dll16 enable_win16
16119 wine_fn_config_dll mswsock enable_mswsock implib
16120 wine_fn_config_dll msxml enable_msxml
16121 wine_fn_config_dll msxml2 enable_msxml2
16122 wine_fn_config_dll msxml3 enable_msxml3
16123 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
16124 wine_fn_config_dll msxml4 enable_msxml4
16125 wine_fn_config_dll msxml6 enable_msxml6
16126 wine_fn_config_dll nddeapi enable_nddeapi implib
16127 wine_fn_config_dll netapi32 enable_netapi32 implib
16128 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
16129 wine_fn_config_dll newdev enable_newdev implib
16130 wine_fn_config_dll normaliz enable_normaliz implib
16131 wine_fn_config_dll npmshtml enable_npmshtml
16132 wine_fn_config_dll ntdll enable_ntdll implib
16133 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
16134 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16135 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
16136 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16137 wine_fn_config_dll ntprint enable_ntprint
16138 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
16139 wine_fn_config_dll objsel enable_objsel
16140 wine_fn_config_dll odbc32 enable_odbc32 implib
16141 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16142 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
16143 wine_fn_config_dll odbccu32 enable_odbccu32
16144 wine_fn_config_dll ole2.dll16 enable_win16
16145 wine_fn_config_dll ole2conv.dll16 enable_win16
16146 wine_fn_config_dll ole2disp.dll16 enable_win16
16147 wine_fn_config_dll ole2nls.dll16 enable_win16
16148 wine_fn_config_dll ole2prox.dll16 enable_win16
16149 wine_fn_config_dll ole2thk.dll16 enable_win16
16150 wine_fn_config_dll ole32 enable_ole32 implib
16151 wine_fn_config_test dlls
/ole32
/tests ole32_test
16152 wine_fn_config_dll oleacc enable_oleacc implib
,po
16153 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
16154 wine_fn_config_dll oleaut32 enable_oleaut32 implib
,po
16155 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
16156 wine_fn_config_dll olecli.dll16 enable_win16
16157 wine_fn_config_dll olecli32 enable_olecli32 implib
16158 wine_fn_config_dll oledb32 enable_oledb32
16159 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
16160 wine_fn_config_dll oledlg enable_oledlg implib
,po
16161 wine_fn_config_dll olepro32 enable_olepro32 implib
16162 wine_fn_config_dll olesvr.dll16 enable_win16
16163 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16164 wine_fn_config_dll olethk32 enable_olethk32
16165 wine_fn_config_dll openal32 enable_openal32
16166 wine_fn_config_dll opencl enable_opencl
16167 wine_fn_config_dll opengl32 enable_opengl32 implib
16168 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
16169 wine_fn_config_dll pdh enable_pdh implib
16170 wine_fn_config_test dlls
/pdh
/tests pdh_test
16171 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16172 wine_fn_config_dll pidgen enable_pidgen
16173 wine_fn_config_dll powrprof enable_powrprof implib
16174 wine_fn_config_dll printui enable_printui
16175 wine_fn_config_dll propsys enable_propsys implib
16176 wine_fn_config_test dlls
/propsys
/tests propsys_test
16177 wine_fn_config_dll psapi enable_psapi implib
16178 wine_fn_config_test dlls
/psapi
/tests psapi_test
16179 wine_fn_config_dll pstorec enable_pstorec
16180 wine_fn_config_dll qcap enable_qcap
16181 wine_fn_config_dll qedit enable_qedit
16182 wine_fn_config_test dlls
/qedit
/tests qedit_test
16183 wine_fn_config_dll qmgr enable_qmgr
16184 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
16185 wine_fn_config_dll qmgrprxy enable_qmgrprxy
16186 wine_fn_config_dll quartz enable_quartz implib
16187 wine_fn_config_test dlls
/quartz
/tests quartz_test
16188 wine_fn_config_dll query enable_query
16189 wine_fn_config_dll rasapi16.dll16 enable_win16
16190 wine_fn_config_dll rasapi32 enable_rasapi32 implib
16191 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
16192 wine_fn_config_dll rasdlg enable_rasdlg implib
16193 wine_fn_config_dll regapi enable_regapi
16194 wine_fn_config_dll resutils enable_resutils implib
16195 wine_fn_config_dll riched20 enable_riched20 implib
16196 wine_fn_config_test dlls
/riched20
/tests riched20_test
16197 wine_fn_config_dll riched32 enable_riched32
16198 wine_fn_config_test dlls
/riched32
/tests riched32_test
16199 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
16200 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
16201 wine_fn_config_dll rsabase enable_rsabase
16202 wine_fn_config_dll rsaenh enable_rsaenh implib
16203 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
16204 wine_fn_config_dll rstrtmgr enable_rstrtmgr
16205 wine_fn_config_dll rtutils enable_rtutils implib
16206 wine_fn_config_dll samlib enable_samlib
16207 wine_fn_config_dll sane.ds enable_sane_ds po
16208 wine_fn_config_dll scarddlg enable_scarddlg
16209 wine_fn_config_dll sccbase enable_sccbase
16210 wine_fn_config_dll schannel enable_schannel
16211 wine_fn_config_test dlls
/schannel
/tests schannel_test
16212 wine_fn_config_dll scrrun enable_scrrun
16213 wine_fn_config_test dlls
/scrrun
/tests scrrun_test
16214 wine_fn_config_dll scsiport.sys enable_scsiport_sys
16215 wine_fn_config_dll secur32 enable_secur32 implib
16216 wine_fn_config_test dlls
/secur32
/tests secur32_test
16217 wine_fn_config_dll security enable_security
16218 wine_fn_config_dll sensapi enable_sensapi implib
16219 wine_fn_config_dll serialui enable_serialui implib
,po
16220 wine_fn_config_test dlls
/serialui
/tests serialui_test
16221 wine_fn_config_dll setupapi enable_setupapi implib
,po
16222 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
16223 wine_fn_config_dll setupx.dll16 enable_win16
16224 wine_fn_config_dll sfc enable_sfc implib
16225 wine_fn_config_dll sfc_os enable_sfc_os implib
16226 wine_fn_config_dll shdoclc enable_shdoclc po
16227 wine_fn_config_dll shdocvw enable_shdocvw implib
16228 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
16229 wine_fn_config_dll shell.dll16 enable_win16
16230 wine_fn_config_dll shell32 enable_shell32 implib
,po
16231 wine_fn_config_test dlls
/shell32
/tests shell32_test
16232 wine_fn_config_dll shfolder enable_shfolder implib
16233 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
16234 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
16235 wine_fn_config_dll slbcsp enable_slbcsp
16236 wine_fn_config_dll slc enable_slc implib
16237 wine_fn_config_dll snmpapi enable_snmpapi implib
16238 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
16239 wine_fn_config_dll softpub enable_softpub
16240 wine_fn_config_dll sound.drv16 enable_win16
16241 wine_fn_config_dll spoolss enable_spoolss implib
16242 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
16243 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
16244 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
16245 wine_fn_config_dll sti enable_sti implib
16246 wine_fn_config_test dlls
/sti
/tests sti_test
16247 wine_fn_config_dll storage.dll16 enable_win16
16248 wine_fn_config_dll stress.dll16 enable_win16
16249 wine_fn_config_lib strmbase
16250 wine_fn_config_lib strmiids
16251 wine_fn_config_dll svrapi enable_svrapi
16252 wine_fn_config_dll sxs enable_sxs implib
16253 wine_fn_config_test dlls
/sxs
/tests sxs_test
16254 wine_fn_config_dll system.drv16 enable_win16
16255 wine_fn_config_dll t2embed enable_t2embed
16256 wine_fn_config_dll tapi32 enable_tapi32 implib
16257 wine_fn_config_dll toolhelp.dll16 enable_win16
16258 wine_fn_config_dll traffic enable_traffic
16259 wine_fn_config_dll twain.dll16 enable_win16
16260 wine_fn_config_dll twain_32 enable_twain_32
16261 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
16262 wine_fn_config_dll typelib.dll16 enable_win16
16263 wine_fn_config_dll unicows enable_unicows implib
16264 wine_fn_config_dll updspapi enable_updspapi
16265 wine_fn_config_dll url enable_url implib
16266 wine_fn_config_dll urlmon enable_urlmon implib
,po
16267 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
16268 wine_fn_config_dll usbd.sys enable_usbd_sys implib
16269 wine_fn_config_dll user.exe16 enable_win16
16270 wine_fn_config_dll user32 enable_user32 implib
,po
16271 wine_fn_config_test dlls
/user32
/tests user32_test
16272 wine_fn_config_dll userenv enable_userenv implib
16273 wine_fn_config_test dlls
/userenv
/tests userenv_test
16274 wine_fn_config_dll usp10 enable_usp10 implib
16275 wine_fn_config_test dlls
/usp10
/tests usp10_test
16276 wine_fn_config_lib uuid
16277 wine_fn_config_dll uxtheme enable_uxtheme implib
16278 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
16279 wine_fn_config_dll vbscript enable_vbscript
16280 wine_fn_config_test dlls
/vbscript
/tests vbscript_test
16281 wine_fn_config_dll vcomp enable_vcomp
16282 wine_fn_config_dll vcomp100 enable_vcomp100
16283 wine_fn_config_dll vcomp90 enable_vcomp90
16284 wine_fn_config_dll vdhcp.vxd enable_win16
16285 wine_fn_config_dll vdmdbg enable_vdmdbg implib
16286 wine_fn_config_dll ver.dll16 enable_win16
16287 wine_fn_config_dll version enable_version implib
16288 wine_fn_config_test dlls
/version
/tests version_test
16289 wine_fn_config_dll vmm.vxd enable_win16
16290 wine_fn_config_dll vnbt.vxd enable_win16
16291 wine_fn_config_dll vnetbios.vxd enable_win16
16292 wine_fn_config_dll vtdapi.vxd enable_win16
16293 wine_fn_config_dll vwin32.vxd enable_win16
16294 wine_fn_config_dll w32skrnl enable_win16
16295 wine_fn_config_dll w32sys.dll16 enable_win16
16296 wine_fn_config_dll wbemprox enable_wbemprox
16297 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
16298 wine_fn_config_dll webservices enable_webservices implib
16299 wine_fn_config_dll wer enable_wer implib
16300 wine_fn_config_test dlls
/wer
/tests wer_test
16301 wine_fn_config_dll wevtapi enable_wevtapi
16302 wine_fn_config_dll wiaservc enable_wiaservc
16303 wine_fn_config_dll win32s16.dll16 enable_win16
16304 wine_fn_config_dll win87em.dll16 enable_win16
16305 wine_fn_config_dll winaspi.dll16 enable_win16
16306 wine_fn_config_dll windebug.dll16 enable_win16
16307 wine_fn_config_dll windowscodecs enable_windowscodecs implib
16308 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
16309 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
16310 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
16311 wine_fn_config_dll winealsa.drv enable_winealsa_drv
16312 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
16313 wine_fn_config_lib winecrt0
16314 wine_fn_config_dll wined3d enable_wined3d implib
16315 wine_fn_config_dll winegstreamer enable_winegstreamer
16316 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
16317 wine_fn_config_dll winemac.drv enable_winemac_drv
16318 wine_fn_config_dll winemapi enable_winemapi
16319 wine_fn_config_dll winemp3.acm enable_winemp3_acm
16320 wine_fn_config_dll wineoss.drv enable_wineoss_drv
16321 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
16322 wine_fn_config_dll wineps16.drv16 enable_win16
16323 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
16324 wine_fn_config_dll winex11.drv enable_winex11_drv
16325 wine_fn_config_dll wing.dll16 enable_win16
16326 wine_fn_config_dll wing32 enable_wing32
16327 wine_fn_config_dll winhttp enable_winhttp implib
16328 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
16329 wine_fn_config_dll wininet enable_wininet implib
,po
16330 wine_fn_config_test dlls
/wininet
/tests wininet_test
16331 wine_fn_config_dll winmm enable_winmm implib
,po
16332 wine_fn_config_test dlls
/winmm
/tests winmm_test
16333 wine_fn_config_dll winnls.dll16 enable_win16
16334 wine_fn_config_dll winnls32 enable_winnls32 implib
16335 wine_fn_config_dll winscard enable_winscard implib
16336 wine_fn_config_dll winsock.dll16 enable_win16
16337 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
16338 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
16339 wine_fn_config_dll winsta enable_winsta
16340 wine_fn_config_dll wintab.dll16 enable_win16
16341 wine_fn_config_dll wintab32 enable_wintab32 implib
16342 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
16343 wine_fn_config_dll wintrust enable_wintrust implib
16344 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
16345 wine_fn_config_dll wlanapi enable_wlanapi
16346 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
16347 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
16348 wine_fn_config_dll wmi enable_wmi
16349 wine_fn_config_dll wmiutils enable_wmiutils
16350 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
16351 wine_fn_config_dll wmvcore enable_wmvcore
16352 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
16353 wine_fn_config_dll wow32 enable_win16 implib
16354 wine_fn_config_dll ws2_32 enable_ws2_32 implib
16355 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
16356 wine_fn_config_dll wshom.ocx enable_wshom_ocx
16357 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test
16358 wine_fn_config_dll wsnmp32 enable_wsnmp32
16359 wine_fn_config_dll wsock32 enable_wsock32 implib
16360 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
16361 wine_fn_config_dll wuapi enable_wuapi
16362 wine_fn_config_dll wuaueng enable_wuaueng
16363 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
16364 wine_fn_config_dll xinput1_1 enable_xinput1_1
16365 wine_fn_config_dll xinput1_2 enable_xinput1_2
16366 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
16367 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
16368 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
16369 wine_fn_config_dll xmllite enable_xmllite
16370 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
16371 wine_fn_config_dll xolehlp enable_xolehlp
16372 wine_fn_config_dll xpsprint enable_xpsprint
16373 wine_fn_config_dll xpssvcs enable_xpssvcs
16374 wine_fn_config_makefile documentation enable_documentation
16375 wine_fn_config_makefile fonts enable_fonts install-lib
16376 wine_fn_config_makefile include enable_include install-dev
16377 wine_fn_config_makefile libs
/port enable_libs_port
16378 wine_fn_config_makefile libs
/wine enable_libs_wine install-dev
,install-lib
16379 wine_fn_config_makefile libs
/wpp enable_libs_wpp
16380 wine_fn_config_makefile loader enable_loader install-lib
,manpage
16381 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
16382 wine_fn_config_program attrib enable_attrib
install,po
16383 wine_fn_config_program cabarc enable_cabarc
install
16384 wine_fn_config_program cacls enable_cacls
install
16385 wine_fn_config_program
clock enable_clock
install,po
16386 wine_fn_config_program cmd enable_cmd
install,po
16387 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
16388 wine_fn_config_program conhost enable_conhost
install
16389 wine_fn_config_program control enable_control
install
16390 wine_fn_config_program cscript enable_cscript
install
16391 wine_fn_config_program dxdiag enable_dxdiag
install,po
16392 wine_fn_config_program eject enable_eject
install
16393 wine_fn_config_program
expand enable_expand
install
16394 wine_fn_config_program explorer enable_explorer
install,po
16395 wine_fn_config_program extrac32 enable_extrac32
install
16396 wine_fn_config_program findstr enable_findstr
install
16397 wine_fn_config_program hh enable_hh
install
16398 wine_fn_config_program hostname enable_hostname
install,po
16399 wine_fn_config_program icinfo enable_icinfo
install
16400 wine_fn_config_program iexplore enable_iexplore
install
16401 wine_fn_config_program ipconfig enable_ipconfig
install,po
16402 wine_fn_config_program lodctr enable_lodctr
install
16403 wine_fn_config_program mofcomp enable_mofcomp
install
16404 wine_fn_config_program mshta enable_mshta
install
16405 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
16406 wine_fn_config_program net enable_net
install,po
16407 wine_fn_config_program netsh enable_netsh
install
16408 wine_fn_config_program netstat enable_netstat
install,po
16409 wine_fn_config_program ngen enable_ngen
install
16410 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
16411 wine_fn_config_program oleview enable_oleview
install,po
16412 wine_fn_config_program
ping enable_ping
install
16413 wine_fn_config_program plugplay enable_plugplay
install
16414 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
16415 wine_fn_config_program progman enable_progman
install,po
16416 wine_fn_config_program reg enable_reg
install,po
16417 wine_fn_config_program regasm enable_regasm
install
16418 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
16419 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
16420 wine_fn_config_program regsvcs enable_regsvcs
install
16421 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
16422 wine_fn_config_program rpcss enable_rpcss
install
16423 wine_fn_config_program rundll.exe16 enable_win16
install
16424 wine_fn_config_program rundll32 enable_rundll32
install
16425 wine_fn_config_program sc enable_sc
install
16426 wine_fn_config_program schtasks enable_schtasks
install
16427 wine_fn_config_program secedit enable_secedit
install
16428 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
16429 wine_fn_config_program services enable_services
install
16430 wine_fn_config_test programs
/services
/tests services.exe_test
16431 wine_fn_config_program spoolsv enable_spoolsv
install
16432 wine_fn_config_program start enable_start
install,po
16433 wine_fn_config_program svchost enable_svchost
install
16434 wine_fn_config_program taskkill enable_taskkill
install,po
16435 wine_fn_config_program taskmgr enable_taskmgr
install,po
16436 wine_fn_config_program termsv enable_termsv
install
16437 wine_fn_config_program uninstaller enable_uninstaller
install,po
16438 wine_fn_config_program unlodctr enable_unlodctr
install
16439 wine_fn_config_program view enable_view
install,po
16440 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
16441 wine_fn_config_program winebrowser enable_winebrowser
install
16442 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
16443 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
16444 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
16445 wine_fn_config_program winedevice enable_winedevice
install
16446 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
16447 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
16448 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
16449 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
16450 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
16451 wine_fn_config_program winetest enable_winetest
16452 wine_fn_config_program winevdm enable_win16
install
16453 wine_fn_config_program winhelp.exe16 enable_win16
install
16454 wine_fn_config_program winhlp32 enable_winhlp32
install,po
16455 wine_fn_config_program winoldap.mod16 enable_win16
install
16456 wine_fn_config_program winver enable_winver
install
16457 wine_fn_config_program wmic enable_wmic
install,po
16458 wine_fn_config_program wordpad enable_wordpad
install,po
16459 wine_fn_config_program
write enable_write
install,po
16460 wine_fn_config_program wscript enable_wscript
install
16461 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
16462 wine_fn_config_program wusa enable_wusa
install
16463 wine_fn_config_program xcopy enable_xcopy
install,po
16464 wine_fn_config_makefile server enable_server install-lib
,manpage
16465 wine_fn_config_tool tools install-dev
,install-lib
,manpage
16466 wine_fn_config_tool tools
/widl install-dev
,manpage
16467 wine_fn_config_tool tools
/winebuild install-dev
,manpage
16468 wine_fn_config_tool tools
/winedump install-dev
,manpage
16469 wine_fn_config_tool tools
/winegcc install-dev
,manpage
16470 wine_fn_config_tool tools
/wmc install-dev
,manpage
16471 wine_fn_config_tool tools
/wrc install-dev
,manpage
16521 ac_config_commands
="$ac_config_commands Makefile"
16524 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16528 if test "x$enable_maintainer_mode" = xyes
16530 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(srcdir)/configure: configure.ac aclocal.m4
16531 cd \$(srcdir) && autoconf --warnings=all
16532 \$(srcdir)/include/config.h.in: include/stamp-h.in
16533 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16534 cd \$(srcdir) && autoheader --warnings=all
16535 @echo timestamp > \$@"
16538 if test "x$with_gettextpo" = xyes
16540 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16541 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"ALL_POT_FILES =$ALL_POT_FILES
16542 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16543 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16544 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16545 msgcat -o \$@ \$(ALL_POT_FILES)"
16548 if test "$MSGFMT" != false
16550 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
16552 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: \$(ALL_MO_FILES)"
16557 if test "x$enable_tools" != xno
16559 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(MAKEDEP): tools/Makefile
16561 \$(RM) tools/makedep\$(EXEEXT)"
16564 if test -n "$with_wine64"
16566 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16567 fonts server tools:
16568 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16569 $with_wine64/loader/wine:
16570 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16571 $with_wine64/loader/wine-preloader:
16572 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16574 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16577 cat >confcache
<<\_ACEOF
16578 # This file is a shell script that caches the results of configure
16579 # tests run on this system so they can be shared between configure
16580 # scripts and configure runs, see configure's option --config-cache.
16581 # It is not useful on other systems. If it contains results you don't
16582 # want to keep, you may remove or edit it.
16584 # config.status only pays attention to the cache file if you give it
16585 # the --recheck option to rerun configure.
16587 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16588 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16589 # following values.
16593 # The following way of writing the cache mishandles newlines in values,
16594 # but we know of no workaround that is simple, portable, and efficient.
16595 # So, we kill variables containing newlines.
16596 # Ultrix sh set writes to stderr and can't be redirected directly,
16597 # and sets the high bit in the cache file unless we assign to the vars.
16599 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16600 eval ac_val
=\$
$ac_var
16604 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16605 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16608 _ | IFS | as_nl
) ;; #(
16609 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16610 *) { eval $ac_var=; unset $ac_var;} ;;
16616 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16617 *${as_nl}ac_space
=\
*)
16618 # `set' does not quote correctly, so add quotes: double-quote
16619 # substitution turns \\\\ into \\, and sed turns \\ into \.
16622 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16625 # `set' quotes correctly as required by POSIX, so do not add quotes.
16626 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16635 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16637 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16639 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16640 if test -w "$cache_file"; then
16641 if test "x$cache_file" != "x/dev/null"; then
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16643 $as_echo "$as_me: updating cache $cache_file" >&6;}
16644 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16645 cat confcache
>"$cache_file"
16647 case $cache_file in #(
16649 mv -f confcache
"$cache_file"$$
&&
16650 mv -f "$cache_file"$$
"$cache_file" ;; #(
16652 mv -f confcache
"$cache_file" ;;
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16658 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16663 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16664 # Let make expand exec_prefix.
16665 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16667 DEFS
=-DHAVE_CONFIG_H
16672 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16673 # 1. Remove the extension, and $U if already installed.
16674 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16675 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16676 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16677 # will be set to the directory where LIBOBJS objects are built.
16678 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16679 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16681 LIBOBJS
=$ac_libobjs
16683 LTLIBOBJS
=$ac_ltlibobjs
16687 : "${CONFIG_STATUS=./config.status}"
16689 ac_clean_files_save
=$ac_clean_files
16690 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16691 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16692 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16694 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16696 # Generated by $as_me.
16697 # Run this file to recreate the current configuration.
16698 # Compiler output produced by configure, useful for debugging
16699 # configure, is in config.log if it exists.
16702 ac_cs_recheck=false
16705 SHELL=\${CONFIG_SHELL-$SHELL}
16708 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16709 ## -------------------- ##
16710 ## M4sh Initialization. ##
16711 ## -------------------- ##
16713 # Be more Bourne compatible
16714 DUALCASE
=1; export DUALCASE
# for MKS sh
16715 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16718 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16719 # is contrary to our usage. Disable this feature.
16720 alias -g '${1+"$@"}'='"$@"'
16721 setopt NO_GLOB_SUBST
16723 case `(set -o) 2>/dev/null` in #(
16735 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16736 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16737 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16738 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16739 # Prefer a ksh shell builtin over an external printf program on Solaris,
16740 # but without wasting forks for bash or zsh.
16741 if test -z "$BASH_VERSION$ZSH_VERSION" \
16742 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16743 as_echo='print
-r --'
16744 as_echo_n='print
-rn --'
16745 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16746 as_echo='printf %s
\n'
16747 as_echo_n='printf %s
'
16749 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16750 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16751 as_echo_n='/usr
/ucb
/echo -n'
16753 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16754 as_echo_n_body='eval
16758 expr "X$arg" : "X\\(.*\\)$as_nl";
16759 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16761 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16763 export as_echo_n_body
16764 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16766 export as_echo_body
16767 as_echo='sh
-c $as_echo_body as_echo
'
16770 # The user is always right.
16771 if test "${PATH_SEPARATOR+set}" != set; then
16773 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16774 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16781 # We need space, tab and new line, in precisely that order. Quoting is
16782 # there to prevent editors from complaining about space-tab.
16783 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16784 # splitting by setting IFS to empty value.)
16787 # Find who we are. Look in the path if we contain no directory separator.
16790 *[\\/]* ) as_myself=$0 ;;
16791 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16792 for as_dir in $PATH
16795 test -z "$as_dir" && as_dir=.
16796 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16802 # We did not find ourselves, most probably we were run as `sh COMMAND'
16803 # in which case we are not to be found in the path.
16804 if test "x$as_myself" = x
; then
16807 if test ! -f "$as_myself"; then
16808 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16812 # Unset variables that we do not need and which cause bugs (e.g. in
16813 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16814 # suppresses any "Segmentation fault" message there. '((' could
16815 # trigger a bug in pdksh 5.2.14.
16816 for as_var
in BASH_ENV ENV MAIL MAILPATH
16817 do eval test x\
${$as_var+set} = xset \
16818 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16831 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16834 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16835 # ----------------------------------------
16836 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16837 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16838 # script with STATUS, using 1 if that was 0.
16841 as_status
=$1; test $as_status -eq 0 && as_status
=1
16843 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16844 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16846 $as_echo "$as_me: error: $2" >&2
16847 as_fn_exit
$as_status
16851 # as_fn_set_status STATUS
16852 # -----------------------
16853 # Set $? to STATUS, without forking.
16854 as_fn_set_status
()
16857 } # as_fn_set_status
16859 # as_fn_exit STATUS
16860 # -----------------
16861 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16865 as_fn_set_status
$1
16871 # Portably unset VAR.
16874 { eval $1=; unset $1;}
16876 as_unset
=as_fn_unset
16877 # as_fn_append VAR VALUE
16878 # ----------------------
16879 # Append the text in VALUE to the end of the definition contained in VAR. Take
16880 # advantage of any shell optimizations that allow amortized linear growth over
16881 # repeated appends, instead of the typical quadratic growth present in naive
16883 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16884 eval 'as_fn_append ()
16895 # as_fn_arith ARG...
16896 # ------------------
16897 # Perform arithmetic evaluation on the ARGs, and store the result in the
16898 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16899 # must be portable across $(()) and expr.
16900 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16901 eval 'as_fn_arith ()
16908 as_val
=`expr "$@" || test $? -eq 1`
16913 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16914 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16920 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16921 as_basename
=basename
16926 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16932 as_me
=`$as_basename -- "$0" ||
16933 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16934 X"$0" : 'X\(//\)$' \| \
16935 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16937 sed '/^.*\/\([^/][^/]*\)\/*$/{
16951 # Avoid depending upon Character Ranges.
16952 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16953 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16954 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16955 as_cr_digits
='0123456789'
16956 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16958 ECHO_C
= ECHO_N
= ECHO_T
=
16959 case `echo -n x` in #(((((
16961 case `echo 'xy\c'` in
16962 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16964 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16971 rm -f conf$$ conf$$.exe conf$$.
file
16972 if test -d conf$$.dir
; then
16973 rm -f conf$$.dir
/conf$$.
file
16976 mkdir conf$$.dir
2>/dev
/null
16978 if (echo >conf$$.
file) 2>/dev
/null
; then
16979 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16981 # ... but there are two gotchas:
16982 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16983 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16984 # In both cases, we have to default to `cp -pR'.
16985 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16987 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16995 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16996 rmdir conf$$.dir
2>/dev
/null
17001 # Create "$as_dir" as a directory, including parents if necessary.
17006 -*) as_dir
=.
/$as_dir;;
17008 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17012 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17013 *) as_qdir
=$as_dir;;
17015 as_dirs
="'$as_qdir' $as_dirs"
17016 as_dir
=`$as_dirname -- "$as_dir" ||
17017 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17018 X"$as_dir" : 'X\(//\)[^/]' \| \
17019 X"$as_dir" : 'X\(//\)$' \| \
17020 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17021 $as_echo X"$as_dir" |
17022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17026 /^X\(\/\/\)[^/].*/{
17039 test -d "$as_dir" && break
17041 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17042 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17046 if mkdir
-p .
2>/dev
/null
; then
17047 as_mkdir_p
='mkdir -p "$as_dir"'
17049 test -d .
/-p && rmdir .
/-p
17054 # as_fn_executable_p FILE
17055 # -----------------------
17056 # Test if FILE is an executable regular file.
17057 as_fn_executable_p
()
17059 test -f "$1" && test -x "$1"
17060 } # as_fn_executable_p
17061 as_test_x
='test -x'
17062 as_executable_p
=as_fn_executable_p
17064 # Sed expression to map a string onto a valid CPP name.
17065 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17067 # Sed expression to map a string onto a valid variable name.
17068 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17072 ## ----------------------------------- ##
17073 ## Main body of $CONFIG_STATUS script. ##
17074 ## ----------------------------------- ##
17076 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17079 # Save the log message, to keep $0 and so on meaningful, and to
17080 # report actual input values of CONFIG_FILES etc. instead of their
17081 # values after options handling.
17083 This file was extended by Wine $as_me 1.5.29, which was
17084 generated by GNU Autoconf 2.69. Invocation command line was
17086 CONFIG_FILES = $CONFIG_FILES
17087 CONFIG_HEADERS = $CONFIG_HEADERS
17088 CONFIG_LINKS = $CONFIG_LINKS
17089 CONFIG_COMMANDS = $CONFIG_COMMANDS
17092 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17097 case $ac_config_files in *"
17098 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17101 case $ac_config_headers in *"
17102 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17107 # Files that config.status was made for.
17108 config_files="$ac_config_files"
17109 config_headers="$ac_config_headers"
17110 config_links="$ac_config_links"
17111 config_commands="$ac_config_commands"
17115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17117 \`$as_me' instantiates files and other configuration actions
17118 from templates according to the current configuration. Unless the files
17119 and actions are specified as TAGs, all are instantiated by default.
17121 Usage: $0 [OPTION]... [TAG]...
17123 -h, --help print this help, then exit
17124 -V, --version print version number and configuration settings, then exit
17125 --config print configuration, then exit
17126 -q, --quiet, --silent
17127 do not print progress messages
17128 -d, --debug don't remove temporary files
17129 --recheck update $as_me by reconfiguring in the same conditions
17130 --file=FILE[:TEMPLATE]
17131 instantiate the configuration file FILE
17132 --header=FILE[:TEMPLATE]
17133 instantiate the configuration header FILE
17135 Configuration files:
17138 Configuration headers:
17141 Configuration links:
17144 Configuration commands:
17147 Report bugs to <wine-devel@winehq.org>.
17148 Wine home page: <http://www.winehq.org>."
17151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17152 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17154 Wine config.status 1.5.29
17155 configured by $0, generated by GNU Autoconf 2.69,
17156 with options \\"\$ac_cs_config\\"
17158 Copyright (C) 2012 Free Software Foundation, Inc.
17159 This config.status script is free software; the Free Software Foundation
17160 gives unlimited permission to copy, distribute and modify it."
17165 test -n "\$AWK" || AWK=awk
17168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17169 # The default lists apply if the user does not specify any file.
17175 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17176 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17180 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17192 # Handling of the options.
17193 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17195 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17196 $as_echo "$ac_cs_version"; exit ;;
17197 --config |
--confi |
--conf |
--con |
--co |
--c )
17198 $as_echo "$ac_cs_config"; exit ;;
17199 --debug |
--debu |
--deb |
--de |
--d |
-d )
17201 --file |
--fil |
--fi |
--f )
17204 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17205 '') as_fn_error $?
"missing file argument" ;;
17207 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17208 ac_need_defaults
=false
;;
17209 --header |
--heade |
--head |
--hea )
17212 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17214 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17215 ac_need_defaults
=false
;;
17217 # Conflict between --help and --header
17218 as_fn_error $?
"ambiguous option: \`$1'
17219 Try \`$0 --help' for more information.";;
17220 --help |
--hel |
-h )
17221 $as_echo "$ac_cs_usage"; exit ;;
17222 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17223 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17226 # This is an error.
17227 -*) as_fn_error $?
"unrecognized option: \`$1'
17228 Try \`$0 --help' for more information." ;;
17230 *) as_fn_append ac_config_targets
" $1"
17231 ac_need_defaults
=false
;;
17237 ac_configure_extra_args
=
17239 if $ac_cs_silent; then
17241 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17246 if \$ac_cs_recheck; then
17247 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17249 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17250 CONFIG_SHELL='$SHELL'
17251 export CONFIG_SHELL
17256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17260 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17261 ## Running $as_me. ##
17267 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17271 wine_fn_output_makefile ()
17273 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
17274 $ALL_MAKEFILE_DEPENDS
17276 as_fn_error $? "could not create Makefile" "$LINENO" 5
17281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17283 # Handling of arguments.
17284 for ac_config_target
in $ac_config_targets
17286 case $ac_config_target in
17287 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
17288 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
17289 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
17290 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
17291 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17292 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17293 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17294 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
17295 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
17296 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
17297 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
17298 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
17299 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
17300 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17301 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
17302 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
17303 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
17304 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17305 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
17306 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
17307 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
17308 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
17309 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
17310 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
17311 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
17312 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
17314 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17319 # If the user did not use the arguments to specify the items to instantiate,
17320 # then the envvar interface is used. Set only those that are not.
17321 # We use the long form for the default assignment because of an extremely
17322 # bizarre bug on SunOS 4.1.3.
17323 if $ac_need_defaults; then
17324 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17325 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17326 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
17327 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17330 # Have a temporary directory for convenience. Make it in the build tree
17331 # simply because there is no reason against having it here, and in addition,
17332 # creating and moving files from /tmp can sometimes cause problems.
17333 # Hook for its removal unless debugging.
17334 # Note that there is a small window in which the directory will not be cleaned:
17335 # after its creation but before its name has been assigned to `$tmp'.
17339 trap 'exit_status=$?
17340 : "${ac_tmp:=$tmp}"
17341 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17343 trap 'as_fn_exit 1' 1 2 13 15
17345 # Create a (secure) tmp directory for tmp files.
17348 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17352 tmp
=.
/conf$$
-$RANDOM
17353 (umask 077 && mkdir
"$tmp")
17354 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17357 # Set up the scripts for CONFIG_FILES section.
17358 # No need to generate them if there are no CONFIG_FILES.
17359 # This happens for instance with `./config.status config.h'.
17360 if test -n "$CONFIG_FILES"; then
17362 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
17363 ac_cs_awk_getline
=:
17364 ac_cs_awk_pipe_init
=
17365 ac_cs_awk_read_file
='
17366 while ((getline aline < (F[key])) > 0)
17369 ac_cs_awk_pipe_fini
=
17371 ac_cs_awk_getline
=false
17372 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
17373 ac_cs_awk_read_file
='
17375 print "cat " F[key] " &&"
17376 '$ac_cs_awk_pipe_init
17377 # The final `:' finishes the AND list.
17378 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
17380 ac_cr
=`echo X | tr X '\015'`
17381 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17382 # But we know of no other shell where ac_cr would be empty at this
17383 # point, so we can use a bashism as a fallback.
17384 if test "x$ac_cr" = x
; then
17385 eval ac_cr
=\$
\'\\r
\'
17387 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17388 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17391 ac_cs_awk_cr
=$ac_cr
17394 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17397 # Create commands to substitute file output variables.
17399 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17400 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17401 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
17404 } >conf$
$files.sh
&&
17405 . .
/conf$
$files.sh ||
17406 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
17407 rm -f conf$
$files.sh
17410 echo "cat >conf$$subs.awk <<_ACEOF" &&
17411 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17413 } >conf$$subs.sh ||
17414 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17415 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17417 for ac_last_try in false false false false false :; do
17418 . ./conf$$subs.sh ||
17419 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17421 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17422 if test $ac_delim_n = $ac_delim_num; then
17424 elif $ac_last_try; then
17425 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17427 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17430 rm -f conf$$subs.sh
17432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17433 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17437 s/^/S["/; s
/!.
*/"]=/
17447 s/\(.\{148\}\)..*/\1/
17449 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17454 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17461 s/\(.\{148\}\)..*/\1/
17463 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17467 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17472 ' <conf$$subs.awk | sed '
17477 ' >>$CONFIG_STATUS || ac_write_fail=1
17478 rm -f conf$$subs.awk
17479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17481 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17482 for (key in S) S_is_set[key] = 1
17484 \$ac_cs_awk_pipe_init
17488 nfields = split(line, field, "@
")
17490 len = length(field[1])
17491 for (i = 2; i < nfields; i++) {
17493 keylen = length(key)
17494 if (S_is_set[key]) {
17496 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17497 len += length(value) + length(field[++i])
17502 if (nfields == 3 && !substed) {
17504 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17505 \$ac_cs_awk_read_file
17511 \$ac_cs_awk_pipe_fini
17514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17515 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17516 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17519 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17520 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17523 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17524 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17525 # trailing colons and then remove the whole line if VPATH becomes empty
17526 # (actually we leave an empty line to preserve line numbers).
17527 if test "x
$srcdir" = x.; then
17528 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17547 fi # test -n "$CONFIG_FILES"
17549 # Set up the scripts for CONFIG_HEADERS section.
17550 # No need to generate them if there are no CONFIG_HEADERS.
17551 # This happens for instance with `./config.status Makefile'.
17552 if test -n "$CONFIG_HEADERS"; then
17553 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17557 # Transform confdefs.h into an awk script `defines.awk', embedded as
17558 # here-document in config.status, that substitutes the proper values into
17559 # config.h.in to produce config.h.
17561 # Create a delimiter string that does not exist in confdefs.h, to ease
17562 # handling of long lines.
17564 for ac_last_try in false false :; do
17565 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17566 if test -z "$ac_tt"; then
17568 elif $ac_last_try; then
17569 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17571 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17575 # For the awk script, D is an array of macro values keyed by name,
17576 # likewise P contains macro parameters if any. Preserve backslash
17577 # newline sequences.
17579 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17581 s/.\{148\}/&'"$ac_delim"'/g
17584 s/^[ ]*#[ ]*define[ ][ ]*/ /
17591 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17593 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17597 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17598 D["\
1"]=" \
3\\\\\\n
"\\/p
17600 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17605 s/.\{148\}/&'"$ac_delim"'/g
17610 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17613 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17615 ' <confdefs.h | sed '
17616 s/'"$ac_delim"'/"\\\
17617 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17620 for (key in D) D_is_set[key] = 1
17623 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17625 split(line, arg, " ")
17626 if (arg[1] == "#") {
17630 defundef
= substr
(arg
[1], 2)
17633 split(mac1
, mac2
, "(") #)
17635 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17636 if (D_is_set
[macro
]) {
17637 # Preserve the white space surrounding the "#".
17638 print prefix
"define", macro P
[macro
] D
[macro
]
17641 # Replace #undef with comments. This is necessary, for example,
17642 # in the case of _POSIX_SOURCE, which is predefined and required
17643 # on some systems where configure will not decide to define it.
17644 if (defundef
== "undef") {
17645 print
"/*", prefix defundef
, macro
, "*/"
17653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17654 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17655 fi # test -n "$CONFIG_HEADERS"
17658 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17663 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17665 case $ac_mode$ac_tag in
17667 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17668 :[FH
]-) ac_tag
=-:-;;
17669 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17686 -) ac_f
="$ac_tmp/stdin";;
17687 *) # Look for the file first in the build tree, then in the source tree
17688 # (if the path is not absolute). The absolute path cannot be DOS-style,
17689 # because $ac_f cannot contain `:'.
17693 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17695 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17697 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17698 as_fn_append ac_file_inputs
" '$ac_f'"
17701 # Let's still pretend it is `configure' which instantiates (i.e., don't
17702 # use $as_me), people would be surprised to read:
17703 # /* config.h. Generated by config.status. */
17704 configure_input
='Generated from '`
17705 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17707 if test x
"$ac_file" != x-
; then
17708 configure_input
="$ac_file. $configure_input"
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17710 $as_echo "$as_me: creating $ac_file" >&6;}
17712 # Neutralize special characters interpreted by sed in replacement strings.
17713 case $configure_input in #(
17714 *\
&* |
*\|
* |
*\\* )
17715 ac_sed_conf_input
=`$as_echo "$configure_input" |
17716 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17717 *) ac_sed_conf_input
=$configure_input;;
17721 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17722 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17727 ac_dir
=`$as_dirname -- "$ac_file" ||
17728 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17729 X"$ac_file" : 'X\(//\)[^/]' \| \
17730 X"$ac_file" : 'X\(//\)$' \| \
17731 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17732 $as_echo X"$ac_file" |
17733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17737 /^X\(\/\/\)[^/].*/{
17750 as_dir
="$ac_dir"; as_fn_mkdir_p
17754 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17756 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17757 # A ".." for each directory in $ac_dir_suffix.
17758 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17759 case $ac_top_builddir_sub in
17760 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17761 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17764 ac_abs_top_builddir
=$ac_pwd
17765 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17766 # for backward compatibility:
17767 ac_top_builddir
=$ac_top_build_prefix
17770 .
) # We are building in place.
17772 ac_top_srcdir
=$ac_top_builddir_sub
17773 ac_abs_top_srcdir
=$ac_pwd ;;
17774 [\\/]* | ?
:[\\/]* ) # Absolute name.
17775 ac_srcdir
=$srcdir$ac_dir_suffix;
17776 ac_top_srcdir
=$srcdir
17777 ac_abs_top_srcdir
=$srcdir ;;
17778 *) # Relative name.
17779 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17780 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17781 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17783 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17793 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17794 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17799 # If the template does not know about datarootdir, expand it.
17800 # FIXME: This hack should be removed a few years after 2.60.
17801 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17812 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17813 *datarootdir
*) ac_datarootdir_seen
=yes;;
17814 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17816 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17819 ac_datarootdir_hack='
17820 s&@datadir@&$datadir&g
17821 s&@docdir@&$docdir&g
17822 s&@infodir@&$infodir&g
17823 s&@localedir@&$localedir&g
17824 s&@mandir@&$mandir&g
17825 s&\\\${datarootdir}&$datarootdir&g' ;;
17829 # Neutralize VPATH when `$srcdir' = `.'.
17830 # Shell code in configure.ac might set extrasub.
17831 # FIXME: do we really want to maintain this feature?
17832 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17833 ac_sed_extra="$ac_vpsub
17836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17838 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17839 s|@configure_input@|
$ac_sed_conf_input|
;t t
17840 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17841 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17842 s
&@srcdir@
&$ac_srcdir&;t t
17843 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17844 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17845 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17846 s
&@builddir@
&$ac_builddir&;t t
17847 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17848 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17849 s
&@INSTALL@
&$ac_INSTALL&;t t
17850 $ac_datarootdir_hack
17852 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17853 if $ac_cs_awk_getline; then
17854 $AWK -f "$ac_tmp/subs.
awk"
17856 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
17858 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17860 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17861 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17862 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17863 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17865 which seems to be undefined. Please make sure it is defined" >&5
17866 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17867 which seems to be undefined. Please make sure it is defined" >&2;}
17869 rm -f "$ac_tmp/stdin"
17871 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17872 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17874 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17880 if test x"$ac_file" != x-; then
17882 $as_echo "/* $configure_input */" \
17883 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17884 } >"$ac_tmp/config.h" \
17885 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17886 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17888 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17891 mv "$ac_tmp/config.h" "$ac_file" \
17892 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17895 $as_echo "/* $configure_input */" \
17896 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17897 || as_fn_error $? "could not create -" "$LINENO" 5
17905 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
17908 # Prefer the file from the source tree if names are identical.
17909 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17910 ac_source=$srcdir/$ac_source
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17914 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17916 if test ! -r "$ac_source"; then
17917 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17921 # Try a relative symlink, then a hard link, then a copy.
17923 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17924 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17926 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17927 ln "$ac_source" "$ac_file" 2>/dev/null ||
17928 cp -p "$ac_source" "$ac_file" ||
17929 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17932 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17933 $as_echo "$as_me: executing $ac_file commands" >&6;}
17938 case $ac_file$ac_mode in
17939 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17940 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17941 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17942 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17943 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17944 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17945 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17946 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17947 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17948 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17949 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17950 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17951 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17952 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17953 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17954 "Makefile":C) wine_fn_output_makefile Makefile ;;
17962 ac_clean_files=$ac_clean_files_save
17964 test $ac_write_fail = 0 ||
17965 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17968 # configure is writing to config.log, and then calls config.status.
17969 # config.status does its own redirection, appending to config.log.
17970 # Unfortunately, on DOS this fails, as config.log is still kept open
17971 # by configure, so config.status won't be able to
write to it
; its
17972 # output is simply discarded. So we exec the FD to /dev/null,
17973 # effectively closing config.log, so it can be properly (re)opened and
17974 # appended to by config.status. When coming back to configure, we
17975 # need to make the FD available again.
17976 if test "$no_create" != yes; then
17978 ac_config_status_args
=
17979 test "$silent" = yes &&
17980 ac_config_status_args
="$ac_config_status_args --quiet"
17982 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17984 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17985 # would make configure fail if this is the last instruction.
17986 $ac_cs_success || as_fn_exit
1
17988 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17990 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17994 if test "$no_create" = "yes"
18000 if test "x$wine_notices != "x
; then
18003 for msg
in $wine_notices; do
18005 if test -n "$msg"; then
18006 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18007 $as_echo "$as_me: $msg" >&6;}
18012 for msg
in $wine_warnings; do
18014 if test -n "$msg"; then
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18017 $as_echo "$as_me: WARNING: $msg" >&2;}
18023 $as_me: Finished. Do '${ac_make}' to compile Wine.